bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#44588: 28.0.50; project-find-file with thing at point


From: Lars Ingebrigtsen
Subject: bug#44588: 28.0.50; project-find-file with thing at point
Date: Sat, 14 Nov 2020 16:19:35 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Dmitry Gutov <dgutov@yandex.ru> writes:

> On 12.11.2020 14:34, Lars Ingebrigtsen wrote:
>> The doc string is trying to say that the string under point is the
>> default -- it doesn't check that it matches an existing file.  I'll
>> adjust the doc string.
>
> Well, the default _is_ (thing-at-point 'filename), though.

Which just looks for a regexp, not whether it's a file that exists.

> I have noticed that too often the picked up default is too long,
> though. And that clutters up the prompt. Perhaps
> project--completing-read-strict should shorten it with ellipsis to
> some predefined width.

It'd be pretty unusual for a prompt to elide bits of the string it's
actually going to use.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]