summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
...
* * progmodes/js.el (js--js-not): Add null to the list of values.Chong Yidong2009-12-062-1/+5
|
* * ansi-color.el (ansi-color-for-comint-mode): Add :versionChong Yidong2009-12-062-1/+7
| | | | keyword.
* * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry delimiterRoland Winkler2009-12-061-0/+6
| | | | | if it is at the end of the current line. (bibtex-generate-url-list): Fix docstring.
* (bibtex-enclosing-field): Exclude entry delimiter if it is at the endRoland Winkler2009-12-061-2/+5
| | | | | of the current line. (bibtex-generate-url-list): Fix docstring.
* (minibuffer-complete-and-exit): Don't replace theStefan Monnier2009-12-062-24/+50
| | | | | | minibuffer's content with itself. Fold the confirm-after-completion case into the `confirm' case. (completion-pcm-word-delimiters): Add : and / to the delimiters.
* (completion-in-region): Improve docstring.Stefan Monnier2009-12-061-0/+1
|
* * info-look.el: Add setup for apropos-mode to use emacs-lisp-modeKevin Ryde2009-12-062-0/+9
| | | | manuals, similar to existing setup for help-mode. (My bug#3913.)
* * ffap.el (ffap-rfc-path): Make this a defcustom sinceKevin Ryde2009-12-062-3/+15
| | | | `ffap-rfc-directories' is also a defcustom. (My Bug#4514.)
* Save and restore dired buffer's point positions too. (Bug#4880)Juri Linkov2009-12-052-14/+42
| | | | | | | | | (dired-save-positions): Return in the first element buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT). Doc fix. (dired-restore-positions): First restore buffer's position. While restoring window's positions, check if window still displays the original buffer.
* * bindings.el (complete-symbol): Call semantic-ia-complete-symbol ifChong Yidong2009-12-054-18/+30
| | | | | | | possible. * cedet/semantic/ia.el (semantic-ia-complete-symbol): Make argument optional.
* Add bug ref.Glenn Morris2009-12-051-1/+1
|
* Fix commentary to reflect that ansi-color is now enabled by default.Chong Yidong2009-12-051-11/+3
|
* * shell.el (shell): Require ansi-color (Bug#5113).Chong Yidong2009-12-053-1/+6
| | | | * ansi-color.el (ansi-color-for-comint-mode): Default to t.
* * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).Chong Yidong2009-12-052-1/+5
|
* *** empty log message ***Alan Mackenzie2009-12-051-0/+7
|
* * textmodes/sgml-mode.el (sgml-lexical-context): RecogniseChong Yidong2009-12-052-0/+11
| | | | comment-start-skip to comment-end-skip as comment (Bug#4781).
* (Info-find-node-2): Set `Info-current-subfile' to nilJuri Linkov2009-12-052-4/+21
| | | | | | | | for virtual nodes. (Bug#4147) (Info-find-node-2): Set `Info-current-node-virtual' to nil when moving from a virtual node. (Info-mode-menu): Add `Info-virtual-index' to the menu. (Info-mode): Add `Info-virtual-index' to the docstring.
* * cedet/semantic/bovine/c.el (semantic-c-describe-environment):Chong Yidong2009-12-056-6/+59
| | | | | | | | | | | | | | | | | Describe project macro symbols. * cedet/semantic/complete.el (semantic-complete-do-completion): Don't call semantic-collector-current-exact-match. * cedet/ede.el (ede-apply-preprocessor-map): Accept lists of ede-objects as targets. * cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Output a target's object list even if compiler vars are already in the Makefile. * cedet/ede/emacs.el (ede-preprocessor-map): Add config.h to the list of headers producing necessary macros.
* Revert change 2009-07-18T21:03:43Z!acm@muc.deAlan Mackenzie2009-12-051-2/+2
|
* (bibtex-map-entries): Use marker to keepRoland Winkler2009-12-052-23/+77
| | | | | | | | | | | | | | | | | | track of the buffer position of the end of a BibTeX entry as this position may change during reformatting. (bibtex-format-entry): Remove whitespace before processing numerical fields so that we recognize the latter properly. (bibtex-reformat): Do not use push which changes the global value of bibtex-entry-format. (bibtex-field-braces-alist, bibtex-field-strings-alist) (bibtex-field-re-init): Replace only space characters by regexp for whitespace. (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring. (bibtex-initialize): Also update bibtex-strings. (bibtex-kill-field): Preserve white space at end of entry. (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill): Update bibtex-reference-keys.
* Make it less tasty.Glenn Morris2009-12-051-1/+1
|
* (completion-pcm--merge-try): Also consider placing point after a star, ifStefan Monnier2009-12-052-1/+9
| | | | that's the only place where modifications can make progress.
* (vc-dir): Use the correct markup for showing keymapsDan Nicolaescu2009-12-052-1/+6
| | | | in docstrings.
* (proced): Call `(proced-update t)' to update processJuri Linkov2009-12-042-3/+11
| | | | | | information instead of only running proced-post-display-hook. (proced-send-signal): Add a leading space to the buffer name " *Marked Processes*" to make this buffer ephemeral.
* (dired-auto-revert-buffer): New defcustom.Juri Linkov2009-12-042-0/+31
| | | | (dired-internal-noselect): Use it.
* Change roles of modes and functions in image-mode.el (Bug#5062).Juri Linkov2009-12-042-144/+184
| | | | | | | | | | | | | | | | | | | | | * image-mode.el: Replace `image-mode-maybe' with `image-mode' in `auto-mode-alist'. (image-mode-previous-major-mode): New variable. (image-minor-mode-map): Rename from `image-mode-text-map'. (image-mode): Move graceful error-handling code from `image-minor-mode' to here. On errors call `image-mode-as-text'. (image-minor-mode): Remove all image-handling code. Replace `image-mode-text-map' with `image-minor-mode-map'. Check for `image-type' in mode-line format string. (image-mode-maybe): Make obsolete with an alias to `image-mode'. (image-mode-as-text): New function with most code from `image-mode-maybe'. (image-toggle-display-text): Move code that removes image properties from `image-toggle-display' to here. (image-toggle-display-image): New function with code that adds image properties copied from `image-toggle-display'. (image-toggle-display): Remove most code with leaving only code that toggles between `image-mode-as-text' and `image-mode'.
* Newsticker fixes/changes.Ulf Jasper2009-12-043-21/+98
|
* (log-view-mode-map): "q" calls quit-window,Sam Steingold2009-12-042-0/+6
| | | | like in all the other non-self-insert buffers.
* Regenerate autoloads.Glenn Morris2009-12-043-5/+5
|
* Minor cleanup.Stefan Monnier2009-12-042-50/+45
| | | | | | | | | | | * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's key decoding rather than do it manually via last-input-event + ascii-character. (term-exec): Use delete-and-extract-region. (term-handle-ansi-terminal-messages): Remove unused var `end'. (term-process-pager): Remove unused var `i'. (term-dynamic-simple-complete): Make obsolete. (serial-update-config-menu): Remove unused vars `y' and `str'. (term-update-mode-line): Remove unused var `temp'.
* Limit the number of log entries displayed by default.Dan Nicolaescu2009-12-032-3/+10
| | | | | | * vc.el (vc-print-log-internal): Fix check for limit-unsupported. (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not using a prefix argument.
* (class): Restore still useful declaration.Glenn Morris2009-12-032-0/+8
| | | | Restore comment that is still relevant.
* Enhance `c-parse-state' to run efficiently in "brace desserts".Alan Mackenzie2009-12-035-318/+1195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * progmodes/cc-mode.el (c-basic-common-init): Call c-state-cache-init. (c-neutralize-syntax-in-and-mark-CPP): Renamed from c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by placing `category' properties value 'c-cpp-delimiter at its boundaries. * progmodes/cc-langs.el (c-before-font-lock-function): c-extend-and-neutralize-syntax-in-CPP has been renamed c-neutralize-syntax-in-and-mark-CPP. * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets with `category' properties now, not `syntax-table' ones. * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new enhanced (but slower) version of c-end-of-macro that won't land inside a literal or on another awkward character. (c-state-cache-too-far, c-state-cache-start) (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache) (c-state-nonlit-pos-cache-limit, c-state-point-min) (c-state-point-min-lit-type, c-state-point-min-lit-start) (c-state-min-scan-pos, c-state-brace-pair-desert) (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and buffer local variables. (c-state-literal-at, c-state-lit-beg) (c-state-cache-non-literal-place, c-state-get-min-scan-pos) (c-state-mark-point-min-literal, c-state-cache-top-lparen) (c-state-cache-top-paren, c-state-cache-after-top-paren) (c-get-cache-scan-pos, c-get-fallback-scan-pos) (c-state-balance-parens-backwards, c-parse-state-get-strategy) (c-renarrow-state-cache) (c-append-lower-brace-pair-to-state-cache) (c-state-push-any-brace-pair, c-append-to-state-cache) (c-remove-stale-state-cache) (c-remove-stale-state-cache-backwards, c-state-cache-init) (c-invalidate-state-cache-1, c-parse-state-1) (c-invalidate-state-cache): New defuns/defmacros/defsubsts. (c-parse-state): Enhanced and refactored. (c-debug-parse-state): Amended to deal with all the new variables. * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren) (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren): modify to use category text properties rather than syntax-table ones. (c-suppress-<->-as-parens, c-restore-<->-as-parens): new defsubsts to switch off/on the syntactic paren property of C++ template delimiters using the category property. (c-with-<->-as-parens-suppressed): Macro to invoke code with template delims suppressed. (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters): New constant/macros which apply category properties to the start and end of preprocessor constructs. (c-comment-out-cpps, c-uncomment-out-cpps): defsubsts which "comment out" the syntactic value of characters in preprocessor constructs. (c-with-cpps-commented-out) (c-with-all-but-one-cpps-commented-out): Macros to invoke code with characters in all or all but one preprocessor constructs "commented out".
* Correct conflicts in previous patch.Alan Mackenzie2009-12-031-8/+0
|
* *** empty log message ***Alan Mackenzie2009-12-031-0/+67
|
* (proced-filter-alist): Use regexp-quote.Roland Winkler2009-12-032-2/+6
|
* Cleanup.Michael Albinus2009-12-033-17/+44
| | | | | | | | | | * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete. (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading arguments. Expand `default-directory'. * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for the benefit of returning an expanded localname. (tramp-tramp-file-p): Handle the case NAME is not a string.
* (vc-bzr-dir-extra-headers): Fix typo.Dan Nicolaescu2009-12-031-1/+1
|
* Add support for bzr shelve/unshelve.Dan Nicolaescu2009-12-032-0/+126
| | | | | | | | | | * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map) (vc-bzr-extra-menu-map): New variables. (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve) (vc-bzr-shelve-apply, vc-bzr-shelve-list) (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point) (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions. (vc-bzr-dir-extra-headers): Display shelves.
* (vc-bzr-print-log): Deal with nil arguments better.Dan Nicolaescu2009-12-032-5/+10
|
* (bibtex-complete-internal): Use completion-in-region.Stefan Monnier2009-12-032-28/+12
| | | | (bibtex-text-in-field-bounds): Remove unused var `opoint'.
* Support applying stashes. Improve UI.Dan Nicolaescu2009-12-032-2/+63
| | | | | | | | | * vc-git.el (vc-git-dir-extra-headers): Add tooltips. (vc-git-stash-apply, vc-git-stash-pop) (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point) (vc-git-stash-menu): New functions. (vc-git-stash-menu-map): New variable. (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
* (log-view-vc-backend, log-view-vc-fileset): Declare.Glenn Morris2009-12-032-4/+15
| | | | | (vc-print-log-internal): Fix previous change. (vc-revert): Correct pluralization.
* (makefile-special-targets-list): No need for it to be an alist any more.Stefan Monnier2009-12-032-90/+41
| | | | (makefile-complete): Use completion-in-region.
* (octave-complete-symbol): Use completion-in-region.Stefan Monnier2009-12-032-37/+5
|
* Misc cleanup.Stefan Monnier2009-12-032-236/+261
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'. (idlwave-code-abbrev, idlwave-display-user-catalog-widget) (idlwave-complete-class): Don't quote lambda. (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table) (idlwave-mode-map): Move initialization into declaration. (idlwave-action-and-binding): Use backquotes. (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer): Simplify. (idlwave-is-pointer-dereference): Remove unused var `pos'. (idlwave-xml-create-rinfo-list): Remove unused var `entry'. (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new', `parts', and `all-parts'. (idlwave-xml-create-sysvar-alist): Remove unused var `fields'. (idlwave-convert-xml-system-routine-info): Remove unused string `version-string'. (idlwave-display-user-catalog-widget): Use dolist. (idlwave-scanning-lib): Declare dynamically-scoped var. (idlwave-scan-library-catalogs): Remove unused var `flags'. (completion-highlight-first-word-only): Declare to silence bytecomp. (idlwave-popup-select): Tighten scope of `resp'. (idlwave-find-struct-tag): Remove unused var `beg'. (idlwave-after-load-rinfo-hook): Declare. (idlwave-sintern-class-info): Remove unused var `taglist'. (idlwave-find-class-definition): Remove unused var `list'. (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'. (idlwave-what-module-find-class): Remove unused var `classes'.
* * progmodes/pascal.el: Require CL when compiling (for lexical-let).Juanma Barranquero2009-12-032-4/+10
|
* (try-expand-dabbrev-visible): Preserve point in theStefan Monnier2009-12-032-31/+34
| | | | buffers visited. Remove redundant current-buffer-saving.
* Use completion-in-buffer and remove uses of dynamic scoping.Stefan Monnier2009-12-022-211/+188
| | | | | | | | | | | | | | | | | | | | | | | | * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred) (pascal-buffer-to-use, pascal-flag): Don't declare. (pascal-func-completion, pascal-type-completion, pascal-var-completion) (pascal-get-completion-decl, pascal-keyword-completion): Add `pascal-str' argument, save-excursion, return the found completions, and don't filter with pascal-pred. (pascal-completion-cache): New var. (pascal-completion): Don't switch buffer any more (it was never necessary). Don't save-excursion any more (it's done by the called subroutines). Use a cache to avoid redundant computations. Use complete-with-action rather than pascal-completion-response and let it apply the predicate as well. (pascal-complete-word): Use completion-in-buffer when pascal-toggle-completions is nil. (pascal-show-completions): Don't bind pascal-buffer-to-use since it's not used any more. (pascal-comp-defun): Don't change buffer any more. Use complete-with-action rather than pascal-completion-response and let it apply the predicate as well. (pascal-goto-defun): Change buffer before calling pascal-comp-defun when neded.
* Include ZWJ and ZWNJ in the patterns to shape for all Indic scripts.Kenichi Handa2009-12-022-4/+9
|