1 ;;; nnvirtual.el --- virtual newsgroups access for Gnus
3 ;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4 ;; 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software Foundation, Inc.
6 ;; Author: David Moore <dmoore@ucsd.edu>
7 ;; Lars Magne Ingebrigtsen <larsi@gnus.org>
8 ;; Masanobu UMEDA <umerin@flab.flab.fujitsu.junet>
11 ;; This file is part of GNU Emacs.
13 ;; GNU Emacs is free software: you can redistribute it and/or modify
14 ;; it under the terms of the GNU General Public License as published by
15 ;; the Free Software Foundation, either version 3 of the License, or
16 ;; (at your option) any later version.
18 ;; GNU Emacs is distributed in the hope that it will be useful,
19 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
20 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 ;; GNU General Public License for more details.
23 ;; You should have received a copy of the GNU General Public License
24 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
28 ;; The other access methods (nntp, nnspool, etc) are general news
29 ;; access methods. This module relies on Gnus and can not be used
42 (eval-when-compile (require 'cl))
44 (nnoo-declare nnvirtual)
46 (defvoo nnvirtual-always-rescan t
47 "If non-nil, always scan groups for unread articles when entering a group.
48 If this variable is nil and you read articles in a component group
49 after the virtual group has been activated, the read articles from the
50 component group will show up when you enter the virtual group.")
52 (defvoo nnvirtual-component-regexp nil
53 "Regexp to match component groups.")
55 (defvoo nnvirtual-component-groups nil
56 "Component group in this nnvirtual group.")
60 (defconst nnvirtual-version "nnvirtu