emacs-pretest-bug
[Top][All Lists]
Advanced

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

comint: 'C-c RET' changed unfavorabily


From: Martin Maechler
Subject: comint: 'C-c RET' changed unfavorabily
Date: Thu, 1 Sep 2005 15:31:35 +0200

This is not a bug in the strict sense, 
but a "mis feature" for me:

I've been a very long time user of several  comint - based
"shell"s, also as co-developer of
ESS (Emacs speaks statistics; http://ESS.r-project.org/ )
where we make use of comint to run R or S-plus, etc.

I've just found that in emacs 22, the  key  'C-c RET' is bound
to something quite different than it used to be for many years
in previous emacsen.  For me and my fingers which are trained to use
C-c RET subconsciously almost, the new behavior is quite a pain:

Emacs 21.4 {from inside *shell* opened by M-x shell} :

   C-c RET runs the command comint-copy-old-input
      which is an interactive compiled Lisp function in `comint'.
   (comint-copy-old-input)

   Insert after prompt old input at point as new input to be edited.
   Calls `comint-get-old-input' to get old input.

Emacs 22 (version details below; from inside *shell* opened by M-x shell} :

   C-c RET (translated from C-c <return>) runs the command comint-insert-input
      which is an interactive compiled Lisp function in `comint'.
   It is bound to <mouse-2>, C-c RET, <menu-bar> <inout> <copy-input>.
   (comint-insert-input &optional event)

   In a Comint buffer, set the current input to the previous input at point.

which is really not back compatible.

It also looks like a bug to me, because the Menubar 
[ "In/Out" ] menu has an entry that *still* reads as

  ----------------------------------------------
  Copy Old Input                        C-c RET
  ----------------------------------------------

Thank you for emacs,
Martin Maechler,
ETH Zurich

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


In GNU Emacs 22.0.50.3 (x86_64-unknown-linux-gnu, X toolkit)
 of 2005-08-30 on deb7
X server distributor `The X.Org Foundation', version 11.0.60802000
configured using `configure  'CC=gcc''

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

Major mode: Shell

Minor modes in effect:
  display-time-mode: t
  recentf-mode: t
  show-paren-mode: t
  mouse-wheel-mode: t
  tooltip-mode: t
  auto-compression-mode: t
  menu-bar-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-k C-y SPC 
C-y M-b M-b M-b M-b M-b > SPC C-e <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> . H O W <return> l l n <return> p r t SPC 
Q S S - B i <tab> - 1 <tab> - <tab> <return> C-x s 
C-g C-g C-x s <help-echo> C-x s <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<menu-bar> <help-menu> <report-emacs-bug>

Recent messages:
Completing file name...
Partially completed
Completing file name...
Partially completed
Completing file name...
Completed
(No files need saving)
Quit [2 times]
(No files need saving) [2 times]
Loading emacsbug...done




reply via email to

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