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: Chetan
Subject: Re: Going to line n, column m
Date: Tue, 07 Oct 2008 19:29:09 -0700
User-agent: Emacs Gnus

"Lennart Borgman (gmail)" <lennart.borgman@gmail.com> writes:

> Pascal J. Bourguignon wrote:
>> "Lennart Borgman (gmail)" <lennart.borgman@gmail.com> writes:
>> 
>>> Pascal J. Bourguignon wrote:
>>>> Nikolaj Schumacher <me@nschum.de> writes:
>>>>
>>>>> Mauricio <briqueabraque@yahoo.com> wrote:
>>>>>
>>>>>> I think this is simple, but I wasn't able
>>>>>> to find it anywhere: how can I tell emacs
>>>>>> I want to go to line x, column y?
>>>>> `goto-line' and `move-to-column'
>>>> They don't work ;-)
>>>>
>>>> If you don't believe me, try:
>>>>
>>>> RET C-u 40 M-x move-to-column RET
>>> To increase your credibility please show how to reproduce it ;-)
>> 
>> Yes of course.  Just type again:
>> 
>> RET C-u 40 M-x move-to-column RET
>> 
>> and once more the cursor will stay on column 1.
>
> It does not for me, even if the line is shorter than 40 chars. But I am
> using the latest CVS version.
>
>> Want to reproduce it yet another time?  No problem, just type again:
>> 
>> RET C-u 40 M-x move-to-column RET
>> 
>> and once more the cursor will stay on column 1.
>> 
>> 
>>> More seriously, this might be a bug, but it works for me using CVS Emacs 23.
>> 
>> It's not a bug, it's a feature of move-to-column.  Hence my
>> implementation of goto-xy.
>> 
I only have the released 22.3 and I find that it works as
advertised. The described behavior is what is expected, isn't it?
It looks like it may be possible to make it work the way it is
desired.

I don't know if there are any changes in 23.

Chetan


reply via email to

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