From mboxrd@z Thu Jan 1 00:00:00 1970 From: Not To Miss Subject: Re: anyway to create link to a line number in a file Date: Sat, 18 Feb 2012 12:30:09 -0500 Message-ID: References: <87ipj4qd66.fsf@gmx.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:56408) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ryo7X-0008E3-Uu for emacs-orgmode@gnu.org; Sat, 18 Feb 2012 12:30:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ryo7W-00023p-8f for emacs-orgmode@gnu.org; Sat, 18 Feb 2012 12:30:51 -0500 Received: from mail-vx0-f169.google.com ([209.85.220.169]:65085) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ryo7W-00023W-6I for emacs-orgmode@gnu.org; Sat, 18 Feb 2012 12:30:50 -0500 Received: by vcbf13 with SMTP id f13so3656911vcb.0 for ; Sat, 18 Feb 2012 09:30:49 -0800 (PST) In-Reply-To: <87ipj4qd66.fsf@gmx.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: emacs-orgmode@gnu.org Sorry, I didn't make it more clear. I want to create a link to a specific line automatically, just as the command "C-c l" (org-store-link) to automatically create a link to the text of current line. Sometimes line number is more important for me to record. On Sat, Feb 18, 2012 at 12:11 PM, Eric Schulte wrote= : > Not To Miss writes: > >> I looked that section carefully and the whole manual briefly. I >> haven't found anything yet. That's why I am asking on the mailing list >> to see if anyone has some workaround. >> > > [[file:filename.txt::6]] jumps to line 6 of filename.txt for me. =A0I > don't know if this is documented... if not a documentation patch would > be appreciated. > > Best, > >> >> On Sat, Feb 18, 2012 at 9:03 AM, Sean O'Halpin = wrote: >>> On Fri, Feb 17, 2012 at 4:54 PM, Not To Miss wr= ote: >>>> Hi all, >>>> >>>> I am reading a long text file and want to write down my notes with >>>> org-mode. I extremely would like to put the line numbers down along >>>> with my notes. Although there is a way to store a link for text search >>>> for the current line, I haven't found a way to create a link to a line >>>> number in the current buffer. Is there anyway to do that? Thanks >>> >>> Take a look at org-capture: http://orgmode.org/manual/Capture.html > > -- > Eric Schulte > http://cs.unm.edu/~eschulte/ --=20 Best, Zhenjiang