Mercurial > emacs
comparison lisp/gnus/gnus.el @ 74147:0d65ef218192
(gnus-nntp-server, gnus-use-cross-reference, gnus-valid-select-methods,
total-expire, gnus-summary-line-format, gnus-group-read-only-p):
Fix space/tab mixup in docstrings.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Fri, 24 Nov 2006 10:35:44 +0000 |
parents | 234305495123 |
children | e3694f1cb928 f1d13e615070 |
comparison
equal
deleted
inserted
replaced
74146:c3bc7f03ff41 | 74147:0d65ef218192 |
---|---|
14 ;; the Free Software Foundation; either version 2, or (at your option) | 14 ;; the Free Software Foundation; either version 2, or (at your option) |
15 ;; any later version. | 15 ;; any later version. |
16 | 16 |
17 ;; GNU Emacs is distributed in the hope that it will be useful, | 17 ;; GNU Emacs is distributed in the hope that it will be useful, |
18 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | 18 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of |
19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 19 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
20 ;; GNU General Public License for more details. | 20 ;; GNU General Public License for more details. |
21 | 21 |
22 ;; You should have received a copy of the GNU General Public License | 22 ;; You should have received a copy of the GNU General Public License |
23 ;; along with GNU Emacs; see the file COPYING. If not, write to the | 23 ;; along with GNU Emacs; see the file COPYING. If not, write to the |
24 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 24 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
1333 :group 'gnus-server | 1333 :group 'gnus-server |
1334 :type '(repeat string)) | 1334 :type '(repeat string)) |
1335 | 1335 |
1336 (defcustom gnus-nntp-server nil | 1336 (defcustom gnus-nntp-server nil |
1337 "*The name of the host running the NNTP server. | 1337 "*The name of the host running the NNTP server. |
1338 This variable is semi-obsolete. Use the `gnus-select-method' | 1338 This variable is semi-obsolete. Use the `gnus-select-method' |
1339 variable instead." | 1339 variable instead." |
1340 :group 'gnus-server | 1340 :group 'gnus-server |
1341 :type '(choice (const :tag "disable" nil) | 1341 :type '(choice (const :tag "disable" nil) |
1342 string)) | 1342 string)) |
1343 | 1343 |
1476 :type 'boolean) | 1476 :type 'boolean) |
1477 | 1477 |
1478 (defcustom gnus-use-cross-reference t | 1478 (defcustom gnus-use-cross-reference t |
1479 "*Non-nil means that cross referenced articles will be marked as read. | 1479 "*Non-nil means that cross referenced articles will be marked as read. |
1480 If nil, ignore cross references. If t, mark articles as read in | 1480 If nil, ignore cross references. If t, mark articles as read in |
1481 subscribed newsgroups. If neither t nor nil, mark as read in all | 1481 subscribed newsgroups. If neither t nor nil, mark as read in all |
1482 newsgroups." | 1482 newsgroups." |
1483 :group 'gnus-server | 1483 :group 'gnus-server |
1484 :type '(choice (const :tag "off" nil) | 1484 :type '(choice (const :tag "off" nil) |
1485 (const :tag "subscribed" t) | 1485 (const :tag "subscribed" t) |
1486 (sexp :format "all" | 1486 (sexp :format "all" |
1695 The first element of each list lists should be a string with the name | 1695 The first element of each list lists should be a string with the name |
1696 of the select method. The other elements may be the category of | 1696 of the select method. The other elements may be the category of |
1697 this method (i. e., `post', `mail', `none' or whatever) or other | 1697 this method (i. e., `post', `mail', `none' or whatever) or other |
1698 properties that this method has (like being respoolable). | 1698 properties that this method has (like being respoolable). |
1699 If you implement a new select method, all you should have to change is | 1699 If you implement a new select method, all you should have to change is |
1700 this variable. I think." | 1700 this variable. I think." |
1701 :group 'gnus-server | 1701 :group 'gnus-server |
1702 :type '(repeat (group (string :tag "Name") | 1702 :type '(repeat (group (string :tag "Name") |
1703 (radio-button-choice (const :format "%v " post) | 1703 (radio-button-choice (const :format "%v " post) |
1704 (const :format "%v " mail) | 1704 (const :format "%v " mail) |
1705 (const :format "%v " none) | 1705 (const :format "%v " none) |
1849 :variable-default nil | 1849 :variable-default nil |
1850 :variable-document | 1850 :variable-document |
1851 "*Groups in which to perform expiry of all read articles. | 1851 "*Groups in which to perform expiry of all read articles. |
1852 Use with extreme caution. All groups that match this regexp will be | 1852 Use with extreme caution. All groups that match this regexp will be |
1853 expiring - which means that all read articles will be deleted after | 1853 expiring - which means that all read articles will be deleted after |
1854 \(say) one week. (This only goes for mail groups and the like, of | 1854 \(say) one week. (This only goes for mail groups and the like, of |
1855 course.)" | 1855 course.)" |
1856 :variable-group nnmail-expire | 1856 :variable-group nnmail-expire |
1857 :variable-type '(choice (const nil) | 1857 :variable-type '(choice (const nil) |
1858 regexp) | 1858 regexp) |
1859 :parameter-type '(const :tag "Total Expire" t) | 1859 :parameter-type '(const :tag "Total Expire" t) |
2981 summary specifier. | 2981 summary specifier. |
2982 | 2982 |
2983 The %U (status), %R (replied) and %z (zcore) specs have to be handled | 2983 The %U (status), %R (replied) and %z (zcore) specs have to be handled |
2984 with care. For reasons of efficiency, Gnus will compute what column | 2984 with care. For reasons of efficiency, Gnus will compute what column |
2985 these characters will end up in, and \"hard-code\" that. This means that | 2985 these characters will end up in, and \"hard-code\" that. This means that |
2986 it is invalid to have these specs after a variable-length spec. Well, | 2986 it is invalid to have these specs after a variable-length spec. Well, |
2987 you might not be arrested, but your summary buffer will look strange, | 2987 you might not be arrested, but your summary buffer will look strange, |
2988 which is bad enough. | 2988 which is bad enough. |
2989 | 2989 |
2990 The smart choice is to have these specs as far to the left as | 2990 The smart choice is to have these specs as far to the left as |
2991 possible. | 2991 possible. |
3366 (require method)) | 3366 (require method)) |
3367 (fboundp (intern (format "%s-%s" method func)))))) | 3367 (fboundp (intern (format "%s-%s" method func)))))) |
3368 | 3368 |
3369 (defun gnus-group-read-only-p (&optional group) | 3369 (defun gnus-group-read-only-p (&optional group) |
3370 "Check whether GROUP supports editing or not. | 3370 "Check whether GROUP supports editing or not. |
3371 If GROUP is nil, `gnus-newsgroup-name' will be checked instead. Note | 3371 If GROUP is nil, `gnus-newsgroup-name' will be checked instead. Note |
3372 that that variable is buffer-local to the summary buffers." | 3372 that that variable is buffer-local to the summary buffers." |
3373 (let ((group (or group gnus-newsgroup-name))) | 3373 (let ((group (or group gnus-newsgroup-name))) |
3374 (not (gnus-check-backend-function 'request-replace-article group)))) | 3374 (not (gnus-check-backend-function 'request-replace-article group)))) |
3375 | 3375 |
3376 (defun gnus-virtual-group-p (group) | 3376 (defun gnus-virtual-group-p (group) |
4041 (setq method nil)) | 4041 (setq method nil)) |
4042 (pop opened)) | 4042 (pop opened)) |
4043 (not method))) | 4043 (not method))) |
4044 | 4044 |
4045 (defun gnus-server-extend-method (group method) | 4045 (defun gnus-server-extend-method (group method) |
4046 ;; This function "extends" a virtual server. If the server is | 4046 ;; This function "extends" a virtual server. If the server is |
4047 ;; "hello", and the select method is ("hello" (my-var "something")) | 4047 ;; "hello", and the select method is ("hello" (my-var "something")) |
4048 ;; in the group "alt.alt", this will result in a new virtual server | 4048 ;; in the group "alt.alt", this will result in a new virtual server |
4049 ;; called "hello+alt.alt". | 4049 ;; called "hello+alt.alt". |
4050 (if (or (not (inline (gnus-similar-server-opened method))) | 4050 (if (or (not (inline (gnus-similar-server-opened method))) |
4051 (not (cddr method))) | 4051 (not (cddr method))) |