From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bruno Barbier Newsgroups: gmane.emacs.help Subject: Re: Name completion when using "read-char-by-name" Date: Fri, 07 Oct 2022 20:34:57 +0200 Message-ID: References: <9aQA4PGTbkY4yE2ETmNHU8hSxq3kiyI5r-GF5cW-tdjviquecfD80ibGnG0aDyX-UvA5mug9uHf-09vNCC66HDKOsoudTjMgMk3e--luy6A=@proton.me> <83wn9cnn2u.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28725"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: uzibalqa , Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 07 20:33:10 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ogs9m-0007GZ-Dv for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 07 Oct 2022 20:33:10 +0200 Original-Received: from localhost ([::1]:33270 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ogs9k-0005q8-Tn for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 07 Oct 2022 14:33:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40818) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogs7K-0005nZ-IG for help-gnu-emacs@gnu.org; Fri, 07 Oct 2022 14:30:41 -0400 Original-Received: from smtp6-g21.free.fr ([2a01:e0c:1:1599::15]:2328) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ogs7F-0000yp-RH; Fri, 07 Oct 2022 14:30:38 -0400 Original-Received: from tosh-laptop (unknown [IPv6:2a01:e0a:505:3460:1a16:a0c4:3f89:c0d9]) by smtp6-g21.free.fr (Postfix) with ESMTPS id 56FC8780306; Fri, 7 Oct 2022 20:30:26 +0200 (CEST) Original-Received: by tosh-laptop (sSMTP sendmail emulation); Fri, 07 Oct 2022 20:34:57 +0200 In-Reply-To: Received-SPF: softfail client-ip=2a01:e0c:1:1599::15; envelope-from=brubar.cs@gmail.com; helo=smtp6-g21.free.fr X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FROM=0.001, MISSING_MID=0.497, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:139752 Archived-At: uzibalqa writes: > ------- Original Message ------- > On Friday, October 7th, 2022 at 3:26 PM, uzibalqa 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" 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: RIGHT that is, move the cursor back before "RIGHT". See 'basic' in the Emacs manual: (info "(emacs) Completion Styles") Bruno