On Wed, 22 Apr 2009 19:15:36 -0500 Ted Zlatanov <[email protected]> wrote:
TZ> So basically the mailbox name is everything up to the last / character, TZ> like a `dirname' call. IMAP mailboxes can contain many characters, TZ> including /, so we need to forbid those characters in the file name. TZ> The base file name is then just `basename' on the full name. I tried to TZ> implement this by hand in tramp-imap-file-name-mailbox-or-name but there TZ> must be a better way. I fixed this in the code, and now it seems like filename completion works too. I always convert "/INBOX.test/a/b/filename" to mailbox "INBOX.test/a/b" and message name "filename". In addition, I collapse the file name to make searching and usage easier by subject, while keeping the real file name in the X-Tramp-IMAP header. I made many other fixes so please use the attached file as a baseline if you want to submit patches for any of the issues I listed before, or any new issues you notice. It's getting close to usable. Thanks Ted
tramp-imap.el
Description: application/emacs-lisp
_______________________________________________ Tramp-devel mailing list [email protected] http://lists.gnu.org/mailman/listinfo/tramp-devel
