gnus
12 years agoBind functions for XEmacs and Emacs22 to silence byte-compiler.
David Engster [Wed, 11 May 2011 08:52:20 +0000 (10:52 +0200)]
Bind functions for XEmacs and Emacs22 to silence byte-compiler.

* lpath.el: Bind shr-put-image and process-type for Emacs22 and XEmacs.
Bind set-network-process-option for XEmacs.

12 years agoUpdate.
Katsumi Yamaoka [Tue, 10 May 2011 23:11:00 +0000 (23:11 +0000)]
Update.

12 years agoFix doubled-word typos.
Jim Meyering [Tue, 10 May 2011 22:18:15 +0000 (22:18 +0000)]
Fix doubled-word typos.

12 years ago* registry.el (registry-prune): Make the sort function optional.
Ted Zlatanov [Tue, 10 May 2011 17:40:49 +0000 (12:40 -0500)]
* registry.el (registry-prune): Make the sort function optional.

12 years agoPrune the registry to the soft and hard limits and accept a sort function.
Ted Zlatanov [Tue, 10 May 2011 17:38:41 +0000 (12:38 -0500)]
Prune the registry to the soft and hard limits and accept a sort function.

* registry.el (registry-prune-hard-candidates)
(registry-prune-soft-candidates): Helper methods for registry pruning.
(registry-prune): Use them.

12 years agoshr: fix error when face is a face symbol
Julien Danjou [Tue, 10 May 2011 12:30:45 +0000 (14:30 +0200)]
shr: fix error when face is a face symbol

Signed-off-by: Julien Danjou <julien@danjou.info>
12 years agognus-art.el (gnus-article-mode): Move binding of shr-put-image-function here from...
Katsumi Yamaoka [Tue, 10 May 2011 07:27:04 +0000 (07:27 +0000)]
gnus-art.el (gnus-article-mode): Move binding of shr-put-image-function here from gnus-article-prepare-display.

12 years agoshr.el (shr-put-image-function): New variable.
Katsumi Yamaoka [Tue, 10 May 2011 03:10:49 +0000 (03:10 +0000)]
shr.el (shr-put-image-function): New variable.
 (shr-image-fetched, shr-image-displayer, shr-tag-img): Funcall it.
 (shr-put-image): Return scaled image.
gnus-art.el (gnus-shr-put-image): New function.
 (gnus-article-prepare-display): Bind shr-put-image-function to it.
gnus-html.el (gnus-html-wash-images): Register scaled images, not original ones, as deletable.

12 years agonntp.el (nntp-open-connection): Set TCP keepalive option.
Stefan Monnier [Mon, 9 May 2011 22:22:56 +0000 (22:22 +0000)]
nntp.el (nntp-open-connection): Set TCP keepalive option.

12 years ago* registry.el (registry-insert): Use it. Fix logic here too.
Ted Zlatanov [Mon, 9 May 2011 20:51:38 +0000 (15:51 -0500)]
* registry.el (registry-insert): Use it.  Fix logic here too.

12 years ago* registry.el (registry-full): Fix logic.
Ted Zlatanov [Mon, 9 May 2011 20:42:42 +0000 (15:42 -0500)]
* registry.el (registry-full): Fix logic.

12 years agoTry to prune the Gnus registry if it's full.
Ted Zlatanov [Mon, 9 May 2011 17:48:03 +0000 (12:48 -0500)]
Try to prune the Gnus registry if it's full.

* gnus-registry.el (gnus-registry-insert): Add wrapper that calls
`registry-prune' if `registry-full' returns t.
(gnus-registry-handle-action)
(gnus-registry-get-or-make-entry, gnus-registry-set-id-key)
(gnus-registry-usage-test): Use it.

* registry.el (registry-full): Add convenience method.
(registry-insert): Use it.

12 years agoshr: make shr-link not that ugly by default
Julien Danjou [Sat, 7 May 2011 10:35:00 +0000 (12:35 +0200)]
shr: make shr-link not that ugly by default

Signed-off-by: Julien Danjou <julien@danjou.info>
12 years ago* shr.el (shr-urlify, shr-link): Fix shr-link face.
Ted Zlatanov [Fri, 6 May 2011 15:29:39 +0000 (10:29 -0500)]
* shr.el (shr-urlify, shr-link): Fix shr-link face.

