From: Visuwesh <visuweshm@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 72757@debbugs.gnu.org, Juri Linkov <juri@linkov.net>
Subject: bug#72757: No symbols in etc/NEWS
Date: Thu, 22 Aug 2024 20:21:23 +0530 [thread overview]
Message-ID: <8734mw8vbo.fsf@gmail.com> (raw)
In-Reply-To: <86seuwsp7e.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 22 Aug 2024 15:43:17 +0300")
[வியாழன் ஆகஸ்ட் 22, 2024] Eli Zaretskii wrote:
>> From: Juri Linkov <juri@linkov.net>
>> Date: Thu, 22 Aug 2024 09:22:34 +0300
>>
>> 0. emacs -Q
>> 1. Open etc/NEWS
>> 2. Move point to a symbol enclosed in single quotes
>> 3. Type 'C-h o'
>> 4. No default is proposed, so need to type the symbol manually
>> instead of typing RET
[ I can only seem to reproduce if the symbol is in the heading. If the
symbol enclosed in quotes is in the "body" text, then the DEFAULT
argument is picked up by C-h o as expected... ]
> That's because thing-at-point--beginning-of-symbol allows the
> apostrophe as part of the symbol's name, and so "C-h o" thinks the
> symbol at point is 'foo-bar', with the quotes.
>
> I don't see any better solution than providing a NEWS-specific version
> of thing-at-point--beginning-of-symbol.
Would it not be simpler to change the syntax-table of
emacs-news-(view-)mode?
I did
M-: (modify-syntax-entry ?' "\"") RET
in the NEWS buffer and C-h o seems to work everywhere. I am not sure if
we want ' to be "string quote" or punctuation like " already is, or
something else.
next prev parent reply other threads:[~2024-08-22 14:51 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-22 6:22 bug#72757: No symbols in etc/NEWS Juri Linkov
2024-08-22 12:43 ` Eli Zaretskii
2024-08-22 14:51 ` Visuwesh [this message]
2024-08-22 15:26 ` Eli Zaretskii
2024-08-23 6:27 ` Juri Linkov
2024-08-31 9:16 ` Eli Zaretskii
2024-08-31 22:37 ` Stefan Kangas
2024-09-01 16:54 ` Juri Linkov
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8734mw8vbo.fsf@gmail.com \
--to=visuweshm@gmail.com \
--cc=72757@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=juri@linkov.net \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).