GNU bug report logs -
#16542
24.3.50; When finding a file via a bookmark, that file is not part of file-name-history
Previous Next
Reported by: Bastien Guerry <bzg <at> altern.org>
Date: Fri, 24 Jan 2014 21:47:02 UTC
Severity: minor
Found in version 24.3.50
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Drew Adams <drew.adams <at> 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
This bug report was last modified 4 years and 328 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.