1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00
Commit graph

137528 commits

Author SHA1 Message Date
Lars Ingebrigtsen
ed29d9fe52 Add edebug specs for inline.el
* lisp/emacs-lisp/inline.el (inline-quote)
(inline-letevals): Add edebug specs (bug#31051).
2019-07-13 18:07:11 +02:00
Lars Ingebrigtsen
196ea8c4b3 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.
2019-07-13 17:48:53 +02:00
Lars Ingebrigtsen
6c6e4e8228 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.
2019-07-13 17:22:50 +02:00
Lars Ingebrigtsen
8620e07a35 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).
2019-07-13 17:18:11 +02:00
Lars Ingebrigtsen
e6b40fe511 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).
2019-07-13 17:13:12 +02:00
Lars Ingebrigtsen
82e799f71d 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("")
2019-07-13 17:00:29 +02:00
Lars Ingebrigtsen
5a90307351 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).
2019-07-13 16:49:23 +02:00
Lars Ingebrigtsen
d4c2b3ca64 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.
2019-07-13 16:44:03 +02:00
Lars Ingebrigtsen
5b1f5b4b7d 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.
2019-07-13 16:34:55 +02:00
Lars Ingebrigtsen
194f370a3d 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).
2019-07-13 16:20:53 +02:00
Lars Ingebrigtsen
28a02c2ac3 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).
2019-07-13 16:03:24 +02:00
Lars Ingebrigtsen
b2fd5fbfcc 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.
2019-07-13 15:23:38 +02:00
Lars Ingebrigtsen
67e2116160 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.
2019-07-13 14:27:36 +02:00
Phil Sainty
c87878af7d * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Fix a docstring typo 2019-07-13 23:58:14 +12:00
Phil Sainty
adf8e24cde * lisp/so-long.el (so-long-variable-overrides): Improve doc
Explain the 'line-move-visual' and 'truncate-lines' values.
2019-07-13 23:56:19 +12:00
Phil Sainty
c428aaf093 * 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.
2019-07-13 23:56:19 +12:00
Michael Albinus
f9b434f8e8 ; Fix formatting issue of last commit 2019-07-13 13:34:33 +02:00
Michael Albinus
4c4fcc51af 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.
2019-07-13 13:33:10 +02:00
Michael Albinus
9939e04404 * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Adapt docstring. 2019-07-13 13:30:35 +02:00
Michael Albinus
40743cbb73 ; Some precisements in test/README 2019-07-13 13:30:28 +02:00
Eli Zaretskii
127dadbb8c 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)
2019-07-13 12:47:02 +03:00
Eli Zaretskii
b2783ba6f4 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'.
2019-07-13 11:32:18 +03:00
Eli Zaretskii
bd962f7fd4 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.
2019-07-13 11:06:14 +03:00
Stefan Kangas
70225ecae1 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)
2019-07-13 10:39:42 +03:00
Eli Zaretskii
3b3e7da601 Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacs 2019-07-13 10:21:38 +03:00
Eli Zaretskii
6ca94eb749 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.
2019-07-13 10:20:48 +03:00
Dima Kogan
8abe170452 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)
2019-07-13 10:12:28 +03:00
Phil Sainty
862a8a74ea Merge branch 'scratch/so-long' 2019-07-13 18:57:37 +12:00
Phil Sainty
c1b4368809 Add tests for so-long.el 2019-07-13 18:51:55 +12:00
Phil Sainty
4ac905f88f 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"
2019-07-13 18:51:55 +12:00
Paul Eggert
04cbdde94d 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.
2019-07-12 22:29:57 -07:00
Lars Ingebrigtsen
13eaf86213 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).
2019-07-13 06:32:34 +02:00
Lars Ingebrigtsen
ea75c1a78b 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).
2019-07-13 06:26:55 +02:00
Lars Ingebrigtsen
a249b1fa33 Mark the new vc-dir-delete command as documented 2019-07-13 06:12:42 +02:00
Lars Ingebrigtsen
a3509a71c0 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).
2019-07-13 06:10:29 +02:00
Lars Ingebrigtsen
e04f7c62fc Add more spook.lines
* etc/spook.lines: Add Black Cube (bug#32309)
(https://en.wikipedia.org/wiki/Black_Cube).
2019-07-13 05:09:45 +02:00
Lars Ingebrigtsen
1b0d621f02 Document fix for cl-defstruct
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Document that we can
have a doc string (bug#32340).
2019-07-13 05:05:03 +02:00
Lars Ingebrigtsen
66620c46f0 Allow using wdired in all dired-derived modes
* lisp/wdired.el (wdired-change-to-wdired-mode): Allow using in
dired derived modes (bug#32392).  Suggested by James Nguyen.
2019-07-13 04:58:27 +02:00
Lars Ingebrigtsen
3e2e2aa450 Add some indices for regexp character classes
* doc/lispref/searching.texi (Char Classes): Add some concept
index entries for a handful of character classes (bug#32430).
2019-07-13 04:55:52 +02:00
Tino Calancha
4b73c0cde6 End predicate `dired-in-this-tree' with '-p'
* lisp/dired.el(dired-in-this-tree-p): Rename from `dired-in-this-tree'.
Add docstring.

(dired-in-this-tree): Define an alias to `dired-in-this-tree-p'.

(dired-buffers-for-dir)
* lisp/dired-aux.el (dired-tree-down, dired-kill-tree)
(dired-insert-subdir, dired-rename-subdir): Update all callers (bug#32892).
2019-07-13 04:03:50 +02:00
Lars Ingebrigtsen
936d074d7c Document format-spec and expand the modifiers it supports
* doc/lispref/text.texi (Interpolated Strings): New section.
* lisp/format-spec.el (format-spec--parse-modifiers)
(format-spec--pad): New functions.
(format-spec): Support more format modifiers (bug#32931).
2019-07-13 03:50:50 +02:00
Teemu Likonen
74579d3d2b Use the gpg --sender option
* lisp/epg.el (epg-start-encrypt)
* lisp/gnus/mml-sec.el (mml-secure-epg-encrypt): When
'mml-secure-openpgp-sign-with-sender' is non-nil message sender's
email address (in addition to its old behaviour) will also be used
to set gpg's "--sender email@domain" option.
2019-07-13 02:13:40 +02:00
Paul Eggert
d539d5868c * lib-src/make-docfile.c: Fix comment typo. 2019-07-12 16:58:25 -07:00
Lars Ingebrigtsen
1ed034b998 Always include the number of unexpected ert tests
* lisp/emacs-lisp/ert.el (ert-summarize-tests-batch-and-exit):
Always include the number of failed tests, because absence of the
text is not reassuring (bug#36616).
2019-07-13 01:55:25 +02:00
Lars Ingebrigtsen
99e8d6fc26 Fix long credentials when using auth in nnimap.el
* lisp/gnus/nnimap.el (nnimap-login): When base64-ing
credentials, don't let bsae64-encode-string split the result into
several lines, because servers do not understand that (bug#34458).
2019-07-13 01:31:24 +02:00
Lars Ingebrigtsen
655fe3fe0d Fix long credentials when using auth in url.el
* lisp/url/url-auth.el (url-basic-auth): When base64-ing
credentials, don't let bsae64-encode-string split the result into
several lines, because servers do not understand that (bug#36619).
2019-07-13 01:31:24 +02:00
Lars Ingebrigtsen
ebd3f61a56 Fold rfc2047 headers correctly when narrowed to header value
* lisp/mail/rfc2047.el (rfc2047-fold-region): Fold headers
correctly if narrowed to the header value.
2019-07-13 01:09:25 +02:00
Juri Linkov
38e420af45 * test/lisp/replace-tests.el (replace-tests-with-undo): Override
replace-highlight to emulate clobbering match-data (bug#36328).
2019-07-12 22:00:56 +03:00
Juri Linkov
391e8e530a * lisp/progmodes/compile.el (compilation-filter): `compilation--ensure-parse'
is used instead of `font-lock-ensure' (bug#36564).

* test/lisp/progmodes/compile-tests.el (compile-test-error-regexps)
(compile-test-grep-regexps): Check the number of errors.
2019-07-12 21:57:18 +03:00
Lars Ingebrigtsen
8179cbff9e Remove initial and trailing whitespace in message-fetch-field
* lisp/gnus/message.el (message-fetch-field): Remove initial and
trailing whitespace.
2019-07-12 16:07:43 +02:00