12 years agoSmall fix, but shr-urlify+shr-link face is still broken.
Ted Zlatanov [Thu, 5 May 2011 13:28:53 +0000 (08:28 -0500)]
Small fix, but shr-urlify+shr-link face is still broken.

* shr.el (shr-urlify, shr-link): Still broken but at least doesn't
error out because the face is not a list.

12 years agoproto-stream.el (gnutls-negotiate): Fix declarations.
Glenn Morris [Thu, 5 May 2011 12:12:24 +0000 (12:12 +0000)]
proto-stream.el (gnutls-negotiate): Fix declarations.

12 years agognus-start.el (gnus-propagate-marks): Declare.
Glenn Morris [Thu, 5 May 2011 12:02:58 +0000 (12:02 +0000)]
gnus-start.el (gnus-propagate-marks): Declare.

12 years agoResynchronize with emacs bzr trunk eieio.
Tassilo Horn [Thu, 5 May 2011 07:43:48 +0000 (09:43 +0200)]
Resynchronize with emacs bzr trunk eieio.

Stefan Monnier did some renamings in eieio that made Gnus error.

12 years agoproto-stream.el (network-stream-open-starttls): Adjust to call `gnutls-negotiate...
Teodor Zlatanov [Wed, 4 May 2011 11:38:00 +0000 (11:38 +0000)]
proto-stream.el (network-stream-open-starttls): Adjust to call `gnutls-negotiate' with :process and :hostname arguments.

12 years agoMark Peter's doc fix as tiny change
Tassilo Horn [Wed, 4 May 2011 10:35:43 +0000 (12:35 +0200)]
Mark Peter's doc fix as tiny change

12 years ago* registry.el (registry-reindex): Fix percentage message.
Ted Zlatanov [Wed, 4 May 2011 10:00:34 +0000 (05:00 -0500)]
* registry.el (registry-reindex): Fix percentage message.

12 years agoEnhance thread sorting docs / fix doc bug.
Tassilo Horn [Tue, 3 May 2011 18:00:35 +0000 (20:00 +0200)]
Enhance thread sorting docs / fix doc bug.

Patch provided by Peter Münster (pmlists@free.fr).

* gnus.texi (Summary Buffer Lines):
gnus-summary-user-date-format-alist does not exist.
(Sorting the Summary Buffer): More about sorting threads.

12 years agoAdd shr-link face for links.
Ted Zlatanov [Tue, 3 May 2011 14:25:11 +0000 (09:25 -0500)]
Add shr-link face for links.

* shr.el: Add shr-link face for links.
(shr-urlify): Use it.

12 years ago* registry.el (registry-insert): Make error message more helpful.
Ted Zlatanov [Tue, 3 May 2011 13:11:33 +0000 (08:11 -0500)]
* registry.el (registry-insert): Make error message more helpful.

12 years agoDefine url-queue-retrieve better to avoid warnings.
Lars Magne Ingebrigtsen [Mon, 2 May 2011 17:17:52 +0000 (19:17 +0200)]
Define url-queue-retrieve better to avoid warnings.

12 years agoDefine url-queue-retrieve to avoid an XEmacs buildbot failure.
Lars Magne Ingebrigtsen [Mon, 2 May 2011 17:10:28 +0000 (19:10 +0200)]
Define url-queue-retrieve to avoid an XEmacs buildbot failure.

12 years agoUse `url-queue-retrieve', if it exists.
Lars Magne Ingebrigtsen [Mon, 2 May 2011 17:02:28 +0000 (19:02 +0200)]
Use `url-queue-retrieve', if it exists.

This should result in smoother asynchronous image retrieval when
looking at messages with a lot of images.

12 years agoStore articles in the agent if we haven't already (bug#8502).
Lars Magne Ingebrigtsen [Mon, 2 May 2011 14:21:31 +0000 (16:21 +0200)]
Store articles in the agent if we haven't already (bug#8502).

12 years ago(nnheader-insert-buffer-substring): Renamed from nntp- and moved from that file for...
Lars Magne Ingebrigtsen [Mon, 2 May 2011 02:05:15 +0000 (04:05 +0200)]
(nnheader-insert-buffer-substring): Renamed from nntp- and moved from that file for reuse.

