[ESS] (no subject)

Kevin Ushey kevinushey at gmail.com
Sun Jun 21 22:29:21 CEST 2015


What about just defining your own function that places point at the end of
line? E.g. (not tested)

(define-key comint-mode-map [up]
 (lambda ()

  (interactive)

  (comint-previous-matching-input-from-input)
  (move-to-column (length (current-line)))))


Or you could even use `defadvice` to modify
comint-previous-matching-input-from-input itself.

It seems like this, or something like this, should work ... this is emacs,
there are always ~1000 (inconsistently documented) ways to skin a cat.

Kevin

On Sun, Jun 21, 2015 at 1:08 PM, Vitalie Spinu <spinuvit at gmail.com> wrote:
>  >>> "James W. MacDonald" on Sun, 21 Jun 2015 08:15:56 -0700 wrote:
>
>  > I could perhaps make Emacs just do what it used to do
>
> >From what I see in comint.el code, there is no option to do so. You can
redefine
> the comint-previous-matching-input-from-input by removing last `goto-char`
> command. It might do what you want.
>
>  Vitalie
>
> ______________________________________________
> ESS-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help

	[[alternative HTML version deleted]]



More information about the ESS-help mailing list