From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Shorthand variable named "elisp-shorthands" seems wrong Date: Mon, 27 Sep 2021 03:08:19 -0700 Message-ID: References: <87tui6twco.fsf.ref@yahoo.com> <87tui6twco.fsf@yahoo.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="1597"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel To: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= , Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 27 12:14:16 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 1mUneJ-0000AV-Ev for ged-emacs-devel@m.gmane-mx.org; Mon, 27 Sep 2021 12:14:15 +0200 Original-Received: from localhost ([::1]:34944 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUneI-0006HH-DN for ged-emacs-devel@m.gmane-mx.org; Mon, 27 Sep 2021 06:14:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUnYe-0006Rg-5b for emacs-devel@gnu.org; Mon, 27 Sep 2021 06:08:24 -0400 Original-Received: from mail-pf1-x432.google.com ([2607:f8b0:4864:20::432]:44846) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUnYb-0008CW-8s for emacs-devel@gnu.org; Mon, 27 Sep 2021 06:08:23 -0400 Original-Received: by mail-pf1-x432.google.com with SMTP id 145so15332771pfz.11 for ; Mon, 27 Sep 2021 03:08:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :cc:content-transfer-encoding; bh=Hu+JSbxpQGnEd6gU/iftXFC5JX8fwJzGs+/Y71UACzE=; b=DaqrO2ZYD6a20Gnilhpv8VmPUnKxrwJuAxHPe590bL/nQvGa+XxVcmUr2a3ymTExhY /brLHRl9x4z5Clx/wMTfkPkW9oYZscu1wj+cL1iVEErNvQ2Z1y0ekqLMWXcoK3qPjfqM vZe+8xjDGEyH37zfo9hN8PJVVyEoWvaQzSdb+7TnnZ5YaisSUu0HsCgfXtHkP/gmp74D ZkxTjtUCfbbbh5mk2qZ0TCahRF3LoozG0YoV0jg/2IqsNmc8lOVfoH06//9y43hAVUhr MHzoS7dCN+ZRhGbipvYbXpZMowHN3TYvtJb5kpZtyvs3MTI+kPLOHeQ5o67bOeoBufVi bsww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc:content-transfer-encoding; bh=Hu+JSbxpQGnEd6gU/iftXFC5JX8fwJzGs+/Y71UACzE=; b=unZ7Z2DRXuW2TV1eNxE7KK7QaTEU1HCZFwXcQWT6XjZVuRcyakW4hMeqr2cQasLYEx 9dVkpi6cT9dSUPh+vS8O3D/CH8+L9UdWA8/gmVUHqio6O1alwlfB4NjXYlDtyGGFvjl7 R4W4nxNjJ4p02nkVOZHoI/+JoVLmNnNGUxs0yV+auhQtEHcXqkLjrf8xrtB2ioTdtnY6 pEHjtFcr+3GB9HrGnA+XAmP5RifUUzp3Kzihc0YAHaCqq57POkkbfMS2buGS3OHr5x9s ffTy/ZDs7z2TWcycBj2pYB/OZXIZQy7T4FnHlezVwPPAmkkgM4kyCT641fCb4j0tDGgB SiIw== X-Gm-Message-State: AOAM532xtLm73aeDZO+Wj7TjKA7EcQVr4IqyvWYJAbF/vxsnHFCMv8Qf GKX1k+mWEAk28BA6a4FxjxcZC3YSZ/pzvXqNxLY= X-Google-Smtp-Source: ABdhPJzV80HmpQqOcsPAsXxwQ94xNpIHqwOOU38+qp9GW5qY8Jml7DijL54ctmDecEiwdmMsQ/CJUgyTX3Wi1NdS9WU= X-Received: by 2002:a63:f946:: with SMTP id q6mr15915003pgk.42.1632737299762; Mon, 27 Sep 2021 03:08:19 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 27 Sep 2021 03:08:19 -0700 In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::432; envelope-from=stefankangas@gmail.com; helo=mail-pf1-x432.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:275562 Archived-At: Jo=C3=A3o T=C3=A1vora writes: >> I skimmed through the new manual section for reader shorthands today. >> It seems to be a very nice feature, but I don't think it's quite right >> to have the file-local variable for shorthands named `elisp-shorthands'. >> >> AFAIU, the only variables that are currently prefixed with `elisp-' >> involve editing support for Emacs Lisp such as >> `elisp-byte-code-mode-hook', et cetera. >> >> How about something like `read-shorthands' instead? Thanks. > > No objections. Naming is hard, and I don't want to bikeshed about this. But consider that most current variables matching "^read-" has something to do something to do with reading input from the user, IOW more with e.g. "read-key" than "read". Also, unlike "read-shorthands", "elisp-shorthands" immediately tells even the most casual reader that this has something to do with ELisp.