gnus
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

4 years agoRevert "Enable non-ASCII IMAP searches."
Eric Abrahamsen [Wed, 4 Feb 2015 02:57:57 +0000 (10:57 +0800)]
Revert "Enable non-ASCII IMAP searches."

This reverts commit 046825b09ff6e23ec7dfacd451d10985615b9793
and 987ca3fadf9af986110df9fe0cf003f56362dd03.

More research needed on search term encoding for various imap servers.

4 years agognus-registry.el: Tweak recent gnus-registry.el changes
Glenn Morris [Fri, 30 Jan 2015 09:05:39 +0000 (09:05 +0000)]
gnus-registry.el: Tweak recent gnus-registry.el changes

Ref: http://lists.gnu.org/archive/html/emacs-devel/2014-12/msg01748.html

4 years agoetc/images/splash.*: Splash images refurbished
Francesc Rocher [Fri, 30 Jan 2015 04:36:55 +0000 (04:36 +0000)]
etc/images/splash.*: Splash images refurbished

4 years agomm-decode.el (mm-display-external): Spelling fix
Paul Eggert [Fri, 30 Jan 2015 04:09:34 +0000 (04:09 +0000)]
mm-decode.el (mm-display-external): Spelling fix

4 years agolisp/ChangeLog: Synch with Emacs trunk
Katsumi Yamaoka [Fri, 30 Jan 2015 01:40:55 +0000 (01:40 +0000)]
lisp/ChangeLog: Synch with Emacs trunk

4 years agoMake it possible to enter nnimap groups again
Lars Magne Ingebrigtsen [Thu, 29 Jan 2015 11:06:47 +0000 (22:06 +1100)]
Make it possible to enter nnimap groups again

(nnimap-request-group): Revert previous patch since that made it
impossible to enter nnimap groups.

4 years agonnimap group activation problems fixed
Lars Magne Ingebrigtsen [Thu, 29 Jan 2015 08:09:00 +0000 (19:09 +1100)]
nnimap group activation problems fixed

* nnimap.el (nnimap-request-group): Allow running this function on
groups that don't exist in Gnus yet.

4 years agoMake non-standard mail header separators work with smtpmail
Lars Magne Ingebrigtsen [Thu, 29 Jan 2015 01:46:25 +0000 (12:46 +1100)]
Make non-standard mail header separators work with smtpmail

* lisp/message.el (message-smtpmail-send-it): Remove the mail header
separator before sending.

4 years agonnimap.el (nnimap-find-expired-articles): nnimap `never' expiration fix
Elias Oltmanns [Wed, 28 Jan 2015 07:01:53 +0000 (07:01 +0000)]
nnimap.el (nnimap-find-expired-articles): nnimap `never' expiration fix

4 years agonnimap group request bug fix
Lars Magne Ingebrigtsen [Wed, 28 Jan 2015 05:11:54 +0000 (16:11 +1100)]
nnimap group request bug fix

* lisp/nnimap.el (nnimap-request-group): Clear the buffer before returning
the data.

4 years agognus-compat.el (string-bytes): Replace encode-coding-string with mm-encode-coding...
Katsumi Yamaoka [Tue, 27 Jan 2015 13:58:55 +0000 (13:58 +0000)]
gnus-compat.el (string-bytes): Replace encode-coding-string with mm-encode-coding-string

4 years agognus-compat.el (string-bytes): Work for XEmacs
Katsumi Yamaoka [Tue, 27 Jan 2015 08:50:44 +0000 (08:50 +0000)]
gnus-compat.el (string-bytes): Work for XEmacs

4 years ago* lisp/gnus-compat.el (fboundp): Avoid compilation error on XEmacs.
Lars Magne Ingebrigtsen [Tue, 27 Jan 2015 06:22:12 +0000 (17:22 +1100)]
* lisp/gnus-compat.el (fboundp): Avoid compilation error on XEmacs.

4 years agoAdd changelog entry to last fix
Lars Magne Ingebrigtsen [Tue, 27 Jan 2015 06:02:39 +0000 (17:02 +1100)]
Add changelog entry to last fix

4 years agoCheck for literal+ capability in IMAP
Lars Magne Ingebrigtsen [Tue, 27 Jan 2015 06:02:13 +0000 (17:02 +1100)]
Check for literal+ capability in IMAP

