all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: Key sequence M-} is not working
       [not found] <mailman.4089.1185657015.32220.help-gnu-emacs@gnu.org>
@ 2007-07-29  8:45 ` Arjen Wiersma
  2007-07-29 17:42   ` Dieter Wilhelm
  0 siblings, 1 reply; 12+ messages in thread
From: Arjen Wiersma @ 2007-07-29  8:45 UTC (permalink / raw)
  To: help-gnu-emacs

Dieter Wilhelm <dieter@duenenhof-wilhelm.de> writes:

> When typing M-} (forward-paragraph) nothing happens, amazingly M-{
> does work!  The key sequence is definitively not bound by my window
> manager (openbox).  Unfortunately I've no clue how to proceed from
> this sorry state.  For any pointer I'm greatly indebted 8-).

Well, if M-} is indeed bound when looking at C-h b, the question becomes, does
M-x forward-paragraph work and if it does, does it work on a different
keybinding?

if that is still the case, then M-} must be caught somewhere else as well... 
no?

Arjen

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Key sequence M-} is not working
  2007-07-29  8:45 ` Key sequence M-} is not working Arjen Wiersma
@ 2007-07-29 17:42   ` Dieter Wilhelm
  2007-07-30 17:02     ` German keyboard event bug on debian 4.0? [was: Key sequence M-} is not working] Dieter Wilhelm
  0 siblings, 1 reply; 12+ messages in thread
From: Dieter Wilhelm @ 2007-07-29 17:42 UTC (permalink / raw)
  To: Arjen Wiersma; +Cc: help-gnu-emacs

Arjen Wiersma <core@credmp.org> writes:

> Dieter Wilhelm <dieter@duenenhof-wilhelm.de> writes:
>
>> When typing M-} (forward-paragraph) nothing happens, amazingly M-{
>> does work!  The key sequence is definitively not bound by my window
>> manager (openbox).  Unfortunately I've no clue how to proceed from
>> this sorry state.  For any pointer I'm greatly indebted 8-).
>
> Well, if M-} is indeed bound when looking at C-h b, the question becomes, does
> M-x forward-paragraph work and if it does, does it work on a different
> keybinding?

(forward-paragraph) <- C-x C-e
does work as expected

(global-set-key "\C-cx" 'forward-paragraph)
does also work 8-)

> if that is still the case, then M-} must be caught somewhere else as well... 
> no?

True, but how and what is intercepting M-}.  Could you please point to
some tools which show me what's going on here.  I remember vaguely
some X utilities which are supposed to show the key sequence which one
is typing.

     Dieter

-- 
    Best wishes

    H. Dieter Wilhelm
    Darmstadt, Germany

^ permalink raw reply	[flat|nested] 12+ messages in thread

* German keyboard event bug on debian 4.0? [was: Key sequence M-} is not working]
  2007-07-29 17:42   ` Dieter Wilhelm
