flee@shire.cs.psu.edu (Felix Lee) (11/09/89)
Sanjay Baldwa <sbaldwa@cadev5.intel.com>, at the "How many articles from foo (default 999):" prompt, wants to be able to say > 10-20 or -10 or 10- Something like this could be done. Syntax has to be refined. I'd be happy enough if there were a way to say "first ten articles" instead of "last ten articles". Is something more complex needed? > /Subject/^cricket > 50-/Subject/"Dan Quale" This isn't worth it. GNUS will have to fetch all the article headers in order to do the header matching, so this will be as slow, if not slower, than just fetching all of the headers. If you want to restrict the group summary window, try this wrapper around flush-lines and keep-lines: (defun gnus-Subject-remove (pattern &optional non-matching) "*Remove lines in the GNUS Subject: buffer that match PATTERN. Optional prefix-arg NON-MATCHING means remove lines that don't match PATTERN, i.e., keep lines with PATTERN." (interactive "sLines matching what regexp? \nP") (let ((buffer-read-only nil)) (if non-matching (keep-lines pattern) (flush-lines pattern))) (message (substitute-command-keys "Type \\[gnus-Subject-reselect-current-group] to show a full list again.") )) -- Felix Lee flee@shire.cs.psu.edu *!psuvax1!flee
clark@cme.nist.gov (Steve Clark) (11/09/89)
>>>>> On 9 Nov 89 13:10:44 GMT, flee@shire.cs.psu.edu (Felix Lee) said: Felix> Something like this could be done. Syntax has to be refined. I'd be Felix> happy enough if there were a way to say "first ten articles" instead Felix> of "last ten articles". Is something more complex needed? From gnus info, node: Selecting a Newsgroup: > If the number of articles being selected is larger than the variable > `gnus-large-newsgroup', the number of articles actually selected is > asked for. If the given value N is positive, the last N articles will > be selected. If N is negative, the first N articles will be selected. > An empty string means to select all articles. -- -steve ------------------------------------------------------------------ Steve Clark National Institute for Standards and Technology (formerly NBS) clark@cme.nist.gov ..uunet!cme-durer!clark (301)975-3595 / 3544 "I'm workin' on it!"