gnus
4 years agognus-util.el (iswitchb-mode): Declare
Glenn Morris [Sat, 9 May 2015 01:56:48 +0000 (01:56 +0000)]
gnus-util.el (iswitchb-mode): Declare

4 years agodgnushack.el (declare-function): Simplify
Katsumi Yamaoka [Thu, 7 May 2015 07:15:59 +0000 (07:15 +0000)]
dgnushack.el (declare-function): Simplify

4 years agodgnushack.el (declare-function): Ignore the definition defined in subr-fsf.el
Katsumi Yamaoka [Thu, 7 May 2015 06:02:13 +0000 (06:02 +0000)]
dgnushack.el (declare-function): Ignore the definition defined in subr-fsf.el

4 years agoSilence XEmacs when compiling
Katsumi Yamaoka [Thu, 7 May 2015 00:16:50 +0000 (00:16 +0000)]
Silence XEmacs when compiling

* dgnushack.el (declare-function): Redefine it to use autoload.
* lpath.el (gnus-html-prefetch-images): Declare.

4 years agoReplace instances of "(eval-when-compile (autoload ...))"
Glenn Morris [Tue, 5 May 2015 10:19:34 +0000 (10:19 +0000)]
Replace instances of "(eval-when-compile (autoload ...))"

* gnus-art.el (nneething-get-file-name): Declare rather than autoload.

* gnus-async.el (gnus-html-prefetch-images): Remove pointless autoload.

* gnus-sync.el (gnus-group-topic): Autoload at run-time.
(gnus-topic-create-topic, gnus-topic-enter-dribble):
Declare rather than autoload.

* mm-archive.el (gnus-recursive-directory-files)
(mailcap-extension-to-mime): Autoload at run-time.

* mm-util.el (latin-unity-massage-name)
(latin-unity-maybe-remap, latin-unity-representations-feasible-region)
(latin-unity-representations-present-region):
Declare rather than autoload.

* mml-smime.el (epg-make-context, epg-passphrase-callback-function):
Autoload at run-time.
(epg-context-set-signers, epg-context-result-for)
(epg-new-signature-digest-algorithm, epg-verify-result-to-string)
(epg-list-keys, epg-verify-string, epg-sign-string, epg-encrypt-string)
(epg-context-set-passphrase-callback, epg-sub-key-fingerprint)
(epg-configuration, epg-expand-group, epa-select-keys):
Declare rather than autoload.

* nnir.el (nnimap-change-group, nnimap-make-thread-query):
Autoload at run-time.
(gnus-group-topic-name, nnimap-buffer, nnimap-command)
(gnus-registry-get-id-key, gnus-registry-action):
Declare rather than autoload.

* nnmail.el (mail-send-and-exit): Autoload at run-time.

* spam.el (spam-stat-buffer-change-to-non-spam)
(spam-stat-buffer-change-to-spam, spam-stat-buffer-is-non-spam)
(spam-stat-buffer-is-spam, spam-stat-load, spam-stat-save)
(spam-stat-split-fancy): Remove pointless autoloads.

* mm-view.el (epg-decrypt-string): Autoload.
* mml-smime.el (epg-key-sub-key-list, epg-sub-key-capability)
(epg-sub-key-validity): Fix declarations.

4 years agoNew file
Katsumi Yamaoka [Sun, 3 May 2015 00:33:47 +0000 (00:33 +0000)]
New file

4 years agoDon't require Texinfo 5.0 for Emacs documentation
Eli Zaretskii [Sun, 3 May 2015 00:31:08 +0000 (00:31 +0000)]
Don't require Texinfo 5.0 for Emacs documentation

* docstyle.texi: Use "@set txicodequoteundirected" and
"@set txicodequotebacktick" instead of "@codequotebacktick on" and
"@codequoteundirected on", respectively, to avoid requiring
Texinfo 5.x for Emacs documentation.

4 years agoFix single-quoting style in PDF manuals
Paul Eggert [Sun, 3 May 2015 00:29:02 +0000 (00:29 +0000)]
Fix single-quoting style in PDF manuals

The PDF versions of the GNU manuals used curved single quotes to
represent grave accent and apostrophe, which made it a pain to cut
and paste code examples from them.  Fix the PDF versions to use
grave accent and apostrophe for Lisp source code, keystrokes, etc.
This change does not affect the info files, nor does it affect
ordinary uses of curved single quotes in PDF.