12 years agoIt's `tls', not :tls.
Lars Magne Ingebrigtsen [Mon, 2 May 2011 01:22:00 +0000 (03:22 +0200)]
It's `tls', not :tls.

12 years ago* pop3.el (pop3-open-server): Error messages are "-ERR".
Lars Magne Ingebrigtsen [Mon, 2 May 2011 00:58:13 +0000 (02:58 +0200)]
* pop3.el (pop3-open-server): Error messages are "-ERR".

12 years agoAnchor the match for STLS just to make sure.
Lars Magne Ingebrigtsen [Sun, 1 May 2011 22:42:22 +0000 (00:42 +0200)]
Anchor the match for STLS just to make sure.

12 years ago(open-tls-stream): Remove superfluous tls/starttls autoloads.
Lars Magne Ingebrigtsen [Sun, 1 May 2011 22:06:23 +0000 (00:06 +0200)]
(open-tls-stream): Remove superfluous tls/starttls autoloads.

12 years ago* pop3.el (pop3-open-server): Upgrade opportunistically to STARTTLS.
Lars Magne Ingebrigtsen [Sun, 1 May 2011 21:54:39 +0000 (23:54 +0200)]
* pop3.el (pop3-open-server): Upgrade opportunistically to STARTTLS.

12 years agoNo Gnus v0.18 is begun
Lars Magne Ingebrigtsen [Sun, 1 May 2011 19:48:37 +0000 (21:48 +0200)]
No Gnus v0.18 is begun

12 years agoNo Gnus v0.17 is released
Lars Magne Ingebrigtsen [Sun, 1 May 2011 19:48:23 +0000 (21:48 +0200)]
No Gnus v0.17 is released

12 years ago* gnus-sum.el (gnus-summary-next-article): Don't bug out if the summary buffer has...
Stefan Monnier [Sun, 1 May 2011 18:00:44 +0000 (20:00 +0200)]
* gnus-sum.el (gnus-summary-next-article): Don't bug out if the  summary buffer has moved to a different frame.

12 years agoUse nntp-insert-buffer-substring to get the conversion from unibyte to multibyte...
Lars Magne Ingebrigtsen [Sun, 1 May 2011 17:27:52 +0000 (19:27 +0200)]
Use nntp-insert-buffer-substring to get the conversion from unibyte to multibyte buffers to work on Emacs 22.

12 years ago(shr-tag-s): Remove duplicate definition.
Lars Magne Ingebrigtsen [Fri, 29 Apr 2011 14:07:08 +0000 (16:07 +0200)]
(shr-tag-s): Remove duplicate definition.

12 years agoTo provide <s> support.
Lars Magne Ingebrigtsen [Fri, 29 Apr 2011 13:29:24 +0000 (15:29 +0200)]
To provide <s> support.

12 years agoSynch with Emacs trunk.
Teodor Zlatanov [Mon, 25 Apr 2011 04:28:40 +0000 (04:28 +0000)]
Synch with Emacs trunk.

proto-stream.el (proto-stream-open-starttls): Give host parameter to `gnutls-negotiate'.
 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.

12 years agoDon't call `gnus-parameter-registry-ignore' if the *Group* buffer doesn't exist.
Ted Zlatanov [Mon, 25 Apr 2011 03:57:04 +0000 (22:57 -0500)]
Don't call `gnus-parameter-registry-ignore' if the *Group* buffer doesn't exist.

* gnus-registry.el (gnus-registry-ignore-group-p): Don't call
`gnus-parameter-registry-ignore' if the *Group* buffer doesn't exist.

12 years agoAdd <sup> and <sub> support.
Lars Magne Ingebrigtsen [Sun, 24 Apr 2011 19:12:15 +0000 (21:12 +0200)]
Add <sup> and <sub> support.

12 years agoMerge.
Lars Magne Ingebrigtsen [Sun, 24 Apr 2011 19:13:11 +0000 (21:13 +0200)]
Merge.

13 years agognus-sum.el (gnus-extra-headers): Bump :version.
Glenn Morris [Sun, 24 Apr 2011 03:21:20 +0000 (03:21 +0000)]
gnus-sum.el (gnus-extra-headers): Bump :version.

13 years agoMinor fix for the case where `gnus-registry-ignored-groups' is a list of lists.
Ted Zlatanov [Fri, 22 Apr 2011 13:20:27 +0000 (08:20 -0500)]
Minor fix for the case where `gnus-registry-ignored-groups' is a list of lists.

* gnus-registry.el (gnus-registry-ignore-group-p): Test specifically
for the case where `gnus-registry-ignored-groups' is a list of lists,
and don't call `gnus-parameter-registry-ignore' otherwise.

