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: Menubar on text only terminals
Date: Sat, 31 Mar 2007 19:12:08 +1200	[thread overview]
Message-ID: <17934.2504.477668.354102@farnswood.snap.net.nz> (raw)


I can make a menu item work like a toolbar icon on a text only terminal with
the following:

(define-key global-map [menu-bar compile] `(,(propertize "[compile]" 'face 'bold) . compile))

I've used a bold face (blue background with my setup) to try to emphasize the
button.  Unfortunately the space after the item name displays with the same
face.  Is it possible to prevent this?

This probably isn't for the release, but I think toolbar functionality maps
better onto text only terminals than the menubar because there are no pull
down menus to worry about.

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

             reply	other threads:[~2007-03-31  7:12 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-31  7:12 Nick Roberts [this message]
2007-03-31 20:42 ` Menubar on text only terminals Richard Stallman
2007-03-31 21:36   ` Nick Roberts
2007-04-02  2:13     ` Giorgos Keramidas
2007-04-02  4:56       ` Nick Roberts
2007-04-02  6:55         ` Giorgos Keramidas
2007-04-02  7:25           ` David Kastrup
2007-04-02  7:37             ` Giorgos Keramidas
2007-04-02  7:47               ` David Kastrup
2007-04-02 12:31             ` Eli Zaretskii
2007-04-02 23:28               ` Nick Roberts
2007-04-03  6:50                 ` David Kastrup
2007-04-03  8:07                 ` Eli Zaretskii

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=17934.2504.477668.354102@farnswood.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).