From: "João Távora" <joaotavora@gmail.com>
To: Richard Stallman <rms@gnu.org>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: feature that was needed for read-symbol-shorthands
Date: Sat, 2 Dec 2023 12:09:46 +0000 [thread overview]
Message-ID: <CALDnm51FsJnwmK+PNfOVmND7MG7raUEMGb3bAgzZN+Lg95AO6Q@mail.gmail.com> (raw)
In-Reply-To: <E1r9GXP-0008Fh-6D@fencepost.gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1039 bytes --]
On Sat, Dec 2, 2023, 03:19 Richard Stallman <rms@gnu.org> wrote:
When the shorthands feasture was installed, I found that another
> feature was needed: a way to explicitly load a specified file, and
> specify an added shorthands list for the contents of that file, to be
> used in addition to what the file itself specifies.
>
> Did that ever get implemented?
I don't think so, no.
Is there a way to do it now?
>
Maybe. Have you thought about practical consequences? The file would no
longer be the single source of truth as to what symbols are interned when
it is read.
For example, visiting such a file after having it loaded like that would
lead to surprising behavior for many features (help buffers, eldoc, etc).
And it would become impossible to analyze the file without loading it or
guessing how it is meant to be loaded.
What about compiled files? Would you do shorthand substitution at
elc-loading time? It's not read-time anymore.
For these reasons I recommend against doing this.
João
[-- Attachment #2: Type: text/html, Size: 1843 bytes --]
next prev parent reply other threads:[~2023-12-02 12:09 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-13 5:27 bug#63480: 30.0.50; [BUG] unimplemented logic regarding read-symbol-shorthands Ruijie Yu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-05-13 5:37 ` Ruijie Yu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-09-06 11:03 ` Stefan Kangas
2023-09-06 14:02 ` João Távora
2023-09-06 20:17 ` Stefan Kangas
2023-11-29 7:45 ` Joseph Turner via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-11-29 8:12 ` João Távora
2023-12-02 3:19 ` feature that was needed for read-symbol-shorthands Richard Stallman
2023-12-02 12:09 ` João Távora [this message]
2024-04-18 20:01 ` bug#63480: 30.0.50; [BUG] unimplemented logic regarding read-symbol-shorthands Joseph Turner via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-04-18 20:24 ` João Távora
2024-04-18 20:52 ` Joseph Turner via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-11-23 21:38 ` Joseph Turner via Bug reports for GNU Emacs, the Swiss army knife of text editors
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CALDnm51FsJnwmK+PNfOVmND7MG7raUEMGb3bAgzZN+Lg95AO6Q@mail.gmail.com \
--to=joaotavora@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=rms@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.