summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* Merge from origin/emacs-24Paul Eggert2015-03-292-2/+23
|\ | | | | | | | | | | | | | | | | | | | | 5e0314f * smie.el (smie*ward-sexp-command): Don't pretend the arg is optional 13cf575 Don't round up scroll bar width with GTK3 (Bug#20182). 921dd0d * doc/lispref/objects.texi (Equality Predicates): Fix typo in example. Conflicts: doc/lispref/ChangeLog lisp/ChangeLog src/ChangeLog
| * * smie.el (smie*ward-sexp-command): Don't pretend the arg is optionalStefan Monnier2015-03-262-27/+33
| | | | | | | | | | | | | | Fixes: debbugs:20205 * lisp/emacs-lisp/smie.el (smie-backward-sexp-command) (smie-forward-sexp-command): Don't pretend the arg is optional.
* | lisp/gnus/gnus-sum.el (gnus-summary-make-menu-bar): Add "Display HTML ↵Adam Sjøgren2015-03-293-0/+8
| | | | | | | | images" to "Display" menu
* | * lisp/emacs-lisp/package.el (package-refresh-contents): Fix spelling errorJan D2015-03-282-1/+6
| |
* | ChangeLog fixGlenn Morris2015-03-281-1/+1
| | | | | | | | | | Add tiny change marker to author without assignment. NB there are several previous commits from the same author...
* | New `electric-pair-local-mode'Tom Willemse2015-03-282-1/+21
| | | | | | | | | | | | | | | | Fixes: big#19528 * lisp/elec-pair.el (electric-pair-local-mode): New command. (electric-pair-mode): Mention `electric-pair-local-mode' in the docstring.
* | Fixes: debbugs:17879Jan D2015-03-282-1/+7
| | | | | | | | | | * lisp/emacs-lisp/package.el (package-refresh-contents): Add a message at the end so it does not appear to have hanged.
* | Preserve face text properties in comint prompt.Wolfgang Jenkner2015-03-273-39/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: debbugs:20084 * lisp/font-lock.el (font-lock--remove-face-from-text-property): New function. Adapted from the previously commented out remove-single-text-property. Remove previously unused and commented out auxiliary function remove-text-property and obsolete comment. * lisp/comint.el (comint-output-filter): Use it to remove comint-highlight-prompt. (comint-snapshot-last-prompt, comint-output-filter): Use font-lock-prepend-text-property for comint-highlight-prompt. * test/automated/textprop-tests.el: New file. (textprop-tests-font-lock--remove-face-from-text-property): New test. Thus, the original face text property of a prompt "candidate" (the last line of an output chunk not ending with a newline) is preserved. This amends the fix for bug#14744.
* | Shut up python-mode's indentation guesserDaniel Colascione2015-03-262-2/+14
| | | | | | | | | | | | * lisp/progmodes/python.el (python-indent-guess-indent-offset-verbose): New defcustom. (python-indent-guess-indent-offset): Use it.
* | * lisp/emacs-lisp/cl|eieio: Minor tweaksStefan Monnier2015-03-263-3/+10
| | | | | | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Silence byte-compiler. * lisp/emacs-lisp/eieio.el (defclass): Change internal name so as to make sure only EIEIO files should have "eieio--" prefixes in their .elc.
* | * lisp/bookmark.el (bookmark-show-all-annotations): Sort themBoruch Baum2015-03-252-1/+5
| | | | | | | | Fixes: debbugs:20177
* | Spelling fixesPaul Eggert2015-03-252-6/+6
| |
* | Only escape quotation mark, backslash and cntrl U+0000 to U+001FDmitry Gutov2015-03-252-3/+10
| | | | | | | | | | | | | | * lisp/json.el (json-special-chars): Don't treat `/' specially, there's no need to. (json-encode-string): Only escape quotation mark, backslash and the control characters U+0000 to U+001F.
* | * etc/TODO: Remove obsolete entries.Stefan Monnier2015-03-251-2/+2
| |
* | emacs-lisp/checkdoc.el: Don't complain about args starting with _.Artur Malabarba2015-03-252-2/+8
| |
* | * international/mule-cmds.el: Show chars in C-x 8 RET completionsStefan Monnier2015-03-252-1/+14
| | | | | | | | | | * lisp/international/mule-cmds.el (mule--ucs-names-annotation): New func. (read-char-by-name): Use it.
* | * lisp/xt-mouse.el (xterm-mouse--read-number-from-terminal): Fix last commit.Stefan Monnier2015-03-252-1/+5
| |
* | * lisp/erc/erc.el (erc-switch-to-buffer): Fix last change.Stefan Monnier2015-03-252-1/+6
| | | | | | | | Fixes: debbugs:20187
* | * lisp/emacs-lisp/seq.el: Documentation improvementsNicolas Petton2015-03-252-2/+6
| |
* | browse-url: mark some of the more obsolete stuff as suchGlenn Morris2015-03-244-119/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/browse-url.el (browse-url-browser-function) (browse-url-default-browser): Remove obsolete items from the explicit listing. (browse-url-new-window-flag, browse-url-of-file-hook): Doc fixes. (browse-url-netscape-program, browse-url-netscape-arguments) (browse-url-netscape-startup-arguments) (browse-url-galeon-program, browse-url-galeon-arguments) (browse-url-galeon-startup-arguments) (browse-url-gnome-moz-program, browse-url-gnome-moz-arguments) (browse-url-galeon-new-window-is-tab) (browse-url-netscape-new-window-is-tab) (browse-url-mosaic-program, browse-url-mosaic-arguments) (browse-url-mosaic-pidfile, browse-url-CCI-port) (browse-url-CCI-host, browse-url-netscape-version) (browse-url-netscape, browse-url-netscape-sentinel) (browse-url-netscape-reload, browse-url-netscape-send) (browse-url-galeon, browse-url-galeon-sentinel) (browse-url-gnome-moz, browse-url-mosaic, browse-url-cci) (browse-url-w3-gnudoit): Make obsolete. * etc/NEWS: Mention this. * doc/misc/idlwave.texi (HTML Help Browser Tips): Remove obsolete info. * lisp/ffap.el (ffap-url-fetcher): Simplify default and doc. * lisp/x-dnd.el: Comment update.
* | * lisp/xt-mouse.el: Add mouse-tracking support.Olaf Rogalsky2015-03-243-70/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: debbugs:19416 * lisp/xt-mouse.el: Add mouse-tracking support. (xterm-mouse-translate-1): Handle mouse-movement events. (xterm-mouse--read-event-sequence-1000) (xterm-mouse--read-event-sequence-1006): Delete functions. (xterm-mouse--read-event-sequence): New function that handles both at the same time. Handle mouse-movements. (xterm-mouse--read-utf8-char, xterm-mouse--read-number-from-terminal): New functions. (xterm-mouse-event): Simplify. (xterm-mouse-tracking-enable-sequence) (xterm-mouse-tracking-disable-sequence): Enable mouse tracking. * lisp/mouse.el (mouse-drag-line): Also ignore `vertical-line' prefix events.
* | lisp/gnus/nnimap.el: Don't split imap messages back into original groupEric Abrahamsen2015-03-242-6/+14
| |
* | Improve special char handling in TrampMichael Albinus2015-03-242-20/+37
| | | | | | | | | | | | * net/tramp-sh.el (tramp-do-file-attributes-with-ls) (tramp-do-file-attributes-with-stat): Quote file names in output. (tramp-do-directory-files-and-attributes-with-stat): Use "//" as marker.
* | epg: Fix key generation interfaceDaiki Ueno2015-03-242-3/+10
| | | | | | | | | | * epg.el (epg-start-generate-key): Fix typo in "gpg --gen-key" invocation; make the PARAMETERS documentation clearer.
* | Add cl-struct specific optimizations to pcase.Stefan Monnier2015-03-233-4/+58
| | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (cl--struct-all-parents) (cl--pcase-mutually-exclusive-p): New functions. (pcase--mutually-exclusive-p): Advise to optimize cl-struct patterns. * lisp/emacs-lisp/pcase.el (pcase--split-pred): Handle quoted string.
* | Add new `cl-struct' and `eieio' pcase patterns.Stefan Monnier2015-03-235-14/+111
| | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (cl-struct): New pcase pattern. * lisp/emacs-lisp/eieio.el (eieio-pcase-slot-index-table) (eieio-pcase-slot-index-from-index-table): New functions. (eieio): New pcase pattern. * lisp/emacs-lisp/pcase.el (pcase--make-docstring): New function. (pcase): Use it to build the docstring. (pcase-defmacro): Make sure the macro is lazy-loaded. (\`): Move its docstring from `pcase'.
* | Merge from origin/emacs-24Paul Eggert2015-03-234-3/+19
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ad89f85 Another minor improvement in ELisp manual (Bug#20168) 5e2951b Improve docs of 'posn-actual-col-row' (Bug#20169) 1291ce1 Minor documentation fix in ELisp manual (Bug#20174) 33e2236 * display.texi (Useless Whitespace): Fix thinko. ff3878d * configure.ac: Fix jpeg version check to work with gcc >= 5. 90b46f5 Work for the case nnmail-expiry-target is an nnmh group (bug#20170) e7f92aa authors.el small additions 0bfe915 * etc/PROBLEMS: Add entry about dir-locals and some auto-mounters. c3c4b75 Fixes: debbugs:18939 Conflicts: ChangeLog doc/lispref/ChangeLog etc/PROBLEMS lisp/ChangeLog lisp/gnus/ChangeLog lisp/simple.el
| * lisp/gnus/nnmh.el (nnmh-request-expire-articles): Work for the case ↵Ben Bacarisse2015-03-232-2/+7
| | | | | | | | nnmail-expiry-target is an nnmh group (bug#20170)
| * authors.el small additionsGlenn Morris2015-03-222-0/+7
| | | | | | | | | | * lisp/emacs-lisp/authors.el (authors-aliases) (authors-obsolete-files-regexps): Additions.
| * Fixes: debbugs:18939Jan D2015-03-222-1/+7
| | | | | | | | * simple.el (deactivate-mark): Only modify PRIMARY if we own PRIMARY.
* | Merge from origin/emacs-24Paul Eggert2015-03-232-2/+9
|\ \ | |/ | | | | | | | | | | bb7b23c In `debug' don't try using window on inaccessible frame (Bug#17170). Conflicts: lisp/ChangeLog
| * In `debug' don't try using window on inaccessible frame (Bug#17170).Martin Rudalics2015-03-222-2/+9
| | | | | | | | | | * emacs-lisp/debug.el (debug): Don't try using "previous" window when its not live or on an invisible frame (Bug#17170).
| * Fix lisp/ChangeLog entry from last commit.Eli Zaretskii2015-03-211-1/+1
| |
| * Fix problems caused by calling 'recenter' in auto-revert (Bug#20122)Mario Lang2015-03-212-1/+7
| | | | | | | | | | | | | | lisp/emacs-lisp/tabulated-list.el (tabulated-list-print): Only call `recenter' if `current-buffer' is equal to `window-buffer'. (cherry picked from commit 4a8160204325c4b955647fe9e0a944c1f8c705dd)
| * Backport: ruby-mode: Detect regexps after `!'Dmitry Gutov2015-03-202-1/+6
| | | | | | | | | | | | | | | | | | Fixes: debbugs:19285 * lisp/progmodes/ruby-mode.el (ruby-syntax-before-regexp-re): Detect regexps after `!'. (cherry picked from commit 8854b9cf5283cac3e4a5a3726325a82b88c1fcb5)
| * Backport: ruby-mode: Change faces used for self, true, false and nilDmitry Gutov2015-03-202-3/+10
| | | | | | | | | | | | | | | | | | | | Fixes: debbugs:17733 * lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Use `font-lock-constant-face' for nil, true and false. Highlight `self' as a keyword. (cherry picked from commit e991af9228af77356df1e4ce7e824d5140a3bf8a)
| * Backport: ruby-mode: Expect regexp after { or | tooNobuyoshi Nakada2015-03-202-1/+7
| | | | | | | | | | | | | | | | | | Fixes: debbugs:20026 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re): Expect beginning of regexp also after open brace or vertical bar. (cherry picked from commit dad0fc589c18dd95cf1ac77869a4530e2848c328)
| * Bump version to 24.4.91emacs-24.4.91Nicolas Petton2015-03-081-1131/+1139
| |
* | Get rid of json-decode-char0 as wellDmitry Gutov2015-03-232-8/+7
| | | | | | | | | | | | | | Fixes: debbugs:20154 * lisp/json.el (json-decode-char0): Delete this alias as well. (json-read-escaped-char): Don't call it.
* | Fix previous commit (again)Daniel Colascione2015-03-231-13/+16
| |
* | Fix previous commitDaniel Colascione2015-03-231-25/+25
| |
* | Try to avoid fontifying macros in funcall positionDaniel Colascione2015-03-232-1/+40
| | | | | | | | | | | | * lisp/emacs-lisp/lisp-mode.el (lisp--el-non-funcall-position-p): New function. (lisp--el-match-keyword): Use it.
* | Generalize start-process with keyword argsDaiki Ueno2015-03-232-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/process.c (Fmake_process): New function. (create_process, create_pty): Check p->pty_flag instead of Vprocess_connection_type. (syms_of_process): Register QCcommand, QCconnection_type, Qpty, Qpipe, and Smake_process. Unregister Sstart_process. * lisp/subr.el (start-process): New function, ported from the C implementation. * doc/lispref/processes.texi (Asynchronous Processes): Mention `make-process'. * etc/NEWS: Mention `make-process'.
* | Automatically adjust process window sizesDaniel Colascione2015-03-223-20/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/window.el (window-adjust-process-window-size-function): New customizable variable. (window-adjust-process-window-size) (window-adjust-process-window-size-smallest) (window-adjust-process-window-size-largest) (window--process-window-list, window--adjust-process-windows): New functions. (window-configuration-change-hook): Add `window--adjust-process-windows'. * lisp/term.el (term-mode): Observe result of `window-adjust-process-window-size-function'. (term-check-size): Delete.
* | Have `sgml-attribute-offset' control SGML attribute indentationJackson Ray Hamilton2015-03-222-2/+27
| | | | | | | | | | | | | | | | Fixes: debbugs:20161 * textmodes/sgml-mode.el (sgml-attribute-offset): New defcustom. (sgml-calculate-indent): Use `sgml-attribute-offset' for attribute indentation.
* | Rewrite json-encode-stringDmitry Gutov2015-03-232-17/+26
| | | | | | | | | | | | | | | | Fixes: debbugs:20154 * lisp/json.el (json-decode-char0): Delete this alias. (json-encode-string): Rewrite to improve performance. (json-encode-char): Fold into `json-encode-string'.
* | * menu-bar.el (menu-bar-update-buffers): Properly count buffers.Artur Malabarba2015-03-222-9/+18
| |
* | lisp/gnus/{registry.el,gnus-registry.el}: Use slot names in references to ↵Eric Abrahamsen2015-03-213-9/+16
| | | | | | | | object slot values
* | Add new functions for computing default font dimensionsTitus von der Malsburg2015-03-213-1/+86
| | | | | | | | | | | | | | | | | | | | lisp/window.el (window-font-width, window-font-height) (window-max-chars-per-line): New functions. lisp/simple.el (default-font-height): Doc fix. (default-font-width): New function. etc/NEWS: Mention `default-font-width', `window-font-height', `window-font-width', and `window-max-chars-per-line'.
* | Handle setf methods in elisp font-locking.Tassilo Horn2015-03-212-7/+15
| | | | | | | | | | * emacs-lisp/lisp-mode.el (lisp-el-font-lock-keywords-1): Also recognize (cl-)defmethod with (setf method) name.