[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7131: 24.0.50; `dired' with cons arg should not ignore arg if buffer
bug#7131: 24.0.50; `dired' with cons arg should not ignore arg if buffer exists
Fri, 21 Jul 2017 13:36:34 +0900
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)
>> Following that rationale, the behavior for a cons arg should be to
>> respect the explicit file list passed, not to simply ignore it and reuse
>> an existing buffer.
>> And since it would be problematic to test the file list for differences
>> from the existing listing (whether or not it came from a cons arg
>> previously), we should always just update the buffer to reflect the
>> file-list that is passed. IOW, with an explicit file list, never reuse
>> an existing Dired buffer of the same name.
> IMO, if `dired-directory' is a cons and DIR-OR-LIST is a string then we
> must update the buffer as well: in this case, the user want to see the
> full listing of that directory.
Fixed in master branch as commit 1d559e384b467b3f74e8b78695f124b561c884d9