unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#10740: 24.0.93; shell-command-on-region works via menu but not by keys
@ 2012-02-06 20:49 Thomas Rikl
  2012-03-10  9:32 ` Chong Yidong
  2012-03-10 14:13 ` Th. Rikl
  0 siblings, 2 replies; 6+ messages in thread
From: Thomas Rikl @ 2012-02-06 20:49 UTC (permalink / raw)
  To: 10740

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)





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

* bug#10740: 24.0.93; shell-command-on-region works via menu but not by keys
  2012-02-06 20:49 bug#10740: 24.0.93; shell-command-on-region works via menu but not by keys Thomas Rikl
@ 2012-03-10  9:32 ` Chong Yidong
  2012-03-10 14:13 ` Th. Rikl
  1 sibling, 0 replies; 6+ messages in thread
From: Chong Yidong @ 2012-03-10  9:32 UTC (permalink / raw)
  To: Thomas Rikl; +Cc: 10740

Thomas Rikl <trikl@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.





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

* bug#10740: 24.0.93; shell-command-on-region works via menu but not by keys
  2012-02-06 20:49 bug#10740: 24.0.93; shell-command-on-region works via menu but not by keys Thomas Rikl
  2012-03-10  9:32 ` Chong Yidong
@ 2012-03-10 14:13 ` Th. Rikl
  2012-03-10 23:03   ` Michael Heerdegen
  2012-03-11  6:35   ` Achim Gratz
  1 sibling, 2 replies; 6+ messages in thread
From: Th. Rikl @ 2012-03-10 14:13 UTC (permalink / raw)
  To: 10740; +Cc: Chong Yidong

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.





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

* bug#10740: 24.0.93; shell-command-on-region works via menu but not by keys
  2012-03-10 14:13 ` Th. Rikl
@ 2012-03-10 23:03   ` Michael Heerdegen
  2012-03-11  6:35   ` Achim Gratz
  1 sibling, 0 replies; 6+ messages in thread
From: Michael Heerdegen @ 2012-03-10 23:03 UTC (permalink / raw)
  To: 10740

"Th. Rikl" <trikl@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





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

* bug#10740: 24.0.93; shell-command-on-region works via menu but not by keys
  2012-03-10 14:13 ` Th. Rikl
  2012-03-10 23:03   ` Michael Heerdegen
@ 2012-03-11  6:35   ` Achim Gratz
  2012-03-12  9:55     ` Chong Yidong
  1 sibling, 1 reply; 6+ messages in thread
From: Achim Gratz @ 2012-03-11  6:35 UTC (permalink / raw)
  To: 10740

"Th. Rikl" <trikl@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






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

* bug#10740: 24.0.93; shell-command-on-region works via menu but not by keys
  2012-03-11  6:35   ` Achim Gratz
@ 2012-03-12  9:55     ` Chong Yidong
  0 siblings, 0 replies; 6+ messages in thread
From: Chong Yidong @ 2012-03-12  9:55 UTC (permalink / raw)
  To: Achim Gratz; +Cc: 10740

Achim Gratz <Stromeko@nexgo.de> writes:

> "Th. Rikl" <trikl@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.





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

end of thread, other threads:[~2012-03-12  9:55 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-06 20:49 bug#10740: 24.0.93; shell-command-on-region works via menu but not by keys Thomas Rikl
2012-03-10  9:32 ` Chong Yidong
2012-03-10 14:13 ` Th. Rikl
2012-03-10 23:03   ` Michael Heerdegen
2012-03-11  6:35   ` Achim Gratz
2012-03-12  9:55     ` Chong Yidong

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