[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: usability issue

From: Andrew
Subject: Re: usability issue
Date: 16 Jan 2003 19:25:58 +1300
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

David Kastrup <address@hidden> writes:

> address@hidden (Kai Gro├čjohann) writes:
> > "Ehud Karni" <address@hidden> writes:
> > 
> > > Because beginning-of-line and end-of-line are more useful and we
> > > want to use only 1 key for these functions.
> > 
> > I once wrote something that allows you to hit <home> once to go to
> > beginning of line, twice in a row to go to the beginning of the
> > window, and thrice to go to the beginning of the buffer.
> > 
> > The implementation sucks somewhat, I'm afraid.
> > 
> > But I think the feature is good, so WIBNI this functionality came
> > standard with Emacs?  What do people think.
> I'd think beginning of window odious.  I would recommend start of
> line, start of section/defun, start of buffer.
> As to the implementation: I would recommend to make it stateless: the
> implementation will simply check whether the cursor currently is at
> the start of line/section and move to the beginning of the smallest
> unit for which it is not yet already at the beginning.
> -- 
> David Kastrup, Kriemhildstr. 15, 44793 Bochum

I saw this message and thought it would be an interesting (and useful) feature 
to code up, as I am attempting to learn elisp; i just don't know how to find
if I'm at the beginning of a line. Is there a function; or does it need to be 
written specially? 


reply via email to

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