how to 'block' the prompt

Sebastian Luque sluque at mun.ca
Fri Aug 20 00:43:05 CEST 2004


On Thu, 19 August 2004 13:07 -0500, David Brahm wrote:
> I have the following in my .emacs, adapted from a posting by Martin
> Maechler <maechler at stat.math.ethz.ch>.  The 5th line makes ^A go to the
> beginning of the *command* instead of the beginning of the *line*, making
> it harder to accidentally erase the prompt.  HTH, and if it does thank
> Martin!
>
> (eval-after-load "comint" '(progn
>   (setq comint-scroll-to-bottom-on-output 'others)
>   (define-key comint-mode-map [up]
> 'comint-previous-matching-input-from-input) (define-key comint-mode-map
> [down] 'comint-next-matching-input-from-input) (define-key comint-mode-map
> "" 'comint-bol-or-process-mark) )
> )

Thanks! Before I give it a try, what exactly is the character between the 
double quotes in that line 5? I can't read it correctly in my system.

Cheers,
Sebastian




More information about the ESS-help mailing list