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: A read-based grep-like for symbols (el-search?) (was Do shorthands break basic tooling (tags, grep, etc)? (was Re: Shorthands have landed on master)) Date: Sat, 02 Oct 2021 08:50:39 +0000 Message-ID: <6969a83a74f7bebe69f2@heytings.org> References: <25d8d72022b571db5291@heytings.org> <87h7e2xsl5.fsf@gmail.com> <25d8d72022e1ea7ed022@heytings.org> <87fstl7lzw.fsf@web.de> <87a6jt7ilx.fsf@web.de> <87fstlzlaq.fsf@gmail.com> <20211001070242.GC16352@tuxteam.de> <1dd5e2c1f42bce50dc26@heytings.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27287"; mail-complaints-to="usenet@ciao.gmane.io" Cc: tomas@tuxteam.de, Dmitry Gutov , emacs-devel@gnu.org To: =?UTF-8?Q?Jo=C3=A3o_T=C3=A1vora?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Oct 02 10:51:33 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 1mWak0-0006ro-Ik for ged-emacs-devel@m.gmane-mx.org; Sat, 02 Oct 2021 10:51:32 +0200 Original-Received: from localhost ([::1]:59904 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mWajz-0005Kq-6n for ged-emacs-devel@m.gmane-mx.org; Sat, 02 Oct 2021 04:51:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54016) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWajI-0004fw-5Z for emacs-devel@gnu.org; Sat, 02 Oct 2021 04:50:50 -0400 Original-Received: from heytings.org ([95.142.160.155]:33034) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mWajC-0000rW-AH for emacs-devel@gnu.org; Sat, 02 Oct 2021 04:50:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1633164639; bh=WDflTK4PV5Ctz29R4wpH/KBJvqzTw0A6BcV7wISaOu4=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=Oo6tNwh4qUwdS6e/7NRc2+j3W3bGh/J298tl4cEskjr89LdIQAVDq7szwIcVD+uM7 7nr1iZMj8yS1zZrNIgsrku4yZaPUoTrkdGrf6VbPg6Tz3Zmy+p3emGM2B7D1d7/K0L 5rRPbm0TRqKcWb6nw0W90nxYz96SFuRPcbj5Wd0LC46vSSCxKLj3P44PxVDwzizT5W U+FqQWOSLQ4cTHdfLIokocovu/PSPI0hEthUrgxSxp09TUvId73h53NKHjBYYW8PxD dz29774vSYH+iHOdryzrjwXwCyNvA5Fc1XtFvGopg/OFxkS26IPc7nLREAykkuuMUX lb6TsUE8VdQxA== In-Reply-To: Received-SPF: pass client-ip=95.142.160.155; envelope-from=gregory@heytings.org; helo=heytings.org 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, 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:276055 Archived-At: >>> Yes, yes, that's basically what happens with Common Lisp, because >>> things are separated by `:`. And in many other languages as you say. >>> Unfortunately, it's not 100% clean in Elisp because it relies on >>> convention, not syntax. > >> It seems very easy to enforce a syntax for this: > > It also very easily breaks one of the main use cases for this feature: > to import s.el, dash.el, f.el and its user libraries with minimal > changes to them. > I probably misunderstand something, but why would it break that use case? Could you indicate what would be put in the elisp-shorthands for (a) the s.el library, and (b) a user library that uses s.el?