gnus
4 years agoDocumentation fixes re quotes
Paul Eggert [Mon, 31 Aug 2015 22:15:30 +0000 (22:15 +0000)]
Documentation fixes re quotes

* gnus-faq.texi (FAQ 5-13, FAQ 6-2):
* gnus.texi (Score Decays, SpamAssassin):
Prefer curved quotes in examples if users will typically see curved
quotes when the examples run.

4 years agoepa.texi (Encrypting/decrypting gpg files): Fix a typo
Daiki Ueno [Fri, 28 Aug 2015 01:56:34 +0000 (01:56 +0000)]
epa.texi (Encrypting/decrypting gpg files): Fix a typo

4 years agoGo back to grave quoting in Gnus
Paul Eggert [Wed, 26 Aug 2015 04:54:05 +0000 (04:54 +0000)]
Go back to grave quoting in Gnus

* auth-source.el (auth-source-netrc-parse-entries):
* gnus-agent.el (gnus-agent-check-overview-buffer)
(gnus-agent-fetch-headers):
* gnus-int.el (gnus-start-news-server):
* gnus-registry.el (gnus-registry--split-fancy-with-parent-internal)
(gnus-registry-post-process-groups):
* gnus-score.el (gnus-summary-increase-score):
* gnus-start.el (gnus-convert-old-newsrc):
* gnus-topic.el (gnus-topic-rename):
* legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
* spam.el (spam-check-blackholes):
Stick with grave quoting in diagnostics strings.  This is more
portable to older Emacs, desirable for Gnus.

4 years agolisp/ChangeLog: Fix last commit
Katsumi Yamaoka [Tue, 25 Aug 2015 09:23:28 +0000 (09:23 +0000)]
lisp/ChangeLog: Fix last commit

4 years agoGnus format-message typo fix
Paul Eggert [Tue, 25 Aug 2015 09:17:02 +0000 (09:17 +0000)]
Gnus format-message typo fix

* gnus-util.el (gnus-format-message):
Fix typo when running in older Emacs.

4 years agoPrefer directed to neutral quotes
Paul Eggert [Tue, 25 Aug 2015 09:14:34 +0000 (09:14 +0000)]
Prefer directed to neutral quotes

Prefer directed to neutral quotes in docstings and diagnostics.
In docstrings, escape apostrophes that would otherwise be translated
to curved quotes using the newer, simpler rules.

* auth-source.el (auth-source-netrc-parse-entries):
* gnus-agent.el (gnus-agent-check-overview-buffer)
(gnus-agent-fetch-headers):
* gnus-int.el (gnus-start-news-server):
* gnus-registry.el (gnus-registry--split-fancy-with-parent-internal):
* gnus-score.el (gnus-summary-increase-score):
* gnus-start.el (gnus-convert-old-newsrc):
* gnus-topic.el (gnus-topic-rename):
* legacy-gnus-agent.el (gnus-agent-unlist-expire-days):
* nnmairix.el (nnmairix-widget-create-query):
* spam.el (spam-check-blackholes):
Use directed rather than neutral quotes in diagnostics.

4 years ago* auth-source.el (auth-sources):
Paul Eggert [Sat, 22 Aug 2015 03:47:41 +0000 (03:47 +0000)]
* auth-source.el (auth-sources):
Prefer (substitute-command-keys "`\\[foo-command]'")
to "`M-x foo-command'" in docstring.

* time-date.el (format-seconds):
Use curved quotes in diagnostic format strings.

4 years agoDon't quote symbols 'like-this' in docstrings
Paul Eggert [Fri, 21 Aug 2015 00:56:48 +0000 (00:56 +0000)]
Don't quote symbols 'like-this' in docstrings

* nnmairix.el (nnmairix-propagate-marks-upon-close):
* pop3.el (pop3-authentication-scheme):
Don't quote symbols with apostrophes in doc strings.
Use asymmetric quotes instead.

4 years agolisp/ChangeLog: Fix typo
Katsumi Yamaoka [Wed, 19 Aug 2015 10:40:57 +0000 (10:40 +0000)]
lisp/ChangeLog: Fix typo

4 years agoUse overlay functions directly
Katsumi Yamaoka [Wed, 19 Aug 2015 09:02:48 +0000 (09:02 +0000)]
Use overlay functions directly