4 years ago* nnir.el (nnir-run-imap): Enable non-ASCII IMAP searches.
Eric Abrahamsen [Tue, 27 Jan 2015 05:35:25 +0000 (16:35 +1100)]
* nnir.el (nnir-run-imap): Enable non-ASCII IMAP searches.

4 years agoMake nnmairix always select the correct article
Eric Abrahamsen [Tue, 27 Jan 2015 05:03:14 +0000 (16:03 +1100)]
Make nnmairix always select the correct article

* gnus-bcklg.el (gnus-backlog-enter-article): No virtual groups should
be added to the backlog.

* nnmairix.el ("nnmairix"): Declare nnmairix as virtual.

4 years agoComplete ChangeLog entry.
Tassilo Horn [Mon, 26 Jan 2015 15:07:16 +0000 (16:07 +0100)]
Complete ChangeLog entry.

* Makefile.in (all total, warn, fail-on-warning): Call gnus-load.el
target with a recursive make call.

4 years agoFix gnus-load.el generation.
Tassilo Horn [Mon, 26 Jan 2015 14:58:32 +0000 (15:58 +0100)]
Fix gnus-load.el generation.

Until now, making gnus/lisp/Makefile's all target had the dependencies
clean-some and gnus-load.el where clean-some deletes gnus-load.el.
Make uses a file cache and doesn't notice that clean-some deletes
gnus-load.el.  Therefore, the gnus-load.el target is up-to-date if
gnus-load.el existed initially (i.e., before clean-some performed its
recipe).  Strangely, with make versions < 4.1 the target worked by
chance anyhow.

Now the gnus-load.el target is called with a recursive make invocation
so that its file cache reflects the actual filesystem situation.

4 years agoAllow using the Google X-GM-LABELS, if present
Trevor Murphy [Mon, 26 Jan 2015 07:16:30 +0000 (18:16 +1100)]
Allow using the Google X-GM-LABELS, if present

* nnimap.el (nnimap-header-parameters): Refactor and request
X-GM-LABELS if it's been announced.
(nnimap-transform-headers): Gather and output GM-LABELS.

4 years agoFixups when displaying certain attachments
Peder O. Klingenberg [Mon, 26 Jan 2015 03:26:27 +0000 (14:26 +1100)]
Fixups when displaying certain attachments

* mm-decode.el (mm-display-part): Make non-string methods work.
Non-string methods are funcalled and work just fine, the test was
bogus.
* mm-decode.el (mm-display-external): Show "external" lisp viewers in
whole frame.

4 years agonnimap respooling fix
Lars Ingebrigtsen [Mon, 26 Jan 2015 03:14:15 +0000 (14:14 +1100)]
nnimap respooling fix

* nnimap.el (nnimap-request-accept-article): Allow respooling using
nnimap.

4 years agoMake moving IMAP articles faster in large groups
Lars Ingebrigtsen [Mon, 26 Jan 2015 02:50:20 +0000 (13:50 +1100)]
Make moving IMAP articles faster in large groups

* lisp/gnus-group.el (gnus-group-get-new-news-this-group): Explicitly
request rescans when being run interactively.

* lisp/gnus-int.el (gnus-request-group-scan): New backend function.

* lisp/nnimap.el (nnimap-request-scan-group): Implement in on IMAP.

* lisp/nnimap.el (nnimap-request-group): Don't rescan the group here,
because that can be very slow in large groups.

4 years agoIgnore .info files
Lars Ingebrigtsen [Sun, 25 Jan 2015 00:40:14 +0000 (11:40 +1100)]
Ignore .info files

4 years ago* lisp/gnus-group.el (gnus-group-suspend): Close all backends.
Lars Ingebrigtsen [Sun, 25 Jan 2015 00:39:54 +0000 (11:39 +1100)]
* lisp/gnus-group.el (gnus-group-suspend): Close all backends.

4 years agodgnushack.el (dgnushack-compile-file): Excluse dir in message output
Katsumi Yamaoka [Tue, 20 Jan 2015 00:13:15 +0000 (00:13 +0000)]
dgnushack.el (dgnushack-compile-file): Excluse dir in message output

