1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-20 11:33:09 -08:00
Commit graph

17148 commits

Author SHA1 Message Date
Glenn Morris
31c615e404 Remove odd/obsolete header comment.
(report-emacs-bug): Request `emacs -Q' recipes.
2009-10-31 02:13:38 +00:00
Glenn Morris
416d35886f (byte-compile-warning-types, byte-compile-warnings): Add `constants'
as an option.
(byte-compile-callargs-warn, byte-compile-arglist-warn)
(display-call-tree): Update for byte-compile-fdefinition possibly
returning `(macro lambda ...)'.  (Bug#4778)
(byte-compile-variable-ref, byte-compile-setq-default):
Respect `constants' member of byte-compile-warnings.
2009-10-31 02:10:43 +00:00
Glenn Morris
8aedfd3b5d (semantic--tag-link-list-to-buffer): Use mapc rather than mapcar
because the return value is never used.
2009-10-31 02:05:15 +00:00
Glenn Morris
f3628edde6 Suppress harmless warnings about setting up semantic-imenu (not part
of Emacs) variables.
2009-10-31 02:03:19 +00:00
Stefan Monnier
4fa4a83839 Forgot to include lisp/Makefile in the big previous CEDET commit. 2009-10-30 05:51:11 +00:00
Stefan Monnier
00f71f3990 (vc-bzr-revision-keywords): New var.
(vc-bzr-revision-completion-table): Use it to fix completion of "s:"
to "submit:".
2009-10-30 05:48:13 +00:00
Dan Nicolaescu
ca0a881a35 * puresize.h (BASE_PURESIZE): Increase to 1470000.
* lread.c (Fload): Purecopy the file name when building Vpreloaded_file_list.

