Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: ding@gnus.org
Subject: Re: mm-default-directory not honoured
Date: Thu, 07 Oct 2010 21:33:53 +0200	[thread overview]
Message-ID: <m31v81ajby.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <yovask0kgqf5.fsf@sampling.wsl.ch>

Adrian Lanz <lanz@wsl.ch> 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?

Ah, right.  So it works the first time, but not the second.  I've now
fixed this.

> 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)).

Yeah, it does seem a bit annoying.  But, on the other hand, if you're
saving five attachments and want them all to go to the same directory,
it's quite convenient.  So I don't know...

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




  reply	other threads:[~2010-10-07 19:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-05  8:58 Adrian Lanz
2010-10-05 17:04 ` Lars Magne Ingebrigtsen
2010-10-05 23:39   ` Adrian Lanz
2010-10-07 19:33     ` Lars Magne Ingebrigtsen [this message]
2010-10-09 11:31       ` Adrian Lanz
2010-10-09 14:02         ` Lars Magne Ingebrigtsen
2010-10-26 11:57       ` Adrian Lanz
2010-10-29 23:01         ` Lars Magne Ingebrigtsen
2010-11-01  8:46           ` Adrian Lanz
2010-11-01 11:54             ` Lars Magne Ingebrigtsen
2010-11-02 10:47               ` Adrian Lanz
2010-11-04 19:56                 ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m31v81ajby.fsf@quimbies.gnus.org \
    --to=larsi@gnus.org \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).