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 23:08:55 -0500 (CDT)

Nick Roberts wrote:

   I see now that comint-copy-old-input did indeed copy the whole line but
   although the name would not suggest so.

What it did depended on the value of comint-use-prompt-regexp.  It
relied on the value of the variable comint-get-old-input, whose
default value was comint-get-old-input-default.  Here is the
emacs-21.3 doc of the latter function:

  Default for `comint-get-old-input'.
  If `comint-use-prompt-regexp-instead-of-fields' is nil, then either
  return the current input field, if point is on an input field, or the
  current line, if point is on an output field.
  If `comint-use-prompt-regexp-instead-of-fields' is non-nil, then return
  the current line with any initial string matching the regexp
  `comint-prompt-regexp' removed.

`comint-use-prompt-regexp-instead-of-fields' is now called
`comint-use-prompt-regexp'.

Sincerely,

Luc.





reply via email to

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