From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Jason Rumney <jasonr@gnu.org>
Cc: Dan Nicolaescu <dann@ics.uci.edu>,
Drew Adams <drew.adams@oracle.com>,
emacs-devel@gnu.org
Subject: Re: Simple Tasks, new TODO category
Date: Thu, 24 Jan 2008 01:41:04 +0100 [thread overview]
Message-ID: <4797DEA0.9020309@gmail.com> (raw)
In-Reply-To: <4797DC12.6070401@gnu.org>
Jason Rumney wrote:
> Drew Adams wrote:
>>> Is there any drawback with such a simple design? Could we for example
>>> use char number 1? It should be very easy to implement for w32 and the
>>> other case above (where char 1 is just replaced with & and the other
>>> case where it is replaced with _).
>>>
>>
>> I haven't followed this. But I would be against having any (printable)
>> character in a menu-item name be interpreted specially and not just
>> treated
>> as part of the name. It is not the case that some (printable) character
>> "could not possibly be part of the title" - whatever (printable)
>> character
>> you choose, someone will want to use it in a menu item. `_' can
>> certainly be
>> useful in a name.
>>
>
> I understood "char number 1" to mean \001 (C-q C-a), not the digit 1.
> But I think that is too obscure, it would be better to explicitly define
> the access key, as in (define-key ... '(menu-item ... :access-key ?a)).
Perhaps nothing prevent doing that together with the underlying
implementation I suggested?
But more simple could then be to have a function
(setq menu-string (add-acc menu-string ?a))
The advantage is of course easy implementation. It works immediately for
both define-key and easymenu.
next prev parent reply other threads:[~2008-01-24 0:41 UTC|newest]
Thread overview: 110+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-19 20:20 Simple Tasks, new TODO category Dan Nicolaescu
2008-01-19 20:36 ` Yoni Rabkin
2008-01-19 20:51 ` Dan Nicolaescu
2008-01-21 9:07 ` Richard Stallman
2008-01-20 2:51 ` dhruva
2008-01-20 17:10 ` Dan Nicolaescu
2008-01-20 17:45 ` Lennart Borgman (gmail)
2008-01-20 17:55 ` w32 issues (was: Re: Simple Tasks, new TODO category) Dan Nicolaescu
2008-01-20 18:05 ` w32 issues Lennart Borgman (gmail)
2008-01-20 18:20 ` Dan Nicolaescu
2008-01-20 18:30 ` Lennart Borgman (gmail)
2008-01-20 19:45 ` Eli Zaretskii
2008-01-20 20:04 ` Lennart Borgman (gmail)
2008-01-20 20:30 ` Eli Zaretskii
2008-01-20 20:45 ` Lennart Borgman (gmail)
2008-01-21 15:08 ` Benjamin Riefenstahl
2008-01-21 16:13 ` Lennart Borgman (gmail)
2008-01-21 16:32 ` Stefan Monnier
2008-01-21 16:45 ` Lennart Borgman (gmail)
2008-01-21 17:47 ` Stefan Monnier
2008-01-20 22:07 ` Jason Rumney
2008-01-20 22:38 ` Lennart Borgman (gmail)
2008-01-20 23:26 ` Jason Rumney
2008-01-20 23:31 ` Juanma Barranquero
2008-01-21 0:20 ` Jason Rumney
2008-01-21 0:50 ` Juanma Barranquero
2008-01-20 23:41 ` Lennart Borgman (gmail)
2008-01-21 0:12 ` Jason Rumney
2008-01-21 0:16 ` Lennart Borgman (gmail)
2008-01-21 0:40 ` Lennart Borgman (gmail)
2008-01-21 0:52 ` Jason Rumney
2008-01-21 1:36 ` Lennart Borgman (gmail)
2008-01-21 1:46 ` Jason Rumney
2008-01-21 2:05 ` Lennart Borgman (gmail)
2008-01-21 2:12 ` Jason Rumney
2008-01-21 2:31 ` Lennart Borgman (gmail)
2008-01-21 4:12 ` Eli Zaretskii
2008-01-21 1:49 ` Jason Rumney
2008-01-21 2:56 ` Vinicius Jose Latorre
2008-01-21 2:03 ` Lennart Borgman (gmail)
2008-01-21 4:31 ` Vinicius Jose Latorre
2008-01-21 4:12 ` Eli Zaretskii
2008-01-21 13:07 ` Vinicius Jose Latorre
2008-01-21 19:54 ` Eli Zaretskii
2008-01-21 21:11 ` Vinicius Jose Latorre
2008-01-21 21:17 ` Lennart Borgman (gmail)
2008-01-21 23:58 ` Vinicius Jose Latorre
2008-01-21 23:09 ` Lennart Borgman (gmail)
2008-01-22 0:33 ` Vinicius Jose Latorre
2008-01-21 23:55 ` Lennart Borgman (gmail)
2008-01-22 1:26 ` Vinicius Jose Latorre
2008-01-22 1:03 ` Lennart Borgman (gmail)
2008-01-22 10:12 ` Jason Rumney
2008-01-22 14:08 ` Lennart Borgman (gmail)
2008-01-22 0:44 ` Vinicius Jose Latorre
2008-01-21 23:54 ` Lennart Borgman (gmail)
2008-01-22 4:18 ` Eli Zaretskii
2008-01-22 16:33 ` Vinicius Jose Latorre
2008-01-22 20:02 ` Eli Zaretskii
2008-01-22 21:00 ` Lennart Borgman (gmail)
2008-01-22 21:43 ` Vinicius Jose Latorre
2008-01-22 9:33 ` Jason Rumney
2008-01-21 21:55 ` Eli Zaretskii
2008-01-21 4:46 ` dhruva
2008-01-21 20:30 ` Richard Stallman
2008-01-21 20:55 ` Lennart Borgman (gmail)
2008-01-21 20:55 ` Stefan Monnier
2008-01-22 22:29 ` Richard Stallman
2008-01-22 9:09 ` Jason Rumney
2008-01-21 4:25 ` Eli Zaretskii
2008-01-23 1:39 ` Jason Rumney
2008-01-23 2:29 ` Lennart Borgman (gmail)
2008-01-23 3:13 ` dhruva
2008-01-23 10:20 ` Jason Rumney
2008-01-23 15:27 ` dhruva
2008-01-20 17:58 ` Simple Tasks, new TODO category dhruva
2008-01-20 18:13 ` Lennart Borgman (gmail)
2008-01-23 22:53 ` Jason Rumney
2008-01-23 23:19 ` Lennart Borgman (gmail)
2008-01-23 23:59 ` Drew Adams
2008-01-24 0:09 ` Lennart Borgman (gmail)
2008-01-24 0:38 ` Drew Adams
2008-01-24 0:30 ` Jason Rumney
2008-01-24 0:41 ` Lennart Borgman (gmail) [this message]
2008-01-24 0:46 ` Jason Rumney
2008-01-24 0:51 ` Lennart Borgman (gmail)
2008-01-24 7:35 ` Jan Djärv
2008-01-24 10:49 ` tomas
2008-01-25 16:21 ` Jason Rumney
2008-01-25 16:45 ` Drew Adams
2008-01-25 16:53 ` Jason Rumney
2008-01-25 17:29 ` Drew Adams
2008-01-25 17:50 ` tomas
2008-01-25 18:22 ` Drew Adams
2008-01-25 17:52 ` Jason Rumney
2008-01-25 18:14 ` Drew Adams
2008-01-25 22:28 ` Jason Rumney
2008-01-25 23:39 ` Drew Adams
2008-01-25 18:16 ` Jan Djärv
2008-01-26 16:00 ` Richard Stallman
2008-01-25 19:52 ` Stephen J. Turnbull
2008-01-26 1:11 ` Lennart Borgman (gmail)
2008-01-26 8:39 ` Eli Zaretskii
2008-01-26 9:42 ` Stephen J. Turnbull
2008-01-26 14:25 ` Lennart Borgman (gmail)
2008-01-26 8:34 ` Eli Zaretskii
2008-01-26 16:55 ` Drew Adams
2008-01-25 17:32 ` Drew Adams
2008-01-25 17:42 ` Jason Rumney
2008-01-24 7:25 ` Jan Djärv
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=4797DEA0.9020309@gmail.com \
--to=lennart.borgman@gmail.com \
--cc=dann@ics.uci.edu \
--cc=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
--cc=jasonr@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).