Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Toolbar and menubar #292

Open
Malabarba opened this issue May 22, 2015 · 1 comment
Open

Toolbar and menubar #292

Malabarba opened this issue May 22, 2015 · 1 comment

Comments

@Malabarba
Copy link
Collaborator

Sx should define a toolbar and a menubar for each of its major modes. This never occurred to me before because I just disable both, but a lot of people do use them.

@vermiculus
Copy link
Owner

Wow, same here; never occurred to me

👍

Here's a simple menu definition I stole from help-mode.el, of all places:

(eval-when-compile (require 'easymenu))
(easy-menu-define help-mode-menu help-mode-map
  "Menu for Help Mode."
  '("Help-Mode"
    ["Show Help for Symbol" help-follow-symbol
     :help "Show the docs for the symbol at point"]
    ["Previous Topic" help-go-back
     :help "Go back to previous topic in this help buffer"]
    ["Next Topic" help-go-forward
     :help "Go back to next topic in this help buffer"]
    ["Move to Previous Button" backward-button
     :help "Move to the Next Button in the help buffer"]
    ["Move to Next Button" forward-button
      :help "Move to the Next Button in the help buffer"]))

As an aside, GitHub's Lisp support for highlighting seems pretty dismal, lately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants