Lars Ingebrigtsen
c2e77ff89a
Revert "Make the debbugs groups also include robot messages"
...
This reverts commit 682eae776e .
The change made the bug# disappear from the Subject lines.
2019-11-02 15:37:14 +01:00
Lars Ingebrigtsen
682eae776e
Make the debbugs groups also include robot messages
...
* lisp/gnus/gnus-group.el (gnus-bug-group-download-format-alist):
Change the URL to also include robot messages.
2019-10-30 00:17:57 +01:00
Lars Ingebrigtsen
4367c296ce
Fix `G c' in Gnus group buffers for non-ASCII text
...
* lisp/gnus/gnus-cus.el (gnus-group-customize): Decoding is
superfluous here -- everything is utf-8 already.
(gnus-group-customize-done): Don't double-encode the text (bug#37901).
2019-10-28 15:10:51 +01:00
Lars Ingebrigtsen
2864c5201d
Be more permissive when interpreting IMAP mail headers
...
* lisp/gnus/nnimap.el (nnimap-transform-headers): Some mail
doesn't have space after the colon of the header name. Don't
ignore these.
2019-10-28 13:31:37 +01:00
Lars Ingebrigtsen
fcc427f356
Fix gnus-thread-hide-subtree defcustom
...
* lisp/gnus/gnus-sum.el (gnus-thread-hide-subtree): Make the
"Non-nil" predicate do what it's supposed to (i.e., return non-nil
on non-nil values (excepting predicates)) (bug#37916).
2019-10-25 12:41:36 +02:00
Lars Ingebrigtsen
5b111f85a2
Make Gnus recognise "git am" diffs in all groups
...
* lisp/gnus/mm-uu.el (mm-uu-diff-groups-regexp): Recognise diffs
in all groups (bug#32730).
2019-10-23 10:34:35 +02:00
Juanma Barranquero
41ba8231ef
lisp/*.el: Fix typos and improve some docstrings
...
* lisp/auth-source.el (auth-source-backend-parse-parameters)
(auth-source-search-collection)
(auth-source-secrets-listify-pattern)
(auth-source--decode-octal-string, auth-source-plstore-search):
* lisp/registry.el (registry-lookup)
(registry-lookup-breaks-before-lexbind)
(registry-lookup-secondary, registry-lookup-secondary-value)
(registry-search, registry-delete, registry-size, registry-full)
(registry-insert, registry-reindex, registry-prune)
(registry-collect-prune-candidates):
* lisp/subr.el (nbutlast, process-live-p):
* lisp/tab-bar.el (tab-bar-list):
* lisp/cedet/ede/linux.el (ede-linux--get-archs)
(ede-linux--include-path, ede-linux-load):
* lisp/erc/erc-log.el (erc-log-all-but-server-buffers):
* lisp/erc/erc-pcomplete.el (pcomplete-erc-commands)
(pcomplete-erc-ops, pcomplete-erc-not-ops, pcomplete-erc-nicks)
(pcomplete-erc-all-nicks, pcomplete-erc-channels)
(pcomplete-erc-command-name, pcomplete-erc-parse-arguments):
* lisp/eshell/em-term.el (eshell-visual-command-p):
* lisp/gnus/gnus-cache.el (gnus-cache-fully-p):
* lisp/gnus/nnmail.el (nnmail-get-active)
(nnmail-fancy-expiry-target):
* lisp/mail/mail-utils.el (mail-string-delete):
* lisp/mail/supercite.el (sc-hdr, sc-valid-index-p):
* lisp/net/ange-ftp.el (ange-ftp-use-smart-gateway-p):
* lisp/net/nsm.el (nsm-save-fingerprint-maybe)
(nsm-network-same-subnet, nsm-should-check):
* lisp/net/rcirc.el (rcirc-looking-at-input):
* lisp/net/tramp-cache.el (tramp-get-hash-table):
* lisp/net/tramp-compat.el (tramp-compat-process-running-p):
* lisp/net/tramp-smb.el (tramp-smb-get-share)
(tramp-smb-get-localname, tramp-smb-read-file-entry)
(tramp-smb-get-cifs-capabilities, tramp-smb-get-stat-capability):
* lisp/net/zeroconf.el (zeroconf-list-service-names)
(zeroconf-list-service-types, zeroconf-list-services)
(zeroconf-get-host, zeroconf-get-domain)
(zeroconf-get-host-domain):
* lisp/nxml/rng-xsd.el (rng-xsd-compile)
(rng-xsd-make-date-time-regexp, rng-xsd-convert-date-time):
* lisp/obsolete/erc-hecomplete.el (erc-hecomplete)
(erc-command-list, erc-complete-at-prompt):
* lisp/org/ob-scheme.el (org-babel-scheme-get-buffer-impl):
* lisp/org/ob-shell.el (org-babel--variable-assignments:sh-generic)
(org-babel--variable-assignments:bash_array)
(org-babel--variable-assignments:bash_assoc)
(org-babel--variable-assignments:bash):
* lisp/org/org-clock.el (org-day-of-week):
* lisp/progmodes/cperl-mode.el (cperl-char-ends-sub-keyword-p):
* lisp/progmodes/gud.el (gud-find-c-expr, gud-innermost-expr)
(gud-prev-expr, gud-next-expr):
* lisp/textmodes/table.el (table--at-cell-p, table--probe-cell)
(table--get-cell-justify-property)
(table--get-cell-valign-property)
(table--put-cell-justify-property)
(table--put-cell-valign-property): Fix typos.
* lisp/so-long.el (fboundp): Doc fix.
(so-long-mode-line-info, so-long-mode)
(so-long--check-header-modes): Fix typos.
* lisp/emulation/viper-mous.el (viper-surrounding-word)
(viper-mouse-click-get-word): Fix typos.
(viper-mouse-click-search-word): Doc fix.
* lisp/erc/erc-backend.el (erc-forward-word, erc-word-at-arg-p)
(erc-bounds-of-word-at-point): Fix typos.
(erc-decode-string-from-target, define-erc-response-handler):
Refill docstring.
* lisp/erc/erc-dcc.el (pcomplete/erc-mode/DCC): Fix typo.
(erc-dcc-get-host, erc-dcc-auto-mask-p, erc-dcc-get-file):
Doc fixes.
* lisp/erc/erc-networks.el (erc-network-name): Fix typo.
(erc-determine-network): Refill docstring.
* lisp/net/dbus.el (dbus-list-hash-table)
(dbus-string-to-byte-array, dbus-byte-array-to-string)
(dbus-check-event): Fix typos.
(dbus-introspect-get-property): Doc fix.
* lisp/net/tramp-adb.el (tramp-adb-file-name-handler):
Rename ARGS to ARGUMENTS. Doc fix.
(tramp-adb-sh-fix-ls-output, tramp-adb-execute-adb-command)
(tramp-adb-find-test-command): Fix typos.
* lisp/net/tramp.el (tramp-set-completion-function)
(tramp-get-completion-function)
(tramp-completion-dissect-file-name)
(tramp-completion-dissect-file-name1)
(tramp-get-completion-methods, tramp-get-completion-user-host)
(tramp-get-inode, tramp-get-device, tramp-mode-string-to-int)
(tramp-call-process, tramp-call-process-region)
(tramp-process-lines): Fix typos.
(tramp-interrupt-process): Doc fix.
* lisp/org/ob-core.el (org-babel-named-src-block-regexp-for-name)
(org-babel-named-data-regexp-for-name): Doc fix.
(org-babel-src-block-names, org-babel-result-names): Fix typos.
* lisp/progmodes/inf-lisp.el (lisp-input-filter): Doc fix.
(lisp-fn-called-at-pt): Fix typo.
* lisp/progmodes/xref.el (xref-backend-identifier-at-point):
Doc fix.
(xref-backend-identifier-completion-table): Fix typo.
2019-10-20 12:12:27 +02:00
Lars Ingebrigtsen
53774c4532
Remove some compat code from mm-url.el
...
* lisp/gnus/mm-url.el (mm-url-use-external): Remove old-Emacs
compat code.
2019-10-19 10:58:40 +02:00
Lars Ingebrigtsen
480a03ba8f
Remove compat code from nnbabyl.el
...
* lisp/gnus/nnbabyl.el (rmail): Remove old-Emacs compat code.
2019-10-19 10:57:33 +02:00
Robert Pluim
265061d4c2
Allow event description to be empty
...
The previous fix for this was incomplete.
* lisp/gnus/gnus-icalendar.el (gnus-icalendar-event->org-entry):
Allow description to be nil.
2019-10-16 08:14:49 +02:00
Robert Pluim
de063da61b
Correct some more custom type specs
...
* lisp/winner.el (winner-boring-buffers-regexp):
* lisp/progmodes/js.el (js-jsx-indent-level):
* lisp/image-dired.el (image-dired-external-viewer):
* lisp/gnus/nnir.el (nnir-notmuch-filter-group-names-function):
Correct custom type specification.
* lisp/textmodes/bibtex.el (bibtex-string-file-path):
(bibtex-file-path): Correct custom type specification and document
source of initial value.
2019-10-11 14:17:08 +02:00
Lars Ingebrigtsen
fcfe6e2797
Make nntp.el use new setq-local syntax
...
* lisp/gnus/nntp.el (nntp-make-process-buffer): Convert to new
setq-local syntax (as a test case).
2019-10-11 08:28:20 +02:00
Lars Ingebrigtsen
4d6c1260ea
Fix nnimap tick/readedness thinko introduced some weeks back
...
* lisp/gnus/nnimap.el (nnimap-request-set-mark): Fix thinko in the
tick/read change: Unticking a message shouldn't make it unread,
but ticking it should make it read.
2019-10-09 22:46:05 +02:00
Lars Ingebrigtsen
9c81149ae9
Make mml-secure-epg-sign bug out if we can't find an identity
...
* lisp/gnus/mml-sec.el (mml-secure-epg-sign): Bug out if we
couldn't find anything to sign with instead of silently pretending
to sign.
* lisp/gnus/mml-smime.el (mml-smime-epg-sign): Don't bind
inhibit-display because that makes debugging impossible.
2019-10-09 21:55:45 +02:00
Juanma Barranquero
9db9b0b12d
Fix typos in lisp/*.el
...
* lisp/emacs-lisp/generator.el (cps--with-value-wrapper)
(cps-inhibit-atomic-optimization, iter-close):
* lisp/gnus/nnir.el (nnir-imap-search-arguments)
(nnir-imap-search-argument-history, nnir-categorize)
(nnir-ignored-newsgroups)
(nnir-retrieve-headers-override-function)
(nnir-imap-default-search-key, nnir-namazu-additional-switches)
(gnus-group-make-nnir-group, nnir-add-result)
(nnir-compose-result, nnir-run-imap, nnir-imap-make-query)
(nnir-imap-query-to-imap, nnir-imap-expr-to-imap)
(nnir-imap-next-term, nnir-run-swish-e, nnir-run-namazu)
(nnir-read-parm, nnir-read-server-parm, nnir-search-thread):
Trivial doc fixes.
2019-10-09 06:15:46 +02:00
Eric Abrahamsen
2ff16a4837
Don't manipulate gnus-newsrc-alist if it hasn't been initalized
...
* lisp/gnus/gnus-group.el (gnus-group-set-info): Packages that use
Gnus summary mode without actually booting Gnus might end up in this
situation. See bug#36903
2019-10-04 15:14:28 -07:00
Eric Abrahamsen
ae76ce57cf
Gnus registry shutdown should also run the unload-hook
...
* lisp/gnus/gnus-registry.el (gnus-registry-clear): Clearing the
registry should also run the unload hooks.
(gnus-registry-article-marks-to-names,
gnus-registry-article-marks-to-chars): Now we can use a more general
test here.
2019-10-01 16:25:11 -07:00
Eric Abrahamsen
5fe2538d0b
Update calling convention for nnmaildir-close-server
...
* lisp/gnus/nnmaildir.el (nnmaildir-close-server): To take an optional
"defs" arg, as changed in 2712187 .
2019-09-30 12:30:31 -07:00
Stefan Monnier
2e08014859
* lisp/gnus/mm-uu.el: Use lexical-binding and cl-defstruct
...
(mm-uu-type-alist): Make functions visible to byte-compiler.
(mm-uu-entry): New defstruct.
(mm-uu-configure): Use mapconcat.
(mm-uu-dissect): Avoid setq on `func`.
2019-09-30 15:08:41 -04:00
Lars Ingebrigtsen
e7ee756f54
Fix problem with non-ASCII MML description strings
...
* lisp/gnus/mml.el (mml-insert-tag): Quote non-ASCII parameters.
(mml-insert-mime-headers): Make it possible to have non-ASCII
descriptions (bug#37555).
2019-09-30 17:13:10 +02:00
Lars Ingebrigtsen
224c51075d
Fix recent mm-uu.el typo
...
* lisp/gnus/mm-uu.el (mm-uu-pgp-signed-extract-1): Fix typo in
mm-uu introduced by previous patch.
2019-09-30 15:51:47 +02:00
Lars Ingebrigtsen
5d33839c3f
Refactor mm-decode and friends to be explicit about when errors happen
...
* lisp/gnus/mm-decode.el (mm-sec-status):
(mm-sec-error): New functions to handle decryption problems more
explicitly (bug#18393).
(mm-possibly-verify-or-decrypt): Use the `sec-error' data to
determine whether the operation failed or not.
* lisp/gnus/mml-smime.el: Ditto.
* lisp/gnus/mml2015.el: Used throughout.
2019-09-30 08:41:43 +02:00
Lars Ingebrigtsen
46eb6df453
Put new Gnus groups in the completion table
...
* lisp/gnus/gnus-start.el (gnus-group-change-level): Ensure that
all new groups are in gnus-active-hashtb so that they can be
completed to.
2019-09-29 12:38:44 +02:00
Lars Ingebrigtsen
e8db2f5141
Define nndraft-close-server according to new calling conventions
...
* lisp/gnus/nnoo.el (nnoo-define-basics-1): *-close-server now
takes a DEFS parameter (bug#20319).
2019-09-29 12:38:02 +02:00
Lars Ingebrigtsen
0695f5383f
Add new Gnus summary commands and keystrokes for "unseen" navigation
...
* doc/misc/gnus.texi (Choosing Commands): Document them.
* lisp/gnus/gnus-sum.el (gnus-summary-next-unseen-article)
(gnus-summary-prev-unseen-article): New commands and
keystrokes (bug#35213).
2019-09-29 09:56:31 +02:00
Lars Ingebrigtsen
bc94e2dd4b
Expunge INBOX messages after splitting
...
* lisp/gnus/nnimap.el (nnimap-split-incoming-mail): Expunge
articles after splitting (bug#37541).
2019-09-28 21:36:20 +02:00
Lars Ingebrigtsen
bb50aaa325
Clean up nnimap-split-incoming-mail slightly
...
* lisp/gnus/nnimap.el (nnimap-split-incoming-mail): Don't call
-delete-articles on empty lists (bug#37541).
2019-09-28 21:30:19 +02:00
Lars Ingebrigtsen
8cd2eee70a
Copy edit nnimap-expunge doc string
...
* lisp/gnus/nnimap.el (nnimap-expunge): Copy edit doc string.
2019-09-28 21:10:10 +02:00
Nikolaus Rath
9ba907a5fb
Run gnus-summary-prepare-exit-hook after flags have been updated
...
* lisp/gnus/gnus-sum.el (gnus-summary-exit): Gnus message flags
must be set before expiration, not afterwards (bug#21071).
2019-09-27 18:03:10 +02:00
Lars Ingebrigtsen
09879c82b2
gnus-thread-ignore-subject doc string clarification
...
* lisp/gnus/gnus-sum.el (gnus-thread-ignore-subject): Document
that when not ignoring subjects, sorting will not happen as
expected (bug#35513).
2019-09-27 16:54:59 +02:00
Lars Ingebrigtsen
0087ec959d
Fix reversed check in mm-possibly-verify-or-decrypt
...
* lisp/gnus/mm-decode.el (mm-possibly-verify-or-decrypt): Fix
reverse check thinko that made unverified singed messages not
display correctly.
2019-09-27 16:30:20 +02:00
Lars Ingebrigtsen
2712187032
Fix problem with changing to correct NNTP server
...
* lisp/gnus/nntp.el (nntp-close-server):
* lisp/gnus/nnimap.el (nnimap-close-server):
* lisp/gnus/gnus-int.el (gnus-close-server): Take an optional DEFS
parameter to enable switching to the correct nnoo server (bug#20319)
when there's two servers with the same address.
2019-09-27 02:17:14 +02:00
Nikolaus Rath
fd6f4bf648
nnimap.el: support additional expunge options
...
* lisp/gnus/nnimap.el (nnimap-close-group)
(nnimap-request-expire-articles, nnimap-delete-article)
(nnimap-request-scan): Add new 'never, 'immediate, and 'on-exit
settings for nnimap-expunge (bug#20670).
2019-09-27 01:39:13 +02:00
Lars Ingebrigtsen
ff8a72fbe0
Tweak updating of readedness marks on the IMAP server
...
* lisp/gnus/nnimap.el (nnimap-request-set-mark): Ensure that
ticking/unticking also toggles readedness on the IMAP server
(bug#22590).
2019-09-27 01:14:06 +02:00
Lars Ingebrigtsen
1a63e922e8
Fix nnir searching on nested Gnus topics
...
* lisp/gnus/nnir.el (gnus-group-make-nnir-group): On a topic line,
search all the groups, even in sub-topics (bug#28090).
2019-09-27 00:43:43 +02:00
Lars Ingebrigtsen
8e36ddfd44
Don't hard-code the RSS structure so much in nnrss
...
* lisp/gnus/nnrss.el (nnrss-get-namespace-prefix): Find the URL in
any section in the RSS (bug#34685).
2019-09-27 00:33:45 +02:00
Lars Ingebrigtsen
c4e0ccd151
mm-possibly-verify-or-decrypt should only issue errors when decrypting
...
* lisp/gnus/mm-decode.el (mm-possibly-verify-or-decrypt): Only do
the warning about failed decryption when we're handing encrypted
parts, not when doing verification.
2019-09-26 19:51:23 +02:00
Lars Ingebrigtsen
08fbe91dfe
Make mm-view-pkcs7-verify use epg if requested
...
* lisp/gnus/mm-view.el (mm-view-pkcs7-verify): Respect
mml-smime-use (bug#18393).
2019-09-26 16:32:13 +02:00
Lars Ingebrigtsen
84ef1ea8b5
Make it possible to view S/MIME verified emails
...
* lisp/gnus/mm-decode.el (mm-possibly-verify-or-decrypt): When
dissecting the result, we need a header (bug#18393).
* lisp/gnus/mm-view.el (mm-view-pkcs7-verify): Insert the verified
string.
* lisp/gnus/smime.el (smime-verify-region): Return the verified
string.
2019-09-26 16:24:29 +02:00
Lars Ingebrigtsen
8e46cf4ba8
Fix recent gnus-rescale-image change
...
* lisp/gnus/gnus-util.el (gnus-rescale-image): Don't bug out on
non-graphical Emacs versions.
2019-09-26 15:47:15 +02:00
Lars Ingebrigtsen
524a8eb730
Make gnus-rescale-image work on modern Emacs versions
...
* lisp/gnus/gnus-util.el (gnus-rescale-image): Make this work with
native image transforms.
2019-09-25 14:47:52 +02:00
Lars Ingebrigtsen
fc64a0c0e2
Rename "dumbquotes" to "smartquotes" in Gnus
...
* doc/misc/gnus.texi (Article Washing): Adjust documentation.
* etc/refcards/gnus-refcard.tex (subsection*{Notes}): Ditto
* lisp/gnus/gnus-art.el (gnus-article-smartquotes-map): Rename
from gnus-article-dumbquotes-map and add obsolete alias.
(article-treat-smartquotes): Ditto.
* lisp/gnus/gnus-sum.el (gnus-summary-make-menu-bar): Adjust menus.
2019-09-24 00:42:47 +02:00
Jan Beich
ac1507a8b6
mml-smime-openssl-sign): Use all the keys
...
* lisp/gnus/mml-smime.el (mml-smime-openssl-sign): Use all the
keys in `smime-keys' for this identifier (bug#17780).
2019-09-23 22:11:33 +02:00
Lars Ingebrigtsen
131b91c7b9
Fix regression in mm-possibly-verify-or-decrypt by previous patch
...
* lisp/gnus/mm-decode.el (mm-possibly-verify-or-decrypt): Remove debugging
2019-09-23 21:56:10 +02:00
Lars Ingebrigtsen
825fd4d341
Fix regression in mm-possibly-verify-or-decrypt by previous patch
...
* lisp/gnus/mm-decode.el (mm-possibly-verify-or-decrypt): Be less
strict about what's considered a success.
2019-09-23 21:55:27 +02:00
Lars Ingebrigtsen
8b8942da0b
Fix S/MIME continuation header when sending
...
* lisp/gnus/mml-smime.el (mml-smime-epg-sign): Fix continuation
header.
2019-09-23 21:51:28 +02:00
Lars Ingebrigtsen
4ce81556b7
Make mm-possibly-verify-or-decrypt pass decryption error
...
* lisp/gnus/mm-decode.el (mm-possibly-verify-or-decrypt): If
there's an error, report the error back in a new part (bug#25649).
2019-09-23 18:23:22 +02:00
Lars Ingebrigtsen
3f45c14035
Don't bug out on invalid addresses in mml-secure-check-user-id
...
* lisp/gnus/mml-sec.el (mml-secure-check-user-id): Don't bug out
on invalid addresses (bug#33613).
2019-09-23 17:34:41 +02:00
Lars Ingebrigtsen
abdc82c08f
Make "Show Hidden Headers" in Message buffers more obvious
...
* lisp/gnus/message.el (message-widen-and-recenter): New command
to ensure that we show most of the headers (bug#23252).
(message-mode-field-menu): Use it.
2019-09-23 13:24:44 +02:00
Hong Xu
4c1edb0228
Add different faces for different citation levels in Message mode
...
* message.el (message-font-lock-keywords)
(message-font-lock-make-cited-text-matcher): Add support for
different faces for different citation levels. The faces are
defined in the faces named `message-cited-text-N': N of the
Mth citation level will be M mod 4.
(message-cited-text-1, message-cited-text-2)
(message-cited-text-3, message-cited-text-4): Add customization
for the faces of 4 different citation level. In the future, the
number of faces may increase, as the code is flexible enough to
automatically deal with that.
(message-cite-level-function): Add a function to customize the
determination of cite levels given the prefix of the cited text
(bug#25022).
2019-09-23 13:09:48 +02:00