From: Bastien <bzg@altern.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 16542@debbugs.gnu.org
Subject: bug#16542: 24.3.50; When finding a file via a bookmark, that file is not part of file-name-history
Date: Mon, 27 Jan 2014 12:29:13 +0100 [thread overview]
Message-ID: <87lhy1slx2.fsf@bzg.ath.cx> (raw)
In-Reply-To: <af92ac83-36ec-4484-9b9c-00cba832b98c@default> (Drew Adams's message of "Sat, 25 Jan 2014 00:42:29 -0800 (PST)")
Drew Adams <drew.adams@oracle.com> writes:
>> FWIW: There are other cases (besides "via the bookmarks buffer") where
>> a file is visited but not added to the file-name-history.
>>
>> Bug #12915 contains a general discussion about the matter.
>
> Yes, thank you, Dani.
>
> FWIW, I will repeat just this part from my post in that thread:
>
> The proper solution is for commands that read file names to DTRT
> wrt `file-name-history' - TRT for that command.
> ^^^^^^^^^^^^^^^^^^^^
Thank you both for your input.
The #12915 bug report was quite a read.
There seem to be one consensus and one point of disagreement:
- consensus: the bug report calls for a general mechanism, as the same
problem hit other commands;
- disagreement: such a general mechanism should be activated for all
commands that find a file or only for specific commands (e.g. only
interactive commands, [your rule here], or even no rule at all--as
Drew suggests.)
I'm on Drew side here, I think a one-by-one approach is better,
whether there is a general mechanism or not (yet).
Since there is no strong objection for fixing the bookmark-jump case,
and since it's trivial to migrate this fix to a general solution when
we'll have one, I'm willing to apply the fix if no-one objects in a
week.
--
Bastien
next prev parent reply other threads:[~2014-01-27 11:29 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-24 21:45 bug#16542: 24.3.50; When finding a file via a bookmark, that file is not part of file-name-history Bastien Guerry
2014-01-25 8:19 ` Dani Moncayo
2014-01-25 8:42 ` Drew Adams
2014-01-27 11:29 ` Bastien [this message]
2014-01-27 15:11 ` Drew Adams
2014-01-27 15:26 ` Bastien
2014-01-27 17:31 ` Drew Adams
2014-01-28 7:28 ` Juri Linkov
2014-01-28 13:28 ` Stefan Monnier
2014-01-29 9:10 ` Juri Linkov
2014-01-29 10:43 ` Bastien
2014-01-29 13:58 ` Stefan Monnier
2014-01-28 16:20 ` Drew Adams
2020-08-25 10:57 ` Lars 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=87lhy1slx2.fsf@bzg.ath.cx \
--to=bzg@altern.org \
--cc=16542@debbugs.gnu.org \
--cc=drew.adams@oracle.com \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.