GNU bug report logs - #10740
24.0.93; shell-command-on-region works via menu but not by keys

Previous Next

Package: emacs;

Reported by: Thomas Rikl <trikl <at> online.de>

Date: Mon, 6 Feb 2012 21:01:01 UTC

Severity: normal

Found in version 24.0.93

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10740 in the body.
You can then email your comments to 10740 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#10740; Package emacs. (Mon, 06 Feb 2012 21:01:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Thomas Rikl <trikl <at> online.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 06 Feb 2012 21:01:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Thomas Rikl <trikl <at> online.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.93; shell-command-on-region works via menu but not by keys
Date: Mon, 6 Feb 2012 21:49:46 +0100
Highlight a region, try to filter it with "grep xzy" via menu [Tools,
Shell Command on region] results in output in the minibuffer ok!
Trying this with M-| and nothing (useful) happens?



In GNU Emacs 24.0.93.14 (x86_64-unknown-linux-gnu, GTK+ Version 3.2.3)
 of 2012-02-06 on aptosidbox
Windowing system distributor `The X.Org Foundation', version 11.0.11103901
Configured using:
 `configure '--with-x-toolkit=gtk3' '--prefix=/data/emacs'
 '--without-compress-info' '--with-dbus''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: ConTeXt-en

Minor modes in effect:
  shell-dirtrack-mode: t
  desktop-save-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-x k <return> C-x k <right> <return> C-x k <right> 
<return> C-x k <right> <right> <right> <return> C-x 
b C-g C-x h <help-echo> <help-echo> <help-echo> <help-echo> 
<menu-bar> <tools> <shell-on-region> g r e p SPC s 
e t <backspace> c t i o n <return> C-g <down-mouse-1> 
<mouse-1> <backspace> t C-c C-c <return> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<menu-bar> <help-menu> <send-emacs-bug-report>

Recent messages:
\setupheads[sectionnumber=no]
\section{Info Shortguide}      
\subsection{Selecting other nodes}
\subsubsection{Moving within a node}   
\subsubsection{Advanced commands}
Quit
Saving file /data/tom/my_projects/context/uebung2.tex...
Wrote /data/tom/my_projects/context/uebung2.tex
Type `C-c C-l' to display results of compilation.
ConTeXt errors in `*/data/tom/my_projects/context/uebung2 output*'. Use C-c ` 
to display.

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr message byte-opt format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader
emacsbug shell pcomplete comint ring info noutline outline font-latex
bytecomp byte-compile cconv macroexp context-en context plain-tex latex
easy-mmode edmacro kmacro tex-style tex-buf tex regexp-opt advice
help-fns advice-preload easymenu jka-compr tuareg-autoloads
caml-autoloads package tabulated-list slime-autoloads preview-latex
tex-site auto-loads ido desktop time-date tooltip ediff-hook vc-hooks
lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image fringe
lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer loaddefs button faces cus-face files text-properties overlay
sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty emacs)




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10740; Package emacs. (Sat, 10 Mar 2012 10:03:02 GMT) Full text and rfc822 format available.

Message #8 received at 10740 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> gnu.org>
To: Thomas Rikl <trikl <at> online.de>
Cc: 10740 <at> debbugs.gnu.org
Subject: Re: bug#10740: 24.0.93;
	shell-command-on-region works via menu but not by keys
Date: Sat, 10 Mar 2012 17:32:55 +0800
Thomas Rikl <trikl <at> online.de> writes:

> Highlight a region, try to filter it with "grep xzy" via menu [Tools,
> Shell Command on region] results in output in the minibuffer ok!
> Trying this with M-| and nothing (useful) happens?

For what it's worth, I can't reproduce this.  Latest trunk,
x86_64-unknown-linux-gnu:

emacs -Q
C-SPC
M-<
M-| grep th RET

The grepped lines are shown.

Please provide a more precise recipe.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10740; Package emacs. (Sat, 10 Mar 2012 14:44:01 GMT) Full text and rfc822 format available.

Message #11 received at 10740 <at> debbugs.gnu.org (full text, mbox):

From: "Th. Rikl" <trikl <at> online.de>
To: 10740 <at> debbugs.gnu.org
Cc: Chong Yidong <cyd <at> gnu.org>
Subject: Re: bug#10740: 24.0.93; shell-command-on-region works via menu but
	not by keys
Date: Sat, 10 Mar 2012 15:13:30 +0100
Thanks Chong for the response,

