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: Help sought understanding shorthands wrt modules/packages Date: Mon, 14 Nov 2022 06:33:47 +0000 Message-ID: <87a64um4dw.fsf@gmail.com> References: <25a8a3a6-81c8-3fbc-434d-fb1b24ae1d62@gmail.com> <83cza48lxe.fsf@gnu.org> <87cza0ihb7.fsf@gmx.de> <87o7td7qfu.fsf@gmail.com> <87tu345vod.fsf@gmail.com> <73c09027-b62f-4a0c-cad9-1dafee664f27@yandex.ru> <7838e54a-a427-d01c-6e57-a0ce70ef9352@yandex.ru> <87fseom2q3.fsf@gmail.com> <93db8859-71af-b939-8ad5-b2850b914947@yandex.ru> 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="10571"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Richard Stallman , emacs-devel To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 15 01:40:41 2022 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 1ouk0F-0002Yg-Qs for ged-emacs-devel@m.gmane-mx.org; Tue, 15 Nov 2022 01:40:39 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ouipj-0002IR-2X; Mon, 14 Nov 2022 18:25:43 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ouigV-00049x-Fj for emacs-devel@gnu.org; Mon, 14 Nov 2022 18:16:20 -0500 Original-Received: from mail-wr1-x42b.google.com ([2a00:1450:4864:20::42b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ouT1J-000698-KL; Mon, 14 Nov 2022 01:32:39 -0500 Original-Received: by mail-wr1-x42b.google.com with SMTP id l14so16262461wrw.2; Sun, 13 Nov 2022 22:32:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=tQGDAIbdwp/Qk/HzEIXJGJjwYCl/tyF9FIZ2BN05nLk=; b=lETtmmm6/QG6s+/la3VCFWe/FlCbW60b/fVL4SmC7gGt5B0+9VW12UEJ5XrJWeoR4s X74gnSZFufXQPB1NIYO2iJGYO2/UtQX4eyboeM1yhDbt6i1SjMAgkjgTik3nwUlglhhz B5hEKcAHNgSLrwz+1Hu4qjtSepEXHP8oLbBpVHHlLDBaueug6NCfGKSo4Sm1uriP+zCG l/BMt2BQ0RRekq8oe2aOAQbJBaJs0RQ8LDdxVQaFsWu+mb1zIvI/6Q9MR34Rk4FWhEZk nK+2ssWx5Lpj8ADhWmNuYDJ2Sk1CmLJGjlwqIGTFbrhS6LSbhuABpN+L+IJcdKkCGg+q VvkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=tQGDAIbdwp/Qk/HzEIXJGJjwYCl/tyF9FIZ2BN05nLk=; b=NqZQsz2F064kzv6ybKzy3WrCrX8AxqkE+1ybWRsxQDZ9bJC7wyROk4DmXQ+h0ZaSe6 /rcAs9RppOccK/5NcCLLIKMJrG6AHdF6Vh+VIekAB6A2brTo4RfmHJ+S9IQt4A2y/7Ru ytW4kaFsr+NfIcj78NQyFlYm0kfSxjU44+XbZ1dAQ5yVYHfReGY9uyvZU9g1ep4P8iv7 I++MnOj91jByWTx7V70hFIMmJ57nQ5VPufehnpKriKZh4AXPtiNL2mtbq19hIyfJaZ4k osXB/eWdq2X6To9k+wON1LozYtEuZY4dVtyBReD1lfcfz+LApKWhZ8WAbZ5Bc1OK5HGB 3MXA== X-Gm-Message-State: ANoB5pkrBT5fg++Foux3hGjW8vQx6SDhQ8cvHJOh5kum7ZwzdecRPybU kira+IH0TbNs7NgVhHN7UNlSgmpBdco= X-Google-Smtp-Source: AA0mqf7bL7VxUO4rmLyqA+xFN4oK+nv14qzmfgKtlRmKbemMp+ojwOi2ZC6OfhIoQw/U93pI13DxDQ== X-Received: by 2002:adf:ef0d:0:b0:22d:c697:f90 with SMTP id e13-20020adfef0d000000b0022dc6970f90mr6605349wro.715.1668407555088; Sun, 13 Nov 2022 22:32:35 -0800 (PST) Original-Received: from krug ([87.196.81.1]) by smtp.gmail.com with ESMTPSA id p5-20020a05600c358500b003c6b9749505sm18906296wmq.30.2022.11.13.22.32.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Nov 2022 22:32:34 -0800 (PST) In-Reply-To: <93db8859-71af-b939-8ad5-b2850b914947@yandex.ru> (Dmitry Gutov's message of "Mon, 14 Nov 2022 03:03:22 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::42b; envelope-from=joaotavora@gmail.com; helo=mail-wr1-x42b.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.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:299798 Archived-At: Dmitry Gutov writes: > On 12.11.2022 20:45, Jo=C3=A3o T=C3=A1vora wrote: >> I've tried to explain my original plan again. It would seem you have >> read it: do you understand it? Do you see anything technically wrong >> with it? If you don't then maybe you could help convince others that >> it's a viable plan > It sounds workable, but I'm not convinced myself that this approach is > going to be attractive enough for third-party package authors. As well > as for the author of s.el. And if I don't see it as attractive, what > hope would I have of promoting it? It's very simple: either you think there's a problem with s.el and this mini-refix gunk, or you don't. If you don't, you should probably be writing to someone else: this discussion is about a plan to solve it, but it presume it exists. If, OTOH, you think it is a problem, and you've a plan for solving it that somehow doesn't involve changing things, I'd like to hear it. My plan changes a name, adds two lines of boilerplate, keeps the rest intact -- and solves the problem. It's not only "workable": it's the only one. >> believe it was reasonably low). But you're right, the benefits of >> shorthands so far are just programmer convenience for libraries outside >> of Emacs. I've enjoyed using them, and I would guess a small number of >> programmers are also taking advantage of them them in some side >> projects, judging from a quick GitHub code search. > > My own search on GitHub has yielded nothing so far. I searched for 'read-symbol-shorthands' and turned up hits like this https://github.com/include-yy/yyorg-bookmark/blob/47602869ad19853957cddfe01= a81a04a9e3bda1c/yyorg-bookmark.el https://github.com/mm--/dot-emacs/blob/2387d914a93fbd72b54e389a030b5dd0459a= 1c3b/elisp/jmm-notmuch-stuff.el https://github.com/abgruszecki/dotfiles/blob/ba6763d0eade0f62ecc543e9a46501= 241aa88138/spacemacs/.spacemacs.d/bespoke.el https://github.com/mm--/dot-emacs/blob/3ae1274e9de1641c6338a98b9659ce69477f= bd0b/elisp/jmm-inkscape.el https://github.com/ilmotta/dotemacs/blob/a6ecf9b415468b023ac070f958a084021c= 4db398/lisp/lib-media.el along with my beardbolt.el library. I don't know what you were searching for.