summaryrefslogtreecommitdiff
path: root/lisp/gnus
Commit message (Collapse)AuthorAgeFilesLines
* Remove overly broad element from default mail-dont-reply-to-namesGlenn Morris2017-02-131-1/+1
| | | | | | | | * lisp/mail/mail-utils.el (mail-dont-reply-to): Do not include just "user@" in mail-dont-reply-to-names, and simplify. Ref: lists.gnu.org/archive/html/help-gnu-emacs/2017-02/msg00049.html * lisp/gnus/message.el (message-dont-reply-to-names): Doc fix. * doc/misc/message.texi (Wide Reply): Tiny fix re dont-reply-to-names.
* Fix non-ASCII text encoding (bug#25658)Katsumi Yamaoka2017-02-131-7/+15
| | | | | * lisp/gnus/mm-bodies.el (mm-encode-body): Fix non-ASCII text encoding (bug#25658).
* Make mm-shr use mail-parse-charset by defaultKatsumi Yamaoka2017-02-091-9/+10
| | | | | * lisp/gnus/mm-decode.el (mm-shr): Use mail-parse-charset by default. This helps an html message with no charset spec to be decoded.
* Ensure that Gnus bugs show up in the Emacs trackerLars Ingebrigtsen2017-02-071-1/+1
| | | | | * lisp/gnus/gnus.el (gnus-bug-package): Include Emacs in the package spec.
* Revert "Don't tag Gnus bugs with "gnus""Lars Ingebrigtsen2017-02-072-1/+9
| | | | | | This reverts commit b6fa58072304c2a24f1fe8a0e06a4739a7f8211b. The debbugs syntax requires a package name
* Revert "DOn't use string-as-unibyte in Gnus"Lars Ingebrigtsen2017-02-017-24/+17
| | | | | | | This reverts commit d1c931009004aef847105b7bac6b6ffafd985b82. Not all the cases where we had string-as-unibyte were characters, so this needs to be considered more thoroughly before being redone.
* DOn't use string-as-unibyte in GnusLars Ingebrigtsen2017-01-317-17/+24
| | | | | | | | | | | | | | | | | | | | | | | * lisp/gnus/nnmail.el (nnmail-parse-active): Don't use string-as-unibyte. (nnmail-insert-xref): Ditto. * lisp/gnus/canlock.el (canlock-make-cancel-key): Ditto. * lisp/gnus/gnus-art.el (gnus-article-browse-html-parts): Ditto. * lisp/gnus/gnus-srvr.el (gnus-browse-foreign-server): Ditto. (gnus-browse-foreign-server): Ditto. (gnus-browse-foreign-server): Ditto. * lisp/gnus/gnus-start.el (gnus-update-active-hashtb-from-killed): Ditto. (gnus-read-newsrc-el-file): Ditto. * lisp/gnus/mml.el (mml-generate-mime-1): Ditto. * lisp/gnus/nnir.el (nnir-get-active): Ditto. (nnir-get-active): Ditto.
* Allow C-s C-w to yank ' to the search ring in the Gnus article bufferJuri Linkov2017-01-311-3/+4
| | | | | | * lisp/gnus/gnus-art.el (gnus-article-mode-syntax-table): Make M-. in article buffers work for `foo' strings, and still allow C-s C-w to yank ' to the search ring (bug#22248).
* Subject: Check Bcc after the Messag hook has runYuri D'Elia2017-01-281-1/+1
| | | | | | * lisp/gnus/message.el (message-send): If the hook modifies the message (mml tags or headers), we should check bcc on the final message, not on the original.
* Fix charsets and encodings from non-file MIME partsLars Ingebrigtsen2017-01-271-19/+26
| | | | | * lisp/gnus/mml.el (mml-generate-mime-1): Get the charsets and encoding right for parts that do not originate from files.
* Fix Message check for bogus domain namesLars Ingebrigtsen2017-01-271-1/+1
| | | | | * lisp/gnus/message.el (message-make-fqdn): Fix check for bogus system names (bug#24570).
* Subject: Restore correct Gnus newsgroup name after sending messageØyvind Stegard2017-01-271-1/+2
| | | | | | | * lisp/gnus/gnus-msg.el (gnus-msg-mail): Set the value of gnus-newsgroup-name in the correct buffer (bug#24329). Copyright-paperwork-exempt: yes
* Don't try to find charsets of non-text MIME partsLars Ingebrigtsen2017-01-271-5/+1
| | | | | | | | * lisp/gnus/mml.el (mml-generate-mime-1): It seems nonsensical to try to determine the charset of non-text message parts, so skip that (bug#24190). This will also remove messages like "bunzip2ing /tmp/acsb.cpio.bz2...done" while sending messages if you include such files.
* Add new command gnus-article-sort-by-marksLars Ingebrigtsen2017-01-271-0/+18
| | | | | | | | | | | | * doc/misc/gnus.texi (Summary Sorting): Mention gnus-summary-sort-by-marks. * lisp/gnus/gnus-sum.el (gnus-article-sort-by-marks): New function (bug#23393). (gnus-thread-sort-by-marks): Ditto. (gnus-summary-sort-by-mark): New command suggested by Dan Jacobson. (gnus-summary-mode-map): Add keystroke. (gnus-summary-make-menu-bar): Add to menu.
* Make `C-h b' work correctly in Gnus article buffer (bug#18257)Katsumi Yamaoka2017-01-261-2/+6
| | | | | | * lisp/gnus/gnus-art.el (gnus-article-describe-bindings): Ignore summary commands that aren't bound to gnus-article-read-summary-keys keys (bug#18257).
* Fix crossposting in non-primary groupsLars Ingebrigtsen2017-01-261-14/+18
| | | | | | | * lisp/gnus/message.el (message-cross-post-followup-to-header): Gnus server prefixes shouldn't be included in the group names (bug#21661). (message-cross-post-followup-to): Ditto.
* Fill too long mail headersLars Ingebrigtsen2017-01-261-0/+11
| | | | | | | * lisp/gnus/message.el (message--fold-long-headers): New function to fold too-long headers (bug#21608). (message-send-mail): Use it to fill headers longer than 998 characters (which is the protocol limit).
* Make nndoc more resilient against corrupted filesLars Ingebrigtsen2017-01-261-8/+12
| | | | | | * lisp/gnus/nndoc.el (nndoc-possibly-change-buffer): Don't bug out on invalid files, like invalid .gz files (bug#21538). This may hinder Gnus from starting up.
* Respect buffer-local message-fcc-handler-functionLars Ingebrigtsen2017-01-261-0/+1
| | | | | | * lisp/gnus/message.el (message-do-fcc): Copy the local variables from the Message buffer so that local settings of `message-fcc-handler-function' etc are respected (bug#21174).
* (message-do-fcc): Modernise the code slightly.Lars Ingebrigtsen2017-01-261-11/+6
| | | | * lisp/gnus/message.el (message-do-fcc): Modernise the code slightly.
* Avoid a regexp overflow in message-goto-bodyLars Ingebrigtsen2017-01-261-3/+13
| | | | | | * lisp/gnus/message.el (message-goto-body-1): Avoid using a complicated backtracking regexp, because they may overflow on large headers (bug#21160).
* Refactor message-goto-bodyLars Ingebrigtsen2017-01-261-3/+4
| | | | * lisp/gnus/message.el (message-goto-body-1): Refactor out for reuse.
* Fix typo in last checkinLars Ingebrigtsen2017-01-261-2/+2
| | | | | * lisp/gnus/nnimap.el (nnimap-shell-program): Document nnimap-shell-program (bug#20651).
* Document nnimap-shell-programLars Ingebrigtsen2017-01-261-1/+5
| | | | | * lisp/gnus/nnimap.el (nnimap-shell-program): Document nnimap-shell-program (bug#20651).
* Gnus doc clarificationLars Ingebrigtsen2017-01-261-1/+4
| | | | | * lisp/gnus/gnus-sum.el (gnus-summary-save-article): Mention the gnus-prompt-before-saving variable (bug#20500).
* Fix the previous mml patch betterLars Ingebrigtsen2017-01-261-3/+2
| | | | | * lisp/gnus/mml.el (mml-minibuffer-read-file): Fix the previous patch in a better way (bug#20480).
* Give a slight better error message in mml-minibuffer-read-fileLars Ingebrigtsen2017-01-261-1/+3
| | | | | * lisp/gnus/mml.el (mml-minibuffer-read-file): Give a slightly better error message when the user enters nothing (bug#20480).
* Allow mml-attach-file to prompt lessLars Ingebrigtsen2017-01-261-4/+15
| | | | | | * lisp/gnus/mml.el (mml-attach-file): If given a prefix, don't prompt for type/description/disposition, but use defaults (bug#19202).
* Don't allow message-newline-and-reformat to be run outside the bodyLars Ingebrigtsen2017-01-261-0/+2
| | | | | * lisp/gnus/message.el (message-newline-and-reformat): Error out if run outside the body of a message (bug#18820).
* Revert "Bind C-c keys in the article buffer"Lars Ingebrigtsen2017-01-251-1/+0
| | | | | | This reverts commit 6b4195f2ace1f6328c5a833fde40f39babef4fa6. The commit somehow lead to problems in other parts of Emacs.
* Fix the %P (line number) thing in Gnus summary buffersLars Ingebrigtsen2017-01-252-3/+3
| | | | | | | * lisp/gnus/gnus-salt.el (gnus-pick-line-number): Remove hack. * lisp/gnus/gnus-sum.el (gnus-summary-read-group-1): Reset the "pick" mode line number on entry instead of relying in a hack (bug#18311).
* Bind C-c keys in the article bufferLars Ingebrigtsen2017-01-251-0/+1
| | | | | | | * lisp/gnus/gnus-art.el (gnus-article-mode-map): Also bind the C-c keys so that they execute in the summary buffer (bug#18257). This makes commands like `C-c C-f' work from the article buffer.
* Don't mark articles in Gnus as displayed when they aren'tLars Ingebrigtsen2017-01-251-0/+3
| | | | | | * lisp/gnus/gnus-sum.el (gnus-summary-read-group-1): Don't mark any articles as selected if we're not selecting any articles (bug#18255).
* Only save .newsrc file if the native method is NNTPLars Ingebrigtsen2017-01-251-2/+7
| | | | | | | * lisp/gnus/gnus-start.el (gnus-save-newsrc-file): Only save the .newsrc file if the native select method is NNTP (bug#18198). This avoids problems with invalid IMAP group names and the like in the .newsrc file.
* Gnus custom spec fixLars Ingebrigtsen2017-01-251-1/+6
| | | | | * lisp/gnus/gnus-art.el (gnus-signature-limit): Fix customize spec to match the doc string (bug#17679).
* Clarify confusing Gnus error messageLars Ingebrigtsen2017-01-251-1/+1
| | | | | * lisp/gnus/gnus-topic.el (gnus-topic-unindent): Clarify confusing error message (bug#17677).
* Make C-u C-x m work with Message as documentedLars Ingebrigtsen2017-01-251-23/+21
| | | | | * lisp/gnus/message.el (message-mail): Respect the CONTINUE parameter (bug#17175).
* Attach text files correctly in MessageLars Ingebrigtsen2017-01-251-12/+17
| | | | | | * lisp/gnus/mml.el (mml-generate-mime-1): Detect which coding system has been used in attached text files, and don't try to do any encoding of these files (bug#13808).
* Revert "nnimap.el: support additional expunge options"Lars Ingebrigtsen2017-01-251-50/+37
| | | | | | | | | | | | This reverts commit 4e9baea6aba1633074889339dcc7cdc9d73880d3. The patch broke fetching new mail: Debugger entered--Lisp error: (error "Format specifier doesn’t match argument type") format("%d .*\n" (t ("OK" ("HIGHESTMODSEQ" "914696") "Expunge" "completed.") ("VANISHED" "1825937") ("0" "RECENT"))) (looking-at (format "%d .*\n" sequence)) (not (looking-at (format "%d .*\n" sequence))) (progn (while (and (not (bobp)) (progn (forward-line -1) (looking-at "\\*\\|[0-9]+ OK NOOP")))) (not (looking-at (format "%d .*\n" sequence))))
* nnimap.el: support additional expunge optionsNikolaus Rath2017-01-251-37/+50
| | | | | | | * 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).
* Don't tag Gnus bugs with "gnus"Lars Ingebrigtsen2017-01-252-9/+1
| | | | | | | * lisp/gnus/gnus-msg.el (gnus-bug): Remove the bug package tags. * lisp/gnus/gnus.el (gnus-bug-package): Removed; Gnus doesn't have its own package any more in the bug tracker.
* Fix last change of dd80ee6 (was: mm-uu.el: Don't dissect patch part)Katsumi Yamaoka2017-01-131-2/+1
|
* mm-uu.el: Don't dissect patch partKatsumi Yamaoka2017-01-131-0/+2
| | | | | | | | This fixes a bug that the patch part is broken in the article <87inpjzhpb.fsf@users.sourceforge.net> in the bug-gnu-emacs list. * lisp/gnus/mm-uu.el (mm-uu-dissect-text-parts): Don't dissect patch part.
* Remove garbage from Content-Transfer-Encoding value (bug#25420)Katsumi Yamaoka2017-01-124-9/+8
| | | | | | | | | | | | | | | | | * lisp/mail/ietf-drums.el (ietf-drums-strip-cte): New function. (ietf-drums-remove-garbage): New function. (ietf-drums-remove-whitespace): Remove CR as well. * lisp/mail/mail-parse.el (mail-header-strip-cte): Alias to ietf-drums-strip-cte. * lisp/gnus/gnus-art.el (article-decode-charset): * lisp/gnus/gnus-sum.el (gnus-summary-enter-digest-group): * lisp/gnus/mm-decode.el (mm-dissect-buffer): * lisp/gnus/nndoc.el (nndoc-decode-content-transfer-encoding) (nndoc-rfc822-forward-generate-article): * lisp/mh-e/mh-mime.el (mh-decode-message-body): Replace mail-header-strip with mail-header-strip-cte.
* Avoid add-to-list on local variablesStefan Monnier2017-01-042-55/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/gnus/nnir.el: Use lexical-binding and cl-lib. (nnir-retrieve-headers): Use pcase. (nnir-search-thread): Avoid add-to-list on local variables. * lisp/gnus/smime.el: Use lexical-binding and cl-lib. (smime-verify-region): Avoid add-to-list on local variables. * lisp/mail/undigest.el: Use lexical-binding and cl-lib. (rmail-digest-parse-mime, rmail-digest-rfc1153) (rmail-digest-parse-rfc934): Avoid add-to-list on local variable. * lisp/net/ldap.el (ldap-search): Move init into declaration. * lisp/net/newst-backend.el (newsticker--cache-add): Avoid add-to-list on local variables; Simplify code with `assq'. * lisp/net/zeroconf.el: Use lexical-binding and cl-lib. (dbus-debug): Remove declaration, unused. (zeroconf-service-add-hook, zeroconf-service-remove-hook) (zeroconf-service-browser-handler, zeroconf-publish-service): Avoid add-to-list and *-hook on local variables. * lisp/org/org-archive.el (org-all-archive-files): * lisp/org/org-agenda.el (org-agenda-get-restriction-and-command): Avoid add-to-list on local variables. * lisp/org/ox-publish.el (org-publish--run-functions): New function. (org-publish-projects): Use it to avoid run-hooks on a local variable. (org-publish-cache-file-needs-publishing): Avoid add-to-list on local variables. * lisp/progmodes/ada-prj.el: Use setq instead of (set '...). (ada-prj-load-from-file): Avoid add-to-list on local variables. * lisp/progmodes/ada-xref.el (ada-initialize-runtime-library): Simplify. (ada-gnat-parse-gpr, ada-parse-prj-file-1) (ada-xref-find-in-modified-ali): Avoid add-to-list on local variables. * lisp/progmodes/idlw-shell.el (idlwave-shell-update-bp-overlays): Avoid add-to-list on local variables.
* Remove mistakenly-added filesPaul Eggert2017-01-013-1274/+0
| | | | | | | | | | | | | Problem reported by Glenn Morris in: http://lists.gnu.org/archive/html/emacs-devel/2017-01/msg00008.html * lisp/gnus/gnus-ems.el, lisp/gnus/gnus-sync.el: * lisp/gnus/messcompat.el, lisp/nxml/nxml-glyph.el: * lisp/nxml/nxml-uchnm.el, lisp/obsolete/awk-mode.el: * lisp/obsolete/iso-acc.el, lisp/obsolete/iso-insert.el: * lisp/obsolete/iso-swed.el, lisp/obsolete/resume.el: * lisp/obsolete/scribe.el, lisp/obsolete/spell.el: * lisp/obsolete/swedish.el, lisp/obsolete/sym-comp.el: Remove files that were added by mistake during a merge.
* Update copyright year to 2017 in masterPaul Eggert2017-01-011-1/+1
| | | | | | Run admin/update-copyright in the master branch. This fixes files that were not already fixed in the emacs-25 branch before it was merged here.
* Merge from origin/emacs-25Paul Eggert2017-01-01105-102/+1376
|\ | | | | | | | | 2e2a806 Fix copyright years by hand 5badc81 Update copyright year to 2017
| * Update copyright year to 2017Paul Eggert2016-12-31130-130/+130
| | | | | | | | Run admin/update-copyright.
* | Remove a use of lexical-letMark Oteiza2016-12-271-1/+1
| | | | | | | | | | * lisp/gnus/message.el (message-completion-function): Just use let, since the file now uses lexical-binding.