Now that IMAP URLs use a slash delimiter, I think it looks better to
authorChris Hanson <org/chris-hanson/cph>
Fri, 30 Jun 2000 17:09:29 +0000 (17:09 +0000)
committerChris Hanson <org/chris-hanson/cph>
Fri, 30 Jun 2000 17:09:29 +0000 (17:09 +0000)
use the base name as the name of the buffer.

v7/src/imail/imail-imap.scm

index 8887aaa7f692b1d635a1ba3f628b1ea83f776c94..8b6db391ed1cce09c188a84ea0b804a31fc26ca6 100644 (file)
@@ -1,6 +1,6 @@
 ;;; -*-Scheme-*-
 ;;;
-;;; $Id: imail-imap.scm,v 1.130 2000/06/29 20:07:32 cph Exp $
+;;; $Id: imail-imap.scm,v 1.131 2000/06/30 17:09:29 cph Exp $
 ;;;
 ;;; Copyright (c) 1999-2000 Massachusetts Institute of Technology
 ;;;
@@ -74,7 +74,7 @@
   (make-imap-url-string url (imap-url-mailbox url)))
 
 (define-method url-presentation-name ((url <imap-url>))
-  (imap-url-mailbox url))
+  (url-base-name url))
 
 (define (compatible-imap-urls? url1 url2)
   ;; Can URL1 and URL2 both be accessed from the same IMAP session?