Mercurial > emacs
comparison lisp/gnus/gnus-start.el @ 90718:f1d13e615070
Merge from emacs--devo--0
Patches applied:
* emacs--devo--0 (patch 523-544)
- Update from CVS
- Merge from gnus--rel--5.10
* gnus--rel--5.10 (patch 168-171)
- Update from CVS
- Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-150
author | Miles Bader <miles@gnu.org> |
---|---|
date | Thu, 07 Dec 2006 04:14:14 +0000 |
parents | 40fcc895777b 1bf9e5a9c07a |
children | 95d0cdf160ea |
comparison
equal
deleted
inserted
replaced
90717:06937e972ad0 | 90718:f1d13e615070 |
---|---|
13 ;; the Free Software Foundation; either version 2, or (at your option) | 13 ;; the Free Software Foundation; either version 2, or (at your option) |
14 ;; any later version. | 14 ;; any later version. |
15 | 15 |
16 ;; GNU Emacs is distributed in the hope that it will be useful, | 16 ;; GNU Emacs is distributed in the hope that it will be useful, |
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | 17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
19 ;; GNU General Public License for more details. | 19 ;; GNU General Public License for more details. |
20 | 20 |
21 ;; You should have received a copy of the GNU General Public License | 21 ;; You should have received a copy of the GNU General Public License |
22 ;; along with GNU Emacs; see the file COPYING. If not, write to the | 22 ;; along with GNU Emacs; see the file COPYING. If not, write to the |
23 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 23 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
350 :group 'gnus-group-new | 350 :group 'gnus-group-new |
351 :type 'regexp) | 351 :type 'regexp) |
352 | 352 |
353 (defcustom gnus-options-subscribe nil | 353 (defcustom gnus-options-subscribe nil |
354 "*All new groups matching this regexp will be subscribed unconditionally. | 354 "*All new groups matching this regexp will be subscribed unconditionally. |
355 Note that this variable deals only with new newsgroups. This variable | 355 Note that this variable deals only with new newsgroups. This variable |
356 does not affect old newsgroups. | 356 does not affect old newsgroups. |
357 | 357 |
358 New groups that match this regexp will not be handled by | 358 New groups that match this regexp will not be handled by |
359 `gnus-subscribe-newsgroup-method'. Instead, they will | 359 `gnus-subscribe-newsgroup-method'. Instead, they will |
360 be subscribed using `gnus-subscribe-options-newsgroup-method'." | 360 be subscribed using `gnus-subscribe-options-newsgroup-method'." |
362 :type '(choice regexp | 362 :type '(choice regexp |
363 (const :tag "none" nil))) | 363 (const :tag "none" nil))) |
364 | 364 |
365 (defcustom gnus-options-not-subscribe nil | 365 (defcustom gnus-options-not-subscribe nil |
366 "*All new groups matching this regexp will be ignored. | 366 "*All new groups matching this regexp will be ignored. |
367 Note that this variable deals only with new newsgroups. This variable | 367 Note that this variable deals only with new newsgroups. This variable |
368 does not affect old (already subscribed) newsgroups." | 368 does not affect old (already subscribed) newsgroups." |
369 :group 'gnus-group-new | 369 :group 'gnus-group-new |
370 :type '(choice regexp | 370 :type '(choice regexp |
371 (const :tag "none" nil))) | 371 (const :tag "none" nil))) |
372 | 372 |
620 "Make the new GROUP a killed group." | 620 "Make the new GROUP a killed group." |
621 (push group gnus-killed-list)) | 621 (push group gnus-killed-list)) |
622 | 622 |
623 (defun gnus-subscribe-newsgroup (newsgroup &optional next) | 623 (defun gnus-subscribe-newsgroup (newsgroup &optional next) |
624 "Subscribe new NEWSGROUP. | 624 "Subscribe new NEWSGROUP. |
625 If NEXT is non-nil, it is inserted before NEXT. Otherwise it is made | 625 If NEXT is non-nil, it is inserted before NEXT. Otherwise it is made |
626 the first newsgroup." | 626 the first newsgroup." |
627 (save-excursion | 627 (save-excursion |
628 (goto-char (point-min)) | 628 (goto-char (point-min)) |
629 ;; We subscribe the group by changing its level to `subscribed'. | 629 ;; We subscribe the group by changing its level to `subscribed'. |
630 (gnus-group-change-level | 630 (gnus-group-change-level |
732 (setq gnus-group-use-permanent-levels val))) | 732 (setq gnus-group-use-permanent-levels val))) |
733 | 733 |
734 (defun gnus-1 (&optional arg dont-connect slave) | 734 (defun gnus-1 (&optional arg dont-connect slave) |
735 "Read network news. | 735 "Read network news. |
736 If ARG is non-nil and a positive number, Gnus will use that as the | 736 If ARG is non-nil and a positive number, Gnus will use that as the |
737 startup level. If ARG is non-nil and not a positive number, Gnus will | 737 startup level. If ARG is non-nil and not a positive number, Gnus will |
738 prompt the user for the name of an NNTP server to use." | 738 prompt the user for the name of an NNTP server to use." |
739 (interactive "P") | 739 (interactive "P") |
740 | 740 |
741 (if (gnus-alive-p) | 741 (if (gnus-alive-p) |
742 (progn | 742 (progn |