13 years agoAdd nnimap-user to nnimap.el.
Ted Zlatanov [Fri, 22 Apr 2011 00:37:56 +0000 (19:37 -0500)]
Add nnimap-user to nnimap.el.

* nnimap.el (nnimap-user): New backend variable.
(nnimap-open-connection-1): Use it.
(nnimap-credentials): Accept user parameter so it's explicit what user
name is desired.

13 years agoAdd Cc, Gcc, and Keywords to default `gnus-extra-headers'.
Ted Zlatanov [Thu, 21 Apr 2011 23:24:38 +0000 (18:24 -0500)]
Add Cc, Gcc, and Keywords to default `gnus-extra-headers'.

* gnus-registry.el: Mention in comments how to modify
`gnus-extra-headers' for proper recipient tracking and that it may
already have To and Cc recently, which it does as of this commit.

* gnus-sum.el (gnus-extra-headers): Add Keywords, Cc, and Gcc to
default.

13 years agoFix data header reference for the Gnus registry so To and Cc headers are collected...
Teodor Zlatanov [Thu, 21 Apr 2011 20:20:25 +0000 (15:20 -0500)]
Fix data header reference for the Gnus registry so To and Cc headers are collected correctly.

* gnus-registry.el (gnus-registry-action): Fix data-header reference
to use the extra headers.  Explain in package commentary how to add To
and Cc headers to the gnus-extra-headers.

13 years agoAdd gnus.el to last commit.
Ted Zlatanov [Thu, 21 Apr 2011 19:59:25 +0000 (14:59 -0500)]
Add gnus.el to last commit.

* gnus.el (gnus-registry-ignored-groups): Provide default in gnus.el,
not gnus-registry.el.

13 years agoFurther registry ignored-groups fixes.
Ted Zlatanov [Thu, 21 Apr 2011 16:34:34 +0000 (11:34 -0500)]
Further registry ignored-groups fixes.

* gnus.el (gnus-registry-ignored-groups): Provide default in gnus.el,
not gnus-registry.el.

* gnus-registry.el (gnus-registry-ignored-groups): Remove defcustom.
Explain why in comments.

13 years agoFix registry ignored groups format and a logic bug.
Ted Zlatanov [Thu, 21 Apr 2011 16:27:39 +0000 (11:27 -0500)]
Fix registry ignored groups format and a logic bug.

* gnus-registry.el (gnus-registry-ignored-groups): Adjust defaults to
match the parameter.
(gnus-registry-ignore-group-p): Adjust to take either a group/topic
parameter list or a string list in `gnus-registry-ignored-groups'.  Fix
logic error.

13 years ago(shr-expand-url): Fix typo.
Katsumi Yamaoka [Thu, 21 Apr 2011 02:45:02 +0000 (02:45 +0000)]
(shr-expand-url): Fix typo.

13 years ago* shr.el (shr-expand-url): Protect against null urls.
Lars Magne Ingebrigtsen [Thu, 21 Apr 2011 01:58:12 +0000 (03:58 +0200)]
* shr.el (shr-expand-url): Protect against null urls.

13 years agoUse <base> to expand relative URLs.
Lars Magne Ingebrigtsen [Wed, 20 Apr 2011 22:34:03 +0000 (00:34 +0200)]
Use <base> to expand relative URLs.

13 years agoAdd ignored groups back.
Ted Zlatanov [Wed, 20 Apr 2011 20:48:24 +0000 (15:48 -0500)]
Add ignored groups back.

