]> git.eshelyaron.com Git - emacs.git/commitdiff
Merge changes made in Gnus trunk.
authorGnus developers <ding@gnus.org>
Tue, 8 Mar 2011 14:26:05 +0000 (14:26 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Tue, 8 Mar 2011 14:26:05 +0000 (14:26 +0000)
message.texi (Message Buffers): Update default value of message-generate-new-buffers.
shr.el (shr-table-horizontal-line): Change the defaults for the table lines to be spaces instead.
sieve-manage.el (sieve-sasl-auth): Create auth-info if not found.
 (sieve-sasl-auth): Check that auth-source-search did return something, or just return an empty string.
gnus-start.el (gnus-group-change-level): Allow putting foreign groups onto the list of killed groups, too.  This makes killed nnimap groups, for instance, more reliably not reappear.
nnimap.el (nnimap-request-thread): Don't bug out when we can't find the parent.

doc/misc/ChangeLog
doc/misc/message.texi
lisp/gnus/ChangeLog
lisp/gnus/gnus-start.el
lisp/gnus/nnimap.el
lisp/gnus/shr.el
lisp/gnus/sieve-manage.el

index 2c5f998737a28624bffc323294db5fa6237971cc..75674c7fd17fe96d9a2984ce9bcdfe7b54a93d4a 100644 (file)
@@ -1,3 +1,8 @@
+2011-03-07  Antoine Levitt  <antoine.levitt@gmail.com>
+
+       * message.texi (Message Buffers): Update default value of
+       message-generate-new-buffers.
+
 2011-03-06  Jay Belanger  <jay.p.belanger@gmail.com>
 
        * calc.texi (Logarithmic Units): Rename calc-logunits-dblevel
index b28639907edb994605ca7918491b208890e283a5..2937037ebb3c0748ff921e960df67d0abf0a23bb 100644 (file)
@@ -2298,8 +2298,7 @@ created.
 
 @item unique
 @item t
-Create the new buffer with the name generated in the Message way.  This
-is the default.
+Create the new buffer with the name generated in the Message way.
 
 @item unsent
 Similar to @code{unique} but the buffer name begins with "*unsent ".
@@ -2315,7 +2314,7 @@ type, the To address and the group name (any of these may be
 @code{nil}).  The function should return the new buffer name.
 @end table
 
-The default value is @code{unique}.
+The default value is @code{unsent}.
 
 @item message-max-buffers
 @vindex message-max-buffers
index c14c79a92cbd1f3e655d5d131e5ecdaa8332a10e..b30cfdcfcd33625227533c84c9b05956b1ae2646 100644 (file)
@@ -1,3 +1,14 @@
+2011-03-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * shr.el (shr-table-horizontal-line): Change the defaults for the table
+       lines to be spaces instead.
+
+2011-03-07  Julien Danjou  <julien@danjou.info>
+
+       * sieve-manage.el (sieve-sasl-auth): Create auth-info if not found.
+       (sieve-sasl-auth): Check that auth-source-search did return something,
+       or just return an empty string.
+
 2011-03-05  Antoine Levitt  <antoine.levitt@gmail.com>
 
        * gnus.el (gnus-interactive): Use read-directory-name.
 
 2011-03-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+       * gnus-start.el (gnus-group-change-level): Allow putting foreign groups
+       onto the list of killed groups, too.  This makes killed nnimap groups,
+       for instance, more reliably not reappear.
+
+       * nnimap.el (nnimap-request-thread): Don't bug out when we can't find
+       the parent.
+
        * gnus-sum.el (gnus-update-read-articles): Fix typo.
 
        * gnus.el (gnus-valid-select-methods): Mark nnimap as a backend that
index ebfa53f841e8aa0c11f981ec058f070b93412cf8..c6ff6044b924fb2c2a86116f9691b255fe4a033b 100644 (file)
@@ -1306,16 +1306,13 @@ for new groups, and subscribe the new groups as zombies."
        ((>= level gnus-level-zombie)
        ;; Remove from the hash table.
        (gnus-sethash group nil gnus-newsrc-hashtb)
-       ;; We do not enter foreign groups into the list of dead
-       ;; groups.
-       (unless (gnus-group-foreign-p group)
-         (if (= level gnus-level-zombie)
-             (push group gnus-zombie-list)
-           (if (= oldlevel gnus-level-killed)
-               ;; Remove from active hashtb.
-               (unintern group gnus-active-hashtb)
-             ;; Don't add it into killed-list if it was killed.
-             (push group gnus-killed-list)))))
+       (if (= level gnus-level-zombie)
+           (push group gnus-zombie-list)
+         (if (= oldlevel gnus-level-killed)
+             ;; Remove from active hashtb.
+             (unintern group gnus-active-hashtb)
+           ;; Don't add it into killed-list if it was killed.
+           (push group gnus-killed-list))))
        (t
        ;; If the list is to be entered into the newsrc assoc, and
        ;; it was killed, we have to create an entry in the newsrc
index aa4ecbc3b0f641ad97eb463e533d11f98ef3697a..638097abd7d098ca1b240cbba9c213efa78cc42a 100644 (file)
@@ -1545,10 +1545,11 @@ textual parts.")
                               refid refid value)))))
         (result (with-current-buffer (nnimap-buffer)
                   (nnimap-command  "UID SEARCH %s" cmd))))
-    (gnus-fetch-headers
-     (and (car result) (delete 0 (mapcar #'string-to-number
-                                        (cdr (assoc "SEARCH" (cdr result))))))
-     nil t)))
+    (when result
+      (gnus-fetch-headers
+       (and (car result) (delete 0 (mapcar #'string-to-number
+                                          (cdr (assoc "SEARCH" (cdr result))))))
+       nil t))))
 
 (defun nnimap-possibly-change-group (group server)
   (let ((open-result t))
index bb9695ebb723f121429b8cc233d7b75ca4297e5e..c9c5bd5ff1cc417cd952542f1af45ef775cd9b2d 100644 (file)
@@ -53,17 +53,17 @@ fit these criteria."
   :group 'shr
   :type 'regexp)
 
-(defcustom shr-table-horizontal-line ?-
+(defcustom shr-table-horizontal-line ? 
   "Character used to draw horizontal table lines."
   :group 'shr
   :type 'character)
 
-(defcustom shr-table-vertical-line ?|
+(defcustom shr-table-vertical-line ? 
   "Character used to draw vertical table lines."
   :group 'shr
   :type 'character)
 
-(defcustom shr-table-corner ?+
+(defcustom shr-table-corner ? 
   "Character used to draw table corners."
   :group 'shr
   :type 'character)
index c9a0df20590d5e0a3df39950132845cdc4f8e0b5..5c2e775a211d9859715547d0ed2c15041575f436 100644 (file)
@@ -275,9 +275,10 @@ Valid states are `closed', `initial', `nonauth', and `auth'.")
   (with-current-buffer buffer
     (let* ((auth-info (auth-source-search :host sieve-manage-server
                                           :port "sieve"
-                                          :max 1))
-           (user-name (plist-get (nth 0 auth-info) :user))
-           (user-password (plist-get (nth 0 auth-info) :secret))
+                                          :max 1
+                                          :create t))
+           (user-name (or (plist-get (nth 0 auth-info) :user) ""))
+           (user-password (or (plist-get (nth 0 auth-info) :secret) ""))
            (user-password (if (functionp user-password)
                               (funcall user-password)
                             user-password))