From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: 'Eli Zaretskii' <eliz@gnu.org>, emacs-devel@gnu.org
Subject: Re: C-M-TAB stand-in for M-TAB, on MS Windows?
Date: Thu, 29 May 2008 02:11:57 -0400 [thread overview]
Message-ID: <jwv8wxtfxlr.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <006401c8c035$8704af50$0200a8c0@us.oracle.com> (Drew Adams's message of "Tue, 27 May 2008 13:09:10 -0700")
Can someone install this patch?
Stefan
>>>>> "Drew" == Drew Adams <drew.adams@oracle.com> writes:
>> I have a problem with this description: it doesn't really explain what
>> can and what can't be an argument to these functions, and whether
>> there's any significance to the term "hot-key" that is part of the
>> functions' names. An example helps, but a single example is not
>> enough to overcome the difficulty of a total lack of description of
>> the argument, and also of what the function actually does. Come to
>> think about it, the suggested text explains even less than the doc
>> string does, which to me doesn't make sense (it should be the other
>> way around).
>>
>> > +@vindex w32-register-hot-key
>> > +@vindex w32-unregister-hot-key
>>
>> These should be @findex; @vindex is for variables/options.
>>
>> > + Although the @key{ALT} key is mapped by default to the Emacs
>> > +@key{META} key, MS Windows preempts its use by Emacs for certain key
>> > +combinations, such as @key{ALT-TAB}. You can use function
>> > +@code{w32-register-hot-key} to allow a key sequence to be seen by
>> > +Emacs instead of being grabbed by Windows.
>> > +
>> > +@kindex M-TAB @r{(MS-Windows)}
>> > +@cindex @code{M-TAB} vs @code{Alt-TAB} (MS-Windows)
>>
>> You should use @kbd{M-@key{TAB}} and @kbd{Alt-@key{TAB}}, not
>> @key{ALT-TAB} or @code{M-TAB}.
>>
>> > +@cindex @code{Alt-TAB} vs @code{M-TAB} (MS-Windows)
>> > + For example, @code{(w32-register-hot-key [M-tab])} lets you use
>> > +@kbd{M-TAB} normally in Emacs. This is effective at all levels, so,
>> ^^
>> Two spaces after a period that ends a sentence, please.
>>
>> Finally, please include a ChangeLog entry with your patch.
> Thanks for the corrections.
> Attached is a new patch. My knowledge of this is limited to what the doc string
> says, so I've reproduced that. Feel free to make any more additions or
> corrections. In particular, feel free to explain what a Windows hot key and
> hotkey-id are.
> It is important to at least let users know that they can recuperate M-TAB. But I
> certainly agree that it would be good to have a complete and accurate
> description of what these functions do. If you can provide that information,
> please do submit a better patch.
> BTW, it looks to me like there might be similar syntax errors to those I made
> (e.g. @code{Alt} in @cindex), throughout this file - you might want to check the
> syntax generally.
> HTH.
> 2008-05-27 Drew Adams <drew.adams@oracle.com>
> * msdog.text:
> Added descriptions of w32-register-hot-key and w32-unregister-hot-key.
next prev parent reply other threads:[~2008-05-29 6:11 UTC|newest]
Thread overview: 54+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-26 0:12 C-M-TAB stand-in for M-TAB, on MS Windows? Drew Adams
2008-05-26 1:12 ` Miles Bader
2008-05-26 1:18 ` Miles Bader
2008-05-26 2:05 ` Miles Bader
2008-05-26 6:06 ` David De La Harpe Golden
2008-05-26 6:13 ` Miles Bader
2008-05-26 7:14 ` Drew Adams
2008-05-26 7:32 ` Miles Bader
2008-05-26 7:40 ` Drew Adams
2008-05-26 8:04 ` Lennart Borgman (gmail)
2008-05-26 9:22 ` Jason Rumney
2008-05-26 9:34 ` Lennart Borgman (gmail)
2008-05-26 9:58 ` Jason Rumney
2008-05-26 15:28 ` Lennart Borgman (gmail)
2008-05-26 7:42 ` David De La Harpe Golden
2008-05-26 16:11 ` Drew Adams
2008-05-26 16:00 ` John Paul Wallington
2008-05-26 16:16 ` Lennart Borgman (gmail)
2008-05-26 16:28 ` John Paul Wallington
2008-05-26 17:02 ` Lennart Borgman (gmail)
2008-05-26 16:38 ` Drew Adams
2008-05-26 16:45 ` Drew Adams
2008-05-26 17:05 ` Lennart Borgman (gmail)
2008-05-26 17:27 ` Drew Adams
2008-05-26 19:01 ` Eli Zaretskii
2008-05-26 20:07 ` Drew Adams
2008-05-27 3:10 ` Eli Zaretskii
2008-05-26 17:04 ` Lennart Borgman (gmail)
2008-05-26 17:15 ` Drew Adams
2008-05-26 21:12 ` Lennart Borgman (gmail)
2008-05-26 23:29 ` Drew Adams
2008-05-26 23:44 ` Lennart Borgman (gmail)
2008-05-27 0:18 ` Drew Adams
2008-05-27 6:48 ` Lennart Borgman (gmail)
2008-05-27 13:48 ` Stefan Monnier
2008-05-27 14:46 ` Drew Adams
2008-05-27 15:09 ` Stefan Monnier
2008-05-27 16:09 ` Drew Adams
2008-05-27 18:49 ` Eli Zaretskii
2008-05-27 20:09 ` Drew Adams
2008-05-27 20:45 ` Stephen J. Turnbull
2008-05-27 20:39 ` Drew Adams
2008-05-29 6:11 ` Stefan Monnier [this message]
2008-05-29 8:17 ` Juanma Barranquero
2008-05-29 14:16 ` Stefan Monnier
2008-05-31 10:55 ` Eli Zaretskii
2008-05-27 7:51 ` Paul R
2008-05-27 11:05 ` Richard M Stallman
2008-05-26 17:32 ` John Paul Wallington
2008-05-26 18:38 ` Drew Adams
2008-05-26 20:12 ` Stefan Monnier
2008-05-26 20:56 ` Jason Rumney
2008-05-26 23:28 ` Drew Adams
2008-05-26 23:28 ` Drew Adams
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=jwv8wxtfxlr.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=drew.adams@oracle.com \
--cc=eliz@gnu.org \
--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).