* docstyle.texi: New file, which specifies treatment for grave accent
and apostrophe, as well as the document encoding.

* auth.texi, emacs-mime.texi, epa.texi, gnus-coding.texi:
* gnus-faq.texi, gnus.texi, message.texi, sasl.texi, sieve.texi:
Use it instead of '@documentencoding UTF-8', to lessen the need for
global changes like this in the future.

4 years agoMa Gnus v0.14 is begun
Lars Magne Ingebrigtsen [Fri, 1 May 2015 13:59:16 +0000 (15:59 +0200)]
Ma Gnus v0.14 is begun

4 years agoMa Gnus v0.13 is released
Lars Magne Ingebrigtsen [Fri, 1 May 2015 13:59:13 +0000 (15:59 +0200)]
Ma Gnus v0.13 is released

4 years agoFunction declaration updates prompted by 'make check-declare'
Glenn Morris [Fri, 1 May 2015 03:32:22 +0000 (03:32 +0000)]
Function declaration updates prompted by 'make check-declare'

* gnus-util.el (iswitchb-read-buffer):
* mm-decode.el (libxml-parse-html-region):
* mml.el (libxml-parse-html-region):
* nnrss.el (libxml-parse-html-region): Update declaration.

4 years agomessage.el (gnus-extract-address-components): Remove bogus declaration that was maski...
Glenn Morris [Mon, 27 Apr 2015 22:16:45 +0000 (22:16 +0000)]
message.el (gnus-extract-address-components): Remove bogus declaration that was masking previous problem

4 years agohashcash.el (mail-add-payment): Remove debugger entry
Katsumi Yamaoka [Sun, 26 Apr 2015 22:08:17 +0000 (22:08 +0000)]
hashcash.el (mail-add-payment): Remove debugger entry

4 years agoRevert previous change
Lars Magne Ingebrigtsen [Sat, 25 Apr 2015 13:19:03 +0000 (15:19 +0200)]
Revert previous change

(hashcash-insert-payment-async-2): Revert previous change because it
still means that the mark is moving around.

4 years agoUse letf instead of cl-letf for XEmacs compat
Lars Magne Ingebrigtsen [Sat, 25 Apr 2015 12:46:20 +0000 (14:46 +0200)]
Use letf instead of cl-letf for XEmacs compat

* hashcash.el (hashcash-insert-payment-async-2): Save the mark when
altering the buffer.

4 years agoFix fallout from `save-excursion' changes
Lars Magne Ingebrigtsen [Sat, 25 Apr 2015 12:44:07 +0000 (14:44 +0200)]
Fix fallout from `save-excursion' changes

* hashcash.el (hashcash-insert-payment-async-2): Save the mark when
altering the buffer.

4 years agoClean up gnus-uu saving code slightly
Lars Magne Ingebrigtsen [Wed, 15 Apr 2015 22:45:02 +0000 (22:45 +0000)]
Clean up gnus-uu saving code slightly

* gnus-uu.el (gnus-uu-save-article): Make the
save-restriction/widen calls make more sense.

4 years agolisp/ChangeLog: Fix last commit
Katsumi Yamaoka [Tue, 14 Apr 2015 03:39:32 +0000 (03:39 +0000)]
lisp/ChangeLog: Fix last commit

4 years agoCatch the invalid-operation that idna.el will issue
Katsumi Yamaoka [Tue, 14 Apr 2015 03:34:11 +0000 (03:34 +0000)]
Catch the invalid-operation that idna.el will issue

* gnus-art.el (gnus-use-idna):
* gnus-sum.el (gnus-summary-idna-message):
* message.el (message-use-idna):
Catch the invalid-operation that idna.el will issue.

4 years ago(gnus-group--setup-tool-bar-update): Fix last change
Stefan Monnier [Tue, 14 Apr 2015 01:53:40 +0000 (01:53 +0000)]
(gnus-group--setup-tool-bar-update): Fix last change

* gnus-group.el (gnus-group--setup-tool-bar-update):
cursor-sensor-functions should be a list of functions.

4 years agolpath.el: Bind cursor-sensor-mode for XEmacs
Katsumi Yamaoka [Tue, 14 Apr 2015 00:03:06 +0000 (00:03 +0000)]
lpath.el: Bind cursor-sensor-mode for XEmacs