4 years agonnmaildir.el (nnmaildir-flag-mark-mapping): Add "P"
Glenn Morris [Wed, 19 Aug 2015 07:50:19 +0000 (07:50 +0000)]
nnmaildir.el (nnmaildir-flag-mark-mapping): Add "P"

4 years agomessage.el: Silent the byte compiler
Katsumi Yamaoka [Tue, 18 Aug 2015 01:35:23 +0000 (01:35 +0000)]
message.el: Silent the byte compiler

* message.el (message-overlay-put, message-make-overlay)
(message-kill-all-overlays, message-overlays-in, message-overlay-get)
(message-delete-overlay, message-window-inside-pixel-edges):
Declare before using.

4 years agoWork for XEmacs
Katsumi Yamaoka [Mon, 17 Aug 2015 23:14:12 +0000 (23:14 +0000)]
Work for XEmacs

* message.el (message-overlay-get, message-overlays-in)
(message-window-inside-pixel-edges):
* messagexmas.el (message-overlay-get, message-overlays-in):
XEmacs compatible functions.

4 years ago* message.el (message-toggle-image-thumbnails): New command.
Lars Magne Ingebrigtsen [Mon, 17 Aug 2015 21:50:34 +0000 (23:50 +0200)]
* message.el (message-toggle-image-thumbnails): New command.

4 years agomessage.el (message-send-form-letter): Fix confusion with `format'
Paul Eggert [Thu, 6 Aug 2015 04:16:45 +0000 (04:16 +0000)]
message.el (message-send-form-letter): Fix confusion with `format'

4 years agolisp/ChangeLog: Fix date
Katsumi Yamaoka [Tue, 4 Aug 2015 22:37:42 +0000 (22:37 +0000)]
lisp/ChangeLog: Fix date

4 years agoDo not overwrite preexisting contents of unread-command-events
David Kastrup [Tue, 4 Aug 2015 22:23:13 +0000 (22:23 +0000)]
Do not overwrite preexisting contents of unread-command-events

* gnus-art.el (gnus-article-describe-key)
(gnus-article-describe-key-briefly)

4 years agonnimap.el: Use IMAP MOVE extension if available
Nikolaus Rath [Sat, 11 Jul 2015 04:22:24 +0000 (12:22 +0800)]
nnimap.el: Use IMAP MOVE extension if available

* nnimap.el (nnimap-request-move-article, nnimap-process-expiry-targets,
  nnimap-split-incoming-mail): Use MOVE extension if available.

4 years agonnimap.el: Explicitly ask for server capabilities
Eric Abrahamsen [Sun, 2 Aug 2015 05:13:43 +0000 (13:13 +0800)]
nnimap.el: Explicitly ask for server capabilities

* lisp/nnimap.el (nnimap-open-connection-1): Don't assume full
  capabilities will be returned in the login-result.

4 years agoDon't overflow if computing approximate percentage
Paul Eggert [Sat, 1 Aug 2015 22:43:52 +0000 (22:43 +0000)]
Don't overflow if computing approximate percentage

* nnbabyl.el (nnbabyl-retrieve-headers):
* nndiary.el (nndiary-retrieve-headers):
* nneething.el (nneething-retrieve-headers):
* nnmbox.el (nnmbox-retrieve-headers):
* nnmh.el (nnmh-retrieve-headers):
* nnml.el (nnml-retrieve-headers):
* nnspool.el (nnspool-retrieve-headers):
* nntp.el (nntp-retrieve-headers, nntp-retrieve-articles):
Prefer (floor (* 100.0 NUMERATOR) DENOMINATOR) when calculating
progress-report percentages and the like.  This avoids problems
if (* 100 NUMERATOR) would overflow.

* gnus-registry.el (gnus-registry-import-eld):
* registry.el (registry-reindex):
Use (* 100.0 ...) rather than (* 100 ...) to avoid int overflow issues.

4 years agosieve-mode: support "body" test command
Julien Danjou [Fri, 17 Jul 2015 08:52:25 +0000 (10:52 +0200)]
sieve-mode: support "body" test command

4 years agolisp/ChangeLog: Rearrange entries in chronological order
Katsumi Yamaoka [Thu, 16 Jul 2015 01:45:42 +0000 (01:45 +0000)]
lisp/ChangeLog: Rearrange entries in chronological order

4 years agonnimap.el: Clean up "unused var" warnings
Stefan Monnier [Wed, 15 Jul 2015 23:08:07 +0000 (23:08 +0000)]
nnimap.el: Clean up "unused var" warnings

