[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#41412: 27.0.90; Value of default directory in completions buffer
From: |
Stefan Monnier |
Subject: |
bug#41412: 27.0.90; Value of default directory in completions buffer |
Date: |
Sat, 23 Jan 2021 17:00:00 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> Aha. But then what would the correct fix now? I haven't tried the
> proposed change (i.e., just change to `file-name-directory'), but it
> sounds logical to me. That is, if the user has typed "~/foo/bar/zo"
> then use "~/foo/bar" as the default directory.
I think the correct thing to do is to look at the `(cdr (last completions))`
where `completions` is what `completion-all-completions` returned.
That gives what used to be called `completion-base-size`.
Stefan