GNU bug report logs -
#63469
29.0.90; project.el doesn't add menu-bar entries
Previous Next
Reported by: Spencer Baugh <sbaugh <at> janestreet.com>
Date: Fri, 12 May 2023 17:49:02 UTC
Severity: normal
Found in version 29.0.90
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Juri Linkov <juri <at> linkov.net>
> Cc: dmitry <at> gutov.dev, sbaugh <at> janestreet.com, 63469 <at> debbugs.gnu.org
> Date: Fri, 19 May 2023 20:46:55 +0300
>
> >> +(define-minor-mode project-mode
> >> + "Toggle display of project menu in the project-aware buffers."
> >> + :lighter " Pro"
> >> + :keymap (define-keymap "<menu-bar>" project-mode-menu))
> >
> > If this mode is only for showing the menu, then at least the mode's
> > name should reflect that.
>
> It can be used for anything. For example, to display the project name
> on the mode-line. (Then better to cache the project name in a new
> buffer-local variable.)
I don't see anything but the menu in the patch you suggested. I
understand that in principle we could do many things there, but if you
are proposing a real patch, not just an initial idea, please show all
of the code you want to include in this mode.
This bug report was last modified 2 years and 43 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.