* patch for "/ *"
@ 2001-10-11 12:43 Eric Marsden
2001-10-12 15:41 ` Simon Josefsson
0 siblings, 1 reply; 5+ messages in thread
From: Eric Marsden @ 2001-10-11 12:43 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 252 bytes --]
Hi,
Most of the limiting commands work by filtering out articles from the
summary buffer. The "/ *" (limit-to-cache) command is different, since
it is aliased to "Y c" (insert-cached-articles). The attached patch
makes "/ *" as I would expect it to.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: make \"/ *\" operate like other limiting commands --]
[-- Type: text/x-patch, Size: 706 bytes --]
--- gnus-cache.el.orig Thu Oct 11 11:29:32 2001
+++ gnus-cache.el Thu Oct 11 11:31:45 2001
@@ -370,8 +370,16 @@
(while cached
(gnus-summary-goto-subject (pop cached) t))))
-(defalias 'gnus-summary-limit-include-cached
- 'gnus-summary-insert-cached-articles)
+(defun gnus-summary-limit-include-cached ()
+ "Limit the summary buffer to articles that are cached."
+ (interactive)
+ (let ((cached (sort (copy-sequence gnus-newsgroup-cached) '>))
+ (gnus-verbose (max 6 gnus-verbose)))
+ (if cached
+ (progn
+ (gnus-summary-limit cached)
+ (gnus-summary-position-point))
+ (gnus-message 3 "No cached articles for this group"))))
;;; Internal functions.
[-- Attachment #3: Type: text/plain, Size: 79 bytes --]
--
Eric Marsden <URL:http://www.laas.fr/~emarsden/>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: patch for "/ *"
2001-10-11 12:43 patch for "/ *" Eric Marsden
@ 2001-10-12 15:41 ` Simon Josefsson
2001-10-12 18:00 ` Eric Marsden
0 siblings, 1 reply; 5+ messages in thread
From: Simon Josefsson @ 2001-10-12 15:41 UTC (permalink / raw)
Cc: ding
Eric Marsden <emarsden@laas.fr> writes:
> Hi,
>
> Most of the limiting commands work by filtering out articles from the
> summary buffer. The "/ *" (limit-to-cache) command is different, since
> it is aliased to "Y c" (insert-cached-articles). The attached patch
> makes "/ *" as I would expect it to.
Committed, thanks. Have you signed FSF papers? The patch was longer
than 5 lines, so I guess that would be necessary.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: patch for "/ *"
2001-10-12 15:41 ` Simon Josefsson
@ 2001-10-12 18:00 ` Eric Marsden
2001-10-12 18:08 ` Simon Josefsson
0 siblings, 1 reply; 5+ messages in thread
From: Eric Marsden @ 2001-10-12 18:00 UTC (permalink / raw)
>>>>> "sj" == Simon Josefsson <jas@extundo.com> writes:
sj> Committed, thanks. Have you signed FSF papers? The patch was
sj> longer than 5 lines, so I guess that would be necessary.
I have signed papers for Emacs, yes -- are there separate ones for
Gnus?
--
Eric Marsden <URL:http://www.laas.fr/~emarsden/>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: patch for "/ *"
2001-10-12 18:00 ` Eric Marsden
@ 2001-10-12 18:08 ` Simon Josefsson
2001-10-12 18:53 ` ShengHuo ZHU
0 siblings, 1 reply; 5+ messages in thread
From: Simon Josefsson @ 2001-10-12 18:08 UTC (permalink / raw)
Cc: ding
Eric Marsden <emarsden@laas.fr> writes:
>>>>>> "sj" == Simon Josefsson <jas@extundo.com> writes:
>
> sj> Committed, thanks. Have you signed FSF papers? The patch was
> sj> longer than 5 lines, so I guess that would be necessary.
>
> I have signed papers for Emacs, yes -- are there separate ones for
> Gnus?
I don't think so, but I don't grok legalese. Anyone?
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: patch for "/ *"
2001-10-12 18:08 ` Simon Josefsson
@ 2001-10-12 18:53 ` ShengHuo ZHU
0 siblings, 0 replies; 5+ messages in thread
From: ShengHuo ZHU @ 2001-10-12 18:53 UTC (permalink / raw)
Simon Josefsson <jas@extundo.com> writes:
> Eric Marsden <emarsden@laas.fr> writes:
>
>>>>>>> "sj" == Simon Josefsson <jas@extundo.com> writes:
>>
>> sj> Committed, thanks. Have you signed FSF papers? The patch was
>> sj> longer than 5 lines, so I guess that would be necessary.
>>
>> I have signed papers for Emacs, yes -- are there separate ones for
>> Gnus?
>
> I don't think so, but I don't grok legalese. Anyone?
No separate papers are required.
ShengHuo
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2001-10-12 18:53 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-11 12:43 patch for "/ *" Eric Marsden
2001-10-12 15:41 ` Simon Josefsson
2001-10-12 18:00 ` Eric Marsden
2001-10-12 18:08 ` Simon Josefsson
2001-10-12 18:53 ` ShengHuo ZHU
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).