4 years agolpath.el: Fbind cursor-sensor-mode for XEmacs
Katsumi Yamaoka [Mon, 13 Apr 2015 23:45:02 +0000 (23:45 +0000)]
lpath.el: Fbind cursor-sensor-mode for XEmacs

4 years agognus-topic.el (gnus-topic-mode): Use gmm-called-interactively-p
Katsumi Yamaoka [Mon, 13 Apr 2015 23:42:06 +0000 (23:42 +0000)]
gnus-topic.el (gnus-topic-mode): Use gmm-called-interactively-p

4 years agoMisc changes in gnus-group.el and gnus-topic.el
Stefan Monnier [Mon, 13 Apr 2015 22:18:12 +0000 (22:18 +0000)]
Misc changes in gnus-group.el and gnus-topic.el

* gnus-group.el (gnus-tmp-*): Declare.
(gnus-update-group-mark-positions): Remove unused `topic' var.
(gnus-group-insert-group-line): Remove unused var `header'.
(gnus-group--setup-tool-bar-update): New function.
(gnus-group-insert-group-line): Use it.
(gnus-group-update-eval-form): Declare local
dynamically-bound variables.
(gnus-group-unsubscribe-group): Use \` and \' to match string bounds.

* gnus-topic.el (gnus-topic-jump-to-topic)
(gnus-group-prepare-topics, gnus-topic-update-topic)
(gnus-topic-change-level, gnus-topic-catchup-articles)
(gnus-topic-remove-group, gnus-topic-delete, gnus-topic-indent):
Use inhibit-read-only.
(gnus-topic-prepare-topic): Use gnus-group--setup-tool-bar-update.
(gnus-topic-mode): Use define-minor-mode and derived-mode-p.

4 years agolpath.el: Bind syntax-propertize-function for Emacs<=23, fbind string-to-syntax for...
Katsumi Yamaoka [Mon, 13 Apr 2015 03:54:20 +0000 (03:54 +0000)]
lpath.el: Bind syntax-propertize-function for Emacs<=23, fbind string-to-syntax for XEmacs

4 years agomessage.el (message-mode): Don't use `setq-local' in Gnus code
João Távora [Sun, 12 Apr 2015 22:43:57 +0000 (22:43 +0000)]
message.el (message-mode): Don't use `setq-local' in Gnus code

This might break upstream builds with older Emacsen

4 years agognus-sum.el (gnus-summary-refer-thread): Don't clobber unread articles
Johan Bockgård [Sun, 12 Apr 2015 22:40:46 +0000 (22:40 +0000)]
gnus-sum.el (gnus-summary-refer-thread): Don't clobber unread articles

This fixes a bug where `A T' causes "random" articles to become marked
as read.

4 years agomessage.el: Improve sexp-based movement in message-mode
João Távora [Sun, 12 Apr 2015 13:17:08 +0000 (13:17 +0000)]
message.el: Improve sexp-based movement in message-mode

Works by giving citations and smileys a different syntax.  This helps
modes like `show-paren-mode', `electric-pair-mode', and C-M-*
sexp-based movement.
* message.el (message--syntax-propertize): New function.
(message-mode): Set syntax-related vars.
(message-smileys): New variable.

4 years agoMinor quoting etc. fixes to misc manuals
Paul Eggert [Sun, 12 Apr 2015 00:44:44 +0000 (00:44 +0000)]
Minor quoting etc. fixes to misc manuals

Fix some minor quoting and spacing issues.  Distinguish more
clearly among grave accent and apostrophe (which are ASCII) and
single quote (which is not).  Prefer the standard terms
"apostrophe" and "grave accent" to alternative names that can be
confusing.  Use apostrophes to single-quote ASCII text.

4 years agognus-art.el (gnus-hidden-properties): Simplify
Stefan Monnier [Fri, 10 Apr 2015 04:40:49 +0000 (04:40 +0000)]
gnus-art.el (gnus-hidden-properties): Simplify

4 years agodeuglify.el: Adjust to renamed ChangeLog history files
Paul Eggert [Tue, 7 Apr 2015 09:56:06 +0000 (09:56 +0000)]
deuglify.el: Adjust to renamed ChangeLog history files

4 years agodgnushack.el (define-obsolete-function-alias): Redefine for XEmacs
Katsumi Yamaoka [Mon, 6 Apr 2015 23:07:56 +0000 (23:07 +0000)]
dgnushack.el (define-obsolete-function-alias): Redefine for XEmacs

