unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Chetan <Chetan.xspam@xspam.sbcglobal.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Going to line n, column m
Date: Tue, 07 Oct 2008 19:29:09 -0700	[thread overview]
Message-ID: <u8wszlszu.fsf@myhost.sbcglobal.net> (raw)
In-Reply-To: mailman.512.1223423709.25473.help-gnu-emacs@gnu.org

"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


  parent reply	other threads:[~2008-10-08  2:29 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-07 17:08 Going to line n, column m Mauricio
2008-10-07 20:32 ` Nikolaj Schumacher
     [not found] ` <mailman.498.1223411586.25473.help-gnu-emacs@gnu.org>
2008-10-07 20:38   ` Pascal J. Bourguignon
2008-10-07 20:52     ` Joost Kremers
2008-10-07 20:54     ` Lennart Borgman (gmail)
2008-10-08  0:00       ` Xavier Maillard
     [not found]     ` <mailman.501.1223412938.25473.help-gnu-emacs@gnu.org>
2008-10-07 23:20       ` Pascal J. Bourguignon
2008-10-07 23:54         ` Lennart Borgman (gmail)
     [not found]         ` <mailman.512.1223423709.25473.help-gnu-emacs@gnu.org>
2008-10-08  2:29           ` Chetan [this message]
2008-10-08 14:22         ` Nikolaj Schumacher
     [not found]         ` <mailman.566.1223475737.25473.help-gnu-emacs@gnu.org>
2008-10-08 17:32           ` Pascal J. Bourguignon
2008-10-08 18:54             ` Nikolaj Schumacher
2008-10-08 19:57             ` Mauricio
     [not found]             ` <mailman.605.1223492071.25473.help-gnu-emacs@gnu.org>
2008-10-08 20:00               ` Pascal J. Bourguignon
2008-10-08 21:08                 ` Andreas Politz
2008-10-08 21:15                 ` Nikolaj Schumacher
     [not found]                 ` <mailman.618.1223500557.25473.help-gnu-emacs@gnu.org>
2008-10-08 21:36                   ` Pascal J. Bourguignon
2008-10-09  2:42                   ` stan
2008-10-09  6:38                     ` Pascal J. Bourguignon
2008-10-09 22:49                       ` stan
2008-10-09 23:43                         ` Lennart Borgman (gmail)
     [not found] <mailman.476.1223399312.25473.help-gnu-emacs@gnu.org>
2008-10-07 17:23 ` Pascal J. Bourguignon
2008-10-07 18:43   ` Lennart Borgman (gmail)
     [not found]   ` <mailman.485.1223405182.25473.help-gnu-emacs@gnu.org>
2008-10-07 18:58     ` Pascal J. Bourguignon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=u8wszlszu.fsf@myhost.sbcglobal.net \
    --to=chetan.xspam@xspam.sbcglobal.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).