X-Git-Url: http://git.chise.org/gitweb/?a=blobdiff_plain;f=lisp%2Fgnus-namazu.el;h=d09d0aba833d2ac9769f6306f0d4d233b468b54b;hb=27688c4fe73986a46e3f2cb9051170f41ef82f4c;hp=4579c76112d0638f99524199023b55b61cc8745a;hpb=4a34555119a3deddfb0871ad8cd8cb5773ee1f8e;p=elisp%2Fgnus.git- diff --git a/lisp/gnus-namazu.el b/lisp/gnus-namazu.el index 4579c76..d09d0ab 100644 --- a/lisp/gnus-namazu.el +++ b/lisp/gnus-namazu.el @@ -17,9 +17,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with this program; if not, you can either send email to this -;; program's maintainer or write to: The Free Software Foundation, -;; Inc.; 59 Temple Place, Suite 330; Boston, MA 02111-1307, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, +;; Boston, MA 02110-1301, USA. ;;; Commentary: @@ -294,7 +294,8 @@ This means that the group \"nnimap+server:INBOX.group\" is placed in (push (cons gnus-namazu/group-name-regexp gnus-namazu-coding-system) gnus-group-name-charset-group-alist)))) - (gnus-namazu-update-all-indices)) + (unless gnus-namazu-command-prefix + (gnus-namazu-update-all-indices))) (defun gnus-namazu/server-directory (server) "Return the top directory of the server SERVER." @@ -370,7 +371,12 @@ This means that the group \"nnimap+server:INBOX.group\" is placed in (setq dir (nnmail-group-pathname (substring group (match-end 0)) "/")) - (push (cons (concat (cdr pair) (substring dir 1)) group) + (push (cons (concat (cdr pair) + ;; nnmail-group-pathname() on some + ;; systems returns pathnames which + ;; have drive letters at their top. + (substring dir (1+ (string-match "/" dir)))) + group) alist))))) gnus-newsrc-hashtb) (dolist (pair (nconc agent cache alist))