4 years agortree.el: Use American spelling for 'normalize'
Paul Eggert [Mon, 6 Apr 2015 11:31:05 +0000 (11:31 +0000)]
rtree.el: Use American spelling for 'normalize'

4 years agognus-art.el (gnus-article-browse-html-parts): Make external links absolute and cid...
Katsumi Yamaoka [Fri, 3 Apr 2015 03:17:27 +0000 (03:17 +0000)]
gnus-art.el (gnus-article-browse-html-parts): Make external links absolute and cid file names relative

4 years agolisp/ChangeLog (2015-04-01): Fix file name
Katsumi Yamaoka [Wed, 1 Apr 2015 04:55:27 +0000 (04:55 +0000)]
lisp/ChangeLog (2015-04-01): Fix file name

4 years agoFix registry pruning routine
Eric Abrahamsen [Mon, 30 Mar 2015 07:12:40 +0000 (15:12 +0800)]
Fix registry pruning routine

* lisp/registry.el (registry-prune): Re-use `registry-full' in
  `registry-prune'.  It's a bit of redundant work, but safer.  Also
  ensure that target-size is an integer.

* lisp/ChangeLog:  Log.

4 years agoplstore.el (plstore--decrypt): Clear entry in `plstore-passphrase-alist' if decryptio...
Daiki Ueno [Tue, 31 Mar 2015 12:42:30 +0000 (12:42 +0000)]
plstore.el (plstore--decrypt): Clear entry in `plstore-passphrase-alist' if decryption failed (bug#20030)

4 years agolisp/ChangeLog (2015-03-28): Fix file name
Katsumi Yamaoka [Sun, 29 Mar 2015 13:33:20 +0000 (13:33 +0000)]
lisp/ChangeLog (2015-03-28): Fix file name

4 years agoFix missing quotes in post-receive script
Andreas Schwab [Tue, 10 Mar 2015 22:12:29 +0000 (23:12 +0100)]
Fix missing quotes in post-receive script

* post-receive (generate_email_header): Add quotes around values in
export.

4 years agoAdd "Display HTML images" to "Display" menu.
Adam Sjøgren [Sat, 28 Mar 2015 15:38:55 +0000 (16:38 +0100)]
Add "Display HTML images" to "Display" menu.

4 years agoDocument gnus-block-private-groups.
Adam Sjøgren [Sat, 28 Mar 2015 15:35:17 +0000 (16:35 +0100)]
Document gnus-block-private-groups.

4 years agolisp/ChangeLog: Add log for 4196f8fc4237ddd8099d54fbc1f5b0bac802f2ed
Eric Abrahamsen [Tue, 24 Mar 2015 22:11:46 +0000 (22:11 +0000)]
lisp/ChangeLog: Add log for 4196f8fc4237ddd8099d54fbc1f5b0bac802f2ed

4 years agoDon't split imap messages back into original group
Eric Abrahamsen [Wed, 18 Feb 2015 09:51:37 +0000 (17:51 +0800)]
Don't split imap messages back into original group

* lisp/nnimap.el (nnimap-split-incoming-mail): If a message is already
  in the group it should be split to, don't re-copy it into the group.

