How to make org syntax links in any emacs buffer look like in org-mode?

后端 未结 2 1485
时光取名叫无心
时光取名叫无心 2021-01-17 23:29

I am using emacs org-mode for managing my notes. Often I wish to use links to this notes from files, which I am editing in other modes, like AUCTeX.

See here for a d

相关标签:
2条回答
  • 2021-01-17 23:51

    I think the standard answer would be to use the publishing methods within org-mode to publish to a different file type, and link to that instead. Publishing, once set up, is really easy and fast to use and can produce things like html files that you could safely link to from something else (that is hopefully HTML compliant). Since you didn't say what the other-thing(s) is that you're using it's hard to recommend a good publishing output.

    0 讨论(0)
  • 2021-01-17 23:58

    You can use links outside Org-mode.

    4.5 Using links outside Org

    You can insert and follow links that have Org syntax not only in Org, but in any Emacs buffer. For this, you should create two global commands, like this (please select suitable global keys yourself):

    (global-set-key "\C-c L" 'org-insert-link-global)
    (global-set-key "\C-c o" 'org-open-at-point-global)
    

    -- Source: Using-links-outside-Org

    Edit (1 Nov 2012): As of October 2011 the minor mode enabling org-like links didn't exist, but there were discussions. Now the minor mode exists, it is called org-link-minor-mode and is included in org-contrib.

    0 讨论(0)
提交回复
热议问题