From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#50959: [PATCH] Re: bug#50959: 28.0.50; Shorthand symbols are unknown to Emacs Date: Wed, 6 Oct 2021 13:34:21 +0100 Message-ID: References: <16338bdc2497fc51c6fb6d54ab370bfb@webmail.orcon.net.nz> <83y27gijmz.fsf@gnu.org> <8335pmgnjy.fsf@gnu.org> <604da2cb10ac61f2b8b89a02c89056be@webmail.orcon.net.nz> <83a6jtff87.fsf@gnu.org> <5ac7a31cf2959c31c262a3377c736a5a@webmail.orcon.net.nz> <83ilygew7p.fsf@gnu.org> <83fstjdiwl.fsf@gnu.org> <837devdcz0.fsf@gnu.org> <93767e0236e7e85d27186293e38d3d25@webmail.orcon.net.nz> <8335pjd974.fsf@gnu.org> <87v92f3d15.fsf@gmail.com> <83y27bbs4d.fsf@gnu.org> <87mtnr3chk.fsf@gmail.com> <8735pj3amy.fsf@gmail.com> <83r1d3boeh.fsf@gnu.org> <874k9uwhxk.fsf_-_@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="0000000000000810a605cdae5e5d" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22164"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Phil Sainty , 50959@debbugs.gnu.org, Richard Stallman To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 06 14:35:31 2021 Return-path: Envelope-to: geb-bug-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 1mY68v-0005Nm-QM for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Oct 2021 14:35:29 +0200 Original-Received: from localhost ([::1]:52416 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mY68u-00057T-NX for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 06 Oct 2021 08:35:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34476) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mY68V-00056Y-Sy for bug-gnu-emacs@gnu.org; Wed, 06 Oct 2021 08:35:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59593) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mY68U-0002L3-U3 for bug-gnu-emacs@gnu.org; Wed, 06 Oct 2021 08:35:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mY68U-0006U3-S1 for bug-gnu-emacs@gnu.org; Wed, 06 Oct 2021 08:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 06 Oct 2021 12:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50959 X-GNU-PR-Package: emacs Original-Received: via spool by 50959-submit@debbugs.gnu.org id=B50959.163352368224831 (code B ref 50959); Wed, 06 Oct 2021 12:35:02 +0000 Original-Received: (at 50959) by debbugs.gnu.org; 6 Oct 2021 12:34:42 +0000 Original-Received: from localhost ([127.0.0.1]:42882 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY685-0006SM-Gp for submit@debbugs.gnu.org; Wed, 06 Oct 2021 08:34:42 -0400 Original-Received: from mail-pg1-f170.google.com ([209.85.215.170]:36462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mY683-0006Rf-4u for 50959@debbugs.gnu.org; Wed, 06 Oct 2021 08:34:36 -0400 Original-Received: by mail-pg1-f170.google.com with SMTP id 75so2359458pga.3 for <50959@debbugs.gnu.org>; Wed, 06 Oct 2021 05:34:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=G81LMKGZcCGwv1ZVPMwdAVRgO56qQbGvHMip+In6hkw=; b=Ux27bnxNdp/U6IcYRk0VNNhwSyihlbFZ93CD5ghpC/VuSsN7sa/epkv+XvlV1XZVhE 2c7hExKjZ7q5SmDMC/aJxxRkDbonNgpp5zxCwsZPeFXa9KoN8M02ZFlHZLaKAsM9takV AQ1Nv9EgkHZpIVCEOuOP0TWZU3tFac8Fs7el8m5CeW91ITXJx0aYOX6FU6qdr6dY5yV3 Ie9vELh117C1IYAK9rjRp714N/QKIE4WPAagvt1/ZdWgS1OhsiP512z61yaxRKYVL2Mx 1QndS+QXWwfUH2gaH+tAP0OXyYn/HnscxTuW+3+ocMHKOl0q90UewlDXur5kcClPaJt9 ouow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=G81LMKGZcCGwv1ZVPMwdAVRgO56qQbGvHMip+In6hkw=; b=m+frF7Sj9j0CWN2amnxp24XMhAdkrG6inGiiBheOiRTFuCXwgeqklcvU1zXKGBJ0DD N0szxwZCybPu1T+8q49yTDzELsTdRm1mfl+xegczBDX3qlfPKYe9AZtjMZ8lUATowp/w fg7j5ZJFjK7dfSedJUGCDbWbeX9YtUZkf8ZaS88ydeXDKbYqf4y8x6ZZSaAZqW+3nYtz VejL2NgtI6fWewvvPQcb1X+bC/n64+pZ/qqvL7H98olBEWzwR9jYXLaAZ/mYH4JXZwr9 Z3audWxqgiT1DJ0nWIl0VZdDEapMeJanPX9zrulWF7vU1ty4aXbNcpmCrGqgIo2BbsyD BDFg== X-Gm-Message-State: AOAM5327LMzQ05l3ZZEjit2RSDYvUSgqUGzWFog3KIGdChAtxMfDdDMp gHDoQEgVbosu4VpF6u+W50stPg//vLESRHCrYZY= X-Google-Smtp-Source: ABdhPJzmewixeOlk7RGObKRFP07yQiVeUwfVkdK0RRRS3Hpy0czWMZXAv+0u26KjDMbSGP/0QdRMm5gyad4PUFOsqIs= X-Received: by 2002:a05:6a00:24d0:b0:448:29d1:518f with SMTP id d16-20020a056a0024d000b0044829d1518fmr37426623pfv.72.1633523669142; Wed, 06 Oct 2021 05:34:29 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:216551 Archived-At: --0000000000000810a605cdae5e5d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Oct 6, 2021 at 1:19 PM Stefan Monnier wrote: > > Yes, it is. is, of course, TAB. Here is a patch > > for people to try out which I will push in a few days time if there are > > no objections. Cc-ing completion-style specialist Stefan. > > Implementing it as a completion style seems wrong. > What is "it"? "It" =3D=3D=3D "Eli's suggestion"? > Why not just tweak the completion table? What tweak do you suggest? The explicit point in this patch was _not_ to list shorthands as completions, for the reasons that I gave many times already and that led to Eli's suggestion. If you can implement that without a completion style that's fine (but it seems it's the nicest way). Jo=C3=A3o --0000000000000810a605cdae5e5d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Oct 6, 2021 at 1:19 PM Stefan Monnier <monnier@iro.umontreal.ca> wrote:
=
> Yes, it is.=C2=A0 &l= t;SOME KEY SEQUENCE> is, of course, TAB.=C2=A0 Here is a patch
> for people to try out which I will push in a few days time if there ar= e
> no objections.=C2=A0 Cc-ing completion-style specialist Stefan.

Implementing it as a completion style seems wrong.
What is "it"? "It" =3D=3D=3D "Eli'= s suggestion"?
=C2=A0
Why not just tweak the completion table?

What tweak do you suggest? The explicit point in this patch
<= div>was _not_ to list shorthands as completions, for the reasons
= that I gave many times already and that led to Eli's suggestion.
<= div>If you can implement that without a completion style that's fine
(but it seems it's the nicest way).

Jo=C3=A3o
--0000000000000810a605cdae5e5d--