unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Bruno Barbier <brubar.cs@gmail.com>
To: uzibalqa <uzibalqa@proton.me>, Eli Zaretskii <eliz@gnu.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Name completion when using "read-char-by-name"
Date: Fri, 07 Oct 2022 20:34:57 +0200	[thread overview]
Message-ID: <E1ogs7K-0005nZ-IG@lists.gnu.org> (raw)
In-Reply-To: <BcAiRZoCtmcuvfVQx47JATmDWYEd0ypcHqncVchNgKv0WmPjYgypMISPF3_XY8lbtD8HcFSpb4F1O-BUs8qBC21jws1wtIZ2QdC9dizBTVQ=@proton.me>

uzibalqa <uzibalqa@proton.me> writes:

> ------- Original Message -------
> On Friday, October 7th, 2022 at 3:26 PM, uzibalqa <uzibalqa@proton.me> wrote:
>
>
>> ------- Original Message -------
>> On Friday, October 7th, 2022 at 6:51 AM, Eli Zaretskii eliz@gnu.org wrote:
>> 
>> 
>> 
>> > > Date: Fri, 07 Oct 2022 00:04:36 +0000
>> > > From: uzibalqa uzibalqa@proton.me
>> > > 
>> > > How can I use completion when using "read-char-by-name"? I could write "*ARROW" but how can I
>> > > force it to shew me possible completions?
>> > 
>> > As usual in Emacs: by pressing TAB.
>> 
>> 
>> The difficulty occurs with read-char-by-name. Using the common minibuffer commands such as
>> "M-x text-TAB" I get the list of possible completions.
>> 
>> But with "read-char-by-name" the TAB does not fire the completion list.
>
> Ok.  I give some additional information.  If I input "RIGHT<TAB>" I do get the completion.
> But what if I want names with "RIGHT" in the middle of a name?

If you're using the default completion style, try:

    <TAB>RIGHT

that is, move the cursor back before "RIGHT".

See 'basic' in the Emacs manual:

   (info "(emacs) Completion Styles")


Bruno



  reply	other threads:[~2022-10-07 18:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-07  0:04 Name completion when using "read-char-by-name" uzibalqa
2022-10-07  6:51 ` Eli Zaretskii
2022-10-07 15:26   ` uzibalqa
2022-10-07 15:41     ` Eli Zaretskii
2022-10-07 17:33       ` uzibalqa
2022-10-07 19:08         ` Eli Zaretskii
2022-10-07 19:22           ` uzibalqa
2022-10-07 19:24             ` uzibalqa
2022-10-07 21:29               ` [External] : " Drew Adams
2022-10-08  6:08               ` Eli Zaretskii
2022-10-07 16:04     ` uzibalqa
2022-10-07 18:34       ` Bruno Barbier [this message]
2022-10-07 19:06         ` uzibalqa
2022-10-07 19:03       ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1ogs7K-0005nZ-IG@lists.gnu.org \
    --to=brubar.cs@gmail.com \
    --cc=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    --cc=uzibalqa@proton.me \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).