* spam-report.el (spam-report-gmane): Fix interactive.
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Thu, 30 Sep 2004 22:12:34 +0000 (22:12 +0000)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Thu, 30 Sep 2004 22:12:34 +0000 (22:12 +0000)
* gnus-art.el (gnus-treat-body-boundary): Only do stuff under X.

* gnus-agent.el (gnus-agent-synchronize-flags-server): Be silent
when writing file.
(gnus-agent-synchronize-flags): Don't default to being
interactive.

lisp/ChangeLog
lisp/gnus-agent.el
lisp/gnus-art.el
lisp/spam-report.el

index 78a72cc..440fc23 100644 (file)
@@ -1,3 +1,14 @@
+2004-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * spam-report.el (spam-report-gmane): Fix interactive.
+
+       * gnus-art.el (gnus-treat-body-boundary): Only do stuff under X. 
+
+       * gnus-agent.el (gnus-agent-synchronize-flags-server): Be silent
+       when writing file.
+       (gnus-agent-synchronize-flags): Don't default to being
+       interactive. 
+
 2004-09-30  Simon Josefsson  <jas@extundo.com>
 
        * message.el (message-generate-hashcash): Add.
index 91d947e..7edecc3 100644 (file)
@@ -114,7 +114,7 @@ If nil, only read articles will be expired."
   :group 'gnus-agent
   :type 'function)
 
-(defcustom gnus-agent-synchronize-flags 'ask
+(defcustom gnus-agent-synchronize-flags nil
   "Indicate if flags are synchronized when you plug in.
 If this is `ask' the hook will query the user."
   :version "21.1"
@@ -847,7 +847,8 @@ be a select method."
                (delete-file (gnus-agent-lib-file "flags")))
               (error
                (let ((file (gnus-agent-lib-file "flags")))
-                 (write-file file)
+                 (write-region (point-min) (point-max)
+                               (gnus-agent-lib-file "flags") nil 'silent)
                  (error "Couldn't set flags from file %s due to %s"
                         file (error-message-string err)))))))
       (kill-buffer nil))))
index eff141f..a0ea71a 100644 (file)
@@ -1287,9 +1287,10 @@ See Info node `(gnus)Customizing Articles' and Info node
 (put 'gnus-treat-newsgroups-picon 'highlight t)
 
 (defcustom gnus-treat-body-boundary
-  (if (or gnus-treat-newsgroups-picon
-         gnus-treat-mail-picon
-         gnus-treat-from-picon)
+  (if (and (eq window-system 'x)
+          (or gnus-treat-newsgroups-picon
+              gnus-treat-mail-picon
+              gnus-treat-from-picon))
       'head nil)
   "Draw a boundary at the end of the headers.
 Valid values are nil and `head'.
index c31d62a..e3346e9 100644 (file)
@@ -120,7 +120,7 @@ Reports is as ham when HAM is set."
 
 (defun spam-report-gmane (&rest articles)
   "Report an article as spam through Gmane."
-  (interactive (gnus-summary-work-articles prefix-arg))
+  (interactive (gnus-summary-work-articles current-prefix-arg))
   (dolist (article articles)
     (when (and gnus-newsgroup-name
               (or (null spam-report-gmane-regex)