* gnus-registry.el (gnus-registry-ignored-groups): New variable.
(gnus-registry-ignore-group-p): Use it.
(gnus-registry-handle-action): Use `gnus-registry-ignore-group-p' and
set the destination group to nil (same as delete) if it's ignored.

13 years ago* gnus-registry.el (gnus-registry--split-fancy-with-parent-internal): Fix loop bugs.
Ted Zlatanov [Wed, 20 Apr 2011 20:40:19 +0000 (15:40 -0500)]
* gnus-registry.el (gnus-registry--split-fancy-with-parent-internal): Fix loop bugs.

13 years agoInstalled Makefile rules for NNTP testing.
David Engster [Wed, 20 Apr 2011 18:34:49 +0000 (20:34 +0200)]
Installed Makefile rules for NNTP testing.

* Makefile.in (test-nntp): New rule.
(check): Add it.
(test-registry): Change '$(EMACS_COMP)' to '$(EMACS) $(FLAGS)'.

13 years agoInstalled simple NNTP testing.
David Engster [Wed, 20 Apr 2011 18:31:23 +0000 (20:31 +0200)]
Installed simple NNTP testing.

* tests/gnustest-nntp.el: New file for simple NNTP testing.

* Makefile.in (test-nntp): New rule.
(check): Add it.
(test-registry): Change '$(EMACS_COMP)' to '$(EMACS) $(FLAGS)'.

13 years agognus-registry.el (gnus-registry-action, gnus-registry-fetch-header-fast):
Katsumi Yamaoka [Wed, 20 Apr 2011 00:38:49 +0000 (00:38 +0000)]
gnus-registry.el (gnus-registry-action, gnus-registry-fetch-header-fast):
 Don't use mail-header that looks an internal function of mailheader.el.

13 years agotime-date.el (time-to-days): Remove unused local variables.
Glenn Morris [Tue, 19 Apr 2011 07:05:57 +0000 (07:05 +0000)]
time-date.el (time-to-days): Remove unused local variables.

13 years agognus-registry.el, registry.el: Silence the byte compiler.
Katsumi Yamaoka [Mon, 18 Apr 2011 22:50:30 +0000 (22:50 +0000)]
gnus-registry.el, registry.el: Silence the byte compiler.

gnus-registry.el: Eliminate cl functions.
 (gnus-registry-sort-addresses): New function that replaces mapcan.
 (gnus-registry-action, gnus-registry-spool-action)
 (gnus-registry-split-fancy-with-parent)
 (gnus-registry-fetch-recipients-fast): Use it.
 (gnus-registry-import-eld): Replace delete* with dolist + delq.
registry.el (initialize-instance, registry-lookup)
 (registry-lookup-breaks-before-lexbind, registry-lookup-secondary)
 (registry-lookup-secondary-value, registry-search, registry-delete)
 (registry-insert, registry-reindex, registry-size, registry-prune):
 Use eval-and-compile.

13 years agoAdd recipient tracking to the Gnus registry. Reindex it on read if necessary.
Ted Zlatanov [Sat, 16 Apr 2011 03:33:15 +0000 (22:33 -0500)]
Add recipient tracking to the Gnus registry.  Reindex it on read if necessary.

* gnus-registry.el (gnus-registry-fixup-registry): Use it if the
tracked field changes.
(gnus-registry-unfollowed-addresses, gnus-registry-track-extra)
(gnus-registry-action, gnus-registry-spool-action)
(gnus-registry-handle-action)
(gnus-registry--split-fancy-with-parent-internal)
(gnus-registry-split-fancy-with-parent)
(gnus-registry-register-message-ids): Add recipient tracking on spool,
move, and delete actions, and for fancy splitting with parent.
(gnus-registry-extract-addresses)
(gnus-registry-fetch-recipients-fast)
(gnus-registry-fetch-header-fast): Convenience functions.
(gnus-registry-misc-test): ERT test of
`gnus-registry-extract-addresses'.

* registry.el (registry-reindex): New method to recreate the secondary
registry indices.

13 years agomessage.el (message-bogus-system-names): Replace ^...$ => \`...\'.
Stefan Monnier [Fri, 15 Apr 2011 14:25:05 +0000 (14:25 +0000)]
message.el (message-bogus-system-names): Replace ^...$ => \`...\'.
gnus.el (gnus-splash-svg-color-symbols): Don't use insert-file from Lisp.
gnus-draft.el (gnus-draft-setup): New arg `dont-pop'.
 (gnus-draft-send): Use it to avoid popping up frames from gnus-group-send-queue.

13 years agoParent split by subject first, then sender.
Ted Zlatanov [Fri, 15 Apr 2011 12:48:20 +0000 (07:48 -0500)]
Parent split by subject first, then sender.

