From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/72810 Path: news.gmane.org!not-for-mail From: Adrian Lanz Newsgroups: gmane.emacs.gnus.general Subject: Re: mm-default-directory not honoured Date: Sat, 09 Oct 2010 13:31:35 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1286623979 21097 80.91.229.12 (9 Oct 2010 11:32:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 9 Oct 2010 11:32:59 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M21182@lists.math.uh.edu Sat Oct 09 13:32:58 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P4Xfd-00038O-Gn for ding-account@gmane.org; Sat, 09 Oct 2010 13:32:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1P4Xel-0003b9-Bk; Sat, 09 Oct 2010 06:32:03 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1P4Xej-0003at-Oo for ding@lists.math.uh.edu; Sat, 09 Oct 2010 06:32:01 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P4Xef-0004T8-0f for ding@lists.math.uh.edu; Sat, 09 Oct 2010 06:32:01 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P4Xee-0005Zf-00 for ; Sat, 09 Oct 2010 13:31:56 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P4Xea-0002ni-FP for ding@gnus.org; Sat, 09 Oct 2010 13:31:52 +0200 Original-Received: from public.wsl.ch ([193.134.202.252]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 09 Oct 2010 13:31:52 +0200 Original-Received: from lanz by public.wsl.ch with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 09 Oct 2010 13:31:52 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 45 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: public.wsl.ch User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:yI94KGK/Gi0IpY0P/sUYOTZTi1Q= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:72810 Archived-At: >>>>> On Thu, 07 Oct 2010 21:33:53 +0200 >>>>> "LMI" == Lars Magne Ingebrigtsen writes: LMI> Adrian Lanz writes: >> Afterwards in line >> >> (setq mm-default-directory (file-name-directory file)) >> >> (file-name-directory file) returns nil and mm-default-directory >> is set to nil. Does it really work for you as expected? LMI> Ah, right. So it works the first time, but not the second. LMI> I've now fixed this. Works, I confirme. Many thanks. >> BTW, now that I have a look into this code: as a user I never >> liked the effect of this line (setq mm-default-directory >> (file-name-directory file)). LMI> Yeah, it does seem a bit annoying. But, on the other hand, if LMI> you're saving five attachments and want them all to go to the LMI> same directory, it's quite convenient. So I don't know... Yes. I see the point. It depends how (most) people are handling mail attachements. I keep all attachments in a single directory: for me, it is a quick and dirty export of the files while going throug my new mail. BTW a new feature for the wishlist: I would even like, I think, Gnus providing an (optional) mechanism, which would automatically extract mail attachments (by type?) from all new mail messages (incoming mails or, better, while reading an unread message?). Afterwards I filter (copy/move) documents (attachments) by hand into thematic directories (projects). Of course, one could imagine a splitting of mail attachments into directories the Gnus (magic) way, like it's done with mail messages (based on mail headers). But this might be a little bit exagerated? Any need for that? (I vote for it, without high priority.) Best, Adrian.