Subject: 24.0.93; shell-command-on-region works via menu but not by keys

From: Thomas Rikl <[email-masked]>
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)