* gnus-registry.el (gnus-registry--split-fancy-with-parent-internal):
Track by subject first, then sender.

13 years agoFix typos in the last change in gnus-registry docs.
Katsumi Yamaoka [Thu, 14 Apr 2011 12:43:24 +0000 (12:43 +0000)]
Fix typos in the last change in gnus-registry docs.

13 years ago* gnus-registry.el: Updated gnus-registry docs.
Ted Zlatanov [Thu, 14 Apr 2011 10:22:33 +0000 (05:22 -0500)]
* gnus-registry.el: Updated gnus-registry docs.

13 years agoUpdated gnus-registry docs.
Ted Zlatanov [Thu, 14 Apr 2011 10:21:55 +0000 (05:21 -0500)]
Updated gnus-registry docs.

* gnus.texi (nnmairix caveats, Setup, Registry Article Refer Method)
(Fancy splitting to parent, Store arbitrary data): Updated
gnus-registry docs.

13 years agoCosmetic fix.
Juanma Barranquero [Thu, 14 Apr 2011 01:48:37 +0000 (01:48 +0000)]
Cosmetic fix.

13 years agoFix Gnus registry sender splitting and logging.
Ted Zlatanov [Tue, 12 Apr 2011 18:37:52 +0000 (13:37 -0500)]
Fix Gnus registry sender splitting and logging.

* gnus-registry.el (gnus-registry--split-fancy-with-parent-internal):
Fix logic bug.
(gnus-registry-post-process-groups): Fix logging of no results and
quote sender and subject.

13 years agoOnly do opportunistic STARTTLS upgrades if we have built-in gnutls support.
Lars Magne Ingebrigtsen [Tue, 12 Apr 2011 18:29:44 +0000 (20:29 +0200)]
Only do opportunistic STARTTLS upgrades if we have built-in gnutls support.

Upgrades via gnutls-cli are too slow to be done opportunistically.

13 years agoFix typo.
Lars Magne Ingebrigtsen [Tue, 12 Apr 2011 17:58:15 +0000 (19:58 +0200)]
Fix typo.

13 years agoAdd a sanity check so that we don't issue two async commands to the same server at...
Lars Magne Ingebrigtsen [Tue, 12 Apr 2011 17:53:30 +0000 (19:53 +0200)]
Add a sanity check so that we don't issue two async commands to the same server at the same time.

13 years ago* gnus-start.el (gnus-get-unread-articles): Slight cleanup.
Lars Magne Ingebrigtsen [Tue, 12 Apr 2011 17:47:16 +0000 (19:47 +0200)]
* gnus-start.el (gnus-get-unread-articles): Slight cleanup.

13 years ago(Window Layout): @itemize @code doesn't exist. It's @table @code.
Lars Magne Ingebrigtsen [Tue, 12 Apr 2011 17:25:35 +0000 (19:25 +0200)]
(Window Layout): @itemize @code doesn't exist.  It's @table @code.

13 years ago* gnus-sum.el (gnus-summary-select-article-buffer): Doc fix.
Stig Sandbeck Mathisen [Tue, 12 Apr 2011 15:53:17 +0000 (17:53 +0200)]
* gnus-sum.el (gnus-summary-select-article-buffer): Doc fix.

13 years ago(gnus-registry-remake-db): Put the warning on a "warning" level.
Lars Magne Ingebrigtsen [Tue, 12 Apr 2011 15:50:04 +0000 (17:50 +0200)]
(gnus-registry-remake-db): Put the warning on a "warning" level.

13 years ago(mm-url-package-name): Removed to ease third-party reuse.
Lars Magne Ingebrigtsen [Tue, 12 Apr 2011 12:37:31 +0000 (14:37 +0200)]
(mm-url-package-name): Removed to ease third-party reuse.

(mm-url-insert-file-contents): Don't set the package names.

13 years agoAdd subject and sender tracking in Gnus registry for incoming mail.
Ted Zlatanov [Mon, 11 Apr 2011 21:14:51 +0000 (16:14 -0500)]
Add subject and sender tracking in Gnus registry for incoming mail.

