summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* Spelling fixes.Paul Eggert2011-11-1339-71/+67
|
* Small executable.el fix related to bug#9879.Glenn Morris2011-11-132-6/+14
| | | | | | * lisp/progmodes/executable.el (executable-make-buffer-file-executable-if-script-p): Handle file-modes returning nil.
* * lisp/mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.Glenn Morris2011-11-132-0/+4
|
* Rmail summary fixes for empty summaries.Glenn Morris2011-11-132-12/+15
| | | | | | | | * lisp/mail/rmailsum.el (rmail-summary, rmail-new-summary) (rmail-new-summary-1): Allow empty summaries. (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local. Fixes: debbugs:9964
* Spelling fixes.Paul Eggert2011-11-1225-32/+31
|
* Don't handle splits status.Martin Rudalics2011-11-122-8/+12
| | | | | | | | | | | | | | | | | * window.h (window): Remove splits slot. * window.c (Fwindow_splits, Fset_window_splits): Remove. (Fdelete_other_windows_internal, make_parent_window) (make_window, Fsplit_window_internal, Fdelete_window_internal) (Fset_window_configuration, save_window_save): Don't deal with split status of windows. (saved_window): Remove splits slot. (Vwindow_splits): Rewrite doc-string. * window.el (window-resize, delete-window): Use window-splits variable instead of function. (window-state-get-1, window-state-put-2, window-state-put): Don't deal with windows' splits status. * windows.texi (Splitting Windows, Deleting Windows): Remove references to splits status of windows.
* apropos.el doc fixes.Glenn Morris2011-11-112-8/+33
| | | | | * lisp/apropos.el (apropos-do-all, apropos-library, apropos-value) (apropos-documentation): Doc fixes.
* Fix more typos.Juanma Barranquero2011-11-124-18/+18
|
* Fix typos.Juanma Barranquero2011-11-1212-13/+22
|
* * lisp/electric.el: Make electric-indent-mode better behaved.Stefan Monnier2011-11-112-14/+23
| | | | | | * lisp/electric.el (electric-indent-post-self-insert-function): Make it possible for a char to only indent in some circumstances. (electric-indent-mode): Simplify.
* Further rename and clean up of functions in window.el.Martin Rudalics2011-11-112-23/+25
| | | | | | * window.el (window-size-ignore, window-size-fixed-1) (window-in-direction-2): Prefix with "window--". (window-tree-1): Rename to window--subtree, fix doc-string.
* Spelling fixes.Paul Eggert2011-11-1110-10/+10
|
* Rename and clean up functions in window.el.Martin Rudalics2011-11-112-41/+26
| | | | | | | * window.el (windows-with-parameter): Remove unused function. (windows-at-side): Rename to window-at-side-list. (window-check, window-atom-check, window-atom-check-1) (window-side-check): Prefix with "window--".
* eval-after-load fix for bug#10009Glenn Morris2011-11-102-22/+26
| | | | | * lisp/subr.el (eval-after-load): If FILE is already loaded, evaluate FORM before it gets wrapped in more stuff.
* Always use svn --non-interactive in vc-svn.el (bug#9993)Glenn Morris2011-11-092-10/+21
| | | | | | | * lisp/vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment): Call svn via vc-svn-command rather than vc-do-command. (vc-svn-command): Add --non-interactive. (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
* toggle-read-only fixes for bugs#7292, 10006.Glenn Morris2011-11-093-2/+17
| | | | | | | | | | | * doc/lispref/buffers.texi (Read Only Buffers): Expand a bit on why toggle-read-only should only be used interactively. * lisp/files.el (toggle-read-only): Mention that it should only be used interactively. * lisp/emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions): Add toggle-read-only.
* Fix typos.Juanma Barranquero2011-11-094-47/+13
|
* * lisp/progmodes/compile.el: Adjust regexp for OCaml warnings.Stefan Monnier2011-11-092-1/+4
| | | | | | (compilation-error-regexp-alist-alist): OCaml warnings (can?) have a number. Fixes: debbugs:9749
* * lisp/electric.el (electric-pair-post-self-insert-function): Let userStefan Monnier2011-11-092-0/+4
| | | | | | turn it off buffer-locally. Fixes: debbugs:9932
* * lisp/progmodes/python.el (python-beginning-of-statement): Rewrite.Stefan Monnier2011-11-092-15/+9
| | | | Fixes: debbugs:2703
* * lisp/progmodes/compile.el: Better handle TABs.Stefan Monnier2011-11-092-36/+50
| | | | | | | | (compilation-internal-error-properties) (compilation-next-error-function): Obey the target buffer's compilation-error-screen-columns. Fixes: debbugs:9749
* Rewrite window-resizable.Martin Rudalics2011-11-092-25/+60
| | | | | | | | | | | * window.el (window-size-fixed-p): Rewrite doc-string. (window-resizable-p): Rename to window--resizable-p. Update callers. (window--resizable): New function. Make all callers of window-resizable call window--resizable instead. (window-resizable): Rewrite in terms of window--resizable. * windows.texi (Resizing Windows): Rewrite documentation of window-resizable.
* Spelling fixes.Paul Eggert2011-11-0815-27/+27
|
* delphi syntax table fix for bug#9994Glenn Morris2011-11-082-4/+5
| | | | | * lisp/progmodes/delphi.el (delphi-mode-syntax-table): Let define-derived-mode define a proper syntax table.
* Fix doc-string typo in window-min-deltaMartin Rudalics2011-11-082-1/+2
|
* * lisp/window.el: Stay away from defsubst.Stefan Monnier2011-11-082-70/+73
| | | | | (window-list-no-nils): Remove. (window-state-get-1, window-state-get): Use backquote instead.
* Update changelog.thierry volpiatto2011-11-081-0/+5
|
* * emacs-lisp/find-func.el (find-function-read): Fix incorrect use of default ↵thierry volpiatto2011-11-081-23/+17
| | | | argument in `completing-read'.
* Remove stale references to help-setup parameter in doc-strings.Martin Rudalics2011-11-082-4/+12
| | | | | | * window.el (display-buffer-function, special-display-function): Mention display-buffer-record-window but do not mention help-setup parameter in doc-strings.
* Move low-level window width/height functions to C, and high-level functions ↵Chong Yidong2011-11-082-54/+26
| | | | | | | | | | | | | | to Lisp. * lisp/window.el (window-total-height, window-total-width): Doc fix. (window-body-size): Move from C. (window-body-height, window-body-width): Move to C. * src/window.c (Fwindow_left_column, Fwindow_top_line): Doc fix. (Fwindow_body_height, Fwindow_body_width): Move from Lisp. Signal an error if not a live window. (Fwindow_total_width, Fwindow_total_height): Move from Lisp. (Fwindow_total_size, Fwindow_body_size): Move to Lisp.
* * lisp/window.el: Make special-display like display-buffer-alist.Stefan Monnier2011-11-072-11/+21
| | | | | | | | | | | (display-buffer--special-action): New function, morphed from display-buffer--special. (display-buffer): Use it to handle special-display-buffers at higher priority (just after display-buffer-alist). (display-buffer-fallback-action, display-buffer--other-frame-action) (pop-to-buffer-same-window): Remove display-buffer--special. Fixes: debbugs:9532
* Small cal-menu fix for bug#9976Glenn Morris2011-11-072-5/+12
| | | | | * lisp/calendar/cal-menu.el (cal-menu-set-date-title): Do nothing if not in a calendar.
* * lisp/files.el (find-file): Always use selected-window.Stefan Monnier2011-11-072-1/+5
|
* Remove term "subwindow" from code and documentation.Martin Rudalics2011-11-072-91/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * window.h: Declare delete_all_child_windows instead of delete_all_subwindows. * window.c (Fwindow_nest, Fset_window_nest) (Fset_window_new_total, Fset_window_new_normal) (Fwindow_resize_apply): Don't use term subwindow in doc-strings. (delete_all_subwindows): Rename to delete_all_child_windows. (Fdelete_other_windows_internal, Fset_window_configuration): Call delete_all_child_windows instead of delete_all_subwindows. * frame.c (delete_frame): Call delete_all_child_windows instead of delete_all_subwindows. * window.el (window-combinations): Make WINDOW argument mandatory. Rewrite doc-string. (walk-window-subtree, window-atom-check, window-min-delta) (window-max-delta, window--resize-this-window) (window--resize-root-window-vertically, window-tree) (balance-windows, window-state-put): Rewrite doc-strings as to not mention the term "subwindow". (window--resize-subwindows-skip-p): Rename to window--resize-child-windows-skip-p. (window--resize-subwindows-normal): Rename to window--resize-child-windows-normal. (window--resize-subwindows): Rename to window--resize-child-windows. (window-or-subwindow-p): Rename to window--in-subtree-p. * windows.texi (Resizing Windows, Splitting Windows) (Window Configurations): Use "child window" instead of "subwindow".
* Fix rmail-mbox handling of terminating newlines.Mark Lillibridge2011-11-072-18/+15
| | | | | | | * lisp/mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text): Ensure that mbox format messages end in two newlines. Fixes: debbugs:9974
* Delete window-combination-p; tweaks to window-top-child and window-left-child.Chong Yidong2011-11-062-19/+25
| | | | | | | | | | | | | | | | | | * lisp/window.el (window-combination-p): Function deleted; its side-effect is not used in any existing code. (window-combinations, window-combined-p): Call window-*-child directly. * window.c (Fwindow_live_p, Fwindow_frame, Fframe_root_window) (Fminibuffer_window, Fwindow_buffer, Fwindow_splits) (Fset_window_splits, Fwindow_nest, Fset_window_nest) (Fwindow_use_time, Fwindow_total_size, Fwindow_normal_size) (Fwindow_new_normal, Fwindow_left_column, Fwindow_top_line) (Fwindow_margins, Fwindow_fringes, Fwindow_scroll_bars) (Fwindow_vscroll): Doc fix. (Fwindow_top_child, Fwindow_left_child): Eliminate a nil default argument, since it makes no sense to pass a live window and for consistency with window-child.
* * window.el (window-normalize-window): Rename from window-normalize-any-window.Chong Yidong2011-11-052-57/+70
| | | | | | | | | | | | | | | | | | | New arg LIVE-ONLY, replacing window-normalize-live-window. (window-normalize-live-window): Deleted. (window-combination-p, window-combined-p, window-combinations) (walk-window-subtree, window-atom-root, window-min-size) (window-sizable, window-sizable-p, window-size-fixed-p) (window-min-delta, window-max-delta, window-resizable) (window-resizable-p, window-full-height-p, window-full-width-p) (window-current-scroll-bars, window-point-1, set-window-point-1) (window-at-side-p, window-in-direction, window-resize) (adjust-window-trailing-edge, maximize-window, minimize-window) (window-deletable-p, delete-window, delete-other-windows) (record-window-buffer, unrecord-window-buffer) (switch-to-prev-buffer, switch-to-next-buffer, window--delete) (quit-window, split-window, window-state-put) (set-window-text-height, fit-window-to-buffer) (shrink-window-if-larger-than-buffer): Callers changed.
* * lisp/window.el (window-valid-p): Rename from window-any-p.Chong Yidong2011-11-052-5/+13
| | | | | (window-normalize-any-window, window-size-ignore) (window-state-get): Callers changed.
* Fix rmail-next/prev-same-subject.Eli Zaretskii2011-11-052-0/+7
| | | | | | | lisp/mail/rmail.el (rmail-simplified-subject): Decode subject with rfc2047-decode-string. (rmail-mime-toggle-hidden): Declare to avoid byte-compilation warnings.
* Fix documentation per bug #9949.Eli Zaretskii2011-11-042-2/+22
| | | | | | | | | | | src/window.c (Fwindow_body_size): Mention in the doc string that the return value is in frame's canonical units. lisp/window.el (window-body-height, window-body-width): Mention in the doc string that the return values are in frame's canonical units. doc/lispref/windows.texi (Window Sizes): Mention in the doc string that the return values of `window-body-height' and `window-body-width' are in frame's canonical units.
* gnus-sum.el (gnus-articles-to-read): Change wording in prompt to be slightly ↵Lars Magne Ingebrigtsen2011-11-032-7/+12
| | | | clearer.
* Add c-nonlabel-token-2-key to cc-langs.el.Alan Mackenzie2011-11-032-1/+13
|\
| * Edit lisp/ChangeLogAlan Mackenzie2011-11-031-1/+5
| |\
| * \ Merge.Alan Mackenzie2011-11-0377-1604/+1978
| |\ \ | | |/
| * | Add c-nonlabel-token-2-key to cc-langs.el.Alan Mackenzie2011-11-031-0/+8
| | |
* | | message.el (message-send-and-exit): Document `arg'.Lars Magne Ingebrigtsen2011-11-032-1/+7
| |/ |/|
* | (url-cookie-expired-p): Protect against zero-length cookie expiry dates.Lars Magne Ingebrigtsen2011-11-032-1/+7
| |
* | * srecode.el:David Engster2011-11-0329-40/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * srecode/texi.el: * srecode/template.el: * srecode/java.el: * srecode/insert.el: * srecode/document.el: * srecode/dictionary.el: * srecode/compile.el: * semantic/wisent/java-tags.el: * semantic/texi.el: * semantic/sort.el: * semantic/lex-spp.el: * semantic/idle.el: * semantic/html.el: * semantic/db-typecache.el: * semantic/analyze/complete.el: * ede/generic.el: * ede/custom.el: * ede/cpp-root.el: * ede/base.el: Fix filenames in comments and headers. * semantic/db-find.el: * srecode/insert.el (srecode-insert-include-lookup): * ede/proj-comp.el (ede-compilation-program): Fix it's -> its in comments and docstrings. * semantic/ctxt.el (semantic-end-of-context-default): * semantic/find.el (semantic-find-tags-by-scope-protection): * semantic/java.el (semantic-documentation-for-tag): Fix typos in docstrings. * semantic/db.el (semanticdb-table, semanticdb-abstract-cache) (semanticdb-abstract-db-cache): * semantic/decorate/include.el (semantic-decoration-unknown-include-describe): Fix filenames in docstring. * semantic/ede-grammar.el (semantic-ede-grammar-compiler-wisent): (semantic-ede-grammar-compiler-bovine): Fix requires that are added to the grammar-make-script.
* | * lisp/gnus/nnimap.el (nnimap-open-connection-1): Use tcp-keealive if possible.Stefan Monnier2011-11-032-0/+12
| |
* | gnus-util.el (gnus-bound-and-true-p): Another comment to explain why we ↵Teodor Zlatanov2011-11-022-1/+7
| | | | | | | | don't use `bound-and-true-p'.