* textmodes/ispell.el (ispell-skip-region-alist):
* international/mule-conf.el (eight-bit):
* international/fontset.el (font-encoding-alist):
* startup.el (pure-space-overflow-message):
* simple.el (overwrite-mode-textual, overwrite-mode-binary):
* paths.el (gnus-nntp-service, rmail-spool-directory)
(term-file-prefix):
* files.el (save-some-buffers-action-alist):
* cmuscheme.el (same-window-buffer-names):
* ielm.el (same-window-buffer-names):
* shell.el (same-window-buffer-names):
* mail/sendmail.el (same-window-buffer-names):
* progmodes/inf-lisp.el (same-window-buffer-names):
* bindings.el (mode-line-client)
(mode-line-column-line-number-mode-map):
* language/tibetan.el (tibetan-precomposition-rule-regexp)
(tibetan-precomposed-regexp): Purecopy string arguments.
2009-10-30 02:00:11 +00:00
Stefan Monnier
6df9b6d78f * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
(calcDigit-nondigit):
* calc/calc-yank.el (calc-copy-to-buffer):
* calc/calc-units.el (calc-invalidate-units-table):
* calc/calc-trail.el (calc-trail-yank):
* calc/calc-store.el (calc-insert-variables):
* calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
* calc/calc-prog.el (calc-read-parse-table):
* calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
* calc/calc-help.el (calc-describe-bindings, calc-describe-key):
* calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
(calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
(calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
(calc-graph-name, calc-graph-find-command, calc-graph-view)
(calc-graph-view, calc-gnuplot-command, calc-graph-init):
* calc/calc-ext.el (calc-realign):
* calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
(calc-embedded-finish-edit, calc-embedded-make-info)
(calc-embedded-finish-command, calc-embedded-stack-change):
* calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
2009-10-28 18:35:33 +00:00
Stefan Monnier
5a916e3569 * cedet/mode-local.el (make-obsolete-overload): Add `when' argument.
(overload-docstring-extension): Use that info.
* cedet/semantic/fw.el (semantic-alias-obsolete): Pass the `when' info.
* cedet/semantic/idle.el (semantic-eldoc-current-symbol-info):
* cedet/semantic/tag-ls.el (semantic-nonterminal-protection)
(semantic-nonterminal-abstract, semantic-nonterminal-leaf)
(semantic-nonterminal-full-name): Add the new `when' info.
* cedet/semantic/decorate/mode.el (semantic/decorate): Require CL for `assert'.
2009-10-28 14:01:49 +00:00
Stefan Monnier
70f44c655c (pcomplete-comint-setup): If there's a choice, replace
shell-dynamic-complete-filename in preference to
comint-dynamic-complete-filename.
2009-10-28 13:59:30 +00:00
Stefan Monnier
b861e45ef6 (bookmark-insert-location, bookmark-bmenu-list)
(bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
Don't consider whether the display supports colors.
(bookmark-import-new-list): Use dolist.
(bookmark-bmenu-mode-map): Move initialization into declaration.
(bookmark-bmenu-list): Use dolist, simplify.
(bookmark-show-all-annotations): Use save-selected-window and dolist.
(menu-bar-final-items): Use push.
2009-10-28 03:09:11 +00:00
Stefan Monnier
8549241d7f Fix last change's attribution. 2009-10-28 02:07:13 +00:00
Stefan Monnier
cc63d28f93 (vc-hg-state, vc-hg-working-revision): Use process-file so
it works on remote files.
(vc-hg-diff): Don't pass any `--cwd' argument.
2009-10-28 02:05:46 +00:00
Kevin Ryde
3064457307 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine): Use
help-xref-info-regexp and help-xref-url-regexp to identify links.
(Further to Bug#3921).
2009-10-27 22:59:55 +00:00
Michael Albinus
9be01a63e3 * net/tramp-imap.el (top): Add X-Size' to imap-hash-headers'.
(tramp-imap-do-copy-or-rename-file): Don't use the inode, when
calling `tramp-imap-put-file'.  Add file size to the call.
(tramp-imap-get-file-entries): Compute also user name, file size,
and date.
(tramp-imap-handle-insert-directory): Insert uid and gid.
(tramp-imap-handle-file-attributes): Transform uid and gid
according to `id-format'.
(tramp-imap-put-file): New optional parameter SIZE.  Encode file
size in header X-Size.
2009-10-27 10:53:06 +00:00
Juanma Barranquero
41849bf9cd * simple.el (transpose-subr): Give clearer error when the mark is not set.
(Bug#4807)
2009-10-26 14:59:12 +00:00
Michael Albinus
293c24f9ad * net/tramp.el (tramp-perl-file-truename): New defconst. Perl
code contributed by yary <not.com@gmail.com> (tiny change).
(tramp-handle-file-truename, tramp-get-remote-perl): Use it.
Check also for "perl-file-spec" and "perl-cwd-realpath"
properties.
(tramp-handle-write-region): In case of APPEND, reuse the tmpfile
name.

* net/tramp.el (tramp-perl-file-name-all-completions): New
defconst.
(tramp-get-remote-readlink): New defun.
(tramp-handle-file-truename): Use it.
(tramp-handle-file-exists-p): Check file-attributes cache, assume
file exists if cache value present.
(tramp-check-cached-permissions) New defun.
(tramp-handle-file-readable-p): Use it.
(tramp-handle-file-writable-p): Likewise.
(tramp-handle-file-executable-p): Likewise.
(tramp-handle-file-name-all-completions): Try using Perl to get
partial completions.  When perl not available, combine `cd' and
`ls' into single remote operation and use shell expansion to get
partial remote directory contents.  Set `file-exists-p' cache for
directory and any files returned by ls.  Change cache handling to
support partial directory contents.  Use error message emitted by
remote `cd' or Perl code for local tramp-error.
(tramp-do-copy-or-rename-file-directly): Avoid separate
tramp-send-command-and-check call.
(tramp-handle-process-file): Merge three remote ops into one.  Do
not flush all caches when `process-file-side-effects' is set.
(tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
file-attributes shows uid/gid to be set already.
2009-10-26 09:29:12 +00:00
Dan Nicolaescu
a7610c523c * textmodes/tex-mode.el (tex-dvi-view-command)
(tex-show-queue-command, tex-open-quote):
* progmodes/ruby-mode.el (auto-mode-alist)
(interpreter-mode-alist): Purecopy strings.

* emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.

* emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
string for the hook, keymap and abbrev table.

* emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.

* x-dnd.el (x-dnd-xdnd-to-action):
* startup.el (fancy-startup-text, fancy-about-text): Change to
defconst from defvar.

* ps-print.el (ps-page-dimensions-database): Purecopy initial value.

* mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
Purecopy initialization strings.

* mail/sendmail.el (mail-header-separator)
(mail-personal-alias-file):
* mail/rmail.el (rmail-default-dont-reply-to-names)
(rmail-ignored-headers, rmail-retry-ignored-headers)
(rmail-highlighted-headers, rmail-secondary-file-directory)
(rmail-secondary-file-regexp):
* files.el (null-device, file-name-invalid-regexp)
(locate-dominating-stop-dir-regexp)
(inhibit-first-line-modes-regexps): Purecopy initialization
strings.
(interpreter-mode-alist): Use mapcar instead of mapc.

* buff-menu.el (Buffer-menu-mode-map): Purecopy name.

* bindings.el (mode-line-major-mode-keymap): Purecopy name.
(completion-ignored-extensions):
(debug-ignored-errors): Purecopy strings.
2009-10-26 06:43:36 +00:00
Stefan Monnier
0667de2146 (pcomplete-std-complete): Obey pcomplete-use-paring.
(pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
(pcomplete--here): Use push.
2009-10-26 04:06:01 +00:00
Stefan Monnier
4fcc3d324a (all-completions): Declare the 4th arg obsolete. 2009-10-26 03:39:15 +00:00
Stefan Monnier
2d0853070d (pcomplete-unquote-argument-function): New var.
(pcomplete-unquote-argument): New function.
(pcomplete--common-suffix): Always pay attention to case.
(pcomplete--table-subvert): Quote and unquote the text.
(pcomplete--common-quoted-suffix): New function.
(pcomplete-std-complete): Use it and pcomplete-begin.
2009-10-25 20:38:06 +00:00
Stefan Monnier
955ef4309a (bookmark-bmenu-list): Don't use switch-to-buffer if
we're inside a dedicated or minibuffer window.
2009-10-25 18:09:57 +00:00
Karl Fogel
7c85c02b81 * bookmark.el: Update documentation, especially documentation
of `bookmark-alist' and of the bookmark file format.
  Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
2009-10-25 02:07:45 +00:00
Chong Yidong
3e42584538 * mail/emacsbug.el (report-emacs-bug): Clarify that the
keybindings apply to the mail buffer (Bug#4003).  Shrink help
window to buffer.
2009-10-24 22:09:08 +00:00
Chong Yidong
cdd47d4862 * whitespace.el (whitespace-mode, whitespace-newline-mode)
(global-whitespace-mode, global-whitespace-newline-mode)
(whitespace-toggle-options, global-whitespace-toggle-options): Doc
fix (Bug#3660).
2009-10-24 21:51:03 +00:00
Chong Yidong
ba07c9ad6c * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
of xmltok-start before the end tag was inserted (Bug#2840).
2009-10-24 21:32:19 +00:00
Chong Yidong
3e8ae8a634 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
patterns that are preceded by an open-paren (Bug#1320).
2009-10-24 21:15:39 +00:00
Chong Yidong
ab27682008 * files.el (delete-directory): Delete symlinks to directories with
delete-file (Bug#4739).
2009-10-24 20:30:44 +00:00
Chong Yidong
86f1602f64 * cedet/semantic/util.el (semantic-recursive-find-nonterminal-by-name):
* cedet/semantic/tag.el (semantic-token-type-parent): Add WHEN
argument to make-obsolete.

* cedet/semantic/fw.el (semantic-alias-obsolete)
(semantic-varalias-obsolete): Add optional WHEN argument.
2009-10-24 18:02:47 +00:00
Dan Nicolaescu
a9a2a6db29 (vc-backend-for-registration): Rename from
vc-get-backend-for-registration.  Update callers.
2009-10-24 06:34:26 +00:00
Dan Nicolaescu
905a9ed392 * keymap.c (Fmake_sparse_keymap): Purecopy the name.
* eval.c (Fautoload): Purecopy the filename.  Simplify.

* category.c (Fdefine_category): Purecopy docstring.

* international/mule-cmds.el (set-language-info-alist): Purecopy lang-env.
(leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
(charset): Purecopy the name.
(define-char-code-property): Purecopy string arguments.

* emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
Purecopy string arguments.

* emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
* ediff-hook.el (menu-bar-ediff-menu):
* buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
* bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
2009-10-24 06:32:03 +00:00
Glenn Morris
ae73233745 (file-cache-completions-keymap): Bind mouse-2 to
file-cache-choose-completion.
(file-cache-choose-completion): Handle an optional event argument.
(file-cache-mouse-choose-completion): Make it an obsolete alias.
2009-10-24 03:51:51 +00:00
Glenn Morris
6c74d52320 (comint-dynamic-list-completions): Use choose-completion rather than
obsolete alias mouse-choose-completion.
2009-10-24 03:50:20 +00:00
Glenn Morris
656fc5f537 (term-dynamic-list-completions): Use choose-completion rather than
obsolete alias mouse-choose-completion.
2009-10-24 03:49:44 +00:00
Glenn Morris
ae4808385b (octave-complete-symbol): Use choose-completion if
mouse-choose-completion is ever removed.
2009-10-24 03:48:37 +00:00
Glenn Morris
9847dc91f3 (sgml-looking-back-at): Move definition before use. 2009-10-24 03:45:50 +00:00
Glenn Morris
e8f2a5d597 (generate-autoload-cookie): Define for compiler. 2009-10-24 03:44:42 +00:00
Glenn Morris
d270305a65 Convert comment about autoload into autoload comment.
(vc-responsible-backend): Fix declaration.
2009-10-24 03:43:47 +00:00
Stefan Monnier
c6432f1e13 (completion--embedded-envvar-table): Fix last change.
Ignore `pred' now that we receive one.  Handle test-completion specially.
2009-10-24 00:46:17 +00:00
Dan Nicolaescu
6ab196f942 (vc-responsible-backend): Throw an error if not backend is
found.  Remove the REGISTER argument. Move the code dealing with
REGISTER ...
(vc-get-backend-for-registration): ... here.  New function.
(vc-deduce-fileset): Call vc-get-backend-for-registration instead
of vc-responsible-backend, pass the file name instead of the
directory name.
2009-10-23 18:07:38 +00:00
Stefan Monnier
48feed599b (pcomplete-common-suffix, pcomplete-table-subvert): New funs.
(pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
(pcomplete-comint-setup): Don't modify a global var via
accidental side-effects.
(pcomplete-shell-setup): Adjust call accordingly.
(pcomplete-parse-comint-arguments): Use push.
2009-10-23 17:37:09 +00:00
Chong Yidong
36bfa3af07 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
Allow uncapitalized info node names (Bug#3921).
2009-10-23 17:26:06 +00:00
Chong Yidong
0000606683 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
to the DEBUG file (Bug#3781).
2009-10-23 16:17:17 +00:00
Chong Yidong
aa311d6e2f * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
dictionary entry (Bug#4579).
2009-10-23 16:01:19 +00:00
Michael Albinus
b88f2d0aa0 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
from `rfn-eshadow-update-overlay-hook' when unloading.
(tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
"rsyncc".  Adjust doc string.
(tramp-temp-buffer-file-name) New buffer-local defvar.
(tramp-handle-insert-file-contents, tramp-handle-write-region):
Keep temporary file when indicated by method ("rsync" and
"rsyncc").
(tramp-handle-write-region): Handle APPEND.
(tramp-delete-temp-file-function): New defun.  Added to
`kill-buffer-hook'.
2009-10-23 15:04:27 +00:00
Juanma Barranquero
1becddbbb2 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler. 2009-10-23 08:20:11 +00:00
Dan Nicolaescu
e0fcce78c0 * bindings.el (propertized-buffer-identification): Undo previous change. 2009-10-23 07:29:21 +00:00
Dan Nicolaescu
8f43cbf352 * puresize.h (BASE_PURESIZE): Increase to 1430000.
* term/tty-colors.el (msdos-color-values): Remove declaration, unused.
(color-name-rgb-alist, tty-standard-colors)
(tty-color-mode-alist): Change to defconst.

* simple.el (mark-inactive): Purecopy message.

* menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
(global-map, yank-menu):
* textmodes/ispell.el (ispell-menu-map):
* net/eudc.el (eudc-tools-menu):
* international/mule-cmds.el (describe-language-environment-map)
(setup-language-environment-map, set-coding-system-map)
(mule-menu-keymap):
* vc-hooks.el (vc-menu-entry, vc-menu-map):
* replace.el (occur-mode-map):
* pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.

* bindings.el (propertized-buffer-identification): Purecopy
tooltip text.
2009-10-23 05:15:26 +00:00
Jay Belanger
1d228a31c3 (math-read-number, math-read-number-simple): Use `save-match-data'. 2009-10-23 01:40:13 +00:00
Stefan Monnier
28a90c44b4 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
rather than fiddling with global-map bindings, since it should only
affect per-terminal settings.
See http://bugs.gentoo.org/show_bug.cgi?id=289709.
2009-10-22 19:31:43 +00:00