4 years agonnmh.el (nnmh-request-expire-articles): Work for the case nnmail-expiry-target is...
Ben Bacarisse [Mon, 23 Mar 2015 22:21:54 +0000 (22:21 +0000)]
nnmh.el (nnmh-request-expire-articles): Work for the case nnmail-expiry-target is an nnmh group (bug#20170)

4 years agoUse slot names in references to object slot values
Eric Abrahamsen [Sat, 21 Mar 2015 13:57:08 +0000 (21:57 +0800)]
Use slot names in references to object slot values

* registry.el (registry-lookup-secondary, registry-full,
  registry-prune, registry-collect-prune-candidates):

* gnus-registry.el (gnus-registry-load): Use slot names rather than
  initarg names in `oref' and `oset'.

Continuation of 3db33f4

4 years agoAllow registry to reach full size before pruning
Eric Abrahamsen [Thu, 19 Mar 2015 05:42:43 +0000 (13:42 +0800)]
Allow registry to reach full size before pruning

* lisp/registry.el (registry-prune): Compare current size to max-size,
  not post-prune target size.

4 years agoregistry.el: Fix call to cl-subseq
Eric Abrahamsen [Thu, 19 Mar 2015 05:37:38 +0000 (13:37 +0800)]
registry.el: Fix call to cl-subseq

* lisp/registry.el (registry-collect-prune-candidates): Earlier
  versions of cl-subseq would, if you asked for a subsequence longer
  than the sequence itself, pad its result with `nil's. It now errors,
  so don't ask it to do that.

4 years agoSpacing and punctuation fixes
Paul Eggert [Wed, 18 Mar 2015 05:01:47 +0000 (05:01 +0000)]
Spacing and punctuation fixes

4 years agoregistry.el (registry-db): Fix last change
Katsumi Yamaoka [Wed, 11 Mar 2015 23:34:36 +0000 (23:34 +0000)]
registry.el (registry-db): Fix last change

4 years agoregistry.el (registry-db): Temporary fix old Emacsen compilation
Katsumi Yamaoka [Wed, 11 Mar 2015 23:01:33 +0000 (23:01 +0000)]
registry.el (registry-db): Temporary fix old Emacsen compilation

4 years ago* registry.el (registry-db): Don't oset-default an instance slot.
Stefan Monnier [Wed, 11 Mar 2015 22:09:25 +0000 (22:09 +0000)]
* registry.el (registry-db): Don't oset-default an instance slot.

* gnus-registry.el (gnus-registry-handle-action)
(gnus-registry-post-process-groups): Don't add-to-list on a local var.
(gnus-registry-keywords): Make it do something.
(gnus-registry-import-eld): Remove unused var `new-entry'.
(gnus-registry-action): Remove unused var `to-name'.
(gnus-registry-make-db): Prefer `make-instance' to avoid
compiler warnings.
(gnus-registry-load, gnus-registry-fixup-registry): Avoid `oset'.

4 years agomessage.el (message-valid-fqdn-regexp): Bump :version
Glenn Morris [Wed, 11 Mar 2015 00:09:07 +0000 (00:09 +0000)]
message.el (message-valid-fqdn-regexp): Bump :version

4 years agoReplace x-focus-frame kludge by calling gnus-select-frame-set-input-focus.
Adam Sjøgren [Sun, 8 Mar 2015 19:23:39 +0000 (20:23 +0100)]
Replace x-focus-frame kludge by calling gnus-select-frame-set-input-focus.

Fixes XEmacs compilation issue, really, I hope.

4 years ago*registry.el: Use slot names rather than initarg names
Stefan Monnier [Sun, 8 Mar 2015 10:01:22 +0000 (10:01 +0000)]
*registry.el: Use slot names rather than initarg names

4 years agoFix for compilation on XEmacs of commit 4c012447.
Adam Sjøgren [Sat, 7 Mar 2015 22:47:18 +0000 (23:47 +0100)]
Fix for compilation on XEmacs of commit 4c012447.

4 years agoFixup of previous commit de5278e5. "I should have done as Katsumi
Adam Sjøgren [Sat, 7 Mar 2015 22:07:07 +0000 (23:07 +0100)]
Fixup of previous commit de5278e5. "I should have done as Katsumi
suggested from the start".

4 years agognus-notification.el: Add mark as read
rasmus [Sat, 7 Mar 2015 17:12:41 +0000 (18:12 +0100)]
gnus-notification.el: Add mark as read

* gnus-notifications.el (gnus-notifications-action): Allow mark as read.
  (gnus-notifications-notify): Show uption to mark as read.

4 years agognus-notifications: Raise frame when clicking Read
rasmus [Sat, 7 Mar 2015 17:10:03 +0000 (18:10 +0100)]
gnus-notifications: Raise frame when clicking Read

* gnus-notifications.el (gnus-notifications-action): Raise window
  frame.

4 years agoMake %F fall back to email address in message-citation-line-format.
Adam Sjøgren [Wed, 25 Feb 2015 20:49:25 +0000 (21:49 +0100)]
Make %F fall back to email address in message-citation-line-format.

* message.el (message-insert-formatted-citation-line): Change %F to
fall back to email address if no first name could be determined.

4 years agoFix point motion when removing displayed MIME part
Katsumi Yamaoka [Thu, 26 Feb 2015 06:38:44 +0000 (06:38 +0000)]
Fix point motion when removing displayed MIME part

* gnus-art.el (gnus-mime-inline-part, gnus-mm-display-part):
Fix point motion when removing displayed MIME part.

4 years agolisp/ChangeLog: Fix typo
Katsumi Yamaoka [Thu, 26 Feb 2015 03:29:07 +0000 (03:29 +0000)]
lisp/ChangeLog: Fix typo

4 years agoImprove parts deletion and stripping behavior
Katsumi Yamaoka [Thu, 26 Feb 2015 03:24:28 +0000 (03:24 +0000)]
Improve parts deletion and stripping behavior

* gnus-art.el (gnus-article-edit-part): Make jumping to the next part
really work when deleting or stripping.
(gnus-mime-buttonize-attachments-in-header): Make header attachment
buttons identical to the one in the article body so as to work deleting
and stripping.

4 years agoRevert my bogus changes (2014-06-05)
Katsumi Yamaoka [Wed, 25 Feb 2015 02:39:26 +0000 (02:39 +0000)]
Revert my bogus changes (2014-06-05)

* mm-decode.el (mm-shr)
* mm-view.el (mm-inline-text-html-render-with-w3m):
Revert my bogus change that made the start marker of a part
the "moves after insertion" type.

4 years agoFix SCRAM-SHA-1 SASL mechanism
Magnus Henoch [Mon, 23 Feb 2015 09:42:10 +0000 (09:42 +0000)]
Fix SCRAM-SHA-1 SASL mechanism

The symbol used in sasl-mechanism-alist needs to match the name that
can be required.  Move sasl-make-mechanism call to end of file, to
ensure that it can refer to the specified step functions.

* sasl.el (sasl-mechanism-alist): Refer to sasl-scram-rfc
instead of sasl-scram-sha-1, as the former is the name that can be
required.

* sasl-scram-rfc.el (sasl-scram-sha-1-steps)
(sasl-scram-sha-1-client-final-message)
(sasl-scram-sha-1-authenticate-server): Move to end of file.

4 years agoauth.texi (Multiple GMail accounts with Gnus): Spelling fixes
Paul Eggert [Mon, 23 Feb 2015 09:30:57 +0000 (09:30 +0000)]
auth.texi (Multiple GMail accounts with Gnus): Spelling fixes

4 years agoSupport PDF Tools for PDF viewing of attachments
Tassilo Horn [Mon, 23 Feb 2015 09:19:00 +0000 (10:19 +0100)]
Support PDF Tools for PDF viewing of attachments

* mailcap.el (mailcap-mime-data): Support `pdf-view-mode' (from PDF
Tools: https://github.com/politza/pdf-tools) for viewing PDF
attachments in emacs.

4 years agognus-art.el (gnus-mime-display-single): Avoid "End of buffer" error
Katsumi Yamaoka [Mon, 23 Feb 2015 02:40:10 +0000 (02:40 +0000)]
gnus-art.el (gnus-mime-display-single): Avoid "End of buffer" error

4 years agolisp/ChangeLog: Spelling fixes
Paul Eggert [Sun, 22 Feb 2015 22:08:57 +0000 (22:08 +0000)]
lisp/ChangeLog: Spelling fixes

4 years agonnimap.el (nnimap-get-groups): Fix XEmacs compilation
Katsumi Yamaoka [Wed, 18 Feb 2015 23:05:15 +0000 (23:05 +0000)]
nnimap.el (nnimap-get-groups): Fix XEmacs compilation

4 years agoHandle unquoted IMAP group names
Eric Abrahamsen [Wed, 18 Feb 2015 22:22:57 +0000 (22:22 +0000)]
Handle unquoted IMAP group names

* nnimap.el (nnimap-get-groups): Correctly read unquoted group names
from the server LIST response.

4 years agoHandle unquoted IMAP group names
Eric (clem) [Sat, 14 Feb 2015 10:39:10 +0000 (18:39 +0800)]
Handle unquoted IMAP group names

* lisp/nnimap.el (nnimap-get-groups): Correctly read unquoted group
  names from the server LIST response.

4 years agonnimap.el (nnimap-retrieve-headers): Remove trailing whitespace
Katsumi Yamaoka [Mon, 16 Feb 2015 01:10:06 +0000 (01:10 +0000)]
nnimap.el (nnimap-retrieve-headers): Remove trailing whitespace

4 years agosasl-scram-rfc.el (sasl-cl-coerce, sasl-cl-mapcar-many, sasl-cl-map, sasl-string...
Katsumi Yamaoka [Mon, 16 Feb 2015 01:07:43 +0000 (01:07 +0000)]
sasl-scram-rfc.el (sasl-cl-coerce, sasl-cl-mapcar-many, sasl-cl-map, sasl-string-prefix-p): New compatibility functions

4 years agoImplement SCRAM-SHA-1 SASL mechanism
Magnus Henoch [Mon, 16 Feb 2015 01:06:27 +0000 (01:06 +0000)]
Implement SCRAM-SHA-1 SASL mechanism

Fixes: debbugs:17636

* sasl.el (sasl-mechanisms): Remove SCRAM-MD5.
Add SCRAM-SHA-1 first.
(sasl-mechanism-alist): Remove SCRAM-MD5 entry.  Add SCRAM-SHA-1
entry (bug#17636).

4 years agosasl-scram-rfc.el: New file
Magnus Henoch [Mon, 16 Feb 2015 01:02:42 +0000 (01:02 +0000)]
sasl-scram-rfc.el: New file

4 years agoAvoid compilation error on Emacs 23
Lars Magne Ingebrigtsen [Sun, 15 Feb 2015 04:50:31 +0000 (15:50 +1100)]
Avoid compilation error on Emacs 23

* gnus-compat.el (process-live-p): Added new compat function for Emacs
23.

4 years agoDon't mark nnimap articles as read on a server hangup
Lars Magne Ingebrigtsen [Sat, 14 Feb 2015 05:42:41 +0000 (16:42 +1100)]
Don't mark nnimap articles as read on a server hangup

* nnimap.el (nnimap-retrieve-headers): If the server closes connection
during header retrieval, error out instead of interpreting the data in
the buffer as the only messages there.  This way, we don't mark
articles as read on a server hangup (bug#19035).

4 years agoRevert previous patch
Lars Magne Ingebrigtsen [Sat, 14 Feb 2015 05:26:12 +0000 (16:26 +1100)]
Revert previous patch

(let ((url-news-server "news.gmane.org"))
  (url-retrieve-synchronously  "news:87y4p9y2cq.fsf@violet.siamics.net"))

works fine for me

4 years agoMake `url-retrieve-synchronously' work again with news:
Ivan Shmakov [Sat, 14 Feb 2015 05:24:08 +0000 (16:24 +1100)]
Make `url-retrieve-synchronously' work again with news:

* nntp.el (nntp-open-server): Set variables in the correct buffer
(bug#19583).

4 years agoFix inserting parts with `E' in Gnus
Lars Magne Ingebrigtsen [Sat, 14 Feb 2015 05:01:20 +0000 (16:01 +1100)]
Fix inserting parts with `E' in Gnus

* lisp/mm-decode.el (mm-head-p): New function.
(mm-display-part): Go to a blank line when inserting parts internally.

4 years agoBuffer-local warning fix
Lars Magne Ingebrigtsen [Fri, 13 Feb 2015 07:28:23 +0000 (18:28 +1100)]
Buffer-local warning fix

* gnus-msg.el (gnus-msg-mail): Don't let-bind `gnus-newsgroup-name' so
that we don't get a warning when setting the buffer-local variable
(bug#19573).

4 years agoAllow expiring nnimap to a group again
Lars Magne Ingebrigtsen [Fri, 13 Feb 2015 06:23:09 +0000 (17:23 +1100)]
Allow expiring nnimap to a group again

* nnmail.el (nnmail-expiry-target-group): Supply the info structure to
`gnus-request-group'.

4 years agognus-art.el (gnus-article-browse-html-save-cid-content, gnus-article-browse-html...
Katsumi Yamaoka [Thu, 12 Feb 2015 09:39:20 +0000 (09:39 +0000)]
gnus-art.el (gnus-article-browse-html-save-cid-content, gnus-article-browse-html-parts): Make cid file names relative if and only if html doesn't specify <base> directory

4 years agoDon't buttonize URLs in HTML
Lars Magne Ingebrigtsen [Wed, 11 Feb 2015 04:50:11 +0000 (15:50 +1100)]
Don't buttonize URLs in HTML

* lisp/gnus-art.el (gnus-treat-buttonize): Don't re-buttonize URLs in HTML
parts, because that breaks filling (since buttons are in a bold face).

4 years agomm-decode.el: Fix previous commit
Katsumi Yamaoka [Tue, 10 Feb 2015 08:09:00 +0000 (08:09 +0000)]
mm-decode.el: Fix previous commit

4 years agomm-decode.el: Fix previous commit
Katsumi Yamaoka [Tue, 10 Feb 2015 07:52:57 +0000 (07:52 +0000)]
mm-decode.el: Fix previous commit

4 years agomm-decode.el: Allow using variable-width fonts in eww
Lars Magne Ingebrigtsen [Tue, 10 Feb 2015 06:53:06 +0000 (06:53 +0000)]
mm-decode.el: Allow using variable-width fonts in eww

4 years agoauth.texi (Multiple GMail accounts with Gnus): Markup fix
Glenn Morris [Thu, 5 Feb 2015 22:08:24 +0000 (22:08 +0000)]
auth.texi (Multiple GMail accounts with Gnus): Markup fix

4 years agognus-start.el: always check newsrc timestamp when saving it.
Ted Zlatanov [Thu, 5 Feb 2015 10:58:12 +0000 (05:58 -0500)]
gnus-start.el: always check newsrc timestamp when saving it.

* gnus-start.el (gnus-save-newsrc-file-check-timestamp): Remove
variable; always check the newrc timestamp.
(gnus-save-newsrc-file): Always check timestamp.

4 years ago* auth.texi (Multiple GMail accounts with Gnus): Add FAQ.
Ted Zlatanov [Thu, 5 Feb 2015 10:50:56 +0000 (05:50 -0500)]
* auth.texi (Multiple GMail accounts with Gnus): Add FAQ.

4 years agoPop up an error buffer if a mail script fails
Timo Lilja [Thu, 5 Feb 2015 06:30:12 +0000 (17:30 +1100)]
Pop up an error buffer if a mail script fails

* mail-source.el (mail-source-call-script): If scripts exit with an
error, pop up an error buffer.

4 years agoAdd X-GM-LABELS to `gnus-extra-headers'
Lars Magne Ingebrigtsen [Thu, 5 Feb 2015 04:42:27 +0000 (15:42 +1100)]
Add X-GM-LABELS to `gnus-extra-headers'

* gnus-sum.el (gnus-extra-headers): Add the popular Gmail X-GM-LABELS
as a default.

4 years agoFurther `M-g' group fixes
Lars Magne Ingebrigtsen [Thu, 5 Feb 2015 03:10:08 +0000 (14:10 +1100)]
Further `M-g' group fixes

* nnimap.el (nnimap-request-group-scan): Ensure that we've selected the
correct server.

4 years agoMake `M-g' in the group buffer work again
Vincent Bernat [Thu, 5 Feb 2015 03:06:01 +0000 (14:06 +1100)]
Make `M-g' in the group buffer work again

* gnus-int.el (gnus-request-group-scan): Use the correct function name.

* nnimap.el (nnimap-request-group-scan): Fix the function name.

4 years ago* gnus.texi (Using IMAP): Fix menu node name.
Lars Magne Ingebrigtsen [Thu, 5 Feb 2015 02:59:20 +0000 (13:59 +1100)]
* gnus.texi (Using IMAP): Fix menu node name.

4 years agoDocument Gmail labels
Trevor Murphy [Thu, 5 Feb 2015 02:35:39 +0000 (13:35 +1100)]
Document Gmail labels

* gnus.texi (Support for IMAP Extensions): Document the Gmail label
extension.

4 years agoNore X-GM-LABELS
Lars Magne Ingebrigtsen [Thu, 5 Feb 2015 02:31:18 +0000 (13:31 +1100)]
Nore X-GM-LABELS

4 years agonnimap group selection fix
Lars Magne Ingebrigtsen [Thu, 5 Feb 2015 02:28:02 +0000 (13:28 +1100)]
nnimap group selection fix

* gnus-sum.el (gnus-select-newsgroup): Pass the group info along so
that nnimap works for non-activated backends.

4 years agomm-util.el (mm-with-unibyte-current-buffer): Don't emit a warning
Stefan Monnier [Wed, 4 Feb 2015 22:32:33 +0000 (22:32 +0000)]
mm-util.el (mm-with-unibyte-current-buffer): Don't emit a warning

We already get an obsolescence message.  Use `declare'.

4 years agolisp/ChangeLog fixes
Katsumi Yamaoka [Wed, 4 Feb 2015 05:45:04 +0000 (05:45 +0000)]
lisp/ChangeLog fixes