help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Bind right shift and TAB won't work


From: Drew Adams
Subject: RE: Bind right shift and TAB won't work
Date: Sun, 12 May 2013 08:37:06 -0700

> > Emacs has a FAQ: http://www.gnu.org/software/emacs/emacs-faq.html
> 
> Yes, but I was wondering more if there were any guidelines how to
> interact in this very group. Like how much context to provide, and
> stuff like that. If you use some special notation to highlight
> commands. Etc.

Dunno.  I probably should know, but I don't.  I looked here, but it doesn't lead
to any such guidelines, AFAICT: http://lists.gnu.org/.

This is a help list, so pretty much anything you write will be OK.

The preference is for plain text, not HTML mail.  Other than that, trying to
provide clear & complete info in your questions is helpful, as is referring to
specific doc sections or specific recipes to reproduce behavior, when
appropriate.

Perhaps someone else can point you to some guidelines for the list somewhere.

> > When you do `C-h k' and then hold the right Shift key and hit the
> > Tab key, just what does it say wrt the key sequence you used
> > (forgetting about the binding for now)? Does it think that you hit
> > only TAB?
> 
> Yes.
> 
> > If so, that is what your keyboard is sending, I think.  Does the
> > right Shift key work for you otherwise, i.e., in general?
> 
> Yes, in X and Iceweasel it works as I try to set it up, in w3m.

What about in Emacs, besides w3m?  If you start Emacs with `emacs -Q' and then
check `C-h k' with Shift + Tab, do you see the same thing: no recognition of
Shift?

Check too whether `C-h k' does recognize that Shift was pressed and just says
that Shift + Tab was translated to TAB.  If so, that's different from not
receiving the Shift modifier at all.  E.g., for me, after `emacs -Q', `C-h k'
tells me this for `S-TAB':

  <backtab (translated from <S-tab>) is undefined
           ^^^^^^^^^^^^^^^^^^^^^^^^^

> I don't know how to test for it in the console? showkey (in the console)
> shows both (but separately), if that's a clue.

Someone else can perhaps help with that.

> > What happens when you do the same thing, but you use the left Shift
> > key?
> 
> The same: TAB.
> 
> > What happens if you try using `global-set-key', just to see?  Same
> > problem?
> 
> Yes.
> 
> > AFAIK, there is no way to distinguish the left and right Shift keys,
> > and either should work fine with the code you tried.
> 
> OK, so that's consistent, because neither works.
> 
> > You can also try (kbd "<S-tab>") and (kbd "<S-iso-lefttab>").
> 
> Those won't work either. But thanks for a gutsy effort.
> 
> > Maybe someone else has an idea.
>
> Let's hope so :)
> 
> FYI, you also emailed me your answer. I don't know if that is custom
> (or even a slip) but anyway, it is not needed as I am happy to use
> Gnus for Usenet.

I hit `Reply All', because I didn't want to reply only to you.  I could have
edited the `To:' list to remove you and reply only to the list.  But some people
who submit questions do not read the list.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]