[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: comint-insert-input on non-command lines: A trivial fix, a quibble,
From: |
Luc Teirlinck |
Subject: |
Re: comint-insert-input on non-command lines: A trivial fix, a quibble, and a bug |
Date: |
Wed, 10 May 2006 00:19:20 -0500 (CDT) |
Nick Roberts wrote:
Again the name comint-copy-old-input doesn't suggest this behaviour and
my preference would be not to have it.
Motivating the behavior of a function from its name seems backward.
One could always rename it to something like `comint-use-old-as-input'
or whatever.
There also is the possibility of keeping both comint-copy-old-input
(maybe renamed) and comint-insert-input (_without_ the latest
adaptation to non-nil comint-use-prompt-regexp).
`C-c RET' would then be bound to comint-copy-old-input by default and
mouse-2 to comint-insert-input (if comint-use-prompt-regexp is nil)
and one could tell people in the docs that if they prefer to have
`C-c RET' behave like mouse-2, they can rebind it to
comint-insert-input using comint-mode-hook. Even when used on input,
there can be a difference in certain modes, such as Inferior Lisp mode.
Sincerely,
Luc.
- Re: comint-insert-input on non-command lines:, (continued)
- Re: comint-insert-input on non-command lines:, Richard Stallman, 2006/05/15
- Re: comint-insert-input on non-command lines:, Luc Teirlinck, 2006/05/14
- Re: comint-insert-input on non-command lines:, Richard Stallman, 2006/05/15
- Re: comint-insert-input on non-command lines:, Luc Teirlinck, 2006/05/27
- Re: comint-insert-input on non-command lines:, Luc Teirlinck, 2006/05/27
- Re: comint-insert-input on non-command lines:, Nick Roberts, 2006/05/28
- Re: comint-insert-input on non-command lines:, Luc Teirlinck, 2006/05/28
- Re: comint-insert-input on non-command lines:, Luc Teirlinck, 2006/05/30
- Re: comint-insert-input on non-command lines:, Bob Rogers, 2006/05/30
- Re: comint-insert-input on non-command lines: A trivial fix, a quibble, and a bug, Luc Teirlinck, 2006/05/09
Re: comint-insert-input on non-command lines: A trivial fix, a quibble, and a bug,
Luc Teirlinck <=