From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: Do shorthands break basic tooling (tags, grep, etc)? (was Re: Shorthands have landed on master) Date: Sat, 2 Oct 2021 02:06:16 +0100 Message-ID: References: <16338bdc2497fc51c6fb6d54ab370bfb@webmail.orcon.net.nz> <831r59kyhf.fsf@gnu.org> <8735ppdu52.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22963"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel To: Helmut Eller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Oct 02 03:07:51 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mWTVG-0005pj-RC for ged-emacs-devel@m.gmane-mx.org; Sat, 02 Oct 2021 03:07:50 +0200 Original-Received: from localhost ([::1]:43950 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWTVE-0006jV-O8 for ged-emacs-devel@m.gmane-mx.org; Fri, 01 Oct 2021 21:07:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54794) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWTTz-0005Sk-RP for emacs-devel@gnu.org; Fri, 01 Oct 2021 21:06:33 -0400 Original-Received: from mail-pl1-x632.google.com ([2607:f8b0:4864:20::632]:33316) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mWTTv-0000Cz-H1 for emacs-devel@gnu.org; Fri, 01 Oct 2021 21:06:30 -0400 Original-Received: by mail-pl1-x632.google.com with SMTP id t4so7380077plo.0 for ; Fri, 01 Oct 2021 18:06:27 -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:content-transfer-encoding; bh=hBDsjTgn2Itx47vYvQ0DKAzI2Z6U/BsQ7z280DBbiSQ=; b=RpbAWCIc0zqy6CKhmhJpv/uldbTpzesLbIy1bN7Qk8kIHjvDyGi8VAJmgVLEuZvFni zDVVA2pf6nJSMzkY2RvtMjLfHYIqGbBEbw5DAZ39ry7LQe/rVQplkGE4MxNzNZ09fcpW ceIAQmozaQuE5fhfT7udBUhGyZr9JHB+dIyObeb/ou26OB4mG42o2Rf+iN4wFX+frgdq N0GiYZXIs6q7APEa1iL/y5qb5f7UhS14DL63Cw+8VVB/0Z1HPaCGkNjPwxlniif8F70F 0ujLOZe1Mu4oXa+DyuJxbjjZ6Etw0it5/6ds/CqBW1uYaKK7eDBQk8zR5beyKh6wYFUX vviA== 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:content-transfer-encoding; bh=hBDsjTgn2Itx47vYvQ0DKAzI2Z6U/BsQ7z280DBbiSQ=; b=1JRu3AEErYSJtgreRpzjwXOk71DvAgiJgHmxLKt2uVr0918W6pCKU2x6qd6a+QkZK1 szFH6ZiROm33f4KBrbBjTeHFLKJxNlYv2gleUWZwlqA659NYbXfOyi4mEdmB1ySXWboH micST4nZ6mc8htUZNbvLNRfzN3retjyRg3Y/Eb7NUDVxHKuie3aFBdGiYe8NL9KtJ4tU Y8RSa+bKZcgk846evxT9eBB4Fmwz6yreTmrYL48LBeIakb00lQPoXIHtyopY5EAoQdyH wr6YaDa/poSKMDROVYYpyyoIeI66u2uRczQSoFpGXrA+DgRX2qkBb43hxZLnZ99akN4B iSQA== X-Gm-Message-State: AOAM532S5r+rHBpwRf1KiKtHufl6wc4VouMlNSgmXNIg7HAGhVoS6zY+ SpianM/ZWJs4A7x0VvM3FreQfYzZw1/gRAOqAsQ= X-Google-Smtp-Source: ABdhPJwGP2WVGU+yiqzqsrRWwB1H5IJQbQSt/iMRcvEVqE/4emKZ1C3jyr3j9PtxJAtixlh6P9GFCdpVl7jbZYYPGOA= X-Received: by 2002:a17:902:c245:b0:13e:2254:d3d6 with SMTP id 5-20020a170902c24500b0013e2254d3d6mr12218432plg.52.1633136785824; Fri, 01 Oct 2021 18:06:25 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::632; envelope-from=joaotavora@gmail.com; helo=mail-pl1-x632.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:276032 Archived-At: On Tue, Sep 28, 2021 at 9:10 AM Helmut Eller wrote= : > On Tue, Sep 28 2021, Jo=C3=A3o T=C3=A1vora wrote: > > Nevertheless, I'd like to note that Shorthands work well with Xref's > > main workhorse (M-.) probably because it uses the proper API for > > symbols, obarray. They also work well with Eldoc, C-h f and in-buffer > > Completions, to the best of my knowledge. > > Do Shorthands also work with font-lock? E.g. are renamed macro names > highlighed? I've now confirmed that this works as expected. Didn't have to touch any font-lock code. Both the shorthand form and the longhand form are highlighted. If you meant some other situation, please clarify. Jo=C3=A3o