From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chetan Newsgroups: gmane.emacs.help Subject: Re: Going to line n, column m Date: Tue, 07 Oct 2008 19:29:09 -0700 Organization: Noname Inc. Message-ID: References: <87zllg5ee7.fsf@hubble.informatimago.com> <87vdw456w4.fsf@hubble.informatimago.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1223433642 7904 80.91.229.12 (8 Oct 2008 02:40:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Oct 2008 02:40:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Oct 08 04:41:39 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KnOzY-0006Y4-Bx for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Oct 2008 04:41:36 +0200 Original-Received: from localhost ([127.0.0.1]:44797 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnOyT-0006h2-AB for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Oct 2008 22:40:29 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!flpi089.ffdc.sbc.com!prodigy.net!flpi088.ffdc.sbc.com!prodigy.com!flpi107.ffdc.sbc.com!flpi148.ffdc.sbc.com.POSTED!8e1d8614!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Emacs Gnus Cancel-Lock: sha1:UFryew6aYDNC0Idw0wP7uARnYnw= Original-Lines: 50 Original-NNTP-Posting-Host: 75.37.16.137 Original-X-Complaints-To: abuse@prodigy.net Original-X-Trace: flpi148.ffdc.sbc.com 1223432950 ST000 75.37.16.137 (Tue, 07 Oct 2008 22:29:10 EDT) Original-NNTP-Posting-Date: Tue, 07 Oct 2008 22:29:10 EDT X-UserInfo1: OH]QBYWELJVUR\D[N[O@_WH@YR_B@EXLLBWLOOAFEQR@ETUCCNSKQFCY@TXDX_WHSVB]ZEJLSNY\^J[CUVSA_QLFC^RQHUPH[P[NRWCCMLSNPOD_ESALHUK@TDFUZHBLJ\XGKL^NXA\EVHSP[D_C^B_^JCX^W]CHBAX]POG@SSAZQ\LE[DCNMUPG_VSC@VJM Original-Xref: news.stanford.edu gnu.emacs.help:163176 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:58518 Archived-At: "Lennart Borgman (gmail)" writes: > Pascal J. Bourguignon wrote: >> "Lennart Borgman (gmail)" writes: >> >>> Pascal J. Bourguignon wrote: >>>> Nikolaj Schumacher writes: >>>> >>>>> Mauricio 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