aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* * lisp/net/rcirc.el: Delete trailing whitespaces once and for all.Deniz Dogan2011-06-202-8/+12
|
* Restore old behavior of get-window-with-predicate and get-buffer-window-list.Martin Rudalics2011-06-202-9/+24
| | | | | | | | * window.el (get-window-with-predicate): Start scanning with window following selected window to restore Emacs 23 behavior. Clarify doc-string. (get-buffer-window-list): Start scanning with selected window to restore Emacs 23 behavior. Clarify doc-string.
* * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.Daniel Colascione2011-06-192-2/+7
|
* Fix last change.Chong Yidong2011-06-191-1/+1
|
* * lisp/files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).Chong Yidong2011-06-192-0/+3
|
* * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).Chong Yidong2011-06-192-1/+5
|
* Auto-commit of loaddefs files.Glenn Morris2011-06-191-1/+1
|
* Regroup clauses in display-buffer-normalize-options (Bug#8851) and (Bug#8856).Martin Rudalics2011-06-192-11/+13
| | | | | * window.el (display-buffer-normalize-options): Move special-display-p group after pop-up-frame group (Bug#8851) and (Bug#8856).
* Provide functions for saving window configurations as Lisp objects.Martin Rudalics2011-06-192-0/+309
| | | | | | | * window.el (window-list-no-nils, window-state-ignored-parameters) (window-state-get-1, window-state-get, window-state-put-list) (window-state-put-1, window-state-put-2, window-state-put): New functions.
* Sanitize processing of display specifiers; new option frame-auto-delete.Martin Rudalics2011-06-192-38/+120
| | | | | | | | | | | | | | | | | | | | | | * window.el (display-buffer-other-window-means-other-frame): Call display-buffer-normalize-alist. (display-buffer-normalize-specifiers-1): Rename to display-buffer-normalize-argument. New argument other-frame. Rewrite. (display-buffer-normalize-specifiers-2): Rename to display-buffer-normalize-options. (display-buffer-normalize-alist-1): New function. (display-buffer-normalize-specifiers-3): Rename to display-buffer-normalize-alist. Call display-buffer-normalize-alist-1. (display-buffer-normalize-options-inhibit): New variable. (display-buffer-normalize-specifiers): Rewrite calling display-buffer-normalize-alist, display-buffer-normalize-argument, and display-buffer-normalize-options. Don't call the latter if display-buffer-normalize-options-inhibit is non-nil. (frame-auto-delete): New option. (window-deletable-p): Use frame-auto-delete.
* auth-source.el (auth-source-netrc-use-gpg-tokens): Replace ↵Teodor Zlatanov2011-06-182-21/+64
| | | | | | | `auth-source-save-secrets' with a more sensitive alist that can be configured per file. Experimental, so defaults to 'never. (auth-source-netrc-create): Use it. Still experimental code. (with-auth-source-epa-overrides): Use `find-file-hooks' if `find-file-hook' is unbound (XEmacs fix). Fix backquoting bug.
* Add rx.el support for numbered groups (Bug#8776).Chong Yidong2011-06-182-0/+22
| | | | | | * lisp/emacs-lisp/rx.el (rx-constituents): Add support for numbered groups. (rx-submatch-n): New function. (rx): Document it.
* * dired-x.el (dired-mark-unmarked-files): Fix interactive spec (Bug#8768).Chong Yidong2011-06-182-3/+11
|
* * lisp/textmodes/fill.el (default-justification): Add :safe (Bug#8879).Chong Yidong2011-06-182-0/+3
|
* Fix for disable-theme/defface interaction (Bug#8889).Chong Yidong2011-06-182-24/+30
| | | | | * lisp/cus-face.el (custom-declare-face): Call custom-theme-recalc face anytime existing face settings are present.
* Use define-derived-mode in delphi-mode.Chong Yidong2011-06-182-16/+14
| | | | | | * lisp/progmodes/delphi.el (delphi-mode-syntax-table): Use defvar. (delphi-mode): Use define-derived-mode to inherit from prog-mode. Remove unused argument.
* One more fix for display-buffer-normalize-specifiers-1.Martin Rudalics2011-06-182-1/+3
| | | | * window.el (display-buffer-normalize-specifiers-1): Fix thinko.
* Additional fixes in handling of buffer display specifiers.Martin Rudalics2011-06-182-5/+28
| | | | | | | | | | | | * window.el (display-buffer-default-specifiers): Remove pop-up-frame. Add pop-up-window-min-height, pop-up-window-min-width, and another reuse-window specifier (Bug#8882). Reported by Dan Nicolaescu <[email protected]>. (display-buffer-normalize-specifiers-2): Handle split-height-threshold and split-width-threshold also when pop-up-windows is unset. Add a reuse-window specifier for the case popping up a new window fails. (special-display-popup-frame): Remove double quoting.
* * lisp/pcomplete.el: Convert to lexical binding and fix bug#8819.Stefan Monnier2011-06-173-103/+122
| | | | | | | | | | | | | | (pcomplete-suffix-list): Mark as obsolete. (pcomplete-completions-at-point): Capture pcomplete-norm-func and pcomplete-seen in the closure. (pcomplete-comint-setup): Setup completion-at-point as well. (pcomplete--entries): New function. (pcomplete--env-regexp): New var. (pcomplete-entries): Rewrite to work with partial-completion and without relying on pcomplete-suffix-list. (pcomplete-pare-list): Remove, unused. * lisp/shell.el (shell-completion-vars): Set pcomplete-termination-string according to comint-completion-addsuffix.
* Update doc-string of display-buffer-alist.Martin Rudalics2011-06-171-0/+8
|
* Rewrite display-buffer-alist and display-buffer-normalize-specifiers.Martin Rudalics2011-06-172-41/+109
| | | | | | | | | | | | | | | | | * window.el (display-buffer-alist): Set pop-up-window-min-height and pop-up-window-min-width in default value. Reported by Thierry Volpiatto <[email protected]>. New specifier other-window-means-other-frame. (display-buffer-macro-specifiers): Comment out entry for other-window specifier. (display-buffer-other-window-means-other-frame): New function. (display-buffer-normalize-specifiers-1): New arguments buffer-name and label. Treat other-window case specially. (display-buffer-normalize-specifiers-2): Treat other-window case specially. (display-buffer-normalize-specifiers-3): New function. (display-buffer-normalize-specifiers): Call display-buffer-normalize-specifiers-3.
* Fix handling of old `display-buffer' options (bug#8851) (bug#8856).Martin Rudalics2011-06-172-146/+61
| | | | | | | | | | | | * window.el (display-buffer-normalize-specifiers-1): Don't check pop-up-frames for 'unset initialization. (display-buffer-normalize-specifiers-2): Major rewrite using special-display-p and same-window-p (Bug#8851) and (Bug#8856). (pop-up-frames, display-buffer-reuse-frames) (display-buffer-mark-dedicated): Don't initialize to 'unset. Suggested by David Engster <[email protected]>. (even-window-heights): Initialize to 'unset. (display-buffer-alist-set): Handle new 'unset initializations.
* Fix two typos in same-window-p.Martin Rudalics2011-06-172-2/+7
| | | | | * window.el (same-window-p): Fix two typos introduced when adding with-no-warnings.
* Have enlarge-/shrink-window not report errors in most cases (bug#8862).Martin Rudalics2011-06-162-3/+27
| | | | | * window.el (enlarge-window, shrink-window): Don't report an error when the window can't be resized as requested (Bug#8862).
* Never ever pop up a new frame in noninteractive mode (bug#8857).Martin Rudalics2011-06-162-3/+8
| | | | | | | (display-buffer): Don't check noninteractive when calling display-buffer-pop-up-frame. (display-buffer-pop-up-frame): Never pop up a frame in noninteractive mode (Bug#8857).
* Fix doc-strings of switch-to-buffer family functions (bug#8875).Martin Rudalics2011-06-162-8/+12
| | | | | | | (switch-to-buffer-same-frame, switch-to-buffer-other-window) (switch-to-buffer-other-window-same-frame) (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew Adams (Bug#8875).
* Improve cohabitation of pop-up-frames and second argument of display-buffer ↵Martin Rudalics2011-06-162-18/+22
| | | | | | | | (bug#8865). * window.el (display-buffer-normalize-specifiers-1): Respect current value of pop-up-frames for most reasonable values of second argument of display-buffer (Bug#8865).
* Merge changes made in Gnus trunk.Teodor Zlatanov2011-06-162-13/+149
| | | | | | | | | auth-source.el (auth-source-save-secrets): New variable to control if secret tokens should be saved encrypted. (auth-source-netrc-parse, auth-source-netrc-search): Pass the file name to `auth-source-netrc-normalize'. (with-auth-source-epa-overrides): Add convenience macro. Don't depend on the EPA variables being defined. (auth-source-epa-make-gpg-token): Convert text to a "gpg:" token. (auth-source-netrc-normalize): Convert "gpg:" tokens back to text in the lexical-let closure. (auth-source-netrc-create): Create "gpg:" tokens according to `auth-source-save-secrets'.
* (open-network-stream): Add the keyword :always-query-capabilities.Lars Magne Ingebrigtsen2011-06-152-3/+15
| | | | | | This is for the case where you want to force a `plain' network connection, but the protocol still requires the capabilitiy command (i.e., SMTP and EHLO).
* * lisp/pcmpl-rpm.el (pcomplete/rpm): Minor simplification.Stefan Monnier2011-06-152-3/+5
|
* * lisp/emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.Stefan Monnier2011-06-152-8/+10
|
* * src/eval.c (Fdefvaralias): Also mark the target as variable-special-p.Stefan Monnier2011-06-151-0/+20
|
* * lisp/abbrev.el (define-abbrev-table): Don't add a table multiple times.Stefan Monnier2011-06-152-36/+41
|
* progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking forAlan Mackenzie2011-06-152-106/+105
| | | | | declarators, disable knr checking to speed up for normal files. 2: Refactor, replacing a sequence of nested if forms by a cond form.
* Renamed `process-alive-p' to `process-live-p' for consistency with other ↵Lars Magne Ingebrigtsen2011-06-152-1/+6
| | | | `-live-p' functions.
* Don't encourage the use of display-buffer-alist from Elisp code.Stefan Monnier2011-06-152-17/+29
| | | | | | | | | | | * lisp/window.el (same-window-buffer-names, same-window-regexps) (special-display-frame-alist, special-display-popup-frame) (special-display-function, special-display-buffer-names) (special-display-regexps, pop-up-frame-alist) (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames) (pop-up-windows, split-window-preferred-function) (split-height-threshold, split-width-threshold, even-window-heights) (display-buffer-mark-dedicated): Fix obsolescence info.
* * lisp/progmodes/cfengine.el (cfengine-mode): Derive from prog-mode.Dan Nicolaescu2011-06-152-1/+2
|
* Derive some programming modes from prog-mode.Dan Nicolaescu2011-06-155-4/+11
| | | | | | | * lisp/progmodes/python.el (python-mode): Derive from prog-mode. * lisp/progmodes/ps-mode.el (ps-mode): * lisp/progmodes/mixal-mode.el (mixal-mode): * lisp/progmodes/ld-script.el (ld-script-mode): Likewise.
* Don't let display-buffer pop up new frames by default (bug#8857).Martin Rudalics2011-06-152-7/+13
| | | | | | | | * window.el (display-buffer-alist): Trim default value to avoid popping up a new frame (Bug#8857) or reusing an arbitrary window on another frame. (display-buffer): Do not fall back on popping up a new frame in batch mode (Bug#8857).
* Print theme summaries in *Custom Themes* buffer.Chong Yidong2011-06-142-22/+57
| | | | | | | | | | | | | | | * lisp/cus-theme.el (describe-theme-1): Use custom-theme-p. (custom-theme-summary): New function. (customize-themes): Use it. * etc/themes/light-blue-theme.el: * etc/themes/misterioso-theme.el: * etc/themes/tango-dark-theme.el: * etc/themes/tango-theme.el: * etc/themes/tsdh-dark-theme.el: * etc/themes/tsdh-light-theme.el: * etc/themes/wheatgrass-theme.el: * etc/themes/wombat-theme.el: Tweak summaries for better listability.
* cus-dep fix for build failure first occurring with ↵Glenn Morris2011-06-132-2/+9
| | | | | | | | | | | 2011-06-13T08:21:[email protected] The symptom was `make custom-dep' failing with "Unknown terminal type". This is caused by `display-buffer' trying to pop-up a frame in batch mode. I think this cus-dep change may be just papering over the immediate manifestation of the underlying problem. * lisp/cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
* Make help and view-mode work with new buffer display facilities.Martin Rudalics2011-06-134-405/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * help.el (help-window): Remove variable. (help-window-point-marker, temp-buffer-max-height) (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings. (help-print-return-message): Don't set help-window. (resize-temp-buffer-window): Rewrite cod eand doc-string. (help-window-setup-finish): Remove. (help-window-display-message, help-window-setup) (with-help-window): Major rewrite based on new display-buffer-window variable. * help-mode.el (help-mode-finish): Remove help-window related code. * view.el (view-exits-all-viewing-windows): Remove reference to view-return-to-alist in doc-string. (view-return-to-alist): Make obsolete. (view-buffer): Call pop-to-buffer-same-window and remove undo-window code. (view-buffer-other-window): Call pop-to-buffer-other-window and simplify code. Ignore second argument. (view-buffer-other-frame): Call pop-to-buffer-other-frame and simplify code. Ignore second argument. (view-return-to-alist-update): Make obsolete. (view-mode-enter): Rename second argument to QUIT-RESTORE. Rewrite using quit-restore window parameters. (view-mode-exit): Rename second argument to EXIT-ONLY. Rewrite using quit-restore-window. (View-exit, View-exit-and-edit, View-leave, View-quit) (View-quit-all, View-kill-and-leave): Call view-mode-exit with appropriate arguments. (view-end-message): Use quit-restore window parameter.
* Install new buffer display functions and variables.Martin Rudalics2011-06-132-531/+2641
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * window.el (display-buffer-function): Rewrite doc-string. (display-buffer-window, display-buffer-alist): New variables. (display-buffer-split-specifiers) (display-buffer-side-specifiers) (display-buffer-macro-specifiers): New constants. (display-buffer-even-window-sizes, display-buffer-set-height) (display-buffer-set-width, display-buffer-select-window) (display-buffer-in-window, display-buffer-reuse-window) (display-buffer-split-window-1, display-buffer-split-window) (display-buffer-split-atom-window, display-buffer-pop-up-window) (display-buffer-pop-up-frame, display-buffer-pop-up-side-window) (display-buffer-in-side-window, normalize-buffer-to-display) (display-buffer-normalize-specifiers-1) (display-buffer-normalize-specifiers-2) (display-buffer-normalize-specifiers, display-buffer-frame): New functions. (display-buffer): Major rewrite. (display-buffer-other-window, display-buffer-other-frame) (pop-to-buffer, switch-to-buffer-other-window) (switch-to-buffer-other-frame): Rewrite. (display-buffer-same-window, display-buffer-same-frame) (display-buffer-same-frame-other-window) (pop-to-buffer-same-window, pop-to-buffer-same-frame) (pop-to-buffer-other-window) (pop-to-buffer-same-frame-other-window) (pop-to-buffer-other-frame, switch-to-buffer-same-frame) (switch-to-buffer-other-window-same-frame): New functions. (same-window-p, special-display-p): Rewrite disabling warnings. Make obsolete. (pop-up-frames, display-buffer-reuse-frames, pop-up-windows) (display-buffer-mark-dedicated): Initialize to symbol 'unset. Make obsolete (same-window-buffer-names, same-window-regexps) (special-display-frame-alist, special-display-popup-frame) (special-display-function, special-display-buffer-names) (special-display-regexps, pop-up-frame-alist) (pop-up-frame-function, split-window-preferred-function) (split-height-threshold, split-width-threshold) (even-window-heights): Make obsolete.
* * term/xterm.el (terminal-init-xterm): Still more simplifications.Glenn Morris2011-06-121-3/+2
|
* * term/xterm.el (terminal-init-xterm): More simplifications.Glenn Morris2011-06-121-7/+3
|
* * term/xterm.el (terminal-init-xterm): Misc simplifications.Glenn Morris2011-06-122-71/+68
|
* * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)Glenn Morris2011-06-122-0/+6
|
* Restore window-safely-shrinkable-p but avoid using it in calendar.el.Martin Rudalics2011-06-123-11/+30
| | | | | | | | | | * window.el (window-safely-shrinkable-p): Restore function which was inadvertently removed in change from 2011-06-11. Declare as obsolete. * calendar/calendar.el (calendar-generate-window): Use window-iso-combined-p instead of combination of one-window-p and window-safely-shrinkable-p.
* Give % punctuation syntax in fortran modes (bug#8820)Glenn Morris2011-06-113-11/+9
| | | | | | | * lisp/progmodes/fortran.el (fortran-mode-syntax-table): * lisp/progmodes/f90.el (f90-mode-syntax-table): Set % to punctuation. (f90-find-tag-default): Remove, no longer needed.
* * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.Daniel Colascione2011-06-112-1/+5
|