Gnus development mailing list
 help / color / mirror / Atom feed
From: Adrian Lanz <lanz@wsl.ch>
To: ding@gnus.org
Subject: Re: mm-default-directory not honoured
Date: Tue, 26 Oct 2010 13:57:52 +0200	[thread overview]
Message-ID: <yova4oc9i2tb.fsf@sampling.wsl.ch> (raw)
In-Reply-To: <m31v81ajby.fsf@quimbies.gnus.org>

>>>>> On Thu, 07 Oct 2010 21:33:53 +0200
>>>>> Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

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

Thanks. But, there is still a change to the old behaviour, I am quite
sure. Or, if not, I propose the following change.

The user should be prompted for "<directory>/<filename>", not just
"<directory/". The reason is, that this way a user can easily change the
filename, if needed, not only the directory name.

I get quite often revised versions of documents under the same filename,
for instance, or documents with the same filename from different users
(minutes.doc, index.html, screen.png, calendar.ics, ...), which I would
like to change easily (and after mm-file-name-rewrite-functions has been
applied). What do you think?

Best, Adrian.

 




  parent reply	other threads:[~2010-10-26 11:57 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
2010-10-09 11:31       ` Adrian Lanz
2010-10-09 14:02         ` Lars Magne Ingebrigtsen
2010-10-26 11:57       ` Adrian Lanz [this message]
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=yova4oc9i2tb.fsf@sampling.wsl.ch \
    --to=lanz@wsl.ch \
    --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).