@ 2007-07-30 17:02     ` Dieter Wilhelm
  2007-07-30 17:50       ` Peter Dyballa
  2007-07-30 18:25       ` German keyboard event bug on debian 4.0? [was: Key sequence M-} is not working] Andrea Vettorello
  0 siblings, 2 replies; 12+ messages in thread
From: Dieter Wilhelm @ 2007-07-30 17:02 UTC (permalink / raw)
  To: Arjen Wiersma; +Cc: help-gnu-emacs

Dieter Wilhelm <dieter@duenenhof-wilhelm.de> writes:

>
> True, but how and what is intercepting M-}.  Could you please point to
> some tools which show me what's going on here.  I remember vaguely
> some X utilities which are supposed to show the key sequence which one
> is typing.

I found the tool xev and it shows (below on an aterm) that there is no
"}" event when typing ALT + AltGr and }.  I think I have to ask some
debian mailing list.

for M-{ (ALT + AltGr + {) it is working:

KeyPress event, serial 30, synthetic NO, window 0x1c00001,
    root 0x63, subw 0x0, time 403204309, (-125,390), root:(466,410),
    state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 30, synthetic NO, window 0x1c00001,
    root 0x63, subw 0x0, time 403205217, (-125,390), root:(466,410),
    state 0x8, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 30, synthetic NO, window 0x1c00001,
    root 0x63, subw 0x0, time 403208093, (-125,390), root:(466,410),
    state 0x88, keycode 16 (keysym 0x7b, braceleft), same_screen YES,
    XLookupString gives 1 bytes: (7b) "{"
    XmbLookupString gives 1 bytes: (7b) "{"
    XFilterEvent returns: False

------------------------------

not so for M-} (ALT + AltGr + }):

KeyPress event, serial 30, synthetic NO, window 0x1c00001,
    root 0x63, subw 0x0, time 403316166, (-235,391), root:(356,411),
    state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 30, synthetic NO, window 0x1c00001,
    root 0x63, subw 0x0, time 403316752, (-235,391), root:(356,411),
    state 0x8, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False


-- 
    Best wishes

    H. Dieter Wilhelm
    Darmstadt, Germany

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: German keyboard event bug on debian 4.0? [was: Key sequence M-} is not working]
  2007-07-30 17:02     ` German keyboard event bug on debian 4.0? [was: Key sequence M-} is not working] Dieter Wilhelm
@ 2007-07-30 17:50       ` Peter Dyballa
  2007-07-30 20:34         ` German keyboard event bug on debian 4.0? Dieter Wilhelm
  2007-07-30 21:19         ` Defective keyboard [was: German keyboard event bug on debian 4.0?] Dieter Wilhelm
  2007-07-30 18:25       ` German keyboard event bug on debian 4.0? [was: Key sequence M-} is not working] Andrea Vettorello
  1 sibling, 2 replies; 12+ messages in thread
From: Peter Dyballa @ 2007-07-30 17:50 UTC (permalink / raw)
  To: Dieter Wilhelm; +Cc: Emacs Mailing List, Arjen Wiersma


Am 30.07.2007 um 19:02 schrieb Dieter Wilhelm:

> not so for M-} (ALT + AltGr + }):

Defective keyboard?

Did you check with xmodmap -pk what's mapped on that key? You can  
correct this with a script in for example ~/.xmodmaprc and a line like

	xmodmap ${HOME}/.xmodmaprc

in ~/.xinit or such, whatever starts your X server.

--
Mit friedvollen Grüßen

   Pete

Alle reden vom Wetter - die Bahn fährt nicht.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: German keyboard event bug on debian 4.0? [was: Key sequence M-} is not working]
  2007-07-30 17:02     ` German keyboard event bug on debian 4.0? [was: Key sequence M-} is not working] Dieter Wilhelm
  2007-07-30 17:50       ` Peter Dyballa
@ 2007-07-30 18:25       ` Andrea Vettorello
  2007-07-30 20:05         ` German keyboard event bug on debian 4.0? Dieter Wilhelm
  1 sibling, 1 reply; 12+ messages in thread
From: Andrea Vettorello @ 2007-07-30 18:25 UTC (permalink / raw)
  To: help-gnu-emacs

On 7/30/07, Dieter Wilhelm <dieter@duenenhof-wilhelm.de> wrote:
> Dieter Wilhelm <dieter@duenenhof-wilhelm.de> writes:

[...]

> I found the tool xev and it shows (below on an aterm) that there is no
> "}" event when typing ALT + AltGr and }.  I think I have to ask some
> debian mailing list.
>

What's the output of "xmodmap -pke | grep -i alt"?

I suspect that in your layout at least one of the Alt (Meta) keys is
missing the Shift modifier...


