Sam Steingold [Tue, 16 Jul 2019 21:23:27 +0000 (17:23 -0400)]
Treat the "Link" link in gnus-summary-browse-urls specially
* lisp/gnus/gnus-sum.el (gnus-collect-urls): Make sure that
the URL labeled "Link" is the first in the return list.
(gnus-summary-browse-url): Use the 1st URL as the default.
* lisp/wid-edit.el (widget-text): New function.
Alan Mackenzie [Tue, 16 Jul 2019 20:01:12 +0000 (20:01 +0000)]
CC Mode: allow bogusly "adjacent" double quote marks to pair up syntactically
For this introduce the text property c-fl-syn-tab to "mirror" syntax-table.
* lisp/progmodes/cc-defs.el (c-is-escaped, c-will-be-escaped, c-put-syn-tab)
(c-clear-syn-tab, c-clear-syn-tab-properties, c-with-extended-string-fences):
new macros.
(c-point): Use c-is-escaped
(c-search-forward-char-property, c-search-backward-char-property)
(c-search-forward-char-property-with-value-on-char)
(c-search-forward-char-property-without-value-on-char): Fix regexp error
involving \n.
* lisp/progmodes/cc-engine.el (c-semi-pp-to-literal): User
c-with-extended-string-fences around a parse-partial-sexp.
(c-full-get-near-cache-entry): Fix an off-by-one error.
(c-full-pp-to-literal): Avoid writing duplicate entries into a cache.
(c-after-change-unmark-raw-strings): Use c-clear-syn-tab-properties.
* lisp/progmodes/cc-mode.el (c-leave-cc-mode-mode): Clear the c-fl-syn-tab
properties, too.
(c-basic-common-init): Mark c-fl-syn-tab as a non-sticky text property.
(c-depropertize-new-text): Also handle c-fl-syn-tab.
(c-multiline-string-check-final-quote, c-parse-quotes-after-change): Use
c-is-escaped.
(c-fl-syn-tab-region): New variable.
(c-clear-string-fences, c-restore-string-fences, c-remove-string-fences): New
functions.
(c-before-change-check-unbalanced-strings)
(c-after-change-mark-abnormal-strings, c-after-change-escape-NL-in-string):
Use the new functions and macros.
(c-before-change, c-after-change, c-font-lock-fontify-region): Restore the
syntax-table text properties from c-fl-syn-tab text properties for these
functions.
(c-electric-pair-inhibit-predicate): Test the c-fl-syn-tab property rather
than syntax-table.
Basil L. Contovounesios [Tue, 16 Jul 2019 16:41:18 +0000 (17:41 +0100)]
Fix failing secrets-test03-items
* test/lisp/net/secrets-tests.el: Use lexical-binding.
(secrets-test03-items): Do not assume :xdg:schema attribute is
silently added to the front of the collection (bug#36694).
(secrets-test04-search, secrets-test-all): Quote function symbols as
such.
Mattias Engdegård [Tue, 16 Jul 2019 15:18:32 +0000 (17:18 +0200)]
Fix calc number formatting with digit grouping (bug#36689)
The functions math-format-hex and math-format-octal were not
implemented, yet called, leading to a crash when using hex or octal
radix with digit grouping.
* test/lisp/calc/calc-tests.el (calc-test-format-radix): New test.
* lisp/calc/calc-ext.el: Don't declare non-existing functions.
(math--format-integer-fancy): Don't call non-existing functions.
* lisp/calc/calc-bin.el (math-format-binary, math-binary-digits):
Simplify, fixing 0-padding bug.
Lars Ingebrigtsen [Tue, 16 Jul 2019 13:44:58 +0000 (15:44 +0200)]
Revert "Add support for paths to svg.el"
This reverts commit
d6bc55ae2dc98c83e58a28e380ce4bcf2ed00bb3.
Paperwork not ready for Felix Klee; will reapply once that's in place.
Lars Ingebrigtsen [Tue, 16 Jul 2019 13:43:57 +0000 (15:43 +0200)]
Revert "* doc/lispref/display.texi (SVG Images): Add menu for subsection."
This reverts commit
e5cd597c7736b587f80c16fde1c53f904d921310.
Paperwork nod ready for the SVG Path patch.
Mattias Engdegård [Thu, 11 Jul 2019 13:22:23 +0000 (15:22 +0200)]
Set revert-buffer-function in ert-results-mode
* lisp/emacs-lisp/ert.el (ert-results-mode): Set revert-buffer-function
to re-run the same test selection. It is a good fit and permits use of
the standard "g" key binding.
Stephen Berman [Tue, 16 Jul 2019 09:04:56 +0000 (11:04 +0200)]
Prevent infinite loop on entering wdired-mode
* lisp/wdired.el (wdired-preprocess-symlinks): Remove unneeded use
of beginning-of-line, which also triggers an infinite loop in a
find-dired buffer that doesn't end with a newline (see discussion
in bug#35609).
Juri Linkov [Mon, 15 Jul 2019 22:27:19 +0000 (01:27 +0300)]
* lisp/vc/vc.el (vc-log-search): New command (bug#36644).
* lisp/vc/vc-git.el (vc-git-log-search): New function.
(vc-git-log-view-mode): Check vc-log-view-type for log-search.
Juri Linkov [Mon, 15 Jul 2019 22:12:12 +0000 (01:12 +0300)]
* lisp/vc/vc-dir.el (vc-dir-search): Remove lambda.
(Bug#31578) Thanks to Dmitry Gutov <dgutov@yandex.ru>
Juri Linkov [Mon, 15 Jul 2019 22:09:20 +0000 (01:09 +0300)]
* lisp/frame.el (make-frame-on-display): Use x-display-list in completion.
(Bug#29713)
Juri Linkov [Mon, 15 Jul 2019 22:00:49 +0000 (01:00 +0300)]
* lisp/progmodes/sh-script.el (sh-assignment): Put delete-selection on symbol
Glenn Morris [Mon, 15 Jul 2019 21:15:26 +0000 (14:15 -0700)]
* doc/lispref/display.texi (SVG Images): Add menu for subsection.
Stefan Monnier [Mon, 15 Jul 2019 19:28:07 +0000 (15:28 -0400)]
* lisp/gnus/nntp.el: Use lexical-binding
(nntp-server-action-alist): Expose the code to the compiler.
(nntp-with-open-group-function): No need to obfuscate identifiers any more.
(nntp-authinfo-rejected): Use `define-error`.
Lars Ingebrigtsen [Mon, 15 Jul 2019 18:52:48 +0000 (20:52 +0200)]
Fix INITIAL-INPUT cons handling in ido-read-internal
* lisp/ido.el (ido-read-internal): Is INITIAL-INPUT is a cons that
specifies cursor position, adjust the number to be palatable for
`read-for-minibuffer' (bug#27807).
Lars Ingebrigtsen [Mon, 15 Jul 2019 18:31:42 +0000 (20:31 +0200)]
Fix saving certificates in the NSM on high security levels
* lisp/net/nsm.el (nsm-check-certificate): `nsm-fingerprint-ok-p'
will save the fingerprint in the correct temporary/permanent
storage, so saving it once more (in the permanent storage) if the
security level is high or greater is a mistake (bug#27823).
Lars Ingebrigtsen [Mon, 15 Jul 2019 18:13:48 +0000 (20:13 +0200)]
Tweak mouse-face highlighting of Occur buffers
* lisp/replace.el (occur-engine): Ensure that the mouse highlight
is done over the entire line (bug#27846).
Lars Ingebrigtsen [Mon, 15 Jul 2019 17:55:20 +0000 (19:55 +0200)]
open-dribble-file doc string clarification
* src/keyboard.c (Fopen_dribble_file): Clarify when the file is
closed, and when events are written to the file (bug#27996).
Eric Abrahamsen [Mon, 15 Jul 2019 17:43:40 +0000 (10:43 -0700)]
Possibly skip IMAP server FETCH responses
See bug#35433
* lisp/gnus/nnimap.el (nnimap-transform-headers): Skip FETCH responses
that only provide message flags, not message headers.
Felix E. Klee [Mon, 15 Jul 2019 15:07:56 +0000 (17:07 +0200)]
Add support for paths to svg.el
* doc/lispref/display.texi (SVG Images): Document svg-path,
svg-clip-path and svg-node (bug#32359).
* doc/lispref/display.texi (SVG Path Commands): New node.
* lisp/svg.el (svg--plist-delete, svg--path-command-symbol)
(svg--elliptical-arc-coordinates, svg--elliptical-arc-command)
(svg--moveto-command, svg--closepath-command)
(svg--lineto-command, svg--horizontal-lineto-command)
(svg--vertical-lineto-command, svg--curveto-command)
(svg--smooth-curveto-command)
(svg--quadratic-bezier-curveto-command)
(svg--smooth-quadratic-bezier-curveto-command)
(svg--eval-path-command, svg-path, svg-clip-path, svg-node): New
functions.
Lars Ingebrigtsen [Mon, 15 Jul 2019 14:47:52 +0000 (16:47 +0200)]
Revert "Add edebug specs for inline.el"
This reverts commit
ed29d9fe5286ab6ecfb2bfa5a015b9945a84512b.
The edebug specs were already in the declare form, and in addition, it didn't fix the problem.
Lars Ingebrigtsen [Mon, 15 Jul 2019 12:11:30 +0000 (14:11 +0200)]
Mention changing the font size in the Emacs manual
* doc/emacs/frames.texi (Fonts): Mention changing the font scale
(bug#28196).
Samuel Bronson [Mon, 15 Jul 2019 11:41:50 +0000 (13:41 +0200)]
Mark semantic functions correctly in defcustom
* lisp/cedet/semantic/format.el (semantic-format-tag-custom-list):
Mark functions correctly in defcustom (bug#28267).
Lars Ingebrigtsen [Mon, 15 Jul 2019 10:59:02 +0000 (12:59 +0200)]
Clarify doc of isearch-wrap-function
* lisp/isearch.el (isearch-wrap-function): Doc clarification
(bug#28388).
Robert Pluim [Mon, 15 Jul 2019 11:28:25 +0000 (13:28 +0200)]
Don't delete GnuTLS boot parameters too early
* src/process.c (connect_network_socket): Don't delete the GnuTLS
boot parameters until after we've managed to connect at the IP
level (bug#36660).
Lars Ingebrigtsen [Mon, 15 Jul 2019 10:09:40 +0000 (12:09 +0200)]
Fix *Messages* grouping in C-Mouse-1 buffer menu
* lisp/mouse.el (mouse-buffer-menu-mode-groups): Don't group the
*Messages* buffer with Mail/News (bug#32007).
Michael Albinus [Mon, 15 Jul 2019 10:49:42 +0000 (12:49 +0200)]
* lisp/net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
Don't cancel if debug buffers aren't appended.
Lars Ingebrigtsen [Mon, 15 Jul 2019 09:52:42 +0000 (11:52 +0200)]
Make directory-files-recursively take a PREDICATE parameter
* lisp/files.el (directory-files-recursively): Take an optional
PREDICATE parameter (bug#28567).
* doc/lispref/files.texi (Contents of Directories): Document it.
Lars Ingebrigtsen [Mon, 15 Jul 2019 09:15:11 +0000 (11:15 +0200)]
Tweak gv-define-setter debug setting
* lisp/emacs-lisp/gv.el (gv-define-setter): Change edebug spec
from body to def-body (bug#28729).
Michael Albinus [Mon, 15 Jul 2019 09:11:59 +0000 (11:11 +0200)]
Fix edge cases in Tramp's copy
* lisp/net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
Special handling for "rsync".
(tramp-find-inline-compress): Make check more robust on MS Windows.
Lars Ingebrigtsen [Sun, 14 Jul 2019 22:17:59 +0000 (00:17 +0200)]
package-archive-priorities doc addition
* lisp/emacs-lisp/package.el (package-archive-priorities):
Document that negative priorities will lead to packages not being
updated (bug#28897).
Glenn Morris [Sun, 14 Jul 2019 22:18:22 +0000 (15:18 -0700)]
Stop wdired tests leaving behind symlink /tmp/emacs1000
* test/lisp/wdired-tests.el (server-socket-dir): Make effective.
Lars Ingebrigtsen [Sun, 14 Jul 2019 22:01:09 +0000 (00:01 +0200)]
Mark octave-block-offset as a safe local variable
* lisp/progmodes/octave.el (octave-block-offset): Mark as safe as
a local variable (bug#28916).
Glenn Morris [Sun, 14 Jul 2019 21:28:00 +0000 (14:28 -0700)]
; NEWS copyedits
Glenn Morris [Sun, 14 Jul 2019 20:28:54 +0000 (13:28 -0700)]
Update a ffap test
* test/lisp/ffap-tests.el (ffap-other-window--bug-25352):
Update for incompatible ffap-other-window change.
Lars Ingebrigtsen [Sun, 14 Jul 2019 18:24:03 +0000 (20:24 +0200)]
Make elint understand condition-case-unless-debug
* lisp/emacs-lisp/elint.el (elint-special-forms): Teach elint
about `condition-case-unless-debug' (bug#29585).
Lars Ingebrigtsen [Sun, 14 Jul 2019 17:17:36 +0000 (19:17 +0200)]
Fix prompting in functions like ffap-read-only
* lisp/ffap.el (ffap-prompter, ffap-other-window)
(ffap-other-frame, ffap-read-only)
(ffap-read-only-other-window, ffap-read-only-other-frame)
(ffap-alternate-file, ffap-alternate-file-other-window)
(ffap-literally): Rework to be able to specify different prompts
for different actions (bug#30284) and don't use
`call-interactively' all over the place.
Lars Ingebrigtsen [Sun, 14 Jul 2019 16:50:23 +0000 (18:50 +0200)]
Make describe-face also output the version information
* lisp/help-fns.el (describe-variable-custom-version-info): Allow
taking a type as an optional input, so this can be used for faces,
too (bug#30527).
* lisp/faces.el (describe-face): Use this to output the version
information.
Alan Third [Sun, 14 Jul 2019 16:24:56 +0000 (17:24 +0100)]
Use correct colorspace for XBM images
* src/nsimage.m ([EmacsImage setXBMColor:]): Use 'generic RGB' color
space.
Lars Ingebrigtsen [Sun, 14 Jul 2019 16:37:55 +0000 (18:37 +0200)]
Revert "Make describe-face also output the version information"
This reverts commit
a7aae1473c1aed7758b550a23cda61ee17668e23.
The patch broke the build.
Lars Ingebrigtsen [Sun, 14 Jul 2019 16:27:50 +0000 (18:27 +0200)]
Tweak bug ID prompting in gnus-group--read-bug-ids
* lisp/gnus/gnus-group.el (gnus-group--read-bug-ids): Default to
current bug id on RET.
Lars Ingebrigtsen [Sun, 14 Jul 2019 15:01:58 +0000 (17:01 +0200)]
Make describe-face also output the version information
* lisp/help-fns.el (describe-variable-custom-version-info): Allow
taking a type as an optional input, so this can be used for faces,
too (bug#30527).
* lisp/faces.el (describe-face): Use this to output the version
information.
Stefan Monnier [Fri, 5 Jul 2019 18:00:22 +0000 (14:00 -0400)]
; Add comment to hash_table_rehash (Bug#36447)
* src/fns.c (hash_table_rehash): Add a comment to explain that
hash_table_rehash is not used in "normal" rehashing, but only in the
rare case of rehashing on the first access to a preloaded hash-table.
Noam Postavsky [Sun, 14 Jul 2019 12:42:32 +0000 (08:42 -0400)]
Use ngettext in vc-dir-clean-files
* lisp/vc/vc-dir.el (vc-dir-clean-files): Use ngettext to separate
pluralization from format string.
Lars Ingebrigtsen [Sun, 14 Jul 2019 12:45:21 +0000 (14:45 +0200)]
Tweak background colour handling in shr
* lisp/net/shr.el (shr-fill-line): Keep the background colour on
the newline and the indentation.
Lars Ingebrigtsen [Sun, 14 Jul 2019 12:25:44 +0000 (14:25 +0200)]
Rename vc-dir-delete-files-no-vc to vc-dir-clean-files
* doc/emacs/maintaining.texi (VC Directory Commands): Adjust
command name.
* lisp/vc/vc-dir.el (vc-dir-clean-files): Rename from
vc-dir-delete-files-no-vc, and work on unregistered files only
(bug#31732).
(vc-dir-menu-map): Adjust command name.
Eric Ludlam [Sun, 14 Jul 2019 11:51:20 +0000 (13:51 +0200)]
Allow bad tags in Scheme
* admin/grammars/scheme.by (scheme-in-list): Allow bad tags in
Scheme (bug#36521).
Nick Drozd [Sat, 13 Jul 2019 17:04:21 +0000 (12:04 -0500)]
* etc/NEWS: Announce new Georgian inputs. (Bug#36639)
Nick Drozd [Sat, 13 Jul 2019 17:04:12 +0000 (12:04 -0500)]
* etc/HELLO: Fix name of Georgian language
Nick Drozd [Sat, 13 Jul 2019 17:04:05 +0000 (12:04 -0500)]
* lisp/leim/quail/georgian.el: Add georgian-nuskhuri input method
Nick Drozd [Sat, 13 Jul 2019 17:03:54 +0000 (12:03 -0500)]
* lisp/leim/quail/georgian.el: Add missing characters to georgian input
Nick Drozd [Sat, 13 Jul 2019 17:03:36 +0000 (12:03 -0500)]
* lisp/leim/quail/georgian.el: Add georgian-qwerty input method
Stefan Kangas [Tue, 2 Jul 2019 01:06:37 +0000 (03:06 +0200)]
Restore focus to Bookmark List after editing annotation
There are two entry points to bookmark-edit-annotation-mode: the first
when we add a bookmark and bookmark-use-annotations is non-nil; the
second when bookmark-bmenu-edit-annotation is run from the bookmark
list. When editing is concluded, in the first case, we should just
quit window. In the second case, we should instead return to the
bookmark list.
* lisp/bookmark.el (text-property-search): Require.
(bookmark-annotation-name): Make buffer-local and improve doc string.
(bookmark--annotation-from-bookmark-list): New buffer-local variable.
(bookmark-edit-annotation): New argument from-bookmark-list sets
bookmark--annotation-from-bookmark-list.
(bookmark-bmenu-edit-annotation): Call bookmark-edit-annotation with
argument from-bookmark-list set to t.
(bookmark-send-edited-annotation): When editing originated in the
bookmark list, restore focus to bookmark list and move point back to
edited bookmark. (Bug#20150)
(bookmark-edit-annotation-mode): Fix typo.
(bookmark-bmenu-buffer): New variable.
(bookmark-bmenu-surreptitiously-rebuild-list)
(bookmark-bmenu-list): Use it.
* test/lisp/bookmark-tests.el (with-bookmark-bmenu-test): New macro.
(bookmark-tests-set/bookmark-use-annotations-t)
(bookmark-bmenu-edit-annotation/show-annotation)
(bookmark-bmenu-send-edited-annotation)
(bookmark-bmenu-send-edited-annotation/restore-focus): New test cases.
Marco Wahl [Thu, 4 Jul 2019 20:32:44 +0000 (22:32 +0200)]
New function for scroll-lock-mode to almost always scroll
* lisp/scroll-lock.el (scroll-lock-next-line-always-scroll): New
function. Opposed to scroll-lock-next-line it does not switch to
forward-line at eob. S-down is the default key binding for this
function. (Bug#36494)
* test/lisp/scroll-lock-tests.el: A few tests for
scroll-lock-next-line-always-scroll.
* etc/NEWS: Announce the new command.
Eli Zaretskii [Sun, 14 Jul 2019 05:59:49 +0000 (08:59 +0300)]
Fix recent changes
* src/sysstdio.h: Include stdarg.h, for va_list.
Pip Cet [Sun, 14 Jul 2019 04:44:27 +0000 (21:44 -0700)]
Avoid returning negative numbers from `hash-table-count'
* src/fns.c (Fhash_table_count): Rehash argument if necessary.
Paul Eggert [Sun, 14 Jul 2019 04:43:46 +0000 (21:43 -0700)]
* src/lisp.h (struct Lisp_Hash_Table.count): Improve comment.
Noam Postavsky [Sun, 14 Jul 2019 01:30:43 +0000 (21:30 -0400)]
; Add comment about sh-assignment-regexp value
* lisp/progmodes/sh-script.el (sh-assignment-regexp): Explain what the
the "\\[.+\\]" is for, to make clear it is not a typo for "[.+]".
Noam Postavsky [Fri, 12 Jul 2019 00:15:27 +0000 (20:15 -0400)]
Remove incorrect commentary about #$ in autoloads
* lisp/emacs-lisp/autoload.el (autoload-rubric):
`package-quickstart-refresh' does in fact support load-file-name as
well.
Noam Postavsky [Thu, 11 Jul 2019 22:38:02 +0000 (18:38 -0400)]
Use syntax-ppss-toplevel-pos for defvar search (Bug#34233)
* lisp/progmodes/elisp-mode.el (eval-sexp-add-defvars): Use
syntax-ppss-toplevel-pos instead of a raw check of syntax components.
Paul Eggert [Sat, 13 Jul 2019 23:42:18 +0000 (16:42 -0700)]
Avoid interleaving stderr lines when shutting down
* src/emacs.c (shut_down_emacs) [!DOS_NT]: Avoid interleaving
to stderr in the usual case, by using a single write and by
appending a newline.
* src/sysdep.c (emacs_backtrace) [HAVE_BACKTRACE_SYMBOLS_FD]:
Omit newline since shut_down_emacs now does that.
Paul Eggert [Sat, 13 Jul 2019 19:31:41 +0000 (12:31 -0700)]
Use a better buffer size in emacs_perror
* src/sysdep.c (emacs_perror): Since the buffer is for avoiding
interleaving, size it via PIPE_BUF not BUFSIZ.
* src/sysstdio.h (PIPE_BUF): Provide a default.
Paul Eggert [Sat, 13 Jul 2019 17:41:46 +0000 (10:41 -0700)]
Avoid interleaving stderr in dump_fingerprint
* src/fns.c (hexbuf_digest): New function, containing most of
the old make_digest_string.
(make_digest_string): Use it.
* src/pdumper.c (dump_fingerprint): Rewrite to use a single
fprintf call, to avoid interleaving on GNU/Linux.
Paul Eggert [Sat, 13 Jul 2019 16:39:09 +0000 (09:39 -0700)]
Avoid interleaving stderr in a few cases
* src/sysdep.c (buferr): New static var.
(init_standard_fds) [_PC_PIPE_BUF]: Initialize it.
(errstream, errputc, verrprintf, errwrite): New functions.
(close_output_streams): Check buferr status too.
* src/xdisp.c: Include sysstdio.h instead of stdio.h.
(message_to_stderr, vmessage): Use the new functions
to avoid interleaving stderr.
Andreas Schwab [Sat, 13 Jul 2019 21:59:31 +0000 (23:59 +0200)]
Revert "Fix typo in sh-assignment-regexp"
This reverts commit
194f370a3da72d560975adc2835254ce251881a7.
Lars Ingebrigtsen [Sat, 13 Jul 2019 16:07:11 +0000 (18:07 +0200)]
Add edebug specs for inline.el
* lisp/emacs-lisp/inline.el (inline-quote)
(inline-letevals): Add edebug specs (bug#31051).
Lars Ingebrigtsen [Sat, 13 Jul 2019 15:48:53 +0000 (17:48 +0200)]
Tweak output of doc in advice--make-docstring
* lisp/emacs-lisp/nadvice.el (advice--make-docstring): Make the
bit about the function/macro having an advice into a complete
sentence (bug#31063) and make it less dramatic.
Lars Ingebrigtsen [Sat, 13 Jul 2019 15:22:50 +0000 (17:22 +0200)]
Add a :format to `text' widgets
* lisp/wid-edit.el (text): Add a :format so that the 'text fields
work (bug#31309). Suggested by Phil Sainty.
Lars Ingebrigtsen [Sat, 13 Jul 2019 15:18:11 +0000 (17:18 +0200)]
Doc fix for Finteractive (only %s is allowed)
* src/callint.c (Finteractive): Any other format spec than %s will
bug out with "Format specifier doesn’t match argument type", so
say explicitly that only %s is supported (bug#31314).
Lars Ingebrigtsen [Sat, 13 Jul 2019 15:13:12 +0000 (17:13 +0200)]
Don't have savehist-save bug out on non-existing directory
* lisp/savehist.el (savehist-save): Ensure that the directory
exists before saving (bug#31348).
Lars Ingebrigtsen [Sat, 13 Jul 2019 15:00:29 +0000 (17:00 +0200)]
Fix display-fill-column-indicator custom spec typo
* lisp/cus-start.el (standard): Fix typo in
display-fill-column-indicator custom spec.
Debugger entered--Lisp error: (wrong-type-argument stringp integer)
string-match("\\([0-9]+\\)\\(\\.\\([0-9]+\\)\\)?" integer)
customize-version-lessp("25.3" integer)
[...]
customize-changed-options("")
Lars Ingebrigtsen [Sat, 13 Jul 2019 14:49:23 +0000 (16:49 +0200)]
Make check-declare understand cl-defun
* lisp/emacs-lisp/check-declare.el (check-declare-verify): Add
cl-defun to the defun-ish regexp (bug#31396).
Lars Ingebrigtsen [Sat, 13 Jul 2019 14:44:03 +0000 (16:44 +0200)]
plist-get/lax-plist-get doc fix
* src/fns.c (Fplist_get): Mention that comparison is done with eq
(bug#31441).
(Flax_plist_get): Refer to plist-get for details.
Lars Ingebrigtsen [Sat, 13 Jul 2019 14:34:55 +0000 (16:34 +0200)]
citeasnoun in reftex can take an optional parameter
* lisp/textmodes/reftex-vars.el (reftex-cite-format-builtin):
citeasnoun can take an optional parameter (bug#31476). Suggested
by Konrad Podczeck.
Lars Ingebrigtsen [Sat, 13 Jul 2019 14:20:53 +0000 (16:20 +0200)]
Fix typo in sh-assignment-regexp
* lisp/progmodes/sh-script.el (sh-assignment-regexp): Fix typo in
bash regexp that inhibited fontification of stuff like foo.=bar
(bug#31710).
Lars Ingebrigtsen [Sat, 13 Jul 2019 14:03:24 +0000 (16:03 +0200)]
Mark ediff-before-session-group-setup-hooks as obsolete
* lisp/vc/ediff-mult.el (ediff-before-session-group-setup-hooks):
Mark this apparently unused variable as obsolete (bug#36618).
Lars Ingebrigtsen [Sat, 13 Jul 2019 13:23:38 +0000 (15:23 +0200)]
Add a way to more conveniently log/debug nnmail splitting
* doc/misc/gnus.texi (Fancy Mail Splitting): Mention it.
* lisp/gnus/nnmail.el (nnmail-debug-splitting): New variable.
* lisp/gnus/nnmail.el (nnmail-log-split): New function.
(nnmail-split-it): Use it.
Lars Ingebrigtsen [Sat, 13 Jul 2019 12:27:36 +0000 (14:27 +0200)]
Fix cl-defstruct doc string fix
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Remove sentence from
doc string that was left in by mistake when fixing the arglist
documentation.
Phil Sainty [Sat, 13 Jul 2019 11:58:14 +0000 (23:58 +1200)]
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Fix a docstring typo
Phil Sainty [Sat, 13 Jul 2019 11:43:26 +0000 (23:43 +1200)]
* lisp/so-long.el (so-long-variable-overrides): Improve doc
Explain the 'line-move-visual' and 'truncate-lines' values.
Phil Sainty [Sat, 13 Jul 2019 11:20:40 +0000 (23:20 +1200)]
* lisp/so-long.el (so-long-variable-overrides): Use correct bidi option
Set 'bidi-paragraph-direction' to 'left-to-right', rather than setting
'bidi-display-reordering' to nil, as the latter is only intended for
use when debugging the display code.
Michael Albinus [Sat, 13 Jul 2019 11:34:33 +0000 (13:34 +0200)]
; Fix formatting issue of last commit
Michael Albinus [Sat, 13 Jul 2019 11:33:10 +0000 (13:33 +0200)]
Make check for compression programs more robust in Tramp
* lisp/net/tramp-sh.el (tramp-inline-compress-start-size):
Revert change of init value. We fix this differently.
(tramp-find-inline-compress): Check also the output of the
processes, not only the return code.
Michael Albinus [Sat, 13 Jul 2019 11:30:35 +0000 (13:30 +0200)]
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Adapt docstring.
Michael Albinus [Sat, 13 Jul 2019 11:30:28 +0000 (13:30 +0200)]
; Some precisements in test/README
Eli Zaretskii [Sat, 13 Jul 2019 09:47:02 +0000 (12:47 +0300)]
Fix TTY menus in GUD and GDB-MI modes
* lisp/menu-bar.el (menu-bar-open): Accept a numerical
argument interactively, and drop down menu at that X
coordinate.
(popup-menu): Detect when MENU is not a list. (Bug#36613)
Eli Zaretskii [Sat, 13 Jul 2019 08:32:18 +0000 (11:32 +0300)]
Avoid loading mule-util at startup
* lisp/international/mule-util.el (char-displayable-p): Move
from here...
* lisp/international/mule.el (char-displayable-p): ...to
here. This avoids always loading mule-util at startup due
to a call to 'char-displayable-p' in
'startup--setup-quote-display'.
Eli Zaretskii [Sat, 13 Jul 2019 08:06:14 +0000 (11:06 +0300)]
Improve documentation of So Long mode
* doc/emacs/trouble.texi (Long Lines): Improve wording, add
indexing, mention the mode name and its main customization
options.
Stefan Kangas [Fri, 5 Jul 2019 18:53:53 +0000 (20:53 +0200)]
Fix looking up functions like "-e" in cperl-mode
* lisp/progmodes/cperl-mode.el (cperl-perldoc): Handle functions with
leading dash (e.g. "-f"). (Bug#6013)
Eli Zaretskii [Sat, 13 Jul 2019 07:21:38 +0000 (10:21 +0300)]
Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs
Eli Zaretskii [Sat, 13 Jul 2019 07:20:48 +0000 (10:20 +0300)]
Fix last commit
* etc/NEWS: Fix formatting and punctuation of last change.
* lisp/isearch.el (isearch-highlight-regexp)
(isearch-highlight-lines-matching-regexp): Doc fix.
Dima Kogan [Sun, 30 Jun 2019 17:37:53 +0000 (10:37 -0700)]
Add ability to highlight-lines-matching-regexp directly from Isearch
* lisp/isearch.el: Implement the new functionality.
(isearch-highlight-lines-matching-regexp): New function bound
to 'M-s h l' in isearch.
(isearch--highlight-regexp-or-lines): New internal function.
* etc/NEWS (Search and Replace): Mention this change.
* doc/emacs/search.texi (Special Isearch): Document 'M-s h l'.
(Bug#18241)
Phil Sainty [Sat, 13 Jul 2019 06:57:37 +0000 (18:57 +1200)]
Merge branch 'scratch/so-long'
Phil Sainty [Fri, 14 Jun 2019 04:51:26 +0000 (16:51 +1200)]
Add tests for so-long.el
Phil Sainty [Fri, 2 Nov 2018 01:51:21 +0000 (14:51 +1300)]
Add so-long library
* lisp/so-long.el: New library.
* doc/emacs/trouble.texi (Long Lines): New node covering so-long.el.
* doc/emacs/emacs.texi (Top): Add menu entry for the Long Lines node.
* etc/NEWS: Include under "New Modes and Packages in Emacs 27.1"
Paul Eggert [Sat, 13 Jul 2019 05:29:02 +0000 (22:29 -0700)]
Replace Vdead with tagged pointer
This speeds up ‘make compile-always’ by 0.1% on my platform.
Suggested by Pip Cet in:
https://lists.gnu.org/r/emacs-devel/2019-07/msg00257.html
* src/.gdbinit (pwinx, pgx, xbuffer, xprintstr):
Output dead_object () as "DEAD".
* src/alloc.c (Vdead, DEADP): Remove.
All uses replaced by dead_object () / deadp.
(deadp): New function.
(init_alloc_once_for_pdumper): Remove no-longer-needed
initialization.
* src/lisp.h (dead_object): New function.
Lars Ingebrigtsen [Sat, 13 Jul 2019 04:32:34 +0000 (06:32 +0200)]
Mention columns width variables in the buffer-menu doc string
* lisp/buff-menu.el (buffer-menu): Mention the variables that can
be used to change the columns widths (bug#36587).
Lars Ingebrigtsen [Sat, 13 Jul 2019 04:26:55 +0000 (06:26 +0200)]
Mention `M-n' for VALUE in the `set-variable' command
* lisp/simple.el (set-variable): Mention that the current variable
is accessible in `M-n' (bug#36586).
Lars Ingebrigtsen [Sat, 13 Jul 2019 04:12:42 +0000 (06:12 +0200)]
Mark the new vc-dir-delete command as documented
Lars Ingebrigtsen [Sat, 13 Jul 2019 04:10:29 +0000 (06:10 +0200)]
Add a new command in vc-dir mode to delete files
* doc/emacs/maintaining.texi (VC Directory Commands): Document it.
* lisp/vc/vc-dir.el (vc-dir-delete-files-no-vc): New command and
keystroke (bug#31732).