emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Not To Miss <not.to.miss@gmail.com>
To: Eric Schulte <eric.schulte@gmx.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: anyway to create link to a line number in a file
Date: Sat, 18 Feb 2012 12:30:09 -0500	[thread overview]
Message-ID: <CAAp=d8pUTEBRoURsUwOFPVyVj1QsFOAj2DcaC5QH+2VinaBY7A@mail.gmail.com> (raw)
In-Reply-To: <87ipj4qd66.fsf@gmx.com>

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 <eric.schulte@gmx.com> wrote:
> Not To Miss <not.to.miss@gmail.com> 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.  I
> 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 <sean.ohalpin@gmail.com> wrote:
>>> On Fri, Feb 17, 2012 at 4:54 PM, Not To Miss <not.to.miss@gmail.com> wrote:
>>>> 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/



-- 
Best,
Zhenjiang

  reply	other threads:[~2012-02-18 17:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-17 16:54 anyway to create link to a line number in a file Not To Miss
2012-02-18 14:03 ` Sean O'Halpin
2012-02-18 16:31   ` Not To Miss
2012-02-18 17:11     ` Eric Schulte
2012-02-18 17:30       ` Not To Miss [this message]
2012-02-18 17:31     ` Nick Dokos
2012-02-18 21:58       ` Nick Dokos
2012-02-20  4:43         ` Not To Miss
2012-02-20  5:58           ` Nick Dokos
2012-02-21 17:16             ` Not To Miss
2012-02-21 17:29               ` Nick Dokos

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.orgmode.org/

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

  git send-email \
    --in-reply-to='CAAp=d8pUTEBRoURsUwOFPVyVj1QsFOAj2DcaC5QH+2VinaBY7A@mail.gmail.com' \
    --to=not.to.miss@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=eric.schulte@gmx.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).