all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#28439: suggestion: support case-independent xref-find-definitions prompt TAB
@ 2017-09-12 22:37 Winston
  2017-09-12 23:24 ` Stephen Berman
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Winston @ 2017-09-12 22:37 UTC (permalink / raw)
  To: 28439; +Cc: Dmitry Gutov

xref-find-definitions UI suggestion:

   Since xref-find-definitions is willing to match names typed in all
   lower case to mixed case names, TAB (show alternatives) should, too.
   If there's not already a way to make TAB do so, then a way should be
   added.

Discussion:

   Suppose I have Foo1() and Foo2().  Entering "foo1" or "foo2" at the
   prompt works if the name is complete and unique, even though I used
   all lower case.  TAB, however will only show alternatives if I've
   typed "Foo" TAB, while "foo" TAB will say "No matches".

   While it's obvious why the code works that way, I claim users are
   going to expect TAB to offer completions for any string with which
   xref-find-definitions would succeed, and thus that TAB should be
   capable of presenting a less case-dependent alternatives list.

   I was surprised when it didn't.  I had typed in enough of a tag name
(in all lower case) to match uniquely, and then typed TAB expecting the
single completion (perhaps in the prompt line itself rather than a
separate window, possibly with the string I had entered being converted
to its correct mixed case), and was surprised when it said No match.

   This is also another difference compared to find-tag, where one only
needs to uniquely partial match a name to get to it.  With
xref-find-definitions, I can't go to the partial name and TAB doesn't
complete the name even when there's only one match (because the typed
string had the wrong case), so it takes more typing (or correct use of
the shift key) than find-tag did.
 -WBE





^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2020-09-15 15:20 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-12 22:37 bug#28439: suggestion: support case-independent xref-find-definitions prompt TAB Winston
2017-09-12 23:24 ` Stephen Berman
2017-09-12 23:31 ` bug#28439: suggestion: support case-independent xref-find-definitions Winston
2017-09-13 15:30 ` bug#28439: suggestion: support case-independent xref-find-definitions prompt TAB Eli Zaretskii
2017-09-13 23:04   ` Dmitry Gutov
2017-09-14 17:01     ` Eli Zaretskii
2017-09-19  0:55       ` Dmitry Gutov
2017-09-19  4:01         ` Eli Zaretskii
2017-09-14 18:21 ` bug#28439: suggestion: support case-independent xref-find-definitions prompt Winston
2017-09-14 22:05   ` Dmitry Gutov
2017-09-14 22:33 ` bug#28439: suggestion: support case-independent Winston
2017-09-19  0:41   ` Dmitry Gutov
2017-09-27 23:07 ` bug#28439: suggestion: support case-independent xref-find-definitions prompt Winston
2017-09-28 20:47   ` Dmitry Gutov
2020-09-15 15:20     ` Lars Ingebrigtsen

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.