emacs-devel
[Top][All Lists]
Advanced

[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: Sun, 7 May 2006 22:16:34 -0500 (CDT)

Nick Roberts wrote:

   The name comint-insert-input suggests that it inserts (old) input so
   to do nothing when the point isn't over input seems appropriate to me.

Yes, but if comint-use-prompt-regexp is t, then comint-insert-input
does nothing even if point _is_ over input.

Just do `emacs -q -nbc', then
M-: (setq comint-use-prompt-regexp t)

M-x shell

umask RET

Go back to the umask on the previous prompt.

C-c RET.

Nothing happens.

Sincerely,

Luc.





reply via email to

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