summaryrefslogtreecommitdiff
path: root/lisp
Commit message (Collapse)AuthorAgeFilesLines
* Minor fix of a recent documentation changeEli Zaretskii2018-07-081-3/+5
| | | | | * lisp/net/gnutls.el (gnutls-algorithm-priority): Clarify the doc string.
* Mention the NSM in the gnutls variable doc stringsLars Ingebrigtsen2018-07-081-3/+22
| | | | | | | | * gnutls.el (gnutls-algorithm-priority): Mention the Network Security Manager here since this variable is an obvious place for people concerned about network security to look. (gnutls-verify-error): Ditto. (gnutls-min-prime-bits): Ditto.
* Improve documentation of 'emacs-lock-mode'Eli Zaretskii2018-07-071-2/+8
| | | | | | * lisp/emacs-lock.el (emacs-lock-mode): Mention in the doc string the special handling of some major modes due to 'emacs-lock-unlockable-modes'.
* * lisp/imenu.el (imenu-generic-expression): Doc fix. (Bug#32016)Eli Zaretskii2018-07-071-3/+3
|
* Tramp editorialsMichael Albinus2018-07-061-1/+1
| | | | | | | * doc/misc/tramp.texi (Android shell setup): Mention Termux. * lisp/net/tramp-sh.el (tramp-remote-process-environment): Use proper spelling "Tramp" in docstring.
* Clarify and improve doc strings of 'eval-last-sexp' and friendsEli Zaretskii2018-07-062-9/+9
| | | | | | * lisp/simple.el (eval-expression, eval-expression-print-format): * lisp/progmodes/elisp-mode.el (eval-last-sexp): Doc fixes. (Bug#32064)
* Fix MH-E mail composition with GNU Mailutils (SF#485)Mike Kupfer2018-07-041-2/+4
| | | | | * lisp/mh-e/mh-comp.el (mh-bare-components): Recursively delete the temporary folder.
* ; Auto-commit of loaddefs files.Glenn Morris2018-07-021-13/+25
|
* Increase max-lisp-eval-depth adjustment while in debugger (bug#31919)Gemini Lasswell2018-06-301-0/+1
| | | | | | | * src/eval.c (call_debugger): Increase the amount of extra Lisp evaluation depth given to the debugger to allow it to call cl-print. * lisp/emacs-lisp/debug.el (debugger-setup-buffer): Add a comment to suggest updating call_debugger when changing print-level.
* ; * lisp/files.el (buffer-offer-save): Doc fix. (Bug#32000)Eli Zaretskii2018-06-301-2/+6
|
* Minor improvements in documentation of imenu.elEli Zaretskii2018-06-301-2/+4
| | | | | * lisp/imenu.el (imenu-generic-skip-comments-and-strings) (imenu--generic-function): Doc fixes. (Bug#31962)
* Avoid errors with recentering in 'skeleton-insert'Eli Zaretskii2018-06-301-1/+2
| | | | | | * lisp/skeleton.el (skeleton-insert): Don't recenter if we are running in a buffer other than the one displayed in the selected window. (Bug#31950)
* Remove extra process call from vc-git-find-file-hookDmitry Gutov2018-06-281-7/+1
| | | | * lisp/vc/vc-git.el (vc-git-find-file-hook): Resolve FIXMEs.
* ; Update some commentaryDmitry Gutov2018-06-281-7/+3
| | | | | | | * lisp/vc/vc-git.el (vc-git-state): Remove outdated commentary. (vc-git-dir-status-goto-stage): Move a TODO here. (vc-git-conflicted-files): From here. (vc-git-find-file-hook): Add a FIXME.
* Speed up vc-git-dir-status-filesDmitry Gutov2018-06-281-1/+1
| | | | | | * lisp/vc/vc-git.el (vc-git-dir-status-goto-stage): Call 'git ls-files -u' for the ls-files-conflict stage (https://lists.gnu.org/archive/html/emacs-devel/2018-06/msg00885.html).
* Sync with Tramp 2.3.4. Do not merge with masterMichael Albinus2018-06-272-4/+9
| | | | | | | | | | | | * doc/misc/trampver.texi: * lisp/net/trampver.el: Change version to "2.3.4". * lisp/net/tramp-smb.el (tramp-smb-handle-delete-directory): Check, that the directory has been removed indeed. * test/lisp/net/tramp-tests.el (tramp-test21-file-links): Adapt test. (tramp--test-emacs25-p): New defun. (tramp-test34-vc-registered): Use it.
* Detect a non-list package archive content properly (Bug#22311)Noam Postavsky2018-06-261-1/+1
| | | | | | | | | | * lisp/emacs-lisp/package.el (package--download-one-archive): Use `read' instead of `read-from-string'; the latter always returns a cons, so the `listp' check on its return value doesn't make sense. It was changed from `read' to `read-from-string' in 2015-04-01 "* emacs-lisp/package.el: Implement asynchronous refreshing", but that change was not needed because `read' works fine on strings as well as buffers.
* Add ido-fallback special variable (Bug#31707)Christophe Junke2018-06-251-4/+11
| | | | | | | | | | | | Before ido.el switch to lexical-binding, it was possible for other packages to modify the 'fallback' variables declared inside 'ido-file-internal' and 'ido-buffer-internal'. * lisp/ido.el (ido-fallback): New variable. (ido-buffer-internal, ido-file-internal): Reset ido-fallback to nil before prompting user. Use ido-fallback when ido-exit is 'fallback'. (ido-fallback-command): Add optional FALLBACK-COMMAND argument. Copyright-paperwork-exempt: yes
* Fix last change in tramp-sh.elMichael Albinus2018-06-251-2/+4
| | | | | * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-directly): Use "-R" rather than "-r" for recursive copy of directories.
* * lisp/emacs-lisp/regexp-opt.el (regexp-opt): Fix docstring quotes.Noam Postavsky2018-06-241-5/+5
|
* Make a minor update to the CSS mode docstringSimen Heggestøyl2018-06-241-0/+3
| | | | * lisp/textmodes/css-mode.el (css-mode): Mention 'fill-paragraph'.
* Fix Bug#31941Michael Albinus2018-06-241-3/+5
| | | | | | | * lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file): In case of FILENAME being a directory, check whether `copy-directory' could be avoided. Suggested by Stephen Nutt <stnutt@gmail.com>. (Bug#31941) (tramp-do-copy-or-rename-file-directly): Call "cp" with "-r".
* Fix previous change in minibuffer-default-add-dired-shell-commandsLeo Liu2018-06-231-6/+8
| | | | | | | The mailcap minibuffer completion used dynamic binding. Locally set a dynamic variable. * lisp/dired-aux.el (minibuffer-default-add-dired-shell-commands): Store list of files in 'minibuffer-completion-table'. (Bug#31794)
* Improve documentation of 'server-start' and friendsEli Zaretskii2018-06-231-2/+9
| | | | | | * lisp/server.el (server-start, server-running-p): Document how to reliably check that the current Emacs process started the server. (Bug#31859)
* * lisp/doc-view.el: Fix typos in the commentary. (Bug#31937)Eli Zaretskii2018-06-231-2/+2
|
* Change name of `seqp' argument (Bug#26411)Simen Heggestøyl2018-06-211-3/+3
| | | | | | * lisp/emacs-lisp/seq.el (seqp): Change argument name. * doc/lispref/sequences.texi: Update the documentation for seqp.
* Fix bug of 'mouse-drag-and-drop-region' to detect edges of region (Bug#31905)Tak Kunihiro2018-06-201-2/+2
| | | | | | * lisp/mouse.el (mouse-drag-and-drop-region): Detect both the beginning and the end of character of region during dragging text.
* Fix #'fun handling inside `labels' (Bug#31792)Noam Postavsky2018-06-192-7/+17
| | | | | | | | | | | | | * lisp/emacs-lisp/cl.el (labels): Apply the equivalent of the cl-labels change from 2015-01-16 "* lisp/emacs-lisp/cl-macs.el: Fix last change". * test/lisp/emacs-lisp/cl-tests.el (labels-function-quoting): New test. * lisp/emacs-lisp/cl-macs.el (cl-flet, cl-labels): Improve docstring, link to relevant manual page. * doc/misc/cl.texi (Function Bindings): Don't imply that function cells of symbols are modified by cl-flet. Don't claim that cl-flet or cl-labels affect references of the form (quote FUNC).
* Prevent errant scroll on mouse click (Bug#31546)Aaron Jensen2018-06-171-1/+5
| | | | | | | * src/nsterm.m (ns_mouse_position): Use correct frame when determining mouse position. * lisp/mouse.el (mouse-drag-track): Only account for mode-line height if `mode-line-format' is non-nil.
* * lisp/window.el (window-toggle-side-windows): Doc fix. (Bug#31858)Eli Zaretskii2018-06-171-7/+8
|
* Fix byte compilation of (eq foo 'default)Paul Eggert2018-06-161-9/+15
| | | | | | | | | | | | | Backport from master. Do not use the symbol ‘default’ as a special marker. Instead, use a value that cannot appear in the program, improving on a patch proposed by Robert Cochran (Bug#31718#14). * lisp/emacs-lisp/bytecomp.el (byte-compile--default-val): New constant. (byte-compile-cond-jump-table-info) (byte-compile-cond-jump-table): Use it instead of 'default. * test/lisp/emacs-lisp/bytecomp-tests.el: (byte-opt-testsuite-arith-data): Add a test for the bug.
* Fix Bug#31846. Do not merge with masterMichael Albinus2018-06-161-6/+6
| | | | | * lisp/net/secrets.el (secrets-search-items) (secrets-create-item): Fix format of :dict-entry values. (Bug#31846)
* Improve movemail defaultRobert Pluim2018-06-151-4/+8
| | | | | | | | | * lisp/gnus/mail-source.el (mail-source-movemail-program): Change default to "movemail". (mail-source-movemail): Pass just mail-source-movemail-program to call-process instead of fully specifying it relative to exec-directory. Ensures that we will find Mailutils movemail if it is installed. (Bug#31737)
* Keep vc-print-log from putting point at buffer end (Bug#31764)Noam Postavsky2018-06-141-2/+3
| | | | | * lisp/vc/vc.el (vc-print-log-internal): Use `save-excursion' around `vc-print-log-setup-buttons'.
* Don’t set EMACS=t if Bash is 4.4 or newerPaul Eggert2018-06-141-6/+28
| | | | | | | | (Backport from master.) (Thanks to Stefan Monnier for improvements to this patch.) * lisp/term.el (term--bash-needs-EMACS-status): New var. (term--bash-needs-EMACSp): New function. (term-exec-1): Use it instead of always setting EMACS.
* Improve commentary in info.elEli Zaretskii2018-06-141-0/+9
| | | | | | * lisp/info.el: Explain in commentary why some commands start with "info-" and others with "Info-". See also http://lists.gnu.org/archive/html/emacs-devel/2017-11/msg00482.html.
* Finish the Bug#11728 work: hg & gitSam Steingold2018-06-122-23/+30
| | | | | | | | | | | | * lisp/vc/vc-git.el (vc-git--pushpull): Make `extra-args' a list. Do not set `compilation-error-regexp-alist', this is done in `vc-compilation-mode'. (vc-git-error-regexp-alist): Tweak the regexp. * lisp/vc/vc-hg.el (vc-hg-error-regexp-alist): Make non-trivial. (vc-hg--pushpull): Accept `post-processing' argument. Call them after the `command'. (vc-hg-pull): Pass the `post-processing' commands that show which are to be modified by the `update', and then run `update'.
* Fix Bug#11728: show files updated by gitSam Steingold2018-06-121-4/+6
| | | | | | | * lisp/vc/vc-git.el (vc-git--pushpull): Accept extra-args and set `compilation-error-regexp-alist' to `vc-git-error-regexp-alist'. (vc-git-pull): Pass "--stat" as `extra-args' to `vc-git--pushpull'. (vc-git-push): Pass "" as `extra-args' to `vc-git--pushpull'.
* Make 'tags' targets respect --with-silent-rules (Bug#31744)Noam Postavsky2018-06-121-3/+3
| | | | | | | * lwlib/Makefile.in (TAGS): * lisp/Makefile.in (TAGS): * src/Makefile.in (TAGS): Use AM_V_GEN and AM_V_at. * src/Makefile.in: Note that TAGS are generated in build dir.
* soap-client: Add byte-code compatibility function (Bug#31742)Thomas Fitzsimmons2018-06-112-41/+51
| | | | | | | | | | | | | | | | * lisp/net/soap-client.el: Bump version to 3.1.4. (soap-type-of): New function. (soap-resolve-references, soap-decode-type) (soap-encode-attributes, soap-encode-value): Replace aref calls with calls to soap-type-of. * lisp/net/soap-inspect.el (soap-sample-value, soap-inspect): Replace aref calls with calls to soap-type-of. Co-authored-by: Noam Postavsky <npostavs@gmail.com> Backport: (cherry picked from commit 1feb2e221349f26ec26bc684e0cce2acecbed3ca)
* Fix term.el cursor movement at bottom margin (Bug#31690)Noam Postavsky2018-06-101-4/+3
| | | | | | * lisp/term.el (term-handle-ansi-escape) <\E[B cud>: Allow moving the cursor to the bottom margin line, rather than stopping one line before.
* Call enchant-lsmod correctly when Enchant is installed with a suffixReuben Thomas2018-06-101-2/+3
| | | | | | | | * lisp/textmodes/ispell.el (ispell--call-enchant-lsmod): Cope with a version suffix on the binary name, so enchant-2 is converted to enchant-lsmod-2, not enchant-2-lsmod. (Bug#31761) (cherry picked from commit a402d9aacbecf4bf0b9afde592a3b90c71f96832)
* Update Unicode data files to version 11.0.0 of UnicodeEli Zaretskii2018-06-093-11/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * admin/unidata/UnicodeData.txt: * admin/unidata/SpecialCasing.txt: * admin/unidata/NormalizationTest.txt: * admin/unidata/copyright.html: * admin/unidata/BidiMirroring.txt: * admin/unidata/BidiBrackets.txt: Import from Unicode 11.0. * admin/notes/unicode: Update the URL for OTF script tags. * lisp/international/mule-cmds.el (ucs-names): Update unused ranges. * lisp/international/fontset.el (script-representative-chars): Add hanifi-rohingya, old-sogdian, sogdian, dogra, gunjala-gondi, makasar, and medefaidrin. (otf-script-alist): Add old-hungarian. * lisp/international/characters.el (tbl): Add syntax entries for Supplemental Mathematical Operators, Miscellaneous Symbols and Arrows, and Supplemental Punctuation. Update the list of wide characters. * test/lisp/international/ucs-normalize-tests.el (ucs-normalize-tests--failing-lines-part2): Update to match admin/unidata/NormalizationTest.txt. * doc/lispref/nonascii.texi (Character Properties): Update the reference to the Unicode Standard. * doc/misc/efaq.texi (New in Emacs 26): * etc/NEWS: Mention compatibility with Unicode 11.0.
* Clarify doc string of 'update-glyphless-char-display'Eli Zaretskii2018-06-081-1/+3
| | | | | * lisp/international/characters.el (update-glyphless-char-display): Doc fix. (Bug#31730)
* Make cl-print respect print-quoted (bug#31649)Gemini Lasswell2018-06-071-2/+7
| | | | | | * lisp/emacs-lisp/cl-print.el (cl-print-object) <cons>: Observe print-quoted when printing quote and its relatives. Add printing of 'function' as #'.
* Fix cursor movement by 'next-logical-line' after 'next-line'Eli Zaretskii2018-06-061-18/+4
| | | | | | | | | | | | | | * src/indent.c (Fvertical_motion): Adjust TO_X when line-numbers are being displayed. Remove unneeded "correction" of TO_X at the goal line. * lisp/simple.el (last--line-number-width): Remove unneeded variable. (line-move-visual): Account for line-number display width by adjusting the pixel X coordinate that gets converted into canonical columns passed to vertical-motion, instead of adjusting temporary-goal-column (which then affects next commands, including next-logical-line). (Bug#31723)
* Fix prompt in bookmark.el (Bug#24726)Allen Li2018-06-051-1/+1
| | | | | | * lisp/bookmark.el (bookmark-set-internal): Conform to the standard default prompt format (per `minibuffer-electric-default-mode') which does not use a colon.
* Fix comint-get-old-input-default for output field case (Bug#25028)Noam Postavsky2018-06-041-3/+5
| | | | | * lisp/comint.el (comint-get-old-input-default): Don't return whole field when point was on an output field.
* Prevent infloop in 'delete-trailing-whitespace'Eli Zaretskii2018-06-041-2/+3
| | | | | | * lisp/simple.el (delete-trailing-whitespace): Avoid inflooping when some region of trailing whitespace is unmodifiable. (Bug#31557)
* Make cl-print respect print-level and print-length (bug#31559)Gemini Lasswell2018-06-041-47/+68
| | | | | | | | | | | | | | | * lisp/emacs-lisp/cl-print.el (cl-print--depth): New variable. (cl-print-object) <cons>: Print ellipsis if printing depth greater than 'print-level' or length of list greater than 'print-length'. (cl-print-object) <vector>: Truncate printing with ellipsis if vector is longer than 'print-length'. (cl-print-object) <cl-structure-object>: Truncate printing with ellipsis if structure has more slots than 'print-length'. (cl-print-object) <:around>: Bind 'cl-print--depth'. * test/lisp/emacs-lisp/cl-print-tests.el (cl-print-tests-3, cl-print-tests-4): New tests. (cherry picked from commit 0f48d18fd2a30f29cc3592a835d2a2254c9b0afb)