From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.devel Subject: Re: Do shorthands break basic tooling (tags, grep, etc)? (was Re: Shorthands have landed on master) Date: Tue, 28 Sep 2021 14:04:58 +0000 Message-ID: <9ecf597461d0ae82c9c6@heytings.org> References: <16338bdc2497fc51c6fb6d54ab370bfb@webmail.orcon.net.nz> <87ee99dv34.fsf@gmail.com> <07cf50ddddb5a9556aa94201a7ac88c9@webmail.orcon.net.nz> <13419e1a-d257-2a94-baaa-dcb555ec8619@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30839"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Phil Sainty , =?UTF-8?Q?Jo=C3=A3o_T=C3=A1vora?= , emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 28 16:06:58 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 1mVDl4-0007mB-9h for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Sep 2021 16:06:58 +0200 Original-Received: from localhost ([::1]:46126 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVDl3-00030d-B5 for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Sep 2021 10:06:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54938) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVDjK-0000x2-Pt for emacs-devel@gnu.org; Tue, 28 Sep 2021 10:05:10 -0400 Original-Received: from heytings.org ([95.142.160.155]:55484) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVDjC-0005W7-1e for emacs-devel@gnu.org; Tue, 28 Sep 2021 10:05:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1632837899; bh=SSf+c1gmp3fLuX/QXt1/FDLFSSDH5zamazLjF+pCXPA=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=sUxh+FfmBAvJG2SGeVmyszj6yfxAWFAaDiwnv1e3LJu5MQw/i8p8z+TbeqbAlYxsw KhUoHlzGH8m+c9uM38679ggoM3iOkdU1d8izJ3SSIiIwQndJQRfjdu4RkopeSorzey kWgV32xb2ASBPPPX0JhIAvifBpJaeM92qrPzF8gVitCrthJwAo5dgpheGNX9DdFP8B sy4j0977oV2RVO/ZYBDP4mjt+3S7/xFZAm5TVGIy16+uNkIM9SQQnhUpRMCJ7OhiVo +ouLV0w+JQToVhgGawAMMtWZz0pJYR2SmVNhejjXuDUKXL7o4UTsG7BZMZqbNDTjBm G93cA6TRA2Ltg== In-Reply-To: <13419e1a-d257-2a94-baaa-dcb555ec8619@yandex.ru> Received-SPF: pass client-ip=95.142.160.155; envelope-from=gregory@heytings.org; helo=heytings.org X-Spam_score_int: -1 X-Spam_score: -0.2 X-Spam_bar: / X-Spam_report: (-0.2 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-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:275694 Archived-At: >> Allowing things to not be what they seem adds an additional cognitive >> load to *everything* you look at, because everything has the potential >> to not be what it seems, and so I think this makes codebases harder to >> read and understand, generally. +1 > > Perhaps we could alleviate this by requiring that shorthands end with a > particular character (like '/' or ':'), so that if you see it in a name, > it's probably a shorthand. > I'd vote for '@'. It's not used in core nor in ELPA, it's only used in (very few) MELPA packages.