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?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: Renaming eglot -- or at least add an alias? Date: Tue, 04 Oct 2022 10:54:12 +0200 Message-ID: References: <040c0cc7-25cc-71c8-26ad-472e0bf68648@gmail.com> <83fsg4vxsq.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11595"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) Cc: stefankangas@gmail.com, emacs-devel@gnu.org, joaotavora@gmail.com To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 04 10:57:45 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 1ofdkG-0002q9-Em for ged-emacs-devel@m.gmane-mx.org; Tue, 04 Oct 2022 10:57:44 +0200 Original-Received: from localhost ([::1]:47962 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofdkF-0002WI-87 for ged-emacs-devel@m.gmane-mx.org; Tue, 04 Oct 2022 04:57:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57220) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofdgz-00089I-OA for emacs-devel@gnu.org; Tue, 04 Oct 2022 04:54:21 -0400 Original-Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]:40707) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofdgu-00034P-Vl; Tue, 04 Oct 2022 04:54:21 -0400 Original-Received: by mail-ej1-x629.google.com with SMTP id f1so9884229ejw.7; Tue, 04 Oct 2022 01:54:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date; bh=t2rJHZAUlyLa4JjgTuc4eNJDm2RlFaxZR91xMDk58RA=; b=jCHl90QJg9D49Bud0nCbyEIULv1AO78dh+SrYM/J8IEhB7RjcuO4v24IJFpAdf2rNB ASFPbQwiO9gGgcz3vRHKgbx2ZEnWcwD0kpM+7B4GpCwnOdEmsSXPC+f38bn1/LE7WM5E k01djHCs1GeIzqLOKSwK/vhylRQcMh8pK2q4+2tvLHRdKdutn5DfooveMHTY5s0cfIeS e2jFgf5HGO9JXP2MIWZZgi30Sn6C/FBIKLPe1XmejYa/orcyX98/zCv61LQ7KTchP3Jq 0yJkw5Yv596O5dV5fATzvA4f0yzrCZR6mLQg1JpX04XsyxrJk69xZQ2ZtYGM3nU96wxd MMQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date; bh=t2rJHZAUlyLa4JjgTuc4eNJDm2RlFaxZR91xMDk58RA=; b=1qj8Rvy+KzZzgeNFzvEhY8MALVYc/TJRctTvQqmT+Zj4tVrLQs14D6UQYrU+xdWdK8 /gZkAMNeHnBMhF76uZBp+pd4b0kjpEaw1NwEB1zzjNXxqESnJ/V4kBQRncqr448QnIFO yEaOiWbVJ88LoxS5wbWtZIqx6uZJPHNn5A81P5FwmI04rxGVTptL6nXHuSGrpaT4sjUJ T/8tJmXK1Kc0DHhOgRVdkmvKSrX0s2cgDe3wR8EC2Qoi1XXqFzX8GKikHIEJi429lDlp EmT3gIPdJVH8NvAt85h+d/5z0dp5zW4vouWAKdypwBCx1xnHH82jUBteD7XRbxw6HVOj wCJA== X-Gm-Message-State: ACrzQf1+1Xu6jskEY3rZ0maVafQD9N5oxxnz6LirMVswkvwQstAA4c4F 3X1Ur9hECIYt8HiOxDFE5w8= X-Google-Smtp-Source: AMsMyM633mq6B3nHqy4ZbeCAPVVZCckbzrlht6FBWubnGkMjOmi6o3Lo8RSpktbrabP4NXmbUHAa/Q== X-Received: by 2002:a17:906:fe44:b0:77c:e313:a8e8 with SMTP id wz4-20020a170906fe4400b0077ce313a8e8mr18748548ejb.700.1664873653812; Tue, 04 Oct 2022 01:54:13 -0700 (PDT) Original-Received: from Mini.fritz.box (pd9e36907.dip0.t-ipconnect.de. [217.227.105.7]) by smtp.gmail.com with ESMTPSA id hv13-20020a17090760cd00b00779a605c777sm6656743ejc.192.2022.10.04.01.54.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Oct 2022 01:54:13 -0700 (PDT) In-Reply-To: <83fsg4vxsq.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 04 Oct 2022 10:43:33 +0300") Received-SPF: pass client-ip=2a00:1450:4864:20::629; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x629.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" Xref: news.gmane.io gmane.emacs.devel:296862 Archived-At: Eli Zaretskii writes: >> Wouldn't it be nice if Emacs had CL packages? Then everyone could add >> superior names as a package nickname. That would make bikeshedding much >> easier :-). > > Does shorthands.el fit the bill? It's a step in the right direction, but it's not going far enough for advanced bikeshedders :-). For example, if we take this, from the elisp info manual: (defun snu-lines (s) "Split string S into a list of strings on newline characters." (snu-split "\\(\r\n\\|[\n\r]\\)" s)) ;; Local Variables: ;; read-symbol-shorthands: (("snu-" . "some-nice-string-utils-")) ;; End: the "snu-" is gone after reading the file. With packages, the package "some-nice-string-utils" would just define a function "lines", and that would be accesible as "some-nice-string-utils:lines". Or "snu:lines", if a package nickname "snu" is used, either globally or locally. Or they rename the package, or change nicknames globally. Or they choose to use no package-prefix at all, if they want. And/or mix in hierarchical packages. That I call bikeshedding opportunities! :-). A bit more seriously, shorthandse.l shows that there is a problem, right? And there's an existing, old, solution, and IMHO no reason to invent a new one, which won't materialize anyway. While for CL packages we might find Someone(tm) giving it a spin, theoretically of course.