* gnus-registry.el (gnus-registry-action): Remove properties and
simplify subject in `gnus-registry-handle-action'.
(gnus-registry-spool-action): Get subject and sender from message if
they are not passed in.
(gnus-registry-handle-action): Remove properties and simplify subject
consistently.

13 years agoregistry.el: Require CL before using defmacro*.
Stefan Monnier [Mon, 11 Apr 2011 14:17:00 +0000 (14:17 +0000)]
registry.el: Require CL before using defmacro*.

13 years agognus-art.el (article-treat-date): Assume that gnus-article-date-headers may be a...
Katsumi Yamaoka [Mon, 11 Apr 2011 00:27:46 +0000 (00:27 +0000)]
gnus-art.el (article-treat-date): Assume that gnus-article-date-headers may be a group parameter.

13 years agoFix typo.
Juanma Barranquero [Fri, 8 Apr 2011 12:29:20 +0000 (12:29 +0000)]
Fix typo.

13 years ago* gnus-registry.el (gnus-registry-handle-action): More debugging.
Ted Zlatanov [Thu, 7 Apr 2011 21:49:22 +0000 (16:49 -0500)]
* gnus-registry.el (gnus-registry-handle-action): More debugging.

13 years agoAdd debugging option to `gnus-gnus-to-newsrc-format'.
Ted Zlatanov [Thu, 7 Apr 2011 21:48:36 +0000 (16:48 -0500)]
Add debugging option to `gnus-gnus-to-newsrc-format'.

* gnus-start.el (gnus-gnus-to-newsrc-format): Add a way to run
interactively so the newsrc file can contain foreign groups too.
Useful for debugging but not much for users.

13 years agoAvoid failing tests for Emacs without lexical binding.
David Engster [Thu, 7 Apr 2011 18:47:29 +0000 (20:47 +0200)]
Avoid failing tests for Emacs without lexical binding.

* registry.el (registry-usage-test): Only do
`registry-lookup-breaks-before-lexbind' testing for Emacs24 with
lexical binding.

13 years agoAdd new Makefile rules for starting test-suite.
David Engster [Thu, 7 Apr 2011 18:37:46 +0000 (20:37 +0200)]
Add new Makefile rules for starting test-suite.

* Makefile.in (check): New rule for starting test-suite.

* lisp/Makefile.in (check, test-registry): New rules for test-suite.

13 years agoXEmacs 21.4 does not support third argument NOERROR for `require'.
David Engster [Wed, 6 Apr 2011 20:19:36 +0000 (22:19 +0200)]
XEmacs 21.4 does not support third argument NOERROR for `require'.

* registry.el, gnus-registry.el: Use `ignore-errors' instead of third
argument NOERROR for `require', since XEmacs 21.4 does not support it.

13 years ago* registry.el (initialize-instance): Change :after to :AFTER to be
David Engster [Wed, 6 Apr 2011 19:32:03 +0000 (21:32 +0200)]
* registry.el (initialize-instance): Change :after to :AFTER to be
compatible with old EIEIO version in XEmacs.

13 years agoFix gnus-registry splitting bugs and provide better messaging.
Ted Zlatanov [Wed, 6 Apr 2011 18:40:35 +0000 (13:40 -0500)]
Fix gnus-registry splitting bugs and provide better messaging.

* gnus-registry.el (gnus-registry-post-process-groups)
(gnus-registry--split-fancy-with-parent-internal): Fix splitting bugs
and provide better messaging.

13 years ago* Makefile.in (lick-fail-on-warning): New rule to compile with warnings
David Engster [Wed, 6 Apr 2011 15:52:53 +0000 (17:52 +0200)]
* Makefile.in (lick-fail-on-warning): New rule to compile with warnings
as errors.
(fail-on-warning): Use it.

* lisp/Makefile.in (fail-on-warning): New rule to compile with warnings as
errors.