-- 
Andrea

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: German keyboard event bug on debian 4.0?
  2007-07-30 18:25       ` German keyboard event bug on debian 4.0? [was: Key sequence M-} is not working] Andrea Vettorello
@ 2007-07-30 20:05         ` Dieter Wilhelm
  2007-07-31  5:35           ` Andrea Vettorello
  0 siblings, 1 reply; 12+ messages in thread
From: Dieter Wilhelm @ 2007-07-30 20:05 UTC (permalink / raw)
  To: Andrea Vettorello; +Cc: help-gnu-emacs

"Andrea Vettorello" <andrea.vettorello@gmail.com> writes:

> On 7/30/07, Dieter Wilhelm <dieter@duenenhof-wilhelm.de> wrote:
>> Dieter Wilhelm <dieter@duenenhof-wilhelm.de> writes:
>
> [...]
>
>> I found the tool xev and it shows (below on an aterm) that there is no
>> "}" event when typing ALT + AltGr and }.  I think I have to ask some
>> debian mailing list.
>>
>
> What's the output of "xmodmap -pke | grep -i alt"?

dieter@debby:/usr/bin/X11$ xmodmap -pke | grep -i alt
keycode  64 = Alt_L Meta_L
keycode 125 = NoSymbol Alt_L

> I suspect that in your layout at least one of the Alt (Meta) keys is
> missing the Shift modifier...

I do not quite understand, to reach the "{" on a German keyboard I do
not need a Shift key.  But don't mind, I'm clueless anyway ;-).

-- 
    Best wishes

    H. Dieter Wilhelm
    Darmstadt, Germany

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: German keyboard event bug on debian 4.0?
  2007-07-30 17:50       ` Peter Dyballa
@ 2007-07-30 20:34         ` Dieter Wilhelm
  2007-07-30 22:03           ` Peter Dyballa
  2007-07-30 21:19         ` Defective keyboard [was: German keyboard event bug on debian 4.0?] Dieter Wilhelm
  1 sibling, 1 reply; 12+ messages in thread
From: Dieter Wilhelm @ 2007-07-30 20:34 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: Emacs Mailing List, Arjen Wiersma

Peter Dyballa <Peter_Dyballa@Web.DE> writes:

> Am 30.07.2007 um 19:02 schrieb Dieter Wilhelm:
>
>> not so for M-} (ALT + AltGr + }):
>
> Defective keyboard?

I think this might be the case.  Just booted a bare WinXP system
(still have it on my machines for some tax stuff) and installed Emacs
22.1 and lo and behold neither is M-} working on Windows.

(By the way, Emacs from the official ftp server without the supporting
image dlls looks downright frightening.)

>
> Did you check with xmodmap -pk what's mapped on that key? You can

8-) thanks.

$ xmodmap -pk

...
     16         0x0037 (7)      0x002f (slash)  0x007b (braceleft)      0x0ac6 (seveneighths)   0x007b (braceleft)      0x0ac6 (seveneighths)   
     17         0x0038 (8)      0x0028 (parenleft)      0x005b (bracketleft)    0x0ac9 (trademark)      0x005b (bracketleft)    0x0ac9 (trademark)      
     18         0x0039 (9)      0x0029 (parenright)     0x005d (bracketright)   0x00b1 (plusminus)      0x005d (bracketright)   0x00b1 (plusminus)      
     19         0x0030 (0)      0x003d (equal)  0x007d (braceright)     0x00b0 (degree) 0x007d (braceright)     0x00b0 (degree) 

This look right, doesn't it?

-- 
    Best wishes

    H. Dieter Wilhelm
    Darmstadt, Germany

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Defective keyboard [was: German keyboard event bug on debian 4.0?]
  2007-07-30 17:50       ` Peter Dyballa
  2007-07-30 20:34         ` German keyboard event bug on debian 4.0? Dieter Wilhelm
@ 2007-07-30 21:19         ` Dieter Wilhelm
  2007-07-30 22:04           ` Peter Dyballa
  1 sibling, 1 reply; 12+ messages in thread
From: Dieter Wilhelm @ 2007-07-30 21:19 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: Emacs Mailing List, Arjen Wiersma


Thank you very much guys for the guidance.

Peter Dyballa <Peter_Dyballa@Web.DE> writes:
>
> Defective keyboard?

Well, my new, stylish (silver metallic), beautiful HP keyboard with
the soft touch had to give way to an old (1985), clunky, heavy and
loud IBM keyboard, ugly as hell, which I have had confined to the
cellar.

I wonder if this has some deeper ethical meaning ;-).

-- 
    Best wishes

    H. Dieter Wilhelm
    Darmstadt, Germany

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: German keyboard event bug on debian 4.0?
  2007-07-30 20:34         ` German keyboard event bug on debian 4.0? Dieter Wilhelm
