From: Eli Zaretskii <eliz@gnu.org>
To: Nick Roberts <nickrob@snap.net.nz>
Cc: keramida@ceid.upatras.gr, emacs-devel@gnu.org
Subject: Re: Menubar on text only terminals
Date: Tue, 03 Apr 2007 11:07:39 +0300 [thread overview]
Message-ID: <ud52l6fuc.fsf@gnu.org> (raw)
In-Reply-To: <17937.37280.901597.817103@farnswood.snap.net.nz> (message from Nick Roberts on Tue, 3 Apr 2007 11:28:32 +1200)
> From: Nick Roberts <nickrob@snap.net.nz>
> Date: Tue, 3 Apr 2007 11:28:32 +1200
> Cc: David Kastrup <dak@gnu.org>, keramida@ceid.upatras.gr,
> emacs-devel@gnu.org
>
> I'm surprised that it is so easy given that tmm.el isn't a simple piece of
> code.
tmm tries to do a very different job; msdos.c just emulates the few
relevant Xlib functions.
> What happens with toggle and radio buttons? Are they also handled?
Yes, they are supported, but it's not msdos.c that does it, it's
xmenu.c. Look in single_menu_item there, around line 635, and you
will see that it shows "[X]" for toggles and "(*)" for radio buttons.
IOW, what we have for the non-toolkit build on X already does a large
part of the job, so that only the actual display of the menus is
missing. And that is where we can lift most of the code from msdos.c,
as I wrote earlier. The only _real_ problem with that is that msdos.c
gets mouse events via system calls in plain C, whereas text terminals
use Lisp code in t-mouse.el or some such, and it might be tricky to
call Lisp during menu display.
> If someone writes some code, I'll be happy to test it.
If I had time to write the code, I'd do it a long time ago. But
thanks for volunteering, maybe someone else will step forward for the
coding job (after the release, of course).
prev parent reply other threads:[~2007-04-03 8:07 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-31 7:12 Menubar on text only terminals Nick Roberts
2007-03-31 20:42 ` 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 [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ud52l6fuc.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=keramida@ceid.upatras.gr \
--cc=nickrob@snap.net.nz \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.