From: Lars Ingebrigtsen <larsi@gnus.org>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: Manuel Uberti <manuel.uberti@inventati.org>,
Stephen Leake <stephen_leake@stephe-leake.org>,
44588@debbugs.gnu.org
Subject: bug#44588: 28.0.50; project-find-file with thing at point
Date: Sat, 14 Nov 2020 16:19:35 +0100 [thread overview]
Message-ID: <87blg00xvc.fsf@gnus.org> (raw)
In-Reply-To: <b0447cf8-7d33-6252-754f-09bd957e07da@yandex.ru> (Dmitry Gutov's message of "Thu, 12 Nov 2020 15:53:35 +0200")
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
next prev parent reply other threads:[~2020-11-14 15:19 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-12 9:53 bug#44588: 28.0.50; project-find-file with thing at point Manuel Uberti
2020-11-12 12:34 ` Lars Ingebrigtsen
2020-11-12 13:36 ` Manuel Uberti
2020-11-14 15:17 ` Lars Ingebrigtsen
2020-11-12 13:53 ` Dmitry Gutov
2020-11-14 15:19 ` Lars Ingebrigtsen [this message]
2020-11-14 22:53 ` Dmitry Gutov
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=87blg00xvc.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=44588@debbugs.gnu.org \
--cc=dgutov@yandex.ru \
--cc=manuel.uberti@inventati.org \
--cc=stephen_leake@stephe-leake.org \
/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.