all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Jason Rumney <jasonr@gnu.org>
Cc: Dan Nicolaescu <dann@ics.uci.edu>, emacs-devel@gnu.org
Subject: Re: Simple Tasks, new TODO category
Date: Thu, 24 Jan 2008 00:19:01 +0100	[thread overview]
Message-ID: <4797CB65.7040401@gmail.com> (raw)
In-Reply-To: <4797C57A.6000402@gnu.org>

Jason Rumney wrote:
> Lennart Borgman (gmail) wrote:
>> Here are a few w32 specific bugs I can remember right now out of my 
>> head that have not been entered in FOR-RELEASE:
>>
>> - Menu handling is broken IMO. You can not add accelerators to menus. 
> No, you can't but "broken" is a bit strong for this deficiency. We 
> discussed how accelerators might be added in a platform independent way 
> once before, but as usual noone is willing to propose a proper design 
> and write the code.

Ok, it is a bit strong. I just got a bit irritated since what I already 
used for this stopped working.

I believe a proper design should specify the position for the char in 
the menu that should be the accelerator.

However the most easy way to do that is probably to add a character to 
the menu title string that could not possibly be part of the title. That 
way we could easily support w32 and, eh what window manager (is that 
what handles menus?) used _ to mark the accelerator? (Jan D, I think it 
was you that told about this when I asked before. GNOME?)

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 _).

>> This is due to handling of & chars at the wrong moment in the C sources.
> I'm not sure what you mean by the "wrong moment". I have tried putting & 
> characters at various positions in menu entries, and it seems to be 
> consistently escaped so as not to conflict with Windows internal usage 
> of unescaped & to denote accelerators.

I was thinking about something like the suggestion above.

  reply	other threads:[~2008-01-23 23:19 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) [this message]
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)
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

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

  git send-email \
    --in-reply-to=4797CB65.7040401@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=dann@ics.uci.edu \
    --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 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.