* bug#64726: 30.0.50; PUSH_HANDLER macro in src/lisp.h:3053 is unused
@ 2023-07-19 10:36 Ihor Radchenko
2023-07-19 13:12 ` Eli Zaretskii
2023-07-19 13:16 ` Eli Zaretskii
0 siblings, 2 replies; 7+ messages in thread
From: Ihor Radchenko @ 2023-07-19 10:36 UTC (permalink / raw)
To: 64726
Hi,
I noticed that the following macro does not appear to be used in the code:
/* Fill in the components of c, and put it on the list. */
#define PUSH_HANDLER(c, tag_ch_val, handlertype) \
It is only listed in ETAGS tests and
ChangeLog.2<emacs>
15943: * src/lisp.h (PUSH_HANDLER): Remove.
appears to assert that the macro has been removed.
In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.38, cairo version 1.17.8) of 2023-07-18 built on localhost
Repository revision: aba3d13ea8d712bca1b3f23ac7db7e38c2165b3c
Repository branch: feature/named-lambdas
Windowing system distributor 'The X.Org Foundation', version 11.0.12101008
System Description: Gentoo Linux
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#64726: 30.0.50; PUSH_HANDLER macro in src/lisp.h:3053 is unused
2023-07-19 10:36 bug#64726: 30.0.50; PUSH_HANDLER macro in src/lisp.h:3053 is unused Ihor Radchenko
@ 2023-07-19 13:12 ` Eli Zaretskii
2023-07-19 13:16 ` Eli Zaretskii
1 sibling, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2023-07-19 13:12 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: 64726
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#64726: 30.0.50; PUSH_HANDLER macro in src/lisp.h:3053 is unused
2023-07-19 10:36 bug#64726: 30.0.50; PUSH_HANDLER macro in src/lisp.h:3053 is unused Ihor Radchenko
2023-07-19 13:12 ` Eli Zaretskii
@ 2023-07-19 13:16 ` Eli Zaretskii
2023-07-19 14:23 ` Ihor Radchenko
1 sibling, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2023-07-19 13:16 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: 64726
tags 64726 notabug
thanks
> From: Ihor Radchenko <yantar92@posteo.net>
> Date: Wed, 19 Jul 2023 10:36:37 +0000
>
> I noticed that the following macro does not appear to be used in the code:
>
> /* Fill in the components of c, and put it on the list. */
> #define PUSH_HANDLER(c, tag_ch_val, handlertype) \
It doesn't appear in our headers, either.
> It is only listed in ETAGS tests and
>
> ChangeLog.2<emacs>
> 15943: * src/lisp.h (PUSH_HANDLER): Remove.
>
> appears to assert that the macro has been removed.
Yes. I think you were deceived by files under test/manual/etags/.
These were taken from an old version of Emacs sources, and are used
only for testing etags. They aren't part of the Emacs sources which
are compiled into the Emacs binary.
There's no bug here.
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#64726: 30.0.50; PUSH_HANDLER macro in src/lisp.h:3053 is unused
2023-07-19 13:16 ` Eli Zaretskii
@ 2023-07-19 14:23 ` Ihor Radchenko
2023-07-19 15:07 ` Eli Zaretskii
0 siblings, 1 reply; 7+ messages in thread
From: Ihor Radchenko @ 2023-07-19 14:23 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 64726
Eli Zaretskii <eliz@gnu.org> writes:
> Yes. I think you were deceived by files under test/manual/etags/.
> These were taken from an old version of Emacs sources, and are used
> only for testing etags. They aren't part of the Emacs sources which
> are compiled into the Emacs binary.
I am confused.
I found this macro in src/lisp.h.
Is it there intentionally?
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#64726: 30.0.50; PUSH_HANDLER macro in src/lisp.h:3053 is unused
2023-07-19 14:23 ` Ihor Radchenko
@ 2023-07-19 15:07 ` Eli Zaretskii
2023-07-19 15:16 ` Ihor Radchenko
0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2023-07-19 15:07 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: 64726
> From: Ihor Radchenko <yantar92@posteo.net>
> Cc: 64726@debbugs.gnu.org
> Date: Wed, 19 Jul 2023 14:23:38 +0000
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > Yes. I think you were deceived by files under test/manual/etags/.
> > These were taken from an old version of Emacs sources, and are used
> > only for testing etags. They aren't part of the Emacs sources which
> > are compiled into the Emacs binary.
>
> I am confused.
> I found this macro in src/lisp.h.
In which src/lisp.h? I only see it in
test/manual/etags/c-src/emacs/src/lisp.h.
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#64726: 30.0.50; PUSH_HANDLER macro in src/lisp.h:3053 is unused
2023-07-19 15:07 ` Eli Zaretskii
@ 2023-07-19 15:16 ` Ihor Radchenko
2023-07-19 16:22 ` Eli Zaretskii
0 siblings, 1 reply; 7+ messages in thread
From: Ihor Radchenko @ 2023-07-19 15:16 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 64726
Eli Zaretskii <eliz@gnu.org> writes:
>> I am confused.
>> I found this macro in src/lisp.h.
>
> In which src/lisp.h? I only see it in
> test/manual/etags/c-src/emacs/src/lisp.h.
Ouch! You are right.
Sorry for the noise.
(I accidentally arrived to that buffer when grepping things around and
then did not notice that there is more than one lisp.h in Emacs git
repo. Just took note of all those ETAGS files and assumed that lisp.h is
the one in src/).
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#64726: 30.0.50; PUSH_HANDLER macro in src/lisp.h:3053 is unused
2023-07-19 15:16 ` Ihor Radchenko
@ 2023-07-19 16:22 ` Eli Zaretskii
0 siblings, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2023-07-19 16:22 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: 64726-done
> From: Ihor Radchenko <yantar92@posteo.net>
> Cc: 64726@debbugs.gnu.org
> Date: Wed, 19 Jul 2023 15:16:30 +0000
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> I am confused.
> >> I found this macro in src/lisp.h.
> >
> > In which src/lisp.h? I only see it in
> > test/manual/etags/c-src/emacs/src/lisp.h.
>
> Ouch! You are right.
> Sorry for the noise.
No sweat.
> (I accidentally arrived to that buffer when grepping things around and
> then did not notice that there is more than one lisp.h in Emacs git
> repo. Just took note of all those ETAGS files and assumed that lisp.h is
> the one in src/).
It happens to others as well. I've seen not once or twice that global
cleanups over all the source files included also the files there...
Closing.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-07-19 16:22 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-19 10:36 bug#64726: 30.0.50; PUSH_HANDLER macro in src/lisp.h:3053 is unused Ihor Radchenko
2023-07-19 13:12 ` Eli Zaretskii
2023-07-19 13:16 ` Eli Zaretskii
2023-07-19 14:23 ` Ihor Radchenko
2023-07-19 15:07 ` Eli Zaretskii
2023-07-19 15:16 ` Ihor Radchenko
2023-07-19 16:22 ` Eli Zaretskii
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).