4 years ago* dgnushack.el (dgnushack-compile-file): New function.
Paul Eggert [Mon, 19 Jan 2015 23:59:44 +0000 (23:59 +0000)]
* dgnushack.el (dgnushack-compile-file): New function.
(dgnushack-compile): Use it (bug#19514).

4 years ago* nntp.el (nntp-send-authinfo): Error out if the password is wrong.
Lars Magne Ingebrigtsen [Thu, 15 Jan 2015 21:49:15 +0000 (22:49 +0100)]
* nntp.el (nntp-send-authinfo): Error out if the password is wrong.

4 years agoregistry.el: Don't use <class> as a variable
Stefan Monnier [Thu, 8 Jan 2015 22:52:06 +0000 (22:52 +0000)]
registry.el: Don't use <class> as a variable

4 years agognus-group.el (gnus-read-ephemeral-bug-group): Use mm-disable-multibyte instead of...
Katsumi Yamaoka [Thu, 8 Jan 2015 03:39:09 +0000 (03:39 +0000)]
gnus-group.el (gnus-read-ephemeral-bug-group): Use mm-disable-multibyte instead of mm-enable-multibyte

4 years agognus-group.el (gnus-read-ephemeral-bug-group): Use mm-enable-multibyte instead of...
Katsumi Yamaoka [Thu, 8 Jan 2015 03:37:16 +0000 (03:37 +0000)]
gnus-group.el (gnus-read-ephemeral-bug-group): Use mm-enable-multibyte instead of set-buffer-multibyte

4 years agoFix content decoding in gnus-read-ephemeral-bug-group
Andreas Schwab [Thu, 8 Jan 2015 03:28:47 +0000 (03:28 +0000)]
Fix content decoding in gnus-read-ephemeral-bug-group

* gnus-group.el (gnus-read-ephemeral-bug-group): Bind
coding-system-for-read and coding-system-for-write only around
with-temp-file, and make buffer unibyte.  Don't write temp file twice.

4 years agoUpdate copyright year to 2015
Paul Eggert [Fri, 2 Jan 2015 12:47:24 +0000 (12:47 +0000)]
Update copyright year to 2015

4 years agosystem-name's returned value can vary
Paul Eggert [Tue, 30 Dec 2014 14:18:24 +0000 (14:18 +0000)]
system-name's returned value can vary

Also, the system-name variable is now obsolete.
Fixes Bug#19438.
* message.el (message-make-fqdn):
* nnvirtual.el (nnvirtual-retrieve-headers)
(nnvirtual-update-xref-header):
Prefer (system-name) to system-name, and avoid naming
locals 'system-name'.

4 years agomm-decode.el (mm-shr): Bind `shr-width' to `fill-column' so that lines don't get...
Lars Ingebrigtsen [Mon, 29 Dec 2014 13:07:27 +0000 (13:07 +0000)]
mm-decode.el (mm-shr): Bind `shr-width' to `fill-column' so that lines don't get overlong when responding

4 years agoMerge branch 'master' of https://git.gnus.org/gnus
Lars Ingebrigtsen [Sun, 28 Dec 2014 13:51:38 +0000 (14:51 +0100)]
Merge branch 'master' of https://git.gnus.org/gnus

4 years agoregistry.el (cl-remf, cl-loop, cl-subseq): Alias to remf, loop, and subseq respective...
Katsumi Yamaoka [Sat, 20 Dec 2014 11:19:30 +0000 (11:19 +0000)]
registry.el (cl-remf, cl-loop, cl-subseq): Alias to remf, loop, and subseq respectively for old Emacsen

4 years agoregistry.el (registry-db): Set default slot later
Paul Eggert [Thu, 18 Dec 2014 22:47:26 +0000 (22:47 +0000)]
registry.el (registry-db): Set default slot later

4 years ago* gnus-art.el: Fix up compiler warnings
Stefan Monnier [Thu, 18 Dec 2014 22:37:00 +0000 (22:37 +0000)]
* gnus-art.el: Fix up compiler warnings

(article-display-face, article-display-x-face): Remove unused `face'.
(gnus-article-browse-html-save-cid-content): Remove unused var `type'.
(article-date-ut): Remove unused var `first'.
(gnus-article-prepare): Remove unused var `gnus-article'.
(gnus-mime-save-part-and-strip): Remove unused var `param'.
(gnus-mime-inline-part): Remove unused vars `charset', `contents', and
`coding-system' along with corresponding dead code.
(gnus-mime-view-part-externally): Remove unused var
`mm-user-display-methods'.
(gnus-insert-mime-button): Let-bind gnus-tmp-id explicitly.
(gnus-display-mime): Remove unused var `handle'.
(gnus-mime-display-alternative): Remove unused var `props'.
(gnus-article-read-summary-keys): Remove unused var `up-to-top'.
(gnus-article-edit-done): Remove unused var `p'.
(gnus-url-mailto): Remove unused var `to'.
(gnus-treat-article): Let-bind gnus-treat-condition, part-number,
total-parts, and gnus-treat-type explicitly.  Remove unused var `elem'.

* mm-util.el (mm-with-unibyte-current-buffer): Mark obsolete and add warning.

4 years ago* registry.el (registry-db): Fix default registry-db max-size.
Ted Zlatanov [Thu, 18 Dec 2014 19:49:33 +0000 (14:49 -0500)]
* registry.el (registry-db): Fix default registry-db max-size.

4 years agoFix Gnus registry pruning and sorting, and rename file.
Eric Abrahamsen [Thu, 18 Dec 2014 10:06:02 +0000 (05:06 -0500)]
Fix Gnus registry pruning and sorting, and rename file.

* lisp/gnus-registry.el (gnus-registry-prune-factor): Add new variable.
(gnus-registry-max-pruned-entries): Remove obsolete variable.
(gnus-registry-cache-file): Change default
filename extension to "eieio".
(gnus-registry-read): Add new function, split out from
`gnus-registry-load', that does the actual object reading.
(gnus-registry-load): Use it. Add condition case handler to check for
old filename extension and rename to the new one.
(gnus-registry-default-sort-function): New variable to specify a sort
function to use when pruning.
(gnus-registry-save, gnus-registry-insert): Use it.
(gnus-registry-sort-by-creation-time): Define a default sort function.

* lisp/tests/gnustest-registry.el (gnustest-registry-make-testable-db):
Adjust test for new object signature.
(gnustest-registry-pruning-test): Add new pruning test.
(gnustest-registry-sort-function): Default sort function for testing.
(gnustest-registry-pruning-sort-test): New test for sorting.

* lisp/registry.el (registry-db): Consolidate the :max-hard and :max-soft
slots into a :max-size slot.
(registry-db-version): Add new variable for database version number.
(registry-prune): Use :max-size slot. Accept and use a sort-function
argument.
(registry-collect-prune-candidates): Add new function for finding
non-precious pruning candidates.
(registry-prune-hard-candidates, registry-prune-soft-candidates):
Remove obsolete functions.
(initialize-instance): Upgrade registry version when starting.

* texi/gnus.texi (Gnus Registry Setup): Explain pruning changes. Mention
gnus-registry-prune-factor. Explain sorting changes and
gnus-registry-default-sort-function. Correct file extension.

4 years agognus-bookmark.el (gnus-bookmark-write-file): Spelling fix
Paul Eggert [Sun, 14 Dec 2014 11:55:12 +0000 (11:55 +0000)]
gnus-bookmark.el (gnus-bookmark-write-file): Spelling fix

4 years agoFix misspellings like "an unibyte buffer"
Paul Eggert [Wed, 10 Dec 2014 02:12:25 +0000 (02:12 +0000)]
Fix misspellings like "an unibyte buffer"

4 years agoRefactored out gnus-article-mime-handles
Lars Magne Ingebrigtsen [Tue, 9 Dec 2014 20:29:04 +0000 (21:29 +0100)]
Refactored out gnus-article-mime-handles

* gnus-art.el (gnus-article-mime-handles): Refactored out into own
function for reuse.
(gnus-mime-buttonize-attachments-in-header): Adjusted.

4 years agomessage.el (message-change-subject): Really check whether the subject changed
Lars Magne Ingebrigtsen [Sun, 7 Dec 2014 22:05:21 +0000 (22:05 +0000)]
message.el (message-change-subject): Really check whether the subject changed

4 years agomailcap.el: Make it easier to use mailcap for viewing single files
Lars Magne Ingebrigtsen [Sat, 6 Dec 2014 01:41:19 +0000 (01:41 +0000)]
mailcap.el: Make it easier to use mailcap for viewing single files

4 years agognus-art.el (article-hide-list-identifiers): Fix a typo in doc string
Sam Steingold [Sat, 6 Dec 2014 01:39:04 +0000 (01:39 +0000)]
gnus-art.el (article-hide-list-identifiers): Fix a typo in doc string

4 years agognus-cloud.el (gnus-cloud): Add :version tag
Glenn Morris [Mon, 1 Dec 2014 09:29:35 +0000 (09:29 +0000)]
gnus-cloud.el (gnus-cloud): Add :version tag