the reason for my bugreport was at the first look, a confusion about 
"bar" | and "brokenbar" ¦ which i didn't recognized until then.
My german keybord shows an brokenbar but emits a bar. I think its ok so far.

$ xmodmap -pke | grep bar # gives
keycode 94 = less greater less greater bar brokenbar bar

To create the keycord M-| i have to hold ALT (means Meta) hold AltGr to 
get the bar on german keycap <>| and even press <>| .
Examining this keycord with C-h k gives a reaction as if i had pressed 
nothing.

Typing a | in an ordinary buffer or on a linux-console works here. ???

With the help of xev I found that the keycord M-| emits nothing (in my 
configuration) so it may be no emacs problem.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10740; Package emacs. (Sat, 10 Mar 2012 23:28:01 GMT) Full text and rfc822 format available.

Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#10740: 24.0.93;
	shell-command-on-region works via menu but not by keys
Date: Sun, 11 Mar 2012 00:03:06 +0100
"Th. Rikl" <trikl <at> online.de> writes:

> Typing a | in an ordinary buffer or on a linux-console works here. ???
>
> With the help of xev I found that the keycord M-| emits nothing (in my
> configuration) so it may be no emacs problem.

I have exactly the same problem (German keyboard, Debian Wheezy).  I
don't think it's Emacs related (because of the xev behavior you see).

Some time ago, I couldn't type C-M-~.  Now, it suddenly works (?)
without any intervention.  Instead, M-| doesn't work.  Quite
mysterious.

At least, ESC |  works as a workaround for M-|.


Michael




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10740; Package emacs. (Sun, 11 Mar 2012 07:06:01 GMT) Full text and rfc822 format available.

Message #17 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Achim Gratz <Stromeko <at> nexgo.de>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#10740: 24.0.93;
	shell-command-on-region works via menu but not by keys
Date: Sun, 11 Mar 2012 07:35:38 +0100
"Th. Rikl" <trikl <at> online.de> writes:
> To create the keycord M-| i have to hold ALT (means Meta) hold AltGr
> to get the bar on german keycap <>| and even press <>| .
> Examining this keycord with C-h k gives a reaction as if i had pressed
> nothing.

That's because most keyboards can't process these three keys together
(lookup keyboard ghosting).  You need to use the ESC prefix instead of
the meta key.  If M-~ also doesn't work, then there might be a problem
with your X configuration and the mapping of the "Alt Gr" key, but I
think your problem is simply ghosting.  In any case, Emacs can't do
anything about it, it simply never got the keypress you think it should
be getting (most likely it'll see ALT_L and SHIFT_L3 pressed and
released, which means nothing to do).


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Terratec KOMPLEXER:
http://Synth.Stromeko.net/Downloads.html#KomplexerWaves





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#10740; Package emacs. (Mon, 12 Mar 2012 10:26:01 GMT) Full text and rfc822 format available.

Message #20 received at 10740 <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> gnu.org>
To: Achim Gratz <Stromeko <at> nexgo.de>
Cc: 10740 <at> debbugs.gnu.org
Subject: Re: bug#10740: 24.0.93;
	shell-command-on-region works via menu but not by keys
Date: Mon, 12 Mar 2012 17:55:34 +0800
Achim Gratz <Stromeko <at> nexgo.de> writes:

> "Th. Rikl" <trikl <at> online.de> writes:
>> To create the keycord M-| i have to hold ALT (means Meta) hold AltGr
>> to get the bar on german keycap <>| and even press <>| .
>> Examining this keycord with C-h k gives a reaction as if i had pressed
>> nothing.
>
> That's because most keyboards can't process these three keys together
> (lookup keyboard ghosting).  You need to use the ESC prefix instead of
> the meta key.  If M-~ also doesn't work, then there might be a problem
> with your X configuration and the mapping of the "Alt Gr" key, but I
> think your problem is simply ghosting.  In any case, Emacs can't do
> anything about it, it simply never got the keypress you think it should
> be getting (most likely it'll see ALT_L and SHIFT_L3 pressed and
> released, which means nothing to do).

I have updated etc/PROBLEMS with this information.  Thank you.




bug closed, send any further explanations to 10740 <at> debbugs.gnu.org and Thomas Rikl <trikl <at> online.de> Request was from Chong Yidong <cyd <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 12 Mar 2012 10:27:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 09 Apr 2012 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 128 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.