summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* (vc-responsible-backend): Throw an error if not backend isDan Nicolaescu2009-10-232-75/+64
| | | | | | | | | 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.
* (pcomplete-common-suffix, pcomplete-table-subvert): New funs.Stefan Monnier2009-10-232-27/+116
| | | | | | | | (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.
* * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):Chong Yidong2009-10-232-1/+9
| | | | Allow uncapitalized info node names (Bug#3921).
* * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointingChong Yidong2009-10-232-2/+7
| | | | to the DEBUG file (Bug#3781).
* * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnishChong Yidong2009-10-232-0/+9
| | | | dictionary entry (Bug#4579).
* * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'Michael Albinus2009-10-232-18/+87
| | | | | | | | | | | | | 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'.
* * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.Juanma Barranquero2009-10-232-3/+10
|
* * bindings.el (propertized-buffer-identification): Undo previous change.Dan Nicolaescu2009-10-232-5/+2
|
* * puresize.h (BASE_PURESIZE): Increase to 1430000.Dan Nicolaescu2009-10-2311-165/+185
| | | | | | | | | | | | | | | | | | | | | | * 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.
* (math-read-number, math-read-number-simple): Use `save-match-data'.Jay Belanger2009-10-232-76/+83
|
* * simple.el (normal-erase-is-backspace-mode): Use input-decode-mapStefan Monnier2009-10-222-17/+18
| | | | | | 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.
* (completion-table-with-terminator): Allow to specify the terminator-regexp.Stefan Monnier2009-10-222-2/+13
|
* (switch-to-completions): Look for *Completions* in other frames as well.Stefan Monnier2009-10-222-3/+6
|
* Allow the use of completion-tables.Stefan Monnier2009-10-222-136/+185
| | | | | | | | | | | | (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.
* Add missing bug references.Juanma Barranquero2009-10-221-2/+2
|
* * find-dired.el (find-name-arg): Fix typo in docstring.Juanma Barranquero2009-10-222-2/+6
|
* (pcomplete/kill): Don't abuse pcomplete-entries.Stefan Monnier2009-10-222-10/+6
| | | | (pcmpl-linux-fs-types): Same, and update to new modules layout.
* (pcmpl-gnu-makefile-names): Use a single call to pcomplete-entries.Stefan Monnier2009-10-222-6/+4
|
* (comint-read-input-ring, comint-write-input-ring)Stefan Monnier2009-10-222-31/+42
| | | | | | | | | (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.
* * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.Kevin Ryde2009-10-212-1/+3
|
* * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine): WhenKevin Ryde2009-10-211-0/+7
| | | | | | 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.)
* (checkdoc-file-comments-engine): WhenKevin Ryde2009-10-211-5/+14
| | | | | | 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.)
* * minibuffer.el (completion-table-with-terminator): Properly implementStefan Monnier2009-10-214-86/+162
| | | | | | | | | | | | | | | | 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.
* (vc-deduce-fileset): Undo previous change, do not tellDan Nicolaescu2009-10-212-2/+7
| | | | vc-responsible-backend to register, it causes problems.
* Don't require help-mode (to avoid bootstrap issues).Stefan Monnier2009-10-212-4/+6
|
* * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init)Chong Yidong2009-10-213-14/+73
| | | | | | | | | (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.
* * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.Michael Albinus2009-10-212-107/+123
| | | | | | | | | | | (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.
* (gnus-remove-overlays): eval-and-compile.Katsumi Yamaoka2009-10-202-7/+12
|
* (read-key-delay): Reduce to 0.01.Stefan Monnier2009-10-202-2/+8
| | | | | (read-key): Use read-key-sequence-vector to avoid turning M-t into 244 (bug#4751).
* Synch with Gnus trunk:Katsumi Yamaoka2009-10-193-25/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-10-19 Katsumi Yamaoka <yamaoka@jpl.org> * gnus-sum.el (gnus-summary-show-thread): Remove useless goto-char. (gnus-summary-show-thread, gnus-summary-hide-thread): Indent. 2009-10-16 Katsumi Yamaoka <yamaoka@jpl.org> * gnus.el (gnus-overlay-get): New alias to overlay-get. (gnus-overlays-in): New alias to overlays-in. * gnus-sum.el (gnus-remove-overlays): Use gnus-overlays-in, gnus-overlay-get, and gnus-delete-overlay. (gnus-summary-show-thread): Make it work as well for systems in which next-single-char-property-change is not available. (gnus-summary-hide-thread): Use gnus-make-overlay and gnus-overlay-put. 2009-10-14 Reiner Steib <Reiner.Steib@gmx.de> * gnus-sum.el (gnus-remove-overlays): Add doc string and alias. 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu> * gnus-sum.el (gnus-remove-overlays): Compatibility code for Emacs 21 and XEmacs that don't have `remove-overlays'. 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca> * gnus-sum.el (gnus-summary-mode, gnus-summary-show-all-threads) (gnus-summary-show-thread, gnus-summary-hide-thread): Get rid of selective display. Use overlays instead.
* (function-key-map): Map C-@ to C-SPC if C-@ is unbound.Stefan Monnier2009-10-192-0/+10
|
* * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.Stefan Monnier2009-10-192-10/+16
| | | | | (Info-menu): Remove unused vars `last' and `completions'. (Info-index-nodes): Remove unused var `node'.
* (Info-complete-menu-item): Use complete-with-action.Stefan Monnier2009-10-192-9/+10
|
* Make vc-annotate work through copies and renames.Dan Nicolaescu2009-10-195-33/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * net/browse-url.el (browse-url): Identify alist with "consp andKevin Ryde2009-10-181-0/+4
| | | | | not functionp" and let all other things go down the `apply' leg, as suggested by Stefan. (Further to bug#4531.)
* (browse-url): Identify alist with "consp andKevin Ryde2009-10-181-14/+14
| | | | | not functionp" and let all other things go down the `apply' leg, as suggested by Stefan. (Further to bug#4531.)
* * ibuffer.el (ibuffer-confirm-operation-on): Correction to errorKevin Ryde2009-10-181-0/+5
| | | | re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
* (ibuffer-confirm-operation-on): Correction to errorKevin Ryde2009-10-181-1/+1
| | | | re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
* * minibuffer.el (read-file-name): Check for repeat before puttingChong Yidong2009-10-184-3/+23
| | | | | | | | | | 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.
* * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.Chong Yidong2009-10-182-14/+30
| | | | | (html-tag-alist, html-tag-help): Add descriptions for undocumented entries and make note of obsolete tags.
* I spell gud.Glenn Morris2009-10-181-1/+1
|
* (ange-ftp-file-size): Use unwind-protect.Stefan Monnier2009-10-182-4/+9
|
* (compile-last): Ensure GREP_OPTIONS is null before callingGlenn Morris2009-10-182-3/+8
| | | | | | 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.
* (flyspell-large-region, flyspell-word)Glenn Morris2009-10-172-11/+17
| | | | | (flyspell-get-word, flyspell-large-region) (flyspell-auto-correct-previous-word): Doc/error message fixes.
* * Makefile.in (ELCFILES): Add ede/shell.Chong Yidong2009-10-172-0/+5
|
* * puresize.h (BASE_PURESIZE): Increase to 1310000.Dan Nicolaescu2009-10-172-2/+7
| | | | * term/common-win.el (x-colors): Purecopy it.
* (tar-data-swapped-p): Make the assertion a bit moreStefan Monnier2009-10-172-16/+32
| | | | | | 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).
* * cedet/srecode/srt.el:Chong Yidong2009-10-1727-82/+407
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* (select-safe-coding-system): If the fileStefan Monnier2009-10-172-6/+10
| | | | has a coding cookie, use it regardless of any other setting (bug#4712).
* (semantic-grammar--lex-delim-spec): All errors should have messages.Glenn Morris2009-10-172-1/+4
|