Search the FAQ Archives

3 - A - B - C - D - E - F - G - H - I - J - K - L - M
N - O - P - Q - R - S - T - U - V - W - X - Y - Z
faqs.org - Internet FAQ Archives

Getting Started with News and the NN News Reader
Section - ... ... ..... 6.2.1.1 Macro to Show All Articles with Current Subject

( Single Page )
[ Usenet FAQs | Web FAQs | Documents | RFC Index | Restaurant inspections ]


Top Document: Getting Started with News and the NN News Reader
Previous Document: ... ... 6.2.1 Within a Newsgroup
Next Document: ... ... 6.2.2 Across Newsgroups
See reader questions & answers on this topic! - Help others by sharing your knowledge
Often you will read an article and want to go back and read all the
articles that have been posted with its subject.  Here's a macro that
does this.  To run it type ^a (CTL+a) while reading an article with
the subject you're interested in.


--- begin init.macros.all-subject ---
# Archived at ftp://ftp.halcyon.com/pub/ii/internet/nn/init.macros.all-subject

# Select all (even read) articles with this subject; display base article
# Assumes you have case-fold-search set, and want to do a case-sensitive
# search.
# BUG: Also finds articles with current subject as substring of subject.
#      (Anyone know how to do an exact match?)
map show ^a (
        :unset case-fold-search    # Make case sensitive
        goto-group "s" find "^" 'Z'
        :set case-fold-search      # Make case insensitive (default)
)
--- end init.macros.all-subject ---

To install this macro, put init.macros.all-subject in your ~/.nn directory
and put this line in your init file:

 load init.macros.all-subject

User Contributions:

Comment about this article, ask questions, or add new information about this topic:

CAPTCHA




Top Document: Getting Started with News and the NN News Reader
Previous Document: ... ... 6.2.1 Within a Newsgroup
Next Document: ... ... 6.2.2 Across Newsgroups

Single Page

[ Usenet FAQs | Web FAQs | Documents | RFC Index ]

Send corrections/additions to the FAQ Maintainer:
FAQ Editor <faq-editor@ii.com>





Last Update November 21 2011 @ 01:00 PM