summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* 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 <dann@gnu.org>. (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 <thierry.volpiatto@gmail.com>. 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 <deng@randomsample.de>. (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:09Z!rudalics@gmx.at 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
|
* Handle gif subimage animation delay correctly.Chong Yidong2011-06-112-24/+32
| | | | | | | | | | | * lisp/image.el (image-animated-p): Return animation delay in seconds. Avoid bit manipulation in Lisp; use `delay' entry in the metadata. (image-animate-timeout): Remove DELAY argument. Use image-animated-p to get animation delay for each frame. (image-animate): Caller changed. * src/image.c (gif_load): Add animation frame delay to the metadata. (syms_of_image): Use DEFSYM. New symbol `delay'.
* * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'Michael Albinus2011-06-112-1/+7
| | | | to ignored backtrace functions.
* Handle overlapping appointments in appt.el (bug#8377)Glenn Morris2011-06-112-55/+71
| | | | | | | * lisp/calendar/appt.el (appt-disp-window-function): Doc fix. (appt-check): Handle overlapping appointments. * etc/NEWS: Mention appt-disp-window-function should handle lists now.
* Window configuration, balancing and fit-to-buffer rewrites.Martin Rudalics2011-06-112-400/+379
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * window.c (delete_deletable_window): Re-add. (Fset_window_configuration): Rewrite to handle dead buffers and consequently deletable windows. (window_tree, Fwindow_tree): Remove. Supply functionality in window.el. (compare_window_configurations): Simplify code. * window.el (window-tree-1, window-tree): New functions, moving the latter to window.el. (bw-get-tree, bw-get-tree-1, bw-find-tree-sub) (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir) (bw-refresh-edges): Remove. (balance-windows-1, balance-windows-2): New functions. (balance-windows): Rewrite in terms of window tree functions, balance-windows-1 and balance-windows-2. (bw-adjust-window): Remove. (balance-windows-area-adjust): New function with functionality of bw-adjust-window but using resize-window. (set-window-text-height): Rewrite doc-string. Use normalize-live-window and resize-window. (enlarge-window-horizontally, shrink-window-horizontally): Rename argument to DELTA. (window-buffer-height): New function. (fit-window-to-buffer, shrink-window-if-larger-than-buffer): Rewrite using new window resize routines. (kill-buffer-and-window, mouse-autoselect-window-select): Use ignore-errors instead of condition-case. (quit-window): Call delete-frame instead of delete-windows-on for the only buffer on frame.
* Move/add window-buffer-related functions to window.el.Martin Rudalics2011-06-116-183/+777
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * buffer.c: New Lisp objects Qbuffer_list_update_hook and Qclone_number. Remove external declaration of Qdelete_window. (Fbuffer_list): Rewrite doc-string. Minor restructuring of code. (Fget_buffer_create, Fmake_indirect_buffer, Frename_buffer): Run Qbuffer_list_update_hook if allowed. (Fother_buffer): Rewrite doc-string. Major rewrite for new buffer list implementation. (other_buffer_safely): New function. (Fkill_buffer): Replace call to replace_buffer_in_all_windows by calls to replace_buffer_in_windows and replace_buffer_in_windows_safely. Run Qbuffer_list_update_hook if allowed. (record_buffer): Inhibit quitting and rewrite using quittable functions. Run Qbuffer_list_update_hook if allowed. (Frecord_buffer, Funrecord_buffer): New functions. (switch_to_buffer_1, Fswitch_to_buffer): Remove. Move switch-to-buffer to window.el. (bury-buffer): Move to window.el. (Vbuffer_list_update_hook): New variable. * lisp.h (other_buffer_safely): Add prototype in buffer.c section. * window.h (resize_frame_windows): Move up in code. (Fwindow_frame): Remove EXFUN. (replace_buffer_in_all_windows): Remove prototype. (replace_buffer_in_windows_safely): Add prototype. * window.c: Declare Qdelete_window static again. Move down declaration of select_count. (Fnext_window, Fprevious_window): Rewrite doc-strings. (Fother_window): Move to window.el. (window_loop): Remove DELETE_BUFFER_WINDOWS and UNSHOW_BUFFER cases. Add REPLACE_BUFFER_IN_WINDOWS_SAFELY case. (Fdelete_windows_on, Freplace_buffer_in_windows): Move to window.el. (replace_buffer_in_windows): Implement by calling Qreplace_buffer_in_windows. (replace_buffer_in_all_windows): Remove with some functionality moved into replace_buffer_in_windows_safely. (replace_buffer_in_windows_safely): New function. (select_window_norecord, select_frame_norecord): Move in front of run_window_configuration_change_hook. Remove now obsolete declarations. (Fset_window_buffer): Rewrite doc-string. Call Qrecord_window_buffer. (keys_of_window): Move binding for other-window to window.el. * loadup.el (top-level): Load window before files for the sake of replace-buffer-in-windows. * files.el (read-buffer-to-switch) (switch-to-buffer-other-window) (switch-to-buffer-other-frame, display-buffer-other-frame): Move to window.el. * simple.el (get-next-valid-buffer, last-buffer, next-buffer) (previous-buffer): Move to window.el. * bindings.el (unbury-buffer): Move to window.el. * window.el (delete-other-windows-vertically): Move after definition of delete-other-windows. (other-window, delete-windows-on, replace-buffer-in-windows): Move here from window.c. (record-window-buffer, unrecord-window-buffer) (set-window-buffer-start-and-point, switch-to-prev-buffer) (switch-to-next-buffer): New functions. (get-next-valid-buffer, last-buffer, next-buffer): Move here from simple.el. Call switch-to-next-buffer. (previous-buffer): Move here from simple.el. Call switch-to-prev-buffer. (bury-buffer): Move here from buffer.c. Switch to previous buffer when window cannot be deleted. (unbury-buffer): Move here from bindings.el. (ctl-x-map): Move binding for other-window from window.c to here. (read-buffer-to-switch, switch-to-buffer-other-window) (switch-to-buffer-other-frame): Move here from files.el. (normalize-buffer-to-switch-to): New functions. (switch-to-buffer): Move here from buffer.c. Use read-buffer-to-switch and normalize-buffer-to-switch-to.
* Move window resize code from window.c to window.el.Martin Rudalics2011-06-103-107/+763
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * window.c: Remove declarations of Qwindow_size_fixed, window_min_size_1, window_min_size_2, window_min_size, size_window, window_fixed_size_p, enlarge_window, delete_window. Remove static from declaration of Qdelete_window, it's temporarily needed by Fbury_buffer. (replace_window): Don't assign orig_top_line and orig_total_lines. (Fdelete_window, delete_window): Remove. Window deletion is handled by window.el. (window_loop): Remove DELETE_OTHER_WINDOWS case. Replace Fdelete_window calls with calls to Qdelete_window. (Fdelete_other_windows): Remove. Deleting other windows is handled by window.el. (window_fixed_size_p): Remove. Fixed-sizeness of windows is handled in window.el. (window_min_size_2, window_min_size_1, window_min_size): Remove. Window minimum sizes are handled in window.el. (shrink_windows, size_window, set_window_height) (set_window_width, change_window_heights, window_height) (window_width, CURBEG, CURSIZE, enlarge_window) (adjust_window_trailing_edge, Fadjust_window_trailing_edge) (Fenlarge_window, Fshrink_window): Remove. Window resizing is handled in window.el. (make_dummy_parent): Rename to make_parent_window and give it a second argument horflag. (make_window): Don't set resize_proportionally any more. (Fsplit_window): Remove. Windows are split in window.el. (save_restore_action, save_restore_orig_size) (shrink_window_lowest_first, save_restore_orig_size): Remove. Resize mini windows in window.el. (grow_mini_window, shrink_mini_window): Implement by calling Qresize_root_window_vertically, resize_window_check and resize_window_apply. (saved_window, Fset_window_configuration, save_window_save): Do not handle orig_top_line, orig_total_lines, and resize_proportionally. (window_min_height, window_min_width): Move to window.el. (keys_of_window): Move bindings for delete-other-windows, split-window, delete-window and enlarge-window to window.el. * buffer.c: Temporarily extern Qdelete_window. (Fbury_buffer): Temporarily call Qdelete_window instead of Fdelete_window (Fbury_buffer will move to window.el soon). * frame.c (set_menu_bar_lines_1): Remove code handling orig_top_line and orig_total_lines. * dispnew.c (adjust_frame_glyphs_initially): Don't use set_window_height but set heights directly. (change_frame_size_1): Use resize_frame_windows. * xdisp.c (init_xdisp): Don't use set_window_height but set heights directly. * xfns.c (x_set_menu_bar_lines, x_set_tool_bar_lines): Use resize_frame_windows instead of change_window_heights and run run_window_configuration_change_hook. * w32fns.c (x_set_tool_bar_lines): Use resize_frame_windows instead of change_window_heights and run run_window_configuration_change_hook. * window.el (window-min-height, window-min-width): Move here from window.c. Add defcustoms and rewrite doc-strings. (resize-mini-window, resize-window): New functions. (adjust-window-trailing-edge, enlarge-window, shrink-window): Move here from window.c. (maximize-window, minimize-window): New functions. (delete-window, delete-other-windows, split-window): Move here from window.c. (window-split-min-size): New function. (split-window-keep-point): Mention split-window-above-each-other instead of split-window-vertically. (split-window-above-each-other, split-window-vertically): Rename split-window-vertically to split-window-above-each-other and provide defalias for old definition. (split-window-side-by-side, split-window-horizontally): Rename split-window-horizontally to split-window-side-by-side and provide defalias for the old definition. (ctl-x-map): Move bindings for delete-window, delete-other-windows and enlarge-window here from window.c. Replace bindings for split-window-vertically and split-window-horizontally by bindings for split-window-above-each-other and split-window-side-by-side. * cus-start.el (all): Remove entries for window-min-height and window-min-width. Add entries for window-splits and window-nest.
* Improve Gnus' dribble data handling.Katsumi Yamaoka2011-06-106-26/+77
|
* * lisp/calendar/appt.el (appt-mode-line): Eliminate one local variable.Glenn Morris2011-06-091-3/+3
|
* Eliminate some code duplication in appt.el.Glenn Morris2011-06-092-28/+36
| | | | | * lisp/calendar/appt.el (appt-mode-line): New function. (appt-check, appt-disp-window): Use it.
* Allow/recommend explicit args for minor-modes in file local eval:s.Glenn Morris2011-06-094-4/+9
| | | | | | | | | | | | * lisp/files.el (hack-one-local-variable-eval-safep): Allow minor-modes with explicit +/-1 arguments. * doc/emacs/custom.texi (Specifying File Variables): Recommend explicit arguments for minor modes. * etc/NEWS: Likewise. * lisp/doc-view.el, lisp/net/soap-client.el: Update file locals.
* Add `xterm-extra-capabilities' defcustom for terminals where the xterm ↵Ted Zlatanov2011-06-092-70/+131
| | | | | | | | | | | capabilities query is not needed or wanted. * term/xterm.el (xterm): Add defgroup. (xterm-extra-capabilities): Add defcustom to supply known xterm capabilities, skip querying them, or query them (default). (terminal-init-xterm): Use it. (terminal-init-xterm-modify-other-keys): New function to set up modifyOtherKeys support to simplify `terminal-init-xterm'.
* Final preparations in window.el for new window resize code.Martin Rudalics2011-06-092-0/+548
| | | | | | | | | * window.el (resize-window-reset, resize-window-reset-1) (resize-subwindows-skip-p, resize-subwindows-normal) (resize-subwindows, resize-other-windows, resize-this-window) (resize-root-window, resize-root-window-vertically) (window-deletable-p, window-or-subwindow-p) (frame-root-window-p): New functions.
* ange-ftp fixes for dired switches not being just a single short option.Glenn Morris2011-06-082-24/+24
| | | | | * lisp/net/ange-ftp.el (ange-ftp-switches-ok): New function. (ange-ftp-get-files): Use it.
* Small fixes for dired-listing-switches usage.Alexander Klimov2011-06-083-4/+10
| | | | | | | | Ref: http://lists.gnu.org/archive/html/emacs-devel/2011-05/msg01000.html * lisp/mail/sendmail.el (mail-recover-1, mail-recover): * lisp/files.el (recover-file, recover-session): Handle dired-listing-switches not being just a single short option.
* Allow some appt.el display functions to handle lists.Glenn Morris2011-06-082-21/+73
| | | | | * lisp/calendar/appt.el (appt-display-message, appt-disp-window): Handle lists of appointments.