summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* Display a mode-line frame counter for animated imagesGlenn Morris2013-02-153-2/+18
| | | | | | | | * lisp/image.el (image-current-frame): New variable. (image-animate-timeout): Set image-current-frame. * lisp/image-mode.el (image-mode): For animated images, display a frame counter via mode-line-process.
* * lisp/font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.Glenn Morris2013-02-152-4/+6
|
* * lisp/simple.el (eval-expression): Let `exp' set the mark.Stefan Monnier2013-02-152-14/+18
| | | | Fixes: debbugs:13724
* emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a globalAlan Mackenzie2013-02-152-12/+40
| | | | | | | | minor mode has been enabled, call the minor mode function for a new buffer once only, after the major mode hook, whilst allowing that hook explicitly to disable the minor mode. (MODE-disable-in-buffer): new (generated) function. (disable-MODE): new (generated) buffer local variable.
* Fix bug#13708Jambunathan K2013-02-164-2/+18
| | | | | | | | | | | | * lisp/icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'. Bind `C-.' and `C-,' to `icomplete-forward-completions' and `icomplete-backward-completions'. * lisp/ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to `ido-next-match' and `ido-prev-match' resply. * lisp/iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to `iswitchb-next-match' and `iswitchb-prev-match' resply.
* Merge from emacs-24; up to 2012-12-19T13:01:16Z!michael.albinus@gmx.dePaul Eggert2013-02-145-74/+124
|\
| * * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix re setf.Glenn Morris2013-02-142-7/+12
| |
| * * lisp/net/goto-addr.el (goto-address-fontify): Add start and end args.Stefan Monnier2013-02-142-12/+17
| | | | | | | | | | (goto-address-fontify-region): Use them instead of narrowing, so syntax-ppss has access to the whole buffer.
| * * progmodes/python.el: Explain how to restore "cc-mode"-likeFabián Ezequiel Gallina2013-02-132-20/+29
| | | | | | | | | | | | | | | | forward-sexp movement in header documentation. (python-nav--forward-sexp): Behave like emacs-lisp-mode in comments and strings (GH bug 114). Fixes: debbugs:13642
| * Push ChangeLog entry for previous commit.Fabián Ezequiel Gallina2013-02-131-0/+5
| |
| * * progmodes/python.el (python-info-current-defun): Fix currentFabián Ezequiel Gallina2013-02-131-33/+54
| | | | | | | | | | | | defun detection. Fixes: debbugs:13618
| * * xml.el (xml-parse-string): Fix typo in handling of bad character references.Chong Yidong2013-02-132-2/+7
| |
* | * lisp/play/fortune.el (fortune-compile): Simplify and fix previous change.Glenn Morris2013-02-142-11/+12
| | | | | | | | | | | | | | | | Since file-newer-than-p returns non-nil if FILE2 does not exist, the actual fix for bug#5338 is just a one-liner. But there is no test case or explanation of what the issue actually is in bug#5338, so one has to wonder if the initial (file-exists-p fortune-dat) test was there for a reason...
* | * net/tramp.el (tramp-debug-message): AddMichael Albinus2013-02-142-2/+20
| | | | | | | | | | | | | | `tramp-condition-case-unless-debug'. (tramp-debug-on-error): New defvar. (tramp-condition-case-unless-debug): New defun. (tramp-file-name-handler): Use it.
* | * lisp/info.el (Info-isearch-filter): Treat non-nil values ofJuri Linkov2013-02-142-1/+7
| | | | | | | | | | | | | | `search-invisible' including its default value `open' like the value `t' to match hidden text. Fixes: debbugs:13402
* | * help-fns.el (find-lisp-object-file-name): Give special treatmentGlenn Morris2013-02-142-4/+13
| | | | | | | | | | | | to all ~/.foo.elc files, not just ~/.emacs. Fixes: debbugs:9007
* | * net/quickurl.el (quickurl-save-urls): Ensure quickurl-urls is not truncatedDavid Biesack2013-02-132-1/+7
| | | | | | | | | | | | on printing. Fixes: debbugs:9276
* | (ruby-add-log-current-method): Improve performance at the expenseDmitry Gutov2013-02-142-15/+29
| | | | | | | | | | | | | | | | | | of accuracy. `ruby-block-contains-point' is relatively slow, so only use it for method and singleton class blocks. * test/automated/ruby-mode-tests.el (ruby-add-log-current-method-after-inner-class): Lower expectations: move point inside a method, initially.
* | * lisp/progmodes/ruby-mode.el (ruby-parse-partial): Don't increaseDmitry Gutov2013-02-142-9/+16
| | | | | | | | | | | | | | | | | | | | | | depth for unfinished percent literal. Not using it in the caller. (ruby-move-to-block): Jump over multiline literals of all types, ignoring code-looking contents inside them. * test/automated/ruby-mode-tests.el (ruby-move-to-block-skips-percent-literal): Add depth-affecting bits inside the examples. (ruby-move-to-block-skips-heredoc): New test.
* | gnus-util.el (gnus-define-keys): Convert [?\S-\ ] to [(shift space)] for XEmacsKatsumi Yamaoka2013-02-142-0/+12
| |
* | Use ControlMaster where applicable. (Bug#13677)Michael Albinus2013-02-133-100/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * net/tramp.el (tramp-ssh-controlmaster-template): New defvar, replacing `tramp-detect-ssh-controlmaster'. (tramp-default-method): Use it. * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]: [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster arguments. [scpc, rsyncc]: Remove methods. (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old" and "ssh2_old". (tramp-do-copy-or-rename-file-out-of-band): Change trace level. (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
* | * lisp/emacs-lisp/package.el (package--initialized): Move before first use.Stefan Monnier2013-02-132-2/+6
| |
* | * lisp/icomplete.el (icomplete-hide-common-prefix): New user option.Jambunathan K2013-02-132-15/+55
| | | | | | | | | | | | | | (icomplete-first-match): New face. (icomplete-completions): Correct handling of "complete but not unique". Fixes: debbugs:12638
* | * lisp/descr-text.el (describe-char): Display the script.YE Qianchuan2013-02-132-0/+7
| | | | | | | | Fixes: debbugs:13698
* | * lisp/tmm.el: Use lexical-binding and current-active-maps.Stefan Monnier2013-02-132-70/+47
| | | | | | | | | | | | | | (tmm-menubar): Use map-keymap and pcase. (tmm--completion-table): New function. (tmm-prompt): Use it to fix the menu order. (tmm-get-keybind): Use current-active-maps.
* | Add dired-hide-details-mode. (Bug#6799)Christopher Schmidt2013-02-134-28/+126
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * locate.el (locate-mode): Set parent mode property to dired-mode. * find-dired.el (find-dired): Call dired-insert-set-properties on initial information line. Set process mark on end of buffer. (find-dired-sentinel): Call dired-insert-set-properties on summary. * dired.el (dired-hide-details-hide-symlink-targets) (dired-hide-details-hide-information-lines): New options. (dired-insert-directory): Set properties after final treatment of output. (dired-insert-set-properties): Set dired-hide-details-* properties. (dired-mode-map): Bind dired-hide-details-mode. (dired-mode): Set buffer-invisibility-spec to a list. (dired-next-line): Skip hidden lines. (dired-previous-line): Use dired-next-line. (dired-hide-details-mode): New minor mode. (dired-hide-details-update-invisibility-spec): New function.
* | Make yow.el obsoleteGlenn Morris2013-02-132-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/play/yow.el: Move to obsolete/. * doc/emacs/ack.texi (Acknowledgments): Don't mention yow any more. * doc/misc/message.texi (News Headers): Don't mention yow any more. * etc/NEWS: Mention this. Fixes: debbugs:9384
* | * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'Juri Linkov2013-02-132-1/+12
| | | | | | | | | | | | to select `ediff-control-frame' and set input focus correctly on Xfce. Fixes: debbugs:12218
* | Add more keymaps where S-SPC scrolls in the opposite direction to SPC.Juri Linkov2013-02-137-0/+19
| | | | | | | | | | | | | | | | | | | | | | * lisp/image-mode.el (image-mode-map): * lisp/doc-view.el (doc-view-mode-map): * lisp/vc/ediff-util.el (ediff-setup-keymap): Make S-SPC scroll in the opposite sense to SPC. * lisp/gnus/gnus-art.el (gnus-article-mode-map): * lisp/gnus/gnus-sum.el (gnus-summary-mode-map, gnus-summary-article-map): Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
* | * lisp/progmodes/ruby-mode.el (ruby-move-to-block): ImproveDmitry Gutov2013-02-132-10/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | performance. Instead of recalculating indentation fully for each line, sum up indentation depth based only on visited lines. (ruby-parse-partial): Increase the depth after "do" even when END is right after it. (ruby-parse-partial): When END is in the middle of a percent literal, increase the depth if the delimiter chars belong to the paren syntax class. * test/automated/ruby-mode-tests.el (ruby-move-to-block-skips-percent-literal): New test.
* | fortune-compile tiny changeKirill A. Korinskiy2013-02-132-9/+16
| | | | | | | | | | | | | | * lisp/play/fortune.el (fortune-compile): Also make the compiled file if it does not exist at all, not just if it is old. Fixes: debbugs:5338
* | * emacs-lisp/package.el (package-menu-execute): Doc fix.Glenn Morris2013-02-122-2/+7
| |
* | * package.el (package-menu-execute): Add optional noquery argument (tiny change)Yves Baumes2013-02-122-5/+14
| | | | | | | | Fixes: debbugs:13625
* | Merge from emacs-24; up to 2012-12-17T11:17:34Z!rgm@gnu.orgGlenn Morris2013-02-1219-41/+47
|\|
| * In doc, use standard American English style for e.g., etc., i.e.Paul Eggert2013-02-1217-40/+40
| |
| * * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,Michael Albinus2013-02-102-1/+7
| | | | | | | | if DIR exists and PARENTS is non-nil.
* | * lisp/erc/erc-match.el (erc-match-message): Fix last commit.Aidan Gauland2013-02-122-8/+12
| |
* | lisp/progmodes/js.el: Silence byte-compiler warning.Juanma Barranquero2013-02-132-1/+6
| |
* | * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.Michael Albinus2013-02-124-35/+82
| | | | | | | | | | | | | | | | * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache' only if it doesn't exist. * net/tramp-sh.el (tramp-sh-handle-start-file-process): Set process marker.
* | Improve previous patch to allow for multiple simultaneous ODF->PDFTassilo Horn2013-02-121-16/+15
| | | | | | | | conversions.
* | * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separateTassilo Horn2013-02-122-2/+20
| | | | | | | | | | UserInstallation when calling soffice to work around LibreOffice bug 37531.
* | * files.el (basic-save-buffer): Offer to create a non-existing directory.Glenn Morris2013-02-122-22/+36
| | | | | | | | Fixes: debbugs:3016
* | ChangeLog fixesGlenn Morris2013-02-112-1/+6
| |
* | Make S-SPC scroll in the opposite direction to SPCGlenn Morris2013-02-1118-4/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/calc/calc-graph.el (calc-graph-show-dumb): * lisp/calendar/calendar.el (calendar-mode-map): * lisp/cus-edit.el (custom-mode-map): * lisp/ehelp.el (electric-help-map): * lisp/emulation/vip.el (vip-mode-map): * lisp/epa.el (epa-key-list-mode-map): * lisp/info.el (Info-mode-map): * lisp/mail/rmail.el (rmail-mode-map): * lisp/mail/rmailsum.el (rmail-summary-mode-map): * lisp/man.el (Man-mode-map): * lisp/net/newst-plainview.el (newsticker-mode-map): * lisp/progmodes/cpp.el (cpp-edit-mode-map): * lisp/progmodes/grep.el (grep-mode-map): * lisp/progmodes/idlw-help.el (idlwave-help-mode-map): * lisp/simple.el (special-mode-map): * lisp/startup.el (splash-screen-keymap): * lisp/view.el (view-mode-map): Make S-SPC scroll in the opposite sense to SPC. Fixes: debbugs:2145
* | Aidan Gauland <aidalgol@no8wireless.co.nz>Stefan Monnier2013-02-112-7/+15
| | | | | | | | | | | | Fixes: debbugs:13689 * lisp/erc/erc-match.el (erc-match-message): Don't truncate action messages.
* | * lisp/doc-view.el (doc-view-current-cache-dir): Beware % escapes.Elias Pipping2013-02-112-1/+7
| | | | | | | | Fixes: debbugs:13679
* | Clean up read_key_sequence a bit; reread active keymaps after first event.Stefan Monnier2013-02-112-12/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/keyboard.c (read_char, read_char_x_menu_prompt) (read_char_minibuf_menu_prompt): Replace nmaps+maps with a single `map' arg. (follow_key): Operate on a single map. (active_maps): New function. (test_undefined): Also return true for nil bindings. (read_key_sequence): Use active_maps to replace the arrays of keymaps with a single (composed) keymap. Remember `first_event' to choose the right set of active keymaps. Recompute the set of keymaps after receiving the first event. Remove GOBBLE_FIRST_EVENT. (syms_of_keyboard): Remove inhibit_local_menu_bar_menus. * src/keyboard.h (read_char): Update declaration. * src/lread.c (read_filtered_event): Adjust call to read_char. * lisp/cus-start.el (all): Remove inhibit-local-menu-bar-menus.
* | Check whether diff supports --label before using itGlenn Morris2013-02-112-5/+24
| | | | | | | | | | | | | | | | * lisp/vc/diff.el (diff-use-labels): New variable. (diff-no-select): Use --label rather than -L, and first check that it is supported. Fixes: debbugs:11067
* | Add `enable-dir-local-variables'Glenn Morris2013-02-103-7/+19
| | | | | | | | | | | | | | | | | | * lisp/files.el (enable-dir-local-variables): New variable. (hack-dir-local-variables): Respect enable-dir-local-variables. * lisp/tutorial.el (help-with-tutorial): Ignore directory-local variables. Fixes: debbugs:11127
* | * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...Glenn Morris2013-02-102-15/+19
| | | | | | | | | | | | (vc-svn-global-switches): ... to here. Fixes: debbugs:13513