1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-07 20:54:32 +00:00

17109 Commits

Author SHA1 Message Date
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
Stefan Monnier
a452eee82d (completion-table-with-terminator): Allow to specify the terminator-regexp. 2009-10-22 16:14:49 +00:00
Stefan Monnier
ab14d7d521 (switch-to-completions): Look for *Completions* in other frames as well. 2009-10-22 15:27:17 +00:00
Stefan Monnier
3b067af114 Allow the use of completion-tables.
(pcomplete-std-complete): New command.
(pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
(pcomplete--here): Use a function for `form' rather than an expression,
so it can be byte-compiled.
(pcomplete-here, pcomplete-here*): Adjust accordingly.
Add edebug declaration.
(pcomplete-show-completions): Remove unused var `curbuf'.
(pcomplete-do-complete, pcomplete-stub):
Don't assume `completions' is a list of	strings any more.
2009-10-22 15:17:48 +00:00
Juanma Barranquero
550d95a079 Add missing bug references. 2009-10-22 09:42:22 +00:00
Juanma Barranquero
5480359e9f * find-dired.el (find-name-arg): Fix typo in docstring. 2009-10-22 07:43:19 +00:00
Stefan Monnier
48c23a2522 (pcomplete/kill): Don't abuse pcomplete-entries.
(pcmpl-linux-fs-types): Same, and update to new modules layout.
2009-10-22 03:35:11 +00:00
Stefan Monnier
56b14058a4 (pcmpl-gnu-makefile-names): Use a single call to pcomplete-entries. 2009-10-22 03:25:54 +00:00
Stefan Monnier
3170b79459 (comint-read-input-ring, comint-write-input-ring)
(comint-substitute-in-file-name)
(comint-dynamic-complete-as-filename)
(comint-dynamic-simple-complete)
(comint-dynamic-list-filename-completions)
(comint-dynamic-list-completions)
(comint-redirect-results-list-from-process): Minor simplifications.
2009-10-22 03:24:31 +00:00
Kevin Ryde
e7b94bbb53 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el. 2009-10-21 22:58:58 +00:00
Kevin Ryde
2affef3475 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine): When
inserting ";;; Code" put it before any ";;;###autoload" cookie on
the first form.  And insert a blank line after ";;; Code" since
that's usual style.  (My Bug#4612.)
2009-10-21 22:06:40 +00:00
Stefan Monnier
528c56e2d1 * minibuffer.el (completion-table-with-terminator): Properly implement
boundaries, in case `terminator' appears in the suffix.
(completion--embedded-envvar-table): Don't return boundaries if
there's no valid completion.  Simplify.
(completion-file-name-table): New completion table extracted from
completion--file-name-table.
(completion--file-name-table): Use it.
(read-file-name-predicate): Declare obsolete.
(read-file-name): Use the pred arg i.s.o read-file-name-predicate.
* vc-bzr.el (vc-bzr-revision-completion-table): Use the new
completion-file-name-table, and use the `pred' argument.
* files.el (locate-file-completion-table): Use the `pred' arg rather
than read-file-name-predicate.
(abbreviate-file-name): Use \` rather than ^ for BOS.
2009-10-21 20:03:57 +00:00
Dan Nicolaescu
f9ed9b4f89 (vc-deduce-fileset): Undo previous change, do not tell
vc-responsible-backend to register, it causes problems.
2009-10-21 19:03:32 +00:00
Stefan Monnier
5f2022a3f4 Don't require help-mode (to avoid bootstrap issues). 2009-10-21 18:54:55 +00:00
Chong Yidong
8d106ea001 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init)
(semantic-c-debug-mode-init-pch): New functions.
(semantic-c-debug-mode-init-last-mode): New var.
(semantic-c-parse-lexical-token): Use them.

* cedet/semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
When extracting the argument list, limit only by point-max.
2009-10-21 14:04:00 +00:00
Michael Albinus
fc754ea1a4 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
(tramp-smb-handle-file-attributes): Use it.
(tramp-smb-do-file-attributes-with-stat): Don't raise an error.
(tramp-smb-handle-insert-directory): Use `mapc' rather than
`mapcar'.  Use `tramp-smb-get-stat-capability'.  Add
`dired-filename' text properties.
(tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
(tramp-smb-maybe-open-connection): Simplify check for smbclient
version.
2009-10-21 11:27:59 +00:00
Stefan Monnier
79bd5ba156 (read-key-delay): Reduce to 0.01.
(read-key): Use read-key-sequence-vector to avoid turning M-t into 244
(bug#4751).
2009-10-20 01:29:17 +00:00
Stefan Monnier
554efd1017 (function-key-map): Map C-@ to C-SPC if C-@ is unbound. 2009-10-19 15:03:24 +00:00
Stefan Monnier
c2a37b782e * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
(Info-menu): Remove unused vars `last' and `completions'.
(Info-index-nodes): Remove unused var `node'.
2009-10-19 13:47:10 +00:00
Stefan Monnier
3c13704df6 (Info-complete-menu-item): Use complete-with-action. 2009-10-19 13:29:34 +00:00
Dan Nicolaescu
d1e4c4037e Make vc-annotate work through copies and renames.
* vc-annotate.el (vc-annotate-extract-revision-at-line): Return
the file name too.
(vc-annotate-revision-at-line)
(vc-annotate-find-revision-at-line)
(vc-annotate-revision-previous-to-line)
(vc-annotate-show-log-revision-at-line): Update to get the file
name from vc-annotate-extract-revision-at-line.
(vc-annotate-show-diff-revision-at-line-internal): Change the
argument to mean whether to show a file diff or not.  Get the file
name from vc-annotate-extract-revision-at-line.
(vc-annotate-show-diff-revision-at-line): Update
vc-annotate-show-diff-revision-at-line call.
(vc-annotate-warp-revision): Add an optional file argument.

* vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
(vc-git-annotate-extract-revision-at-line): Also return the file
name if found.

* vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
command.  Remove unused code.
(vc-hg-annotate-re): Update to match --follow output.
(vc-hg-annotate-extract-revision-at-line): Also return the file
name if found.

* vc.el: Update annotate-extract-revision-at-line documentation.
2009-10-19 05:04:22 +00:00
Kevin Ryde
a9e7f03da3 * net/browse-url.el (browse-url): Identify alist with "consp and
not functionp" and let all other things go down the `apply' leg,
as suggested by Stefan.  (Further to bug#4531.)
2009-10-18 23:56:07 +00:00
Kevin Ryde
b0b0ef98fb * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
2009-10-18 23:12:02 +00:00
Chong Yidong
7346a407f4 * minibuffer.el (read-file-name): Check for repeat before putting
a default argument in file-name-history (Bug#4657).

* emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
read syntax (Bug#4737).

* textmodes/sgml-mode.el (sgml-delete-tag): Use
sgml-looking-back-at.
2009-10-18 22:25:36 +00:00
Chong Yidong
1da9454195 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
(html-tag-alist, html-tag-help): Add descriptions for undocumented
entries and make note of obsolete tags.
2009-10-18 04:06:32 +00:00
Glenn Morris
e5f035d75e I spell gud. 2009-10-18 02:17:57 +00:00
Stefan Monnier
2b93080a46 (ange-ftp-file-size): Use unwind-protect. 2009-10-18 00:46:49 +00:00
Glenn Morris
18b5ffb503 (compile-last): Ensure GREP_OPTIONS is null before calling
grep, so that binary files (eg international/uni-bidi.el) can match.
Remove test for "UnicodeData" files, since it is hopefully unnecesary
now, and in any case the file header format has changed.
2009-10-18 00:34:47 +00:00
Glenn Morris
c2e161b23c (flyspell-large-region, flyspell-word)
(flyspell-get-word, flyspell-large-region)
(flyspell-auto-correct-previous-word): Doc/error message fixes.
2009-10-17 22:43:13 +00:00
Chong Yidong
a1eb44f5b1 * Makefile.in (ELCFILES): Add ede/shell. 2009-10-17 14:28:44 +00:00
Dan Nicolaescu
4418646e99 * puresize.h (BASE_PURESIZE): Increase to 1310000.
* term/common-win.el (x-colors): Purecopy it.
2009-10-17 07:13:44 +00:00
Stefan Monnier
4062011e2f (tar-data-swapped-p): Make the assertion a bit more
permissive for when the buffer is empty.
(tar-header-block-tokenize): Decode the username and groupname.
(tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
2009-10-17 04:36:11 +00:00
Chong Yidong
67d3ffe498 * cedet/srecode/srt.el:
* cedet/srecode/compile.el:
* cedet/semantic/mru-bookmark.el:
* cedet/semantic/debug.el:
* cedet/semantic/complete.el:
* cedet/semantic/analyze.el: Require CL when compiling.

* cedet/semantic/scope.el
(semantic-analyze-scoped-inherited-tag-map): Wrap calculation of
tmpscope so that the regular scope will continue to work.

* cedet/semantic/idle.el (semantic-idle-tag-highlight): Use
semantic-idle-summary-highlight-face as the highlighting.

* emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
contains multibyte characters, choose first applicable coding
system automatically.

* cedet/ede/project-am.el (project-run-target): New method.
(project-run-target): New method.

* cedet/ede.el (ede-target): Add run target menu item.
(ede-project, ede-minor-keymap): Add ede-run-target binding.
(ede-run-target): New function.
(ede-target::project-run-target): New method.

* cedet/ede/proj.el (project-run-target): New method.

* cedet/ede/proj-shared.el (ede-gcc-libtool-shared-compiler)
(ede-g++-libtool-shared-compiler): Remove SHELL.  Remove COMMANDS.
Add :rules.
(ede-proj-target-makefile-shared-object): Only libtool compilers
now available.  Add linkers for libtool.
(ede-cc-linker-libtool, ede-g++-linker-libtool): New.
(ede-proj-makefile-target-name): Always use .la extension.

* cedet/ede/proj-prog.el (project-run-target): New method.

* cedet/ede/proj-obj.el (ede-cc-linker): Rename from
ede-gcc-linker.
(ede-g++-linker): Change Change link lines.

* cedet/ede/pmake.el (ede-pmake-insert-variable-shared): When
searching for old variables, go to the end of the buffer and
search backward from there.
(ede-proj-makefile-automake-insert-subdirs)
(ede-proj-makefile-automake-insert-extradist): New methods.
(ede-proj-makefile-create): Use them.

* cedet/ede/pconf.el (ede-proj-configure-test-required-file):
Force FILE to expand to the current target.  Use file-exists-p to
check that it exists.

* cedet/ede/linux.el (ede-linux-version): Don't call "head".
(ede-linux-load): Wrap dir in file-name-as-directory.  Set
:version slot.

* cedet/ede/files.el (ede-get-locator-object): When enabling
locate, do so on "top".

* cedet/ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in
file-name-as-directory during compare.
(ede-emacs-version): Return Emacs/XEmacs differentiator.  Get
version number from different places.  Don't call egrep.
(ede-emacs-load): Set :version slot.  Call file-name-as-directory
to set the directory.

* cedet/ede/shell.el: New file.

* cedet/inversion.el (inversion-decoders): Allow for stray . in
alpha/beta variants.
2009-10-17 04:18:31 +00:00
Stefan Monnier
2df48a8729 (select-safe-coding-system): If the file
has a coding cookie, use it regardless of any other setting (bug#4712).
2009-10-17 03:59:45 +00:00
Glenn Morris
547776f9b0 (semantic-grammar--lex-delim-spec): All errors should have messages. 2009-10-17 03:16:38 +00:00
Glenn Morris
3ee0b4774b (foldout-mouse-swallow-events): Replace obsolete form of sit-for. 2009-10-17 03:15:53 +00:00
Glenn Morris
cec0514440 (gs-load-image): Replace obsolete forms of sit-for, sleep-for. 2009-10-17 03:15:13 +00:00
Glenn Morris
2550e4b143 (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
(dired-keep-marker-copy, dired-keep-marker-hardlink)
(dired-keep-marker-symlink, dired-dwim-target)
(dired-copy-preserve-time): Do not autoload these defcustoms.
2009-10-17 03:13:51 +00:00
Glenn Morris
fd7dd48c19 (rmail-write-region-annotate): Prevent viewing different
messages from messing up the file coding.  (Bug#4623)
2009-10-17 03:11:54 +00:00
Glenn Morris
f3e3a990e7 Jari Aalto <jari.aalto at cante.net>
(flyspell-get-word): Make `following' argument optional, since that is
how it is documented, and this is often called with a nil argument.  (Bug#4577)
(flyspell-external-point-words, flyspell-auto-correct-word)
(flyspell-correct-word-before-point, flyspell-word-search-forward)
(flyspell-word-search-backward): Remove nil argument in calls to
flyspell-get-word, since it is not needed now.
2009-10-17 03:10:10 +00:00