summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAge
* Bump Emacs version to 25.1.91emacs-25.1.91Nicolas Petton2016-12-30
| | | | | | | | * README: * configure.ac: * msdos/sed2v2.inp: * nt/README.W32: Bump Emacs version. * lisp/ldefs-boot.el: Update.
* * lisp/emacs-lisp/inline.el: Fix apply-conversion (bug#25280)Stefan Monnier2016-12-28
| | | | | (inline--dont-quote): Quote the function with #' when passing it to `apply'. Cherry picked from commit e6161f648903d821865b9610b3b6aa0f82a5dcb7.
* Don't modify minibuffer variables globallyLeo Liu2016-12-25
| | | | * lisp/files.el (cd): Use setq-local instead. (Bug#25260)
* Revert to pre-25.1 behavior in ffapEli Zaretskii2016-12-24
| | | | | | * lisp/ffap.el (ffap-lax-url): Change the default to t, to produce the same behavior as in Emacs 24.x. (Bug#25264) Explain the trade-offs of customizing this in the doc string.
* * lisp/ffap.el: Fix obsolete comment referencing ffap-bug.Noam Postavsky2016-12-24
|
* * lisp/desktop.el (desktop-buffers-not-to-save): Doc fix.Eli Zaretskii2016-12-23
|
* Fix M-x hints on Mac portStefan Monnier2016-12-23
| | | | | | * lisp/simple.el (execute-extended-command--shorter): Call input-pending-p to trigger input processing on some systems, such as Mac port. (Bug#23002)
* ; lisp/skeleton.el (skeleton-insert): Fix typo in last changeNoam Postavsky2016-12-20
|
* Amend the version number of CC Mode 5.33 -> 5.32.99. Don't merge to trunk.Alan Mackenzie2016-12-20
| | | | | lisp/progmodes/cc-defs.el: Amend the version number. etc/NEWS: Add an item explaining the change.
* Improve skeleton docstringsNoam Postavsky2016-12-19
| | | | | | | * lisp/skeleton.el (skeleton-end-newline): Remove mention of `skeleton-end-hook', its default code was moved into `skeleton-insert'. (skeleton-insert): Mention `skeleton-end-newline' and move reference to `skeleton-end-hook' above the explanation of skeleton syntax.
* ; Auto-commit of loaddefs file.Glenn Morris2016-12-19
|
* ; Add missing symbol quoting.Philipp Stephani2016-12-18
| | | | * lisp/vc/ediff-util.el (ediff-janitor): Add missing symbol quoting.
* Repair desktop restoration on text terminalsEli Zaretskii2016-12-17
| | | | | | | | | * lisp/desktop.el (desktop-restoring-frameset-p): Test for the GUI frame here, instead of in desktop-restoring-frameset. That's because desktop-read wants to know whether frameset will actually be restored, and has fallback procedures up its sleeve when it won't be; these fallbacks need to be invoked when the frameset is not going to be restored. (Bug#24298)
* Ignore forward-sexp-function in js-mode indentation codeDmitry Gutov2016-12-17
| | | | | | * lisp/progmodes/js.el (js--multi-line-declaration-indentation) (js--maybe-goto-declaration-keyword-end): Bind forward-sexp-function to nil (bug#25215).
* Improve documentation of 'define-coding-system'Eli Zaretskii2016-12-16
| | | | | | * lisp/international/mule.el (define-coding-system): Warn against possible infinite recursion in pre-write-conversion and post-read-conversion functions. (Bug#25203)
* Fix Bug#25162Michael Albinus2016-12-11
| | | | | | | | * doc/emacs/files.texi (Reverting): Document auto-revert-remote-files and auto-revert-verbose. * lisp/autorevert.el (auto-revert-verbose, auto-revert-mode) (auto-revert-tail-mode, global-auto-revert-mode): Fix docstring.
* Fix a typo in define-abbrev-tableGlenn Morris2016-12-10
| | | | * lisp/abbrev.el (define-abbrev-table): Fix typo in docstring handling.
* Fixes related to select-enable-clipboardGlenn Morris2016-12-10
| | | | | | | | | * lisp/menu-bar.el (clipboard-yank, clipboard-kill-ring-save) (clipboard-kill-region): * lisp/eshell/esh-io.el (eshell-virtual-targets) (eshell-clipboard-append): Replace option gui-select-enable-clipboard with select-enable-clipboard; renamed October 2014. (Bug#25145)
* Define struct predicate before acccesorsNoam Postavsky2016-12-10
| | | | | | | | | | | The accessor functions use the predicate function, which causes problems when reloading after unload-feature: the compiler-macro property is still present on the predicate symbol, and the compiler fails to find the definition when trying to inline it into the accessor function (Bug#25088). * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Move predicate definition before field accessor definitions.
* Doc fix for vc-gitGlenn Morris2016-12-07
| | | | * lisp/vc/vc-git.el (vc-git-region-history): Add a doc string.
* Fix minor quoting problems in doc stringsPaul Eggert2016-12-07
|
* * lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Fix docstringPhilipp Stephani2016-12-07
| | | | | so that it matches the actual implementation. See https://lists.gnu.org/archive/html/help-gnu-emacs/2016-04/msg00071.html
* Don't assume window-point and point are the sameNoam Postavsky2016-12-06
| | | | | | | | | | | The function `cursor-sensor--detect' calls `bobp' to decide whether to check properties at (1- (window-point)). However, (window-point) may be at beginning of buffer, even if (point) is not. In this case an `args-out-of-range' error will be signaled (Bug#25104). * lisp/emacs-lisp/cursor-sensor.el (cursor-sensor--detect): Check the value of (window-point) against (point-min), rather than (bobp) to decide if (1- (window-point)) is accessible.
* ; * lisp/vc/ediff-util.el (ediff-janitor): Fix last change. (Bug#25046)Eli Zaretskii2016-12-02
|
* * lisp/vc/ediff-util.el (ediff-janitor): Doc fix. (Bug#25046)Eli Zaretskii2016-12-02
|
* Fix mail-combine-fieldsRichard Stallman2016-12-01
| | | | | | | * lisp/mail/sendmail.el (mail-combine-fields): Call `save-excursion' to avoid losing our place in the search loop. (cherry picked from commit 5fbba6cceaf843cfca449eb000a0a65243b61808)
* ; Revert "Guard terminal par. in XTerm mouse mode"Philipp Stephani2016-11-28
| | | | | | | This reverts commit d4e15492f7c55eabdadc6f3735b84972748e6c0d. Since emacs-25 should only contain regression fixes and doc fixes, this commit was moved to the master branch.
* ; Update ChangeLog.2, etc/AUTHORS and ldef-boot.el for Emacs 25.1.90 pretestemacs-25.1.90Nicolas Petton2016-11-28
|
* Fix 'expand-file-name' during startup on MS-WindowsEli Zaretskii2016-11-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/w32.c (w32_init_file_name_codepage): New function, resets file_name_codepage and w32_ansi_code_page to undo the values recorded during dumping. (codepage_for_filenames): Fix an embarrassing typo. Ignore the cached value of file-name encoding if it is nil, i.e. not initialized yet. Actually cache the last used file-name encoding to avoid calling APIs when not necessary. * src/w32.h (w32_init_file_name_codepage): Add prototype. * src/w32term.c (syms_of_w32term): Set the value of w32_unicode_filenames according to the OS version. This avoids resetting it during startup, which then causes temacs to run with the incorrect value. * src/emacs.c (main): Call w32_init_file_name_codepage early during the startup. * src/fileio.c (Fexpand_file_name) [WINDOWSNT]: Update 'newdir' after converting $HOME to a UTF-8 string, so that 'newdirlim' is consistent with it. (Bug#25038) * lisp/international/mule-cmds.el (set-locale-environment): Set 'default-file-name-coding-system' to the ANSI codepage even in non-interactive sessions. * lisp/files.el (directory-abbrev-alist, abbreviated-home-dir): Doc fix. (abbreviate-file-name): Decode 'abbreviated-home-dir' if it is a unibyte string. * doc/lispref/files.texi (Directory Names): Index 'directory-abbrev-alist'.
* Improve treatment of Fortran's "class is"Glenn Morris2016-11-27
| | | | | | * lisp/progmodes/f90.el (f90-start-block-re, f90-no-block-limit): Handle "class is". (Bug#25039) * test/automated/f90.el (f90-test-bug25039): New test.
* Handle TeX comments when making new paragraphKarl Fogel2016-11-25
| | | | | | | * lisp/textmodes/tex-mode.el (tex-handle-newline): New function. Handle comment case directly, and dispatch to `tex-terminate-paragraph' for original behavior in non-comment case. (tex-mode-map): Bind above to C-j, replacing `tex-terminate-paragraph'.
* Restore keystroke echo in 'C-q'Eli Zaretskii2016-11-25
| | | | | * lisp/simple.el (read-quoted-char): Use 'read-event' instead of 'read-key', to avoid losing the keystroke echo in 'C-q'. (Bug#24635)
* Improve documentation of 'current-word'Eli Zaretskii2016-11-25
| | | | | * lisp/simple.el (current-word): Clarify and improve the doc string. (Bug#24979)
* Fix a typo in an Eshell defcustomChunyang Xu2016-11-25
| | | | | * lisp/eshell/esh-mode.el (eshell-scroll-to-bottom-on-output): Fix a typo in the 'others' standard value. (Bug#24983)
* Guard terminal parameter in XTerm mouse modePhilipp Stephani2016-11-22
| | | | | | | | | | | It has been observed (in the HTerm terminal emulator) that the event stored in the 'xterm-mouse-last-down' terminal parameter gets overwritten during a mouse drag operation, causing Emacs to attempt to synthesize the non-existing <drag-mouse-0> event. Copy the event into the terminal parameter to protect against such modifications. * lisp/xt-mouse.el (xterm-mouse-translate-1): Guard against modification of input event list.
* Fix menu bindings of Dired 'A' and 'Q' commandsEli Zaretskii2016-11-21
| | | | | | * lisp/dired.el (dired-mode-map): Rebind "Search Files" and "Query Replace in Files" menu items to 'dired-do-find-regexp' and 'dired-do-find-regexp-and-replace', respectively. (Bug#24977)
* Avoid errors in shr-pixel-column due to dedicated windowsEli Zaretskii2016-11-20
| | | | | | * lisp/net/shr.el (shr-pixel-column): If we are switching to another buffer in the selected window, make that window temporarily non-dedicated. (Bug#24950)
* js-mode: Fix indent problem after a regexpDmitry Gutov2016-11-17
| | | | | * lisp/progmodes/js.el (js--looking-at-operator-p): Check that the slash is not ending a regexp (bug#24854).
* Fix sluggish display of symbols in UTF-8 language environmentEli Zaretskii2016-11-16
| | | | | | | | | | | * lisp/international/fontset.el (setup-default-fontset): Make sure Symbola and FreeMono are set up in the default fontset as belonging to the "iso10646-1" registry. In the UTF-8 locale, this avoids a long and futile search for a suitable font, whose side effect is a lot of consing, which then hits the font-cache compacting issue, and causes very sluggish redisplay of characters displayed by these fonts. All this happens because the default for the registry is "iso8859-1". (Bug#24953)
* Send text received by bracketed paste to processPhilipp Stephani2016-11-10
| | | | | | | | See Bug#24639. * term.el (term--xterm-paste): New function. (term-raw-map): Use it. (xterm--pasted-text): Declare function from xterm.el.
* Do call debugger on failed cl-assertNoam Postavsky2016-11-08
| | | | | | | | | | | | | "Don't call debug on failed cl-assert..." removed the call to `debug' in cl--assertion-failed because `debug' calls `kill-emacs' in batch mode, thus messing up ert test runs. However, calling the debugger is useful because it allows catching failed assertions even inside `condition-case' calls. The problem with ert can be avoided by calling `debugger' instead of `debug' directly, since ert installs its own debugger while running tests. * lisp/emacs-lisp/cl-preloaded.el (cl--assertion-failed): Call `debugger' if `debug-on-error' is non-nil.
* Avoid infloop in pythonDaniel Colascione2016-11-08
| | | | | | | | | | Fix bug#24905 * lisp/progmodes/python.el (python-info-docstring-p): Improve infloop avoidance: replace (bobp) with generic test for forward progress. * test/lisp/progmodes/python-tests.el (python-bob-infloop-avoid): Add test for bug#24905
* Improve documentation of dabbrevsEli Zaretskii2016-11-07
| | | | | | | | * lisp/dabbrev.el (dabbrev-expand): Doc fix. (Bug#24890) * doc/emacs/abbrevs.texi (Dynamic Abbrevs): Mention 'dabbrev-check-all-buffers', 'dabbrev-check-other-buffers', and 'dabbrev-ignored-buffer-names' and their purpose. (Bug#24890)
* * lisp/chistory.el (list-command-history): Doc fix. (Bug#24890)Eli Zaretskii2016-11-07
|
* * lisp/simple.el (set-mark-command): Doc fix. (Bug#24890)Eli Zaretskii2016-11-07
|
* Improve and clarify documentation of Outline ModeEli Zaretskii2016-11-07
| | | | | | | | * doc/emacs/text.texi (Outline Visibility): Use the outline-* names instead of the obsolete aliases. (Bug#24890) * lisp/outline.el (outline-hide-sublevels, outline-hide-other) (outline-hide-body): Doc fixes. (Bug#24890)
* Fix python-mode hideshow regexpNoam Postavsky2016-11-06
| | | | | | | | | | | | 2015-02-07 "Fix hideshow integration[...]" changed the regexp added to `hs-special-modes-alist' so that it worked when not searching from the beginning of the line. However, this allows matching tokens ending in "def" or "class", not just those keywords. This results in an infinite loop in hs-hide-all (Bug #24815). * lisp/progmodes/python.el (python-mode): Add symbol boundaries around the def|class matching part of the regexp added to hs-special-modes-alist.
* Modernize usage of 'macOS' in doc and commentsPaul Eggert2016-11-06
| | | | | | | | Apple changed the spelling of its operating system again, to "macOS", effective with macOS 10.12 Sierra (2016-09-20). Change Emacs documentation and comments to match this. Stick with older OS spellings ("OS X", "Mac OS X") when talking about older releases where the older names are more correct.
* Don't call debug on failed cl-assertNoam Postavsky2016-11-04
| | | | | | | | | | Doing this causes problems when running ert tests, for instance (Bug#24778). The call to `debug` when `debug-on-error' is non-nil was introduced in 2015-02-14 "* lisp/emacs-lisp/cl*.el: Use define-inline and move some code...". * lisp/emacs-lisp/cl-preloaded.el (cl--assertion-failed): Don't call `debug' directly.
* ; Spelling fixesPaul Eggert2016-11-04
|