(auth-source-creation-prompts): Declare.
(nnimap-retrieve-headers, nnimap-status-message)
(nnimap-request-create-group, nnimap-request-delete-group)
(nnimap-close-group, nnimap-request-move-article)
(nnimap-request-accept-article, nnimap-request-newgroups)
(nnimap-request-post, nnimap-dummy-active-number)
(nnimap-save-mail-spec, nnimap-get-groups): Add _ to unused vars.
(nnimap-parse-flags): Remove unused var `p'.
(nnimap-retrieve-group-data-early): Remove unused var `groups'.
(nnimap-flags-to-marks): Remove unused var `totalp'.

4 years agognus-registry.el: Correct function argument order.
Eric Abrahamsen [Sat, 11 Jul 2015 07:10:06 +0000 (15:10 +0800)]
gnus-registry.el: Correct function argument order.

* gnus-registry.el (gnus-registry--set/remove-mark): Reverse the order
of function arguments.

4 years agonnimap.el: Fix IMAP message size parsing
Nikolaus Rath [Sat, 11 Jul 2015 03:26:40 +0000 (11:26 +0800)]
nnimap.el: Fix IMAP message size parsing

* lisp/nnimap.el: Don't assume UID comes before RFC822.SIZE.

4 years agolisp/ChangeLog, texi/ChangeLog: Fix last commit
Katsumi Yamaoka [Thu, 9 Jul 2015 03:46:27 +0000 (03:46 +0000)]
lisp/ChangeLog, texi/ChangeLog: Fix last commit

4 years agonnimap.el: Handle plain value for nnimap-stream
Nikolaus Rath [Wed, 8 Jul 2015 03:52:45 +0000 (20:52 -0700)]
nnimap.el: Handle plain value for nnimap-stream

* lisp/nnimap.el (nnimap-open-connection-1): Always query capabilities,
  so that a 'plain value for the `nnimap-stream' server variable is
  handled correctly.
* texi/gnus.texi: Document the 'plain option.

4 years agolisp/ChangeLog: Update for the recent changes
Katsumi Yamaoka [Wed, 8 Jul 2015 22:24:23 +0000 (22:24 +0000)]
lisp/ChangeLog: Update for the recent changes

4 years agoRemove unused let variables
Eric Abrahamsen [Tue, 7 Jul 2015 03:08:35 +0000 (11:08 +0800)]
Remove unused let variables

* lisp/nnimap.el (nnimap-request-group): Variables are not used.

4 years agoCheck if group names are already strings
Eric Abrahamsen [Tue, 7 Jul 2015 03:01:38 +0000 (11:01 +0800)]
Check if group names are already strings

* lisp/gnus-group.el (gnus-group-group-name): The group name may
  already be a string.

Specifically, in the group list reached from the *Server* buffer, the
'gnus-group text property returns a string. Everywhere else it returns
a symbol.

4 years agonnmaildir.el: Silence lexical warnings
Stefan Monnier [Wed, 24 Jun 2015 22:27:46 +0000 (22:27 +0000)]
nnmaildir.el: Silence lexical warnings

* nnmaildir.el (nnmaildir--prepare): Use a more functional style.
(nnmaildir--update-nov): Remove unused var `numdir'.
(nnmaildir-request-type, nnmaildir--scan, nnmaildir-request-newgroups)
(nnmaildir-request-group, nnmaildir-request-create-group)
(nnmaildir-request-post, nnmaildir-request-move-article)
(nnmaildir-request-accept-article, nnmaildir-active-number):
Mark unused args.
(nnmaildir-get-new-mail, nnmaildir-group-alist, nnmaildir-active-file):
Declare.
(nnmaildir-request-scan): Remove unused vars `group' and `grp-dir'.
(nnmaildir-request-update-info): Remove unused vars `dotfile', `num',
`mark', `end', `new-mark', and `mark-sym'.
(nnmaildir-retrieve-headers):
Remove unused args `srv-dir', `dir', `nlist2'.
(nnmaildir-request-expire-articles):
Remove unused vars `article', `stop' and `nlist2'.
(nnmaildir-request-set-mark): Remove unused vars `begin', `article' and
`end'.  Use nnmaildir--article when dyn-binding is needed.
Give the value directly in the `let' for `del-mark', `del-action',
`add-action', and `set-action'.  Don't use `add-to-list' on a local var.
(nnmaildir-close-server):
Declare those local vars that need to be dyn-bound.

