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: Spencer Baugh <sbaugh <at> janestreet.com>
> Date: Mon, 15 May 2023 14:11:08 -0400
>
> The attached patch resolves this. There's also a slight tweak to the
> text of the menu entry for "Compile" to make it clearer that "compile"
> runs in CWD, where as "project-compile" runs on the current project.
> Otherwise I think it would be slightly confusing.
Thanks.
> (defvar menu-bar-shell-commands-menu
> (let ((menu (make-sparse-keymap "Shell Commands")))
> + (bindings--define-key menu [project-interactive-shell]
> + '(menu-item "Run Shell Interactively In Project" project-shell
> + :help "Run a subshell interactively, in the current project"))
What does it mean to "run a shell in the current project"? A shell
doesn't run in a project. Maybe you meant in the project's root
directory?
> + (bindings--define-key menu [project-compile]
> + '(menu-item "Compile Project..." project-compile
> + :help "Invoke compiler or Make for current project, view compilation errors"))
This tool-tip text is too long. Maybe drop the "compilation" part.
> + '(menu-item "Compile Current Directory..." compile
> + :help "Invoke compiler or Make in current directory, view compilation errors"))
What is a "current directory" when you are talking about Emacs?
> + (list 'select-buffer-in-project
> + 'menu-item
> + "Select Buffer In Project..."
> + 'project-switch-to-buffer
> + :help "Prompt for a buffer name in the current project, and select that buffer in the current window")
This tool-tip text is _way_ too long.
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.