GNU bug report logs - #56502
Lucid ghosts

Previous Next

Package: emacs;

Reported by: Alan Mackenzie <acm <at> muc.de>

Date: Mon, 11 Jul 2022 20:38:02 UTC

Severity: normal

Done: Alan Mackenzie <acm <at> muc.de>

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 56502 in the body.
You can then email your comments to 56502 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#56502; Package emacs. (Mon, 11 Jul 2022 20:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Alan Mackenzie <acm <at> muc.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 11 Jul 2022 20:38:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: bug-gnu-emacs <at> gnu.org
Subject: Lucid ghosts
Date: Mon, 11 Jul 2022 20:37:45 +0000
Hello, Emacs.

While checking for Lisp hooks in the display engine, I came across some
unused variables with "lucid" in their names, namely
Vlucid_menu_bar_dirty_flag and Qrecompute_lucid_menubar.  These could
surely now be removed from Emacs, saving a small amount of space and
execution time.

A grep through the project's sources suggests there are other ghosts with
"lucid", and these could probably also be removed.

-- 
Alan Mackenzie (Nuremberg, Germany).




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56502; Package emacs. (Tue, 12 Jul 2022 02:06:02 GMT) Full text and rfc822 format available.

Message #8 received at 56502 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Alan Mackenzie <acm <at> muc.de>
Cc: 56502 <at> debbugs.gnu.org
Subject: Re: bug#56502: Lucid ghosts
Date: Tue, 12 Jul 2022 10:04:52 +0800
Alan Mackenzie <acm <at> muc.de> writes:

> Hello, Emacs.
>
> While checking for Lisp hooks in the display engine, I came across some
> unused variables with "lucid" in their names, namely
> Vlucid_menu_bar_dirty_flag and Qrecompute_lucid_menubar.  These could
> surely now be removed from Emacs, saving a small amount of space and
> execution time.
>
> A grep through the project's sources suggests there are other ghosts with
> "lucid", and these could probably also be removed.

AFAIR those were left over from the original Lucid Emacs menu bar
implementation.  Nobody still uses them, so they can be deleted.




Reply sent to Alan Mackenzie <acm <at> muc.de>:
You have taken responsibility. (Tue, 12 Jul 2022 09:38:02 GMT) Full text and rfc822 format available.

Notification sent to Alan Mackenzie <acm <at> muc.de>:
bug acknowledged by developer. (Tue, 12 Jul 2022 09:38:02 GMT) Full text and rfc822 format available.

Message #13 received at 56502-done <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: 56502-done <at> debbugs.gnu.org
Subject: Re: bug#56502: Acknowledgement (Lucid ghosts)
Date: Tue, 12 Jul 2022 09:37:50 +0000
Bug fixed.

-- 
Alan Mackenzie (Nuremberg, Germany).

On Mon, Jul 11, 2022 at 20:38:02 +0000, GNU bug Tracking System wrote:
> Thank you for filing a new bug report with debbugs.gnu.org.

> This is an automatically generated reply to let you know your message
> has been received.

> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.

> Your message has been sent to the package maintainer(s):
>  bug-gnu-emacs <at> gnu.org

> If you wish to submit further information on this problem, please
> send it to 56502 <at> debbugs.gnu.org.

> Please do not send mail to help-debbugs <at> gnu.org unless you wish
> to report a problem with the Bug-tracking system.

> -- 
> 56502: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56502
> GNU Bug Tracking System
> Contact help-debbugs <at> gnu.org with problems




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#56502; Package emacs. (Tue, 12 Jul 2022 09:41:01 GMT) Full text and rfc822 format available.

Message #16 received at 56502 <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 56502 <at> debbugs.gnu.org
Subject: Re: bug#56502: Lucid ghosts
Date: Tue, 12 Jul 2022 09:40:06 +0000
Hello, Po.

On Tue, Jul 12, 2022 at 10:04:52 +0800, Po Lu wrote:
> Alan Mackenzie <acm <at> muc.de> writes:

> > Hello, Emacs.

> > While checking for Lisp hooks in the display engine, I came across some
> > unused variables with "lucid" in their names, namely
> > Vlucid_menu_bar_dirty_flag and Qrecompute_lucid_menubar.  These could
> > surely now be removed from Emacs, saving a small amount of space and
> > execution time.

> > A grep through the project's sources suggests there are other ghosts with
> > "lucid", and these could probably also be removed.

> AFAIR those were left over from the original Lucid Emacs menu bar
> implementation.  Nobody still uses them, so they can be deleted.

Thanks for the confirmation.  I've just removed the things (in master)
and closed the bug.

-- 
Alan Mackenzie (Nuremberg, Germany).




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 09 Aug 2022 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 309 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.