diff options
| author | Miles Bader | 2002-05-09 01:51:16 +0000 |
|---|---|---|
| committer | Miles Bader | 2002-05-09 01:51:16 +0000 |
| commit | eb1666e20cb972b060b8ca64a7106add0d99b5d8 (patch) | |
| tree | 527f5cb650082f5f85401c9ca4544954784ffd5e | |
| parent | ad99b6d71395b799073bebf221f3feca4472fc08 (diff) | |
| download | emacs-eb1666e20cb972b060b8ca64a7106add0d99b5d8.tar.gz emacs-eb1666e20cb972b060b8ca64a7106add0d99b5d8.zip | |
(gnus-cite-blank-line-after-header): New variable.
(gnus-article-hide-citation): Respect it.
| -rw-r--r-- | lisp/gnus/ChangeLog | 17 | ||||
| -rw-r--r-- | lisp/gnus/gnus-cite.el | 8 |
2 files changed, 18 insertions, 7 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 5c3f0590791..bfcdcc2d1ee 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2002-05-09 Miles Bader <miles@gnu.org> | ||
| 2 | |||
| 3 | * gnus-cite.el (gnus-cite-blank-line-after-header): New variable. | ||
| 4 | (gnus-article-hide-citation): Respect it. | ||
| 5 | |||
| 1 | 2002-04-12 Juanma Barranquero <lektu@terra.es> | 6 | 2002-04-12 Juanma Barranquero <lektu@terra.es> |
| 2 | 7 | ||
| 3 | * pop3.el (pop3-open-server): Fix typo. | 8 | * pop3.el (pop3-open-server): Fix typo. |
| @@ -95,7 +100,7 @@ | |||
| 95 | 100 | ||
| 96 | * mml.el (mml-preview): Bind `q'. | 101 | * mml.el (mml-preview): Bind `q'. |
| 97 | 102 | ||
| 98 | 2002-02-05 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | 103 | 2002-02-05 Pavel Jan,Am(Bk <Pavel@Janik.cz> |
| 99 | 104 | ||
| 100 | * binhex.el (binhex-decoder-switches): Doc fix. | 105 | * binhex.el (binhex-decoder-switches): Doc fix. |
| 101 | 106 | ||
| @@ -139,7 +144,7 @@ | |||
| 139 | * message.el, gnus-art.el, gnus.el, gnus-cite.el: | 144 | * message.el, gnus-art.el, gnus.el, gnus-cite.el: |
| 140 | Adapt face definitions to use :weight and :slant. | 145 | Adapt face definitions to use :weight and :slant. |
| 141 | 146 | ||
| 142 | 2001-12-12 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | 147 | 2001-12-12 Pavel Jan,Am(Bk <Pavel@Janik.cz> |
| 143 | 148 | ||
| 144 | * gnus-mlspl.el (gnus-group-split-fancy): Doc fix (add reference | 149 | * gnus-mlspl.el (gnus-group-split-fancy): Doc fix (add reference |
| 145 | to variable, follow doc-string conventions). | 150 | to variable, follow doc-string conventions). |
| @@ -215,7 +220,7 @@ | |||
| 215 | 220 | ||
| 216 | * gnus-score.el: Fixed some doc strings to properly quote symbols. | 221 | * gnus-score.el: Fixed some doc strings to properly quote symbols. |
| 217 | 222 | ||
| 218 | 2001-11-10 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | 223 | 2001-11-10 Pavel Jan,Am(Bk <Pavel@Janik.cz> |
| 219 | 224 | ||
| 220 | * gnus.el (gnus-local-domain): Reformat the doc-string to refer to | 225 | * gnus.el (gnus-local-domain): Reformat the doc-string to refer to |
| 221 | function `system-name' instead of both function and variable. | 226 | function `system-name' instead of both function and variable. |
| @@ -333,7 +338,7 @@ | |||
| 333 | * imap.el (imap-mailbox-examine, imap-mailbox-examine-1): Fix a | 338 | * imap.el (imap-mailbox-examine, imap-mailbox-examine-1): Fix a |
| 334 | typo: `exmine' --> `examine'. | 339 | typo: `exmine' --> `examine'. |
| 335 | 340 | ||
| 336 | 2001-08-20 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | 341 | 2001-08-20 Pavel Jan,Am(Bk <Pavel@Janik.cz> |
| 337 | 342 | ||
| 338 | * earcon.el (earcon-auto-play): Remove unused option. | 343 | * earcon.el (earcon-auto-play): Remove unused option. |
| 339 | 344 | ||
| @@ -377,7 +382,7 @@ | |||
| 377 | (gnus-ask-server-for-new-groups): Ditto. | 382 | (gnus-ask-server-for-new-groups): Ditto. |
| 378 | (gnus-check-first-time-used): Ditto. | 383 | (gnus-check-first-time-used): Ditto. |
| 379 | 384 | ||
| 380 | 2001-07-13 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | 385 | 2001-07-13 Pavel Jan,Am(Bk <Pavel@Janik.cz> |
| 381 | 386 | ||
| 382 | * gnus-setup.el (gnus-use-installed-gnus): Fix a typo. | 387 | * gnus-setup.el (gnus-use-installed-gnus): Fix a typo. |
| 383 | 388 | ||
| @@ -3113,7 +3118,7 @@ | |||
| 3113 | * gnus-draft.el (gnus-draft-send): Move gnus-draft-setup inside of | 3118 | * gnus-draft.el (gnus-draft-send): Move gnus-draft-setup inside of |
| 3114 | let. | 3119 | let. |
| 3115 | 3120 | ||
| 3116 | 2000-04-26 Pavel Jan,Bm(Bk <Pavel@Janik.cz> | 3121 | 2000-04-26 Pavel Jan,Am(Bk <Pavel@Janik.cz> |
| 3117 | 3122 | ||
| 3118 | * gnus-draft.el (gnus-draft-setup): Fix comments. | 3123 | * gnus-draft.el (gnus-draft-setup): Fix comments. |
| 3119 | 3124 | ||
diff --git a/lisp/gnus/gnus-cite.el b/lisp/gnus/gnus-cite.el index 2bca7c25d6e..47812a727dc 100644 --- a/lisp/gnus/gnus-cite.el +++ b/lisp/gnus/gnus-cite.el | |||
| @@ -265,6 +265,11 @@ This should make it easier to see who wrote what." | |||
| 265 | :group 'gnus-cite | 265 | :group 'gnus-cite |
| 266 | :type 'integer) | 266 | :type 'integer) |
| 267 | 267 | ||
| 268 | (defcustom gnus-cite-blank-line-after-header t | ||
| 269 | "If non-nil, put a blank line between the citation header and the button." | ||
| 270 | :group 'gnus-cite | ||
| 271 | :type 'boolean) | ||
| 272 | |||
| 268 | ;;; Internal Variables: | 273 | ;;; Internal Variables: |
| 269 | 274 | ||
| 270 | (defvar gnus-cite-article nil) | 275 | (defvar gnus-cite-article nil) |
| @@ -520,7 +525,8 @@ always hide." | |||
| 520 | end (set-marker (make-marker) end)) | 525 | end (set-marker (make-marker) end)) |
| 521 | (gnus-add-text-properties-when 'article-type nil beg end props) | 526 | (gnus-add-text-properties-when 'article-type nil beg end props) |
| 522 | (goto-char beg) | 527 | (goto-char beg) |
| 523 | (unless (save-excursion (search-backward "\n\n" nil t)) | 528 | (when (and gnus-cite-blank-line-after-header |
| 529 | (not (save-excursion (search-backward "\n\n" nil t)))) | ||
| 524 | (insert "\n")) | 530 | (insert "\n")) |
| 525 | (put-text-property | 531 | (put-text-property |
| 526 | (setq start (point-marker)) | 532 | (setq start (point-marker)) |