GNU bug report logs -
#72757
No symbols in etc/NEWS
Previous Next
Reported by: Juri Linkov <juri <at> linkov.net>
Date: Thu, 22 Aug 2024 06:27:01 UTC
Severity: normal
Fixed in version 30.0.60
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 72757 in the body.
You can then email your comments to 72757 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#72757
; Package
emacs
.
(Thu, 22 Aug 2024 06:27:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Juri Linkov <juri <at> linkov.net>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Thu, 22 Aug 2024 06:27:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#72757
; Package
emacs
.
(Thu, 22 Aug 2024 12:45:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 72757 <at> debbugs.gnu.org (full text, mbox):
> From: Juri Linkov <juri <at> 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
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.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#72757
; Package
emacs
.
(Thu, 22 Aug 2024 14:54:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 72757 <at> debbugs.gnu.org (full text, mbox):
[வியாழன் ஆகஸ்ட் 22, 2024] Eli Zaretskii wrote:
>> From: Juri Linkov <juri <at> 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.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#72757
; Package
emacs
.
(Thu, 22 Aug 2024 15:28:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 72757 <at> debbugs.gnu.org (full text, mbox):
> From: Visuwesh <visuweshm <at> gmail.com>
> Cc: Juri Linkov <juri <at> linkov.net>, 72757 <at> debbugs.gnu.org
> Date: Thu, 22 Aug 2024 20:21:23 +0530
>
> [வியாழன் ஆகஸ்ட் 22, 2024] Eli Zaretskii wrote:
>
> >> From: Juri Linkov <juri <at> 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.
That's one way of "providing a NEWS-specific version of
thing-at-point--beginning-of-symbol", yes. Thanks.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#72757
; Package
emacs
.
(Fri, 23 Aug 2024 06:32:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 72757 <at> debbugs.gnu.org (full text, mbox):
>>> 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... ]
Interesting, I didn't notice this difference.
>> 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.
Thanks, this looks like the right thing to do.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#72757
; Package
emacs
.
(Sat, 31 Aug 2024 09:18:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 72757 <at> debbugs.gnu.org (full text, mbox):
> From: Juri Linkov <juri <at> linkov.net>
> Cc: Eli Zaretskii <eliz <at> gnu.org>, 72757 <at> debbugs.gnu.org
> Date: Fri, 23 Aug 2024 09:27:17 +0300
>
> > 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.
>
> Thanks, this looks like the right thing to do.
I made that change, but please note that it is not enough to show each
symbol in NEWS as the default when you type "C-h o". This is because
"C-h o" tests symbol-at-point for being bound, either as a function or
a variable or a face etc., and if the corresponding library is not yet
loaded, those tests will fail.
If this is deemed okay, we can close this bug.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#72757
; Package
emacs
.
(Sat, 31 Aug 2024 22:40:01 GMT)
Full text and
rfc822 format available.
Message #23 received at 72757 <at> debbugs.gnu.org (full text, mbox):
Eli Zaretskii <eliz <at> gnu.org> writes:
> I made that change, but please note that it is not enough to show each
> symbol in NEWS as the default when you type "C-h o". This is because
> "C-h o" tests symbol-at-point for being bound, either as a function or
> a variable or a face etc., and if the corresponding library is not yet
> loaded, those tests will fail.
>
> If this is deemed okay, we can close this bug.
I think that's okay, indeed.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#72757
; Package
emacs
.
(Sun, 01 Sep 2024 16:57:02 GMT)
Full text and
rfc822 format available.
Message #26 received at 72757 <at> debbugs.gnu.org (full text, mbox):
close 72757 30.0.60
thanks
>> > 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.
>>
>> Thanks, this looks like the right thing to do.
>
> I made that change, but please note that it is not enough to show each
> symbol in NEWS as the default when you type "C-h o". This is because
> "C-h o" tests symbol-at-point for being bound, either as a function or
> a variable or a face etc., and if the corresponding library is not yet
> loaded, those tests will fail.
The problem was that 'describe-symbol' uses 'function-called-at-point',
but not anything to get a variable at point. But now this is fixed,
and when a library is not loaded this is not a problem.
> If this is deemed okay, we can close this bug.
So I'm closing this bug. The fix helped me to check
documentation while rereading some parts of etc/NEWS,
so small doc fixes are pushed now as well.
bug marked as fixed in version 30.0.60, send any further explanations to
72757 <at> debbugs.gnu.org and Juri Linkov <juri <at> linkov.net>
Request was from
Juri Linkov <juri <at> linkov.net>
to
control <at> debbugs.gnu.org
.
(Sun, 01 Sep 2024 16:57:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 30 Sep 2024 11:24:17 GMT)
Full text and
rfc822 format available.
This bug report was last modified 320 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.