* dgnushack.el (dgnushack-compile-error-on-warn): New function to call
dgnushack-compile with error-on-warn enabled, and to signal an error if
clean compilation failed.
(dgnushack-compile): New argument 'error-on-warn'.  If non-nil, compile
with `byte-compile-error-on-warn'.  Return nil if errors occured.

13 years agoLoad ERT unconditionally anyway, discarding errors.
Ted Zlatanov [Wed, 6 Apr 2011 14:59:14 +0000 (09:59 -0500)]
Load ERT unconditionally anyway, discarding errors.

* registry.el: Don't use ERT if it's not available.  Load it
unconditionally anyway, discarding errors.

* gnus-registry.el: Don't use ERT if it's not available.  Load it
unconditionally anyway, discarding errors.

13 years agoregistry.el and gnus-registry.el ERT compatibility fixes, proto-stream.el commit...
Ted Zlatanov [Wed, 6 Apr 2011 10:52:28 +0000 (05:52 -0500)]
registry.el and gnus-registry.el ERT compatibility fixes, proto-stream.el commit revert, old .eld gnus-registry.el importer

* proto-stream.el (gnutls-negotiate): Revert inadvertent commit of the
version from the Claudio Bley GnuTLS patch (extra optional parameters
and host name).

* registry.el: Don't use ERT if it's not available.

* gnus-registry.el: Don't use ERT if it's not available.
(gnus-registry-delete-entries): New convenience function.
(gnus-registry-import-eld): Import from old .eld registry.

13 years agoregistry.el: Fix copyright, standardize license notice.
Glenn Morris [Wed, 6 Apr 2011 08:40:40 +0000 (08:40 +0000)]
registry.el: Fix copyright, standardize license notice.

13 years agoRegistry extra tracking bug fix: map references to group names.
Ted Zlatanov [Tue, 5 Apr 2011 21:11:32 +0000 (16:11 -0500)]
Registry extra tracking bug fix: map references to group names.

* gnus-registry.el (gnus-registry--split-fancy-with-parent-internal): Map
references to actual group names with sender and subject tracking.

13 years ago* registry.el (initialize-instance, registry-db): Move the non-function initforms...
Ted Zlatanov [Tue, 5 Apr 2011 18:42:34 +0000 (13:42 -0500)]
* registry.el (initialize-instance, registry-db): Move the non-function initforms back to the class definition.

13 years agoDemonstrate pre-lexbind bug through registry.el ERT tests.
Ted Zlatanov [Tue, 5 Apr 2011 16:08:51 +0000 (11:08 -0500)]
Demonstrate pre-lexbind bug through registry.el ERT tests.

* (registry-lookup-breaks-before-lexbind): New method to demonstrate
pre-lexbind merge bug.
(registry-usage-test): Use it.

13 years agoFixes suggested by David Engster <deng@randomsample.de>.
Ted Zlatanov [Tue, 5 Apr 2011 15:54:02 +0000 (10:54 -0500)]
Fixes suggested by David Engster <deng@randomsample.de>.

* gnus-registry.el (gnus-registry-fixup-registry): New function to
fixup the parameters that can be customized by the user between
save/read cycles.
(gnus-registry-read): Use it.
(gnus-registry-make-db): Use it.
(gnus-registry-spool-action, gnus-registry-handle-action): Fix
messaging.
(gnus-registry--split-fancy-with-parent-internal): Fix loop.
(gnus-registry-post-process-groups): Use `cond' for better messaging.
(gnus-registry-usage-test): Add subject lookup test.

* registry.el (registry-db, initialize-instance): Set up constructor
instead of :initform arguments for the sake of older Emacsen.

13 years agognus-registry bug fixes.
Ted Zlatanov [Tue, 5 Apr 2011 15:41:51 +0000 (10:41 -0500)]
gnus-registry bug fixes.

* gnus-registry.el (gnus-registry-fixup-registry): New function to
fixup the parameters that can be customized by the user between
save/read cycles.
(gnus-registry-read): Use it.
(gnus-registry-make-db): Use it.
(gnus-registry-spool-action, gnus-registry-handle-action): Fix
messaging.
(gnus-registry--split-fancy-with-parent-internal): Fix loop.
(gnus-registry-post-process-groups): Use `cond' for better messaging.
(gnus-registry-usage-test): Add subject lookup test.

13 years agognus-registry.el major rewrite
Ted Zlatanov [Mon, 4 Apr 2011 00:54:20 +0000 (19:54 -0500)]
gnus-registry.el major rewrite

13 years ago(gnus-update-marks): Reinstate the code to not alter marks on non-selected articles.
Lars Magne Ingebrigtsen [Sun, 3 Apr 2011 16:44:10 +0000 (18:44 +0200)]
(gnus-update-marks): Reinstate the code to not alter marks on non-selected articles.