2003-01-07 Reiner Steib <Reiner.Steib@gmx.de>
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Wed, 8 Jan 2003 03:59:29 +0000 (03:59 +0000)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Wed, 8 Jan 2003 03:59:29 +0000 (03:59 +0000)
* message.el (message-generate-headers-first): Added customization
if variable is a list.

2003-01-07  Michael Shields  <shields@msrl.com>

* gnus-art.el (gnus-article-next-page): Correctly handle the case
where the last line of the article is the last line of the window.

2003-01-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>

* gnus-msg.el (gnus-debug): Use ignore-errors.

lisp/ChangeLog
lisp/gnus-art.el
lisp/gnus-msg.el
lisp/message.el

index 2063a80..9b57af3 100644 (file)
@@ -1,5 +1,17 @@
+2003-01-07  Reiner Steib  <Reiner.Steib@gmx.de>
+
+       * message.el (message-generate-headers-first): Added customization
+       if variable is a list.
+
+2003-01-07  Michael Shields  <shields@msrl.com>
+
+       * gnus-art.el (gnus-article-next-page): Correctly handle the case
+       where the last line of the article is the last line of the window.
+
 2003-01-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * gnus-msg.el (gnus-debug): Use ignore-errors.
+
        * gnus-agent.el (gnus-agent-fetch-selected-article): Use
        `gnus-summary-update-line'. 
 
index 9122fcb..9e99848 100644 (file)
@@ -4732,7 +4732,7 @@ Argument LINES specifies lines to be scrolled up."
   (if (save-excursion
        (end-of-line)
        (and (pos-visible-in-window-p)  ;Not continuation line.
-            (eobp)))
+            (>= (1+ (point)) (point-max)))) ;Allow for trailing newline.
       ;; Nothing in this page.
       (if (or (not gnus-page-broken)
              (save-excursion
index 610c18b..a36eecb 100644 (file)
@@ -1485,17 +1485,15 @@ The source file has to be in the Emacs load path."
       (insert "------------------ Environment follows ------------------\n\n"))
     (while olist
       (if (boundp (car olist))
-         (condition-case ()
-             (pp `(setq ,(car olist)
-                        ,(if (or (consp (setq sym (symbol-value (car olist))))
-                                 (and (symbolp sym)
-                                      (not (or (eq sym nil)
-                                               (eq sym t)))))
-                             (list 'quote (symbol-value (car olist)))
-                           (symbol-value (car olist))))
-                 (current-buffer))
-           (error
-            (format "(setq %s 'whatever)\n" (car olist))))
+         (ignore-errors
+           (pp `(setq ,(car olist)
+                      ,(if (or (consp (setq sym (symbol-value (car olist))))
+                               (and (symbolp sym)
+                                    (not (or (eq sym nil)
+                                             (eq sym t)))))
+                           (list 'quote (symbol-value (car olist)))
+                         (symbol-value (car olist))))
+               (current-buffer)))
        (insert ";; (makeunbound '" (symbol-name (car olist)) ")\n"))
       (setq olist (cdr olist)))
     (insert "\n\n")
index ac8e251..f22d2cc 100644 (file)
@@ -690,7 +690,9 @@ Note that the variable `message-deletable-headers' specifies headers which
 are to be deleted and then re-generated before sending, so this variable
 will not have a visible effect for those headers."
   :group 'message-headers
-  :type 'boolean)
+  :type '(choice (const :tag "None" nil)
+                 (const :tag "All" t)
+                 (repeat (sexp :tag "Header"))))
 
 (defcustom message-setup-hook nil
   "Normal hook, run each time a new outgoing message is initialized.