help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Going to line n, column m


From: Pascal J. Bourguignon
Subject: Re: Going to line n, column m
Date: Wed, 08 Oct 2008 19:32:22 +0200
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/22.2 (gnu/linux)

Nikolaj Schumacher <me@nschum.de> writes:

> pjb@informatimago.com (Pascal J. Bourguignon) wrote:
>
>> It's not a bug, it's a feature of move-to-column.  Hence my
>> implementation of goto-xy.
>
> First of all, I think it's unlikely that the OP wanted to move to a line
> and column that don't exist.  Your comment that it "doesn't work" is
> misleading at best.

To me, it seems unlikely that the OP is using CVS emacs, given he had
to ask such a question.


> But even if he did, move-to-column is capable of doing so.  There's no
> need for an elaborate (and error-prone) re-implementation.

By now, it should be clear that it IS NOT, RIGHT NOW capable of doing
so, but WILL BE able to do it, when emacs 23.0 will be released.

In the current circumstances, what can be called a RE-IMPLEMENTATION
is actually the implementation of move-to-column found in CVS since it
obviously redo the same thing that the goto-xy I implemented years
ago.



Since  the OP didn't precise the version of his emacs, we're left with
an old implementation of goto-xy that worked on old emacs, current emacs and 
will
obviously continue working in future emacs, 

vs.

a new implementation of goto-xy that doesn't work on old emacs, and
current emacs.  Granted some time in the future it will work on emacs
23, but the OP didn't say he needed this function in six months either.


-- 
__Pascal Bourguignon__                     http://www.informatimago.com/
Our enemies are innovative and resourceful, and so are we. They never
stop thinking about new ways to harm our country and our people, and
neither do we. -- Georges W. Bush


reply via email to

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