@ 2007-07-30 22:03           ` Peter Dyballa
  0 siblings, 0 replies; 12+ messages in thread
From: Peter Dyballa @ 2007-07-30 22:03 UTC (permalink / raw)
  To: Dieter Wilhelm; +Cc: Emacs Mailing List, Arjen Wiersma


Am 30.07.2007 um 22:34 schrieb Dieter Wilhelm:

>> Defective keyboard?
>
> I think this might be the case.  Just booted a bare WinXP system
> (still have it on my machines for some tax stuff) and installed Emacs
> 22.1 and lo and behold neither is M-} working on Windows.

Is MS Windows seeing }? Or any other Linux application? The xev trace  
did not show the } event ...

>>
>> Did you check with xmodmap -pk what's mapped on that key? You can
>
> 8-) thanks.
>
> $ xmodmap -pk
>
> ...
>      16         0x0037 (7)      0x002f (slash)  0x007b  
> (braceleft)      0x0ac6 (seveneighths)   0x007b (braceleft)       
> 0x0ac6 (seveneighths)
>      17         0x0038 (8)      0x0028 (parenleft)      0x005b  
> (bracketleft)    0x0ac9 (trademark)      0x005b (bracketleft)     
> 0x0ac9 (trademark)
>      18         0x0039 (9)      0x0029 (parenright)     0x005d  
> (bracketright)   0x00b1 (plusminus)      0x005d (bracketright)    
> 0x00b1 (plusminus)
>      19         0x0030 (0)      0x003d (equal)  0x007d  
> (braceright)     0x00b0 (degree) 0x007d (braceright)     0x00b0  
> (degree)
>
> This look right, doesn't it?

Yes, it looks quite good. Obviously there are two ways to produce  
[, ], {, or }: pressing Alt + 7, 8, 9, 0 and pressing AltGr + 7, 8,  
9, 0. IMO pressing AltGr only selects already the next level.

Have you tried to press: 7, Shift + 7, Alt + 7, Alt + Shift + 7,  
AltGr + 7, AltGr + Shift + 7 ? This should produce 7 / { ⅞ { ⅞. Is  
the output different when you press Alt + AltGr + 7, Alt + AltGr +  
Shift + 7 instead of AltGr + 7, AltGr + Shift + 7 ? If not, then  
simply forget about Alt + AltGr and use AltGr only.

Do your systems have a "virtual keyboard?" Kind of an emulation that  
shows which keys you press on your real keyboard? Maybe also allowing  
to choose different Input Methods?

Can you get another physical keyboard?

--
Mit friedvollen Grüßen

   Pete

                (This space left blank for technical reasons.)

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Defective keyboard [was: German keyboard event bug on debian 4.0?]
  2007-07-30 21:19         ` Defective keyboard [was: German keyboard event bug on debian 4.0?] Dieter Wilhelm
@ 2007-07-30 22:04           ` Peter Dyballa
  2007-07-31  1:27             ` Problem solved [was: Defective keyboard] Dieter Wilhelm
  0 siblings, 1 reply; 12+ messages in thread
From: Peter Dyballa @ 2007-07-30 22:04 UTC (permalink / raw)
  To: Dieter Wilhelm; +Cc: Emacs Mailing List, Arjen Wiersma


Am 30.07.2007 um 23:19 schrieb Dieter Wilhelm:

> Well, my new, stylish (silver metallic), beautiful HP keyboard with
> the soft touch had to give way to an old (1985), clunky, heavy and
> loud IBM keyboard, ugly as hell, which I have had confined to the
> cellar.

