how to 'block' the prompt

Patrick Connolly p.connolly at hortresearch.co.nz
Tue Aug 24 23:38:08 CEST 2004


On Tue, 24-Aug-2004 at 05:32PM +0200, Mayeul KAUFFMANN wrote:

|> I use Xemacs

That would make a few things different, but none of these I suspect.


|> Moreover, without the prompt (wherever you are), you cannot always use the
|> history
|> It's very strange. At the prompt, press backspace. You can still use
|> history.
|> 
|> At the prompt, go just before the prompt (on the left), press delete, you
|> cannot use the history
|> 
|> At the prompt, go just before the prompt , press Ctrl+delelte (delete
|> line), you CAN use history.
|> 
|> So, the prompt matters, but in a strange way...

Seems quite sensible to me.  History is always available if and only
if you're at the end of the buffer.  There's something usefully unique
about the end of the buffer and so I have in my .emacs file,

(global-set-key [f8] 'ess-switch-to-end-of-ESS)

Very useful.  I also use these two to scroll the history:

      (global-set-key [M-mouse-4] 'smart-comint-up)
      (global-set-key [M-mouse-5] 'smart-comint-down)

That is designed to work only from the end of the buffer.  It behaves
differently elsewhere.  I press the F8 key many times a day.  Maybe
it's because I'm so used to using the F8 key, I've not considered the
prompt an issue.

HTH

-- 
Patrick Connolly
HortResearch
Mt Albert
Auckland
New Zealand 
Ph: +64-9 815 4200 x 7188
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~
I have the world`s largest collection of seashells. I keep it on all
the beaches of the world ... Perhaps you`ve seen it.  ---Steven Wright 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~




More information about the ESS-help mailing list