4 years agognus-art.el (gnus-button-alist): Also support quotes 'like this'
Paul Eggert [Wed, 3 Jun 2015 06:38:08 +0000 (06:38 +0000)]
gnus-art.el (gnus-button-alist): Also support quotes 'like this'

4 years agognustest-nntp: Do not use `sleep-for' to wait for ping
David Engster [Sun, 31 May 2015 10:11:48 +0000 (12:11 +0200)]
gnustest-nntp: Do not use `sleep-for' to wait for ping

* tests/gnustest-nntp.el (gnustest-ping-host): Call 'sleep' binary
instead of using `sleep-for', as the latter does not seem to reliably
wait (see for instance bug 15990).

4 years agonnimap.el (nnimap-get-groups): Use \\r rather than ^M in string literals
Paul Eggert [Sun, 31 May 2015 00:08:39 +0000 (00:08 +0000)]
nnimap.el (nnimap-get-groups): Use \\r rather than ^M in string literals

4 years agolisp/ChangeLog: Update
Katsumi Yamaoka [Thu, 28 May 2015 23:50:22 +0000 (23:50 +0000)]
lisp/ChangeLog: Update

4 years agoTry reinstalling Paul Eggert's `gnus-button-alist' change to investigate why the...
Katsumi Yamaoka [Thu, 28 May 2015 23:41:13 +0000 (23:41 +0000)]
Try reinstalling Paul Eggert's `gnus-button-alist' change to investigate why the buildbot fails

4 years agoRevert my change to gnus-art.el
Paul Eggert [Thu, 28 May 2015 09:00:48 +0000 (09:00 +0000)]
Revert my change to gnus-art.el

* gnus-art.el (gnus-button-alist): Revert last change.
It wasn't that important, and it caused a Gnus build to fail.  See:
http://www.randomsample.de:4456/builders/emacs-devel/builds/734

4 years agosmime.el (smime-CA-directory): Fix minor quoting problems in doc string
Paul Eggert [Thu, 28 May 2015 08:00:22 +0000 (08:00 +0000)]
smime.el (smime-CA-directory): Fix minor quoting problems in doc string

4 years agoSupport curved quotes
Paul Eggert [Thu, 28 May 2015 07:55:30 +0000 (07:55 +0000)]
Support curved quotes

* gnus-art.el (gnus-button-alist):
Also treat "‘" and "’" as quoting chars.

4 years agoDon't quote nil and t in doc strings
Paul Eggert [Thu, 21 May 2015 22:25:43 +0000 (22:25 +0000)]
Don't quote nil and t in doc strings

This is as per "Tips for Documentation Strings" in the elisp manual.
For consistency, do the same in diagnostics and comments.

4 years agoPrefer "this" to “this” in doc strings
Paul Eggert [Wed, 20 May 2015 02:31:14 +0000 (02:31 +0000)]
Prefer "this" to “this” in doc strings

This mostly just straightens quotes introduced in my previous patch.
Suggested by Dmitry Gutov in:
http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00565.html

* gnus-group.el (gnus-group-nnimap-edit-acl):
Prefer straight double quotes to curved double quotes in doc strings.

4 years agoFix minor quoting problems in doc strings
Paul Eggert [Tue, 19 May 2015 22:25:31 +0000 (22:25 +0000)]
Fix minor quoting problems in doc strings

These were glitches regardless of how or whether we tackle the
problem of grave accent in doc strings.

* gnus-art.el (gnus-treat-strip-list-identifiers)
(gnus-article-mode-syntax-table):
* gnus-group.el (gnus-group-nnimap-edit-acl):
* canlock.el, deuglify.el: Fix minor quoting problems in doc strings,
e.g., missing quote, ``x'' where `x' was meant, etc.

4 years agoformat-spec.el: Work for XEmacs
Katsumi Yamaoka [Thu, 14 May 2015 04:38:28 +0000 (04:38 +0000)]
format-spec.el: Work for XEmacs

(format-spec, format-spec-make): Use (char-to-int c) instead
 of (+ c 0) that the byte compiler optimizes into just c.

4 years agoformat-spec.el: Work for XEmacs
Katsumi Yamaoka [Mon, 11 May 2015 00:49:29 +0000 (00:49 +0000)]
format-spec.el: Work for XEmacs

(format-spec, format-spec-make): Normalize characters into numbers in spec keys.

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".