unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Nick Roberts <nickrob@snap.net.nz>
To: emacs-devel@gnu.org
Subject: menu items
Date: Sat, 5 Jan 2008 21:45:25 +1300	[thread overview]
Message-ID: <18303.17317.971572.668847@kahikatea.snap.net.nz> (raw)


The menu items are too distracting.  I would like to see the key
bindings permanently greyed out as they are of secondary interest.  This
probably flies in the face of convention, however, so how about just removing 
the brackets surrounding the key binding?  This makes them a bit quieter and
does seem to follow convention ( = expectation).

-- 
Nick                                           http://www.inet.net.nz/~nickrob


2008-01-05  Nick Roberts  <nickrob@snap.net.nz>

	* keyboard.c (parse_menu_item): Don't enclose key bindings on
	menu bar in parentheses.


--- keyboard.c	2008-01-05 21:34:07.000000000 +1300
*************** parse_menu_item (item, notreal, inmenuba
*** 8110,8116 ****
    tem = XCDR (cachelist);
    if (newcache && !NILP (tem))
      {
!       tem = concat3 (build_string ("  ("), tem, build_string (")"));
        XSETCDR (cachelist, tem);
      }
  
--- 8110,8117 ----
    tem = XCDR (cachelist);
    if (newcache && !NILP (tem))
      {
!       tem = concat2 (build_string ("  "), tem);
!       // tem = concat3 (build_string ("  ("), tem, build_string (")"));
        XSETCDR (cachelist, tem);
      }

             reply	other threads:[~2008-01-05  8:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-05  8:45 Nick Roberts [this message]
2008-01-05 10:13 ` menu items martin rudalics
2008-01-05 10:43 ` Juri Linkov
2008-01-05 15:38   ` Drew Adams
2008-01-05 15:53     ` Lennart Borgman (gmail)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18303.17317.971572.668847@kahikatea.snap.net.nz \
    --to=nickrob@snap.net.nz \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).