1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-12 14:30:42 -08:00
Commit graph

139567 commits

Author SHA1 Message Date
Filipp Gunbin
0b4eec3169 Check gnus-mailing-list-groups in turn-on-gnus-mailing-list-mode
* lisp/gnus/gnus-ml.el (turn-on-gnus-mailing-list-mode): Check also
gnus-mailing-list-groups variable.
2019-11-22 20:49:02 +03:00
Filipp Gunbin
6df8900af6 Make gnus-mailing-list-archive recognize https
* /lisp/gnus/gnus-ml.el (gnus-mailing-list-archive): Accept https in
regexp.
2019-11-22 20:37:27 +03:00
Filipp Gunbin
d3f0cf7404 Unify docstrings of Gnus summary's copy/move/crosspost article functions
* lisp/gnus/gnus-sum.el (gnus-summary-copy-article)
(gnus-summary-crosspost-article): Make docstrings refer to
gnus-summary-move-article.
2019-11-22 19:24:47 +03:00
dickmao
045cfbef09 Refix conditional step clauses in cl-loop
* lisp/emacs-lisp/cl-macs.el
(cl--loop-bindings, cl--loop-symbol-macs, cl-loop):
Add cl--loop-conditions, remove cl--loop-guard-cond.
(cl--push-clause-loop-body): Apply clause to both cl--loop-conditions
and cl--loop-body
(cl--parse-loop-clause): Use cl--push-clause-loop-body.
* test/lisp/emacs-lisp/cl-macs-tests.el (cl-macs-loop-and-assignment):
Use docstring.
(cl-macs-loop-for-as-arith): Removed expected failure.
(cl-macs-loop-conditional-step-clauses): Add some tests (bug#29799).
2019-11-22 15:53:58 +01:00
Eli Zaretskii
f373cec7f5 Fix uses of inhibit-message in package.el
* lisp/emacs-lisp/package.el (package-generate-autoloads)
(package--compile, package--save-selected-packages): Don't use
'inhibit-message' to bind 'noninteractive' and 'save-silently',
since 'inhibit-message' already disables all messages.
(Bug#38264)
2019-11-22 16:36:25 +02:00
Hong Xu
f9b8c74af1 font-lock special attributes in python-mode
* lisp/progmodes/python.el (python-font-lock-keywords-level-2): Add
special attributes (bug#38318).
2019-11-22 14:34:59 +01:00
Lars Ingebrigtsen
f5667953f7 Give better error messages in image-convert
* lisp/image/image-converter.el (image-convert): Make
image-convert bug out earlier on a wrong IMAGE-FORMAT value
(bug#38310).
2019-11-22 13:15:46 +01:00
João Távora
92fda5a7f9 Make auth-source-pass-search understand port lists
For cases such as a typical IMAP Gnus setup, auto-source-pass-search
is passed a list of "port aliases" like (993 "imaps" "imap" "993"
"143") in hopes of finding a matching ~/.password-store entry.

This modification makes this library understand and unroll the port
list so that, i.e. "domain:993", "domain:imaps"", "domain:imap",
etc. are computed as potential suffixes.  Previously a nonsensical
string "domain:(993 imaps imap ...)" was returned.

* lisp/auth-source-pass.el
(auth-source-pass--generate-entry-suffixes): Allow PORT to be a list
of ports.
2019-11-22 09:36:58 +00:00
Stefan Monnier
c5de861af1 * lisp/emacs-lisp/smie.el (smie-next-sexp): Fix bug#38255
Handle the case where the token is not in `smie-grammar`, either because
the caller is making an error, or because it's a paren-like token that's
not handled in the grammar but directly via the syntax tables.
2019-11-21 18:25:00 -05:00
Lars Ingebrigtsen
0420878026 Make `C-c C-w' insert a signature even when overridden
* lisp/gnus/message.el (message-insert-signature): When called
interactively, look harder for a signature to insert (bug#38289).
2019-11-22 00:20:02 +01:00
Stefan Monnier
20b1e959e0 * lisp/minibuffer.el (completions-common-part): Make it blue when possible 2019-11-21 17:53:02 -05:00
Stefan Monnier
81ab458aae * lisp/files.el (locate-file-completion-table): Fix typo 2019-11-21 17:39:38 -05:00
Thierry Volpiatto
86d8d95893
Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs 2019-11-21 21:01:53 +01:00
Thierry Volpiatto
5a62c4b49c
Add new variable to prevent flex completion style
matching spaces.  This allows flex style working smoothly with other
styles like helm using spaces.

* lisp/minibuffer.el (completion-flex-nospace): New user var.
(completion-flex-try-completion): Use it.
(completion-flex-all-completions): Same.
2019-11-21 20:48:17 +01:00
Wilson Snyder
6c9c45bfab When verilog-auto-ignore-concat is true, also ignore parenthesized signals.
* lisp/progmodes/verilog-mode.el (verilog-auto-ignore-concat): When
`verilog-auto-ignore-concat' is true, also ignore parenthesized
signals.
2019-11-21 14:38:09 -05:00
Eric Abrahamsen
03938ba381 Fix Gnus summary backtab keybindings to use button-based functions
* lisp/gnus/gnus-sum.el (gnus-summary-mode-map,
  gnus-summary-article-map): Backtab should call
  gnus-summary-button-backward, not gnus-summary-widget-backward.
2019-11-21 10:08:41 -08:00
Eli Zaretskii
4f6980ad6b Fix file notifications on macOS
* src/kqueue.c (Fkqueue_add_watch): Don't use encoded file
names in objects and APIs that expect decoded multibyte
strings.  (Bug#38287)
2019-11-21 16:39:15 +02:00
Eli Zaretskii
80b8a6093b Fix a recent change in ELisp manual
* doc/lispref/objects.texi (Special Read Syntax): Fix wording
of the last change: don't document #' twice.  (Bug#38278)
2019-11-21 16:35:58 +02:00
Eli Zaretskii
1110d14228 Support 'vc-region-history' for Mercurial
* lisp/vc/vc-hg.el (vc-hg-region-history)
(vc-hg-region-history-font-lock, vc-hg-region-history-mode):
New functions.
(vc-hg-region-history-mode-map)
(vc-hg--log-view-long-font-lock-keywords)
(vc-hg-region-history-font-lock-keywords): New variables.
* lisp/vc/vc-git.el (vc-git-region-history): Update commentary.

* doc/emacs/maintaining.texi (VC Change Log): Add
'vc-region-history' to the table at beginning of node.  Update
the VCSes that support 'vc-region-history'.

* etc/NEWS: Mention the new feature of vc-hg.el.
2019-11-21 16:07:19 +02:00
Lars Ingebrigtsen
4ba880e53b Fix up previous #' documentation addition
* doc/lispref/objects.texi (Special Read Syntax): Add an xref for
the #' (bug#38278).
2019-11-21 14:58:45 +01:00
Lars Ingebrigtsen
7ceb22e3e1 Document the #' syntax
* doc/lispref/objects.texi (Special Read Syntax): Document the #'
syntax (bug#38278).
2019-11-21 14:55:34 +01:00
Lars Ingebrigtsen
37999b2eec Restore point after sending a message
* lisp/gnus/message.el (message-send-and-exit): Restore point
after sending (bug#38303).
2019-11-21 14:32:56 +01:00
Lars Ingebrigtsen
bc4190b3f4 Make pp-buffer into a command
* lisp/emacs-lisp/pp.el (pp-buffer): Make into a command (bug#38306).
2019-11-21 14:09:32 +01:00
Lars Ingebrigtsen
4a13c2af9b Fix loading image-converter in the case where the type is passed in
* lisp/image.el (create-image): Load image-converter when
converting images (bug#38310).
2019-11-21 14:02:00 +01:00
Lars Ingebrigtsen
832bdaf6e5 Rewrite the image-convert doc string
* lisp/image/image-converter.el (image-convert): Clarify the
calling convention (bug#38310).
2019-11-21 13:59:37 +01:00
Dario Gjorgjevski
f13a4afde7 Hide quoted passwords with spaces in Authinfo
* lisp/auth-source.el (auth-source-netrc-looking-at-one): New
function, extracted from auth-source-netrc-parse-one.
(auth-source-netrc-parse-one, authinfo--hide-passwords): Use
auth-source-netrc-looking-at-one (bug#38311).
2019-11-21 13:51:55 +01:00
Michael Albinus
70b88adbe7 * lisp/net/tramp.el (tramp-unload-tramp): Do not enable ange-ftp. (Bug#38025) 2019-11-21 10:35:14 +01:00
Juri Linkov
1805b4cc08 * lisp/image.el: Mouse-wheel scaling on images (bug#38187)
* lisp/image.el (image-mouse-increase-size)
(image-mouse-decrease-size): New commands.
(image-map): Bind C-wheel-down and C-mouse-5 to
image-mouse-decrease-size, C-wheel-up and C-mouse-4 to
image-mouse-increase-size.
2019-11-21 00:59:49 +02:00
Paul Eggert
9ca40c4e70 * src/sysdep.c: Improve comment wording. 2019-11-20 11:57:17 -08:00
Paul Eggert
c928f41330 * etc/NEWS: Improve XDG_RUNTIME_DIR doc. 2019-11-20 11:28:32 -08:00
Michael Albinus
035931777b Add renaming of remote buffer file names to Tramp
* doc/misc/tramp.texi (Default User): Fix typo.
(Cleanup remote connections): Adapt arguments of
`tramp-cleanup-connection'.
(Renaming remote files): New node.
(Frequently Asked Questions): New item "How to save files when a
remote host isn't reachable anymore?".

* etc/NEWS: Add `tramp-rename-files' and `tramp-rename-these-files'.

* lisp/net/tramp-cmds.el (tramp-default-rename-alist)
(tramp-confirm-rename-file-names): New defcustoms.
(tramp-rename-read-file-name-dir)
(tramp-rename-read-file-name-init): New defsubsts.
(tramp-default-rename-file, tramp-rename-files)
(tramp-rename-these-files): New defuns.

* lisp/net/tramp-integration.el (ido, ivy): Integrate with them.
2019-11-20 13:45:30 +01:00
Lars Ingebrigtsen
5c5c1b5593 Make with-suppressed-warnings work for macros, too
* lisp/emacs-lisp/macroexp.el (macroexp-macroexpand): Pass the
macro/alias symbol on to byte-compile-warning-enabled-p so that
with-suppressed-warnings works for macros, too.
2019-11-20 12:28:43 +01:00
Robert Pluim
2709b1e4e5 Remove info references to gmane web search
* doc/misc/gnus.texi (Foreign Groups, Web Searches, What is nnir?):
(Setting up nnir, Associating Engines, The imap Engine):
(Customizations): Remove references to gmane web search.
2019-11-20 12:05:11 +01:00
Stephen Gildea
123c775aa7 Expand coverage of unit tests for time-stamp
* test/lisp/time-stamp-tests.el: Remove redundant word "test"
from the names of all the tests.
(time-stamp-custom-time-zone, time-stamp-custom-pattern,
time-stamp-custom-inserts-lines, time-stamp-custom-count,
time-stamp-helper-safe-locals): New tests
2019-11-19 21:27:13 -08:00
Paul Eggert
0fce8e9391 Make .pdmp file more reproducible
Problem reported by Ulrich Müller
<https://lists.gnu.org/r/emacs-devel/2019-11/msg00757.html>
and diagnosed by Andreas Schwab
<https://lists.gnu.org/r/emacs-devel/2019-11/msg00774.html>.
* src/sysdep.c (maybe_disable_address_randomization):
Disable ASLR if any kind of dumping, instead of merely if
unexec dumping.  Omit first arg for simplicity; all uses changed.
2019-11-19 18:27:10 -08:00
João Távora
aa79f4e8c6 * lisp/icomplete.el (icomplete-fido-kill): Unbreak yes-or-no-p usage
Discussed in the context of bug#19064, bug#17272.
2019-11-19 23:55:54 +00:00
Eli Zaretskii
a76a1d0c0b Ensure Rmail summary is updated after editing a message
* lisp/mail/rmailedit.el (rmail-cease-edit): If this mbox file
has a summary, update the summary after editing.  (Bug#38193)
2019-11-19 17:59:02 +02:00
Eli Zaretskii
6f30642973 Fix updating members of zip archives
* lisp/arc-mode.el (archive-zip-case-fiddle): Change the
default to nil except on MS-DOS.  Update the doc string to
make clear that a non-nil value also affects updating the
archive.  (Bug#38260)
2019-11-19 17:48:55 +02:00
Robert Pluim
bb1e7433cb ; Fix NEWS entry for network-lookup-address-info 2019-11-19 15:29:07 +01:00
Robert Pluim
b6db2ed1ea Remember the full GTK font description
Remember the full font description instead of just the family so that
size/style/weight settings are preserved.

* gtkutil.c (xg_get_font) [HAVE_GTK3]: Use the pango font
description to set/get the current font (Bug#28901).
2019-11-19 13:36:07 +01:00
Robert Pluim
cf0a76a438 Don't error when comparing IPv4 and IPv6 addresses
* lisp/net/nsm.el (nsm-network-same-subnet): Compare lengths of
local-ip and ip; different lengths can never match.
(nsm-should-check): Chop port off end of address.
2019-11-19 13:36:07 +01:00
Lars Ingebrigtsen
067a42f8dd Allow eww to display exotic images like webp
* lisp/image.el (image-type): Allow passing in the image type.
(create-image): Make conversion work with data in addition to files.

* lisp/image/image-converter.el (image-convert-p): Allow taking
working on data in addition to files (bug#38036).
(image-convert): Ditto.
(image-converter--convert): Extend signature to say whether we're
getting a file or data.
(image-converter--convert-magick): Convert data.
(image-converter--convert): Ditto.
2019-11-19 11:47:25 +01:00
Juanma Barranquero
49192e9510 Strip "(fn...)" from output of `describe-mode' (bug#38222)
* lisp/help.el (help--doc-without-fn): New function.
(describe-mode): Use it.
2019-11-19 11:18:48 +01:00
Michael Albinus
a15431ffe2 Merge branch 'master' of git.sv.gnu.org:/srv/git/emacs 2019-11-19 08:19:00 +01:00
Stefan Monnier
5bc97ebceb * lisp/org/org.el (org-mode): Add pcomplete-completions-at-point to capf.
This lets the normal `completion-at-point` and `complete-symbol`
use `pcomplete` for completion.

(org-mode-map): Leave M-TAB bound to the global default since
`pcomplete` is now obsolete.
2019-11-18 17:47:06 -05:00
Juri Linkov
da00577793 * lisp/tab-line.el (tab-line-auto-hscroll): New defcustom (bug#37667)
(tab-line-auto-hscroll): Use this option in the function.
2019-11-18 23:57:16 +02:00
Juri Linkov
3ba98fb1d7 * lisp/vc/ediff-util.el: Set this-command to ediff-quit (bug#38219)
* lisp/vc/ediff-util.el (ediff-toggle-read-only, ediff-quit):
Set this-command to the same command after using y-or-n-p
that doesn't guarantee to keep this-command unchanged
to check it later for some contrived logic.
2019-11-18 23:53:11 +02:00
Robert Pluim
ed52618e70 ; Fix previous commit 2019-11-18 16:36:21 +01:00
Robert Pluim
899bd78c4f Check for HAVE_GTK3 instead of a specific version
Our minimum GTK3 version is 3.10, the font filter functions appeared
in 3.2.

* gtkutil.c (xg_font_filter) [HAVE_GTK3]: Just check for HAVE_GTK3.
(xg_get_font) [HAVE_GTK3]: Same here.
2019-11-18 15:49:31 +01:00
Michael Albinus
3cc06d1abb * lisp/net/tramp.el (tramp-handle-file-regular-p): Improve error handling. 2019-11-18 15:33:21 +01:00