summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* * eshell/em-unix.el (eshell/sudo): When we have an ad-hocMichael Albinus2012-09-022-0/+7
| | | | remote definition of `default-directory', ensure we can connect.
* Toggle whitespace matching mode with M-s SPC.Juri Linkov2012-09-022-41/+139
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html * lisp/isearch.el (search-whitespace-regexp): Doc fix. Remove cons cell customization. (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace. (isearch-lax-whitespace, isearch-regexp-lax-whitespace): New variables. (isearch-forward, isearch-forward-regexp): Doc fix. (isearch-toggle-lax-whitespace): New command. (search-forward-lax-whitespace, search-backward-lax-whitespace) (re-search-forward-lax-whitespace) (re-search-backward-lax-whitespace): New functions. (isearch-whitespace-regexp): Remove function. (isearch-query-replace): Let-bind replace-search-function and replace-re-search-function. (isearch-occur): Let-bind search-spaces-regexp according to the value of isearch-lax-whitespace and isearch-regexp-lax-whitespace. (isearch-quote-char): Check isearch-regexp-lax-whitespace in the condition for C-q SPC. (isearch-search-fun-default): Use new functions mentioned above. (isearch-search-forward, isearch-search-backward): Remove functions. (isearch-search): Don't let-bind search-spaces-regexp. (isearch-lazy-highlight-space-regexp): Remove variable. (isearch-lazy-highlight-lax-whitespace) (isearch-lazy-highlight-regexp-lax-whitespace): New variables. (isearch-lazy-highlight-new-loop): Use them. (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
* * dired.el (dired-mode-map): Menu string fixes.Chong Yidong2012-09-022-3/+7
| | | | Fixes: debbugs:11616
* * lisp/simple.el (undo): Tweak message in undo-only case.Glenn Morris2012-09-012-3/+8
| | | | Fixes: debbugs:12283
* Tidy up term.el menu handlingGlenn Morris2012-09-012-162/+134
| | | | | | | | | | | | | * lisp/term.el: (term-mode-map): Use easymenu for In/Out, Complete menus. (term-pager-break-map): Initialize in the defvar. (term-terminal-menu, term-signals-menu): Define with easymenu. (term-terminal-menu): Also show it in line-mode. (term-pager-menu): New, extracted from term-process-pager. (term-mode, term-char-mode, term-process-pager): Use easymenu-add. (term-update-mode-line): Propertize line/char and page items. (term-process-pager): Move keymap initialization elsewhere. Fixes: debbugs:11957
* Rewrite switch-to-prev-/next-buffer and quit-window; add ↵Martin Rudalics2012-09-012-48/+146
| | | | | | | | | | | | | | display-buffer-below-selected. * window.el (switch-to-prev-buffer): Handle additional values of BURY-OR-KILL argument. Don't switch in minibuffer window. (switch-to-next-buffer): Don't switch in minibuffer window. (quit-restore-window): New function based on quit-window. Handle additional values of former KILL argument. (quit-window): Call quit-restore-window with appropriate interpretation of KILL argument. (display-buffer-below-selected): New buffer display action function.
* Auto-commit of loaddefs files.Glenn Morris2012-09-011-222/+280
|
* * lisp/minibuffer.el (completion-at-point-functions): Complete docstring.Stefan Monnier2012-09-012-1/+8
| | | | Fixes: debbugs:12254
* Better seed support for (random).Paul Eggert2012-08-3124-48/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/lispref/numbers.texi (Random Numbers): Document new behavior of the calls (random) and (random STRING). * etc/NEWS: Document new behavior of (random), (random "string"). * lisp/play/5x5.el, lisp/play/animate.el, lisp/play/cookie1.el: * lisp/play/dissociate.el, lisp/play/doctor.el, lisp/play/dunnet.el: * lisp/play/gomoku.el, lisp/play/landmark.el, lisp/play/mpuz.el: * lisp/play/tetris.el, lisp/play/zone.el: * lisp/calc/calc-comb.el (math-init-random-base): * lisp/play/blackbox.el (bb-init-board): * lisp/play/life.el (life): * lisp/server.el (server-use-tcp): * lisp/type-break.el (type-break): Remove unnecessary call to (random t). * lisp/net/sasl.el (sasl-unique-id-function): Change (random t) to (random), now that the latter is more random. * lisp/play/life.el (life-initialized): Remove no-longer-needed var. * lisp/gnus/gnus-sync.el (gnus-sync-lesync-setup): * lisp/gnus/message.el (message-canlock-generate, message-unique-id): Change (random t) to (random), now that the latter is more random. * lisp/org/org-id.el (org-id-uuid): Change (random t) to (random), now that the latter is more random. * src/emacs.c (main): Call init_random. * src/fns.c (Frandom): Set the seed from a string argument, if given. Remove long-obsolete Gentzel cruft. * src/lisp.h, src/sysdep.c (seed_random): Now takes address and size, not long. (init_random): New function.
* Consider frame's buffer predicate in switch-to-prev-/next-buffer.Martin Rudalics2012-08-312-0/+14
| | | | | | * window.el (switch-to-prev-buffer, switch-to-next-buffer): Consider frame's buffer predicate when choosing the buffer. (Bug#12081)
* * eshell/esh-ext.el: Explain, why we suppress the check inMichael Albinus2012-08-311-3/+4
| | | | `eshell-external-command'.
* [Gnus] Miscellaneous fixes by Dave AbrahamsDave Abrahams2012-08-315-11/+35
|
* * lisp/gnus/gnus-notifications.el (gnus-notifications-action): Avoid CL-ism.Stefan Monnier2012-08-302-1/+5
|
* gnus-notifications.el: Add defcustom for timeout and actions supportJulien Danjou2012-08-302-17/+53
|
* Delete `z' in special-mode-map.Richard M. Stallman2012-08-302-1/+4
|
* qp.el (quoted-printable-decode-region): Decode multiple bytes at once.Kenichi Handa2012-08-302-7/+20
|\
| * merge trunkKenichi Handa2012-08-3022-114/+373
| |\ | |/ |/|
* | * progmodes/compile.el (compilation-always-kill): Doc fix.Andreas Schwab2012-08-302-2/+6
| |
* | Improve obsolescence message of display-buffer-reuse-frames.Chong Yidong2012-08-302-1/+10
| | | | | | | | | | * lisp/window.el (display-buffer-reuse-frames): Make the obsolescence message more informative.
* | * lisp/paren.el (show-paren-delay): Add a :set function. Doc fix. (Bug#12297)Glenn Morris2012-08-292-1/+15
| |
* | Add gnus-notifications.elJulien Danjou2012-08-292-0/+163
| |
* | * lisp/progmodes/compile.el (compilation-always-kill): New var.Martin Blais2012-08-292-0/+13
| | | | | | | | (compilation-start): Use it.
* | * lisp/simple.el (read-only-mode): Move from lisp/files.el for bootstrapping.Stefan Monnier2012-08-293-26/+29
| | | | | | | | * files.el (read-only-mode): Move to simple.el.
* | * lisp/files.el (read-only-mode): New minor mode.Stefan Monnier2012-08-298-42/+40
| | | | | | | | | | | | | | | | | | (toggle-read-only): Use it and mark obsolete. (find-file--read-only): * lisp/vc/vc.el (vc-next-action, vc-checkout): * lisp/vc/vc-cvs.el (vc-cvs-checkout): * lisp/obsolete/vc-mcvs.el (vc-mcvs-update): * lisp/ffap.el (ffap--toggle-read-only): Update callers.
* | * eshell/esh-ext.el (eshell-external-command): Do not examineMichael Albinus2012-08-293-4/+17
| | | | | | | | | | | | | | | | remote shell scripts. See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>. * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and "/usr/local/sbin".
* | * cl-lib.el (buffer-string): Simplify last change.Stefan Monnier2012-08-281-2/+1
| | | | | | | | Fixes: debbugs:12293
* | * lisp/emacs-lisp/cl-lib.el (buffer-string): Fix setter macro.Stefan Monnier2012-08-282-17/+22
| | | | | | | | Fixes: debbugs:12293
* | Merge from emacs-24; up to 2012-05-04T19:17:01Z!monnier@iro.umontreal.caGlenn Morris2012-08-287-37/+75
|\ \
| * | Fix broken completion in sh-modeLeo Liu2012-08-272-18/+12
| | | | | | | | | | | | See: http://debbugs.gnu.org/12220
| * | * skeleton.el (skeleton-untabify): Change to nil.Leo Liu2012-08-272-1/+3
| | | | | | | | | | | | Fixes: debbugs:12223
| * | Change sh-indent-comment to tLeo Liu2012-08-272-1/+6
| | | | | | | | | | | | See: http://debbugs.gnu.org/12267
| * | Update release logsemacs-24.2Chong Yidong2012-08-245-10/+10
| | |
| * | * lisp/files.el (safe-local-eval-forms): Fix before-save-hook entry to beStefan Monnier2012-08-232-1/+7
| | | | | | | | | | | | | | | | | | buffer-local; add delete-trailing-whitespace. Fixes: debbugs:12259
| * | * lisp/progmodes/hideif.el (hif-compress-define-list): Fix typo. (tiny change)Jeremy Moore2012-08-222-1/+6
| | | | | | | | | | | | Fixes: debbugs:11951
| * | * lisp/progmodes/hideshow.el (hs-block-end-regexp): Restore lostDan Nicolaescu2012-08-202-0/+7
| | | | | | | | | | | | buffer local setting.
| * | Fix comment in log-edit.el.Chong Yidong2012-08-201-4/+4
| | |
| * | * lisp/vc/log-edit.el (log-edit-font-lock-gnu-style): Mark safe if boolean.Glenn Morris2012-08-152-0/+10
| | | | | | | | | | | | Do not merge to trunk.
| * | Regenerate ldefs-boot.elChong Yidong2012-08-161-22/+22
| | |
| * | Bump version to 24.2Chong Yidong2012-08-166-0/+24
| | |
| * | Fix for the buffer-local rcirc-encode-coding-system caseLeo Liu2012-08-152-16/+22
| | | | | | | | | | | | in rcirc-split-message.
| * | Add CVE number to ChangeLogGlenn Morris2012-08-141-0/+1
| | |
| * | * lisp/net/rcirc.el (rcirc-split-message): New function.Leo Liu2012-08-142-15/+29
| | | | | | | | | | | | | | | | | | (rcirc-send-message): Use it. Fixes: debbugs:12051
| | * merge trunkKenichi Handa2012-08-2820-314/+813
| | |\ | |_|/ |/| |
* | | gnus-sum.el (gnus-summary-enter-digest-group): Work for encoding and charsetKatsumi Yamaoka2012-08-282-4/+26
| | |
* | | * lisp/info.el (Info-fontify-node): Hide empty lines at the end of the node.Juri Linkov2012-08-282-0/+11
| | | | | | | | | | | | Fixes: debbugs:12272
* | | In dired-pop-to-buffer make window start at beginning of buffer (Bug#12281).Martin Rudalics2012-08-272-0/+7
| | | | | | | | | | | | | | | * dired.el (dired-pop-to-buffer): Make window start at beginning of buffer (Bug#12281).
* | | Make special-display-* and display-buffer-reuse-frames obsolete.Chong Yidong2012-08-264-10/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/window.el (special-display-regexps, special-display-frame-alist) (special-display-buffer-names, special-display-function) (display-buffer-reuse-frames): Mark as obsolete. * lisp/progmodes/compile.el: Don't use display-buffer-reuse-frames. * help.el (help-print-return-message): Don't treat display-buffer-reuse-frames specially.
* | | Spelling fixes.Paul Eggert2012-08-262-2/+2
| | | | | | | | | | | | * Makefile.in (.PHONY): versioclean -> versionclean.
* | | Clean up gdb-mi's usage of display-buffer.Chong Yidong2012-08-264-144/+152
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action): New variable, replacing gdb-frame-parameters. (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer) (gdb-frame-threads-buffer, gdb-frame-memory-buffer) (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer) (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it. (def-gdb-frame-for-buffer): Macro deleted. It is easier to define the functions directly with gdb-display-buffer-other-frame-action. (gdb-display-breakpoints-buffer, gdb-display-threads-buffer) (gdb-display-memory-buffer, gdb-display-disassembly-buffer) (gdb-display-stack-buffer, gdb-display-locals-buffer) (gdb-display-registers-buffer): Define directly. (def-gdb-display-buffer): Macro deleted. (gdb-display-buffer): Remove second and third args, callers don't use them. Defer to the default display-buffer behavior, apart from making windows dedicated. (gdb-setup-windows): Don't call display-buffer unnecessarily. * window.el (display-buffer-pop-up-frame): Handle a pop-up-frame-parameters alist entry. (display-buffer): Document it. * progmodes/gud.el (gud-display-line): Just use display-buffer.
* | | Doc fix for last change.Chong Yidong2012-08-261-2/+1
| | |