summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* Merge from emacs-24; up to 2012-04-16T19:06:02Z!rgm@gnu.orgGlenn Morris2012-05-024-4/+28
|\
| * Resurrect encoding of replies by Rmail which was lost in ↵Eli Zaretskii2012-04-302-2/+17
| | | | | | | | | | | | | | | | 2012-04-11T21:37:13Z!monnier@iro.umontreal.ca. lisp/mail/rmail.el (rmail-yank-current-message): Use the encoding of the yanked message in preference to the default value of buffer-file-coding-system.
| * Fix entry in display-buffer--action-function-custom-typeMartin Rudalics2012-04-302-1/+6
| |
| * Update CC Mode version to 5.32.3.Alan Mackenzie2012-04-272-1/+5
| |
| * Bump version to 24.0.96.Chong Yidong2012-04-281-741/+746
| | | | | | | | Regenerate AUTHORS and ldefs-boot.el.
* | * lisp/cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.Glenn Morris2012-05-012-7/+6
| |
* | Further doc fix.Glenn Morris2012-05-011-1/+1
| |
* | * lisp/eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.Glenn Morris2012-05-012-5/+11
| |
* | * lisp/cus-edit.el (custom-variable-documentation): Simplify with format.Glenn Morris2012-05-012-8/+12
| |
* | * lisp/gnus/nnimap.el (nnimap-open-connection-1): Don't leave an "opening..."Stefan Monnier2012-05-012-0/+7
| | | | | | | | message once it's actually open.
* | Reimplement execute-extended-command in Elisp.Aaron S. Hawley2012-05-012-6/+62
| | | | | | | | | | | | | | * src/keyboard.c (Fexecute_extended_command, Vsuggest_key_bindings): Move to simple.el. * lisp/simple.el (suggest-key-bindings, execute-extended-command): Move from keyboard.c.
* | Fix mouse wheel scrolling in Follow mode.Chong Yidong2012-05-012-5/+14
| | | | | | | | | | | | | | * lisp/follow.el (follow-mwheel-scroll): New function. (follow-redraw-after-event): Fix last change. Fixes: debbugs:4112
* | * lisp/follow.el: Rework, eliminating reliance on advice.Chong Yidong2012-05-013-1038/+470
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (set-process-filter, process-filter, sit-for): Advice deleted. (follow-mode-off-hook): Obsolete hook removed. (follow-avoid-tail-recenter-p, follow-process-filter-alist): Vars deleted. (follow-auto): Use a :set function. (follow-mode): Rewritten. Don't advise process filters. (follow-switch-to-current-buffer-all, follow-scroll-up) (follow-scroll-down): Assume follow-mode is bound. (follow-comint-scroll-to-bottom) (follow-align-compilation-windows): New functions. (follow--window-sorter): New function. (follow-all-followers): Use it to explicitly sort windows by their positions; don't make assumptions about next-window order. (follow-windows-start-end, follow-delete-other-windows-and-split) (follow-calc-win-start): Doc fix. (follow-windows-aligned-p, follow-select-if-visible): Don't call vertical-motion unnecessarily. (follow-adjust-window): New function. (follow-post-command-hook): Use it. (follow-call-set-process-filter, follow-call-process-filter) (follow-intercept-process-output, follow-tidy-process-filter-alist) (follow-stop-intercept-process-output, follow-generic-filter): Functions deleted. (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag) (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down): New functions, replacing advice on scroll-bar-* commands. * lisp/comint.el (comint-adjust-point): New function. (comint-postoutput-scroll-to-bottom): Use it. Call follow-comint-scroll-to-bottom for Follow mode buffers.
* | Auto-commit of loaddefs files.Glenn Morris2012-05-012-930/+897
| |
* | Remove no-byte-compile setting from some lisp/term files.Glenn Morris2012-04-3021-21/+15
| | | | | | | | | | | | | | Not that compiling these will bring any noticeable speed benefit, but there's really no reason not to compile them. The extra disk space and build time is negligible, and it might reveal use of obsolete functions, bugs, etc.
* | * lisp/minibuffer.el (completion-table-with-quoting): Fix compatibilityStefan Monnier2012-04-302-4/+20
| | | | | | | | all-completions code to not return a number in the last cdr.
* | * lisp/ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid bufferLeo Liu2012-04-302-2/+7
| | | | | | | | read-only error.
* | Fix Follow mode's calculation of window ends.Chong Yidong2012-04-292-154/+63
| | | | | | | | | | | | | | | | * lisp/follow.el (follow-calc-win-end): Rewrite to handle partial screen lines correctly. (follow-avoid-tail-recenter): Minor cleanup. Fixes: debbugs:8390
* | Avoid the obsolete `assoc' package.Stefan Monnier2012-04-285-96/+135
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/speedbar.el (speedbar-refresh): Avoid adelete. (speedbar-file-lists): Simplify and avoid aput. * lisp/man.el (Man--sections, Man--refpages): New vars, replacing Man-sections-alist and Man-refpages-alist. (Man-build-section-alist, Man-build-references-alist): Use them; avoid aput. (Man--last-section, Man--last-refpage): New vars. (Man-follow-manual-reference): Use them. Use the `default' arg of completing-read. (Man-goto-section): Idem. Move prompt to the `interactive' spec. * lisp/gnus/auth-source.el (auth-source--aput-1, auth-source--aput) (auth-source--aget): New functions and macros. Use them instead of aput/aget.
* | * lisp/vc/diff.el (diff-sentinel): Go to bob.Chong Yidong2012-04-272-0/+3
| | | | | | | | Fixes: debbugs:10259
* | Fix org-ctags.el change from trunk 2012-04-09T13:05:48Z!cyd@gnu.orgGlenn Morris2012-04-262-2/+7
| | | | | | | | | | * lisp/org/org-ctags.el (org-ctags-new-topic-template): Revert 2012-04-09 removal of * from defcustom value, not doc.
* | Fix dates of some merged ChangeLog entriesGlenn Morris2012-04-261-1/+1
| |
* | Fix application of menu-bar-mode etc. by X resources.Chong Yidong2012-04-275-26/+39
| | | | | | | | | | | | | | | | | | | | * lisp/startup.el (x-apply-session-resources): New function. * lisp/term/ns-win.el (ns-initialize-window-system): * lisp/term/w32-win.el (w32-initialize-window-system): * lisp/term/x-win.el (x-initialize-window-system): Use it to properly set menu-bar-mode and other vars from X resources, even if the initial frame is not a window-system frame (Bug#2299).
* | Merge changes from emacs-24 branchChong Yidong2012-04-2725-258/+400
|\|
| * Fix for tool-bar confusion in read-key.Chong Yidong2012-04-272-1/+9
| | | | | | | | | | | | | | * lisp/subr.el (read-key): Avoid running filter function when setting up temporary tool bar entries. Fixes: debbugs:9922
| * org-ctags.el (org-ctags-new-topic-template): Fix the option default value ↵Bastien Guerry2012-04-262-6/+1
| | | | | | | | | | | | | | | | | | | | | | | | back again. This option was changed by error in this commit: http://git.savannah.gnu.org/cgit/emacs.git/diff/lisp/org/org-protocol.el?h=emacs-24&id=0fc749f9 I first overwrote this change by error, then backported it into Org git repo, then backported the error back into Emacs. This is now fixed.
| * ChangeLog fixGlenn Morris2012-04-261-1/+1
| |
| * Sync with Org git commit 374c56b.Bastien Guerry2012-04-2612-73/+195
| |
| * lisp/org/ChangeLog: remove references to files that are not in the directory.Bastien Guerry2012-04-261-101/+0
| |
| * Fixes: debbugs:11344Andreas Schwab2012-04-262-1/+6
| | | | | | | | * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
| * Ensure that X selection convertors properly encode returned strings.Chong Yidong2012-04-242-22/+34
| | | | | | | | | | | | | | | | | | | | | | | | Though not itself a regression, this bug was exposed by the support for MULTIPLE selections, which is new to Emacs 24 (see Bug#11315). * lisp/select.el (xselect--encode-string): New function, split from xselect-convert-to-string. (xselect-convert-to-string): Use it. (xselect-convert-to-filename, xselect-convert-to-os) (xselect-convert-to-host, xselect-convert-to-user): Ensure that returned strings are properly encoded.
| * * simple.el (delete-active-region): Move to killing custom group.Chong Yidong2012-04-222-1/+5
| |
| * Remove wrong ChangeLog entry in lisp/org/ChangeLog.Bastien Guerry2012-04-221-5/+0
| | | | | | | | Thanks to Stephen Berman for pointing this.
| * * progmodes/which-func.el (which-func-current): Quote %Andreas Schwab2012-04-212-1/+8
| | | | | | | | characters for mode-line processing.
| * Fix xml.el regression introduced by 2012-01-27 change.Chong Yidong2012-04-212-2/+9
| | | | | | | | | | | | | | * lisp/xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to reaching eob. Fixes: debbugs:11286
| * * gnus.el (debbugs-gnu): Don't override existing autoload definition.Andreas Schwab2012-04-212-1/+7
| |
| * Comment fixGlenn Morris2012-04-201-2/+2
| |
| * Fix logic for returning to and yanking from Rmail buffer.Paul Eggert2012-04-203-8/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * mail/rmail.el (rmail-start-mail): Pass (rmail-mail-return...) for the return-action. Pass (rmail-yank-current-message...) for the yank-action. (rmail-yank-current-message): New function. (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer. (rmail-reply): Likewise. (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer. * mail/sendmail.el (mail-bury): Choose the first rmail-mode buffer, not the last. Reject temp buffers. Use the rmail-mode buffer, not newbuf.
| * Fix bug #11279 with sending command blocks to GDB.Eli Zaretskii2012-04-202-4/+36
| | | | | | | | | | | | | | | | | | | | lisp/progmodes/gdb-mi.el (gdb-control-level): New variable. (gdb): Make it buffer-local and init to zero. (gdb-control-commands-regexp): New variable. (gdb-send): Don't wrap in "-interpreter-exec console" if gdb-control-level is positive. Increment gdb-control-level whenever the command matches gdb-control-commands-regexp, and decrement it each time the command is "end". (Bug#11279)
| * Improve fix for resizing minibuffer windows.Martin Rudalics2012-04-201-32/+58
| |
| * * lisp/startup.el: Fix typo.Chong Yidong2012-04-201-1/+1
| |
| * Fix resizing of minibuffer windows (Bug#11276).Martin Rudalics2012-04-203-20/+44
| | | | | | | | | | | | | | * window.el (adjust-window-trailing-edge, enlarge-window) (shrink-window, window-resize): * mouse.el (mouse-drag-line): Fix resizing of minibuffer windows (Bug#11276).
* | Fix missing prefix warning in pascal.el.Chong Yidong2012-04-272-23/+29
| | | | | | | | | | * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to fix "missing prefix" warning. All callers changed.
* | * emacs-lisp/assoc.el: Move to obsolete/.Stefan Monnier2012-04-262-0/+5
| |
* | lisp/gnus/plstore.el: Fix buildbot failure with XEmacsDaiki Ueno2012-04-262-1/+19
| |
* | * lisp/emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue.Stefan Monnier2012-04-262-0/+2
| | | | | | | | Fixes: debbugs:11352
* | Replace lexical-let by lexical-binding (except Gnus, CEDET, ERT).Stefan Monnier2012-04-2614-109/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/term/ns-win.el (ns-define-service): * lisp/progmodes/pascal.el (pascal-goto-defun): * lisp/progmodes/js.el (js--read-tab): * lisp/progmodes/etags.el (tags-lazy-completion-table): * lisp/emacs-lisp/syntax.el (syntax-propertize-via-font-lock): * lisp/emacs-lisp/ewoc.el (ewoc--wrap): * lisp/emacs-lisp/assoc.el (aput, adelete, amake): * lisp/doc-view.el (doc-view-convert-current-doc): * lisp/url/url.el (url-retrieve-synchronously): * lisp/vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
* | * image.el (image-type-from-buffer): Only return supported image type.Chong Yidong2012-04-262-1/+6
| | | | | | | | Fixes: debbugs:9045
* | Fixes for diff-hunk-kill.Chong Yidong2012-04-262-47/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful value, for symmetry with diff-end-of-hunk. (diff-split-hunk, diff-find-source-location) (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it. (diff-bounds-of-hunk, diff-bounds-of-file): New functions. (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to compute the relevant hunk or file properly. (diff-file-junk-re): Add bzr's "modified file" tag. Fixes: debbugs:6041 debbugs:6005
* | Allow undoing in read-only diff-mode buffers.Chong Yidong2012-04-262-17/+14
| | | | | | | | | | | | | | * lisp/vc/diff-mode.el (diff-undo): New command. (diff-mode-shared-map): Bind it to / and [remap undo]. Fixes: debbugs:5302