?! Problem solved, i.e. defective HP keyboard?

--
Mit friedvollen Grüßen

   Pete

Nazionalismus ist die Religion der armen Schweine

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Problem solved [was: Defective keyboard]
  2007-07-30 22:04           ` Peter Dyballa
@ 2007-07-31  1:27             ` Dieter Wilhelm
  0 siblings, 0 replies; 12+ messages in thread
From: Dieter Wilhelm @ 2007-07-31  1:27 UTC (permalink / raw)
  To: Peter Dyballa; +Cc: Emacs Mailing List, Arjen Wiersma

Peter Dyballa <Peter_Dyballa@Web.DE> writes:

> Am 30.07.2007 um 23:19 schrieb Dieter Wilhelm:
>
>> Well, my new, stylish (silver metallic), beautiful HP keyboard with
>> the soft touch had to give way to an old (1985), clunky, heavy and
>> loud IBM keyboard, ugly as hell, which I have had confined to the
>> cellar.
>
> ?! Problem solved, i.e. defective HP keyboard?

Yes! Thanks again (I'd never imagined that when the ALT and ALTGR and
"}" keys are working independently though the combination not) and
sorry for my awkward success description, I'm so very happy with this
old love of mine.

-- 
    Best wishes

    H. Dieter Wilhelm
    Darmstadt, Germany

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: German keyboard event bug on debian 4.0?
  2007-07-30 20:05         ` German keyboard event bug on debian 4.0? Dieter Wilhelm
@ 2007-07-31  5:35           ` Andrea Vettorello
  0 siblings, 0 replies; 12+ messages in thread
From: Andrea Vettorello @ 2007-07-31  5:35 UTC (permalink / raw)
  To: help-gnu-emacs

On 7/30/07, Dieter Wilhelm <dieter@duenenhof-wilhelm.de> wrote:
> "Andrea Vettorello" <andrea.vettorello@gmail.com> writes:
>
> > On 7/30/07, Dieter Wilhelm <dieter@duenenhof-wilhelm.de> wrote:
> >> Dieter Wilhelm <dieter@duenenhof-wilhelm.de> writes:

[...]

> dieter@debby:/usr/bin/X11$ xmodmap -pke | grep -i alt
> keycode  64 = Alt_L Meta_L
> keycode 125 = NoSymbol Alt_L
>
> > I suspect that in your layout at least one of the Alt (Meta) keys is
> > missing the Shift modifier...
>
> I do not quite understand, to reach the "{" on a German keyboard I do
> not need a Shift key.  But don't mind, I'm clueless anyway ;-).

Yeah, silly me, i should have at least given a peak to a German
keyboard layout. (=

There's still a spurious Alt symbol on keycode 125, it should be
harmless, anyway you solved your problem...


-- 
Andrea

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2007-07-31  5:35 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.4089.1185657015.32220.help-gnu-emacs@gnu.org>
2007-07-29  8:45 ` Key sequence M-} is not working Arjen Wiersma
2007-07-29 17:42   ` Dieter Wilhelm
2007-07-30 17:02     ` German keyboard event bug on debian 4.0? [was: Key sequence M-} is not working] Dieter Wilhelm
2007-07-30 17:50       ` Peter Dyballa
2007-07-30 20:34         ` German keyboard event bug on debian 4.0? Dieter Wilhelm
2007-07-30 22:03           ` Peter Dyballa
2007-07-30 21:19         ` Defective keyboard [was: German keyboard event bug on debian 4.0?] Dieter Wilhelm
2007-07-30 22:04           ` Peter Dyballa
2007-07-31  1:27             ` Problem solved [was: Defective keyboard] Dieter Wilhelm
2007-07-30 18:25       ` German keyboard event bug on debian 4.0? [was: Key sequence M-} is not working] Andrea Vettorello
2007-07-30 20:05         ` German keyboard event bug on debian 4.0? Dieter Wilhelm
2007-07-31  5:35           ` Andrea Vettorello

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.