forked from mirrors/org-mode
My personal patches-in-progress branch of Org.
See https://git.tecosaur.net/mirrors/org-mode/compare/main..tec/org-mode:dev.
784e5f1488
* org.el (org-store-link): Storing of links to headlines in indirect buffers was broken. Fix it. TINYCHANGE Summary: > When org-store-link is invoked on a headline in indirect buffer (as in a > capture buffer), hyperlink gets created to the file and NOT the > headline. This is a bug. > > The attached patch fixes this. > > Setup: > > # ~/.emacs > > (defun my-conversation-id () > (interactive) > > (remove-hook 'org-capture-before-finalize-hook 'my-conversation-id) > > (let ((org-link-to-org-use-id t)) > (call-interactively 'org-store-link) > ) > ) > > # org-capture-templates > > ("x" "Conversations" entry > (file+headline "~/conversation.org" "Conversations") > "%(progn (add-hook 'org-capture-before-finalize-hook 'my-conversation-id) \"\")** Note taken on %U\n %? " :prepend t :empty-lines 1) > > Steps for reproduction: > > Trigger org-capture for the above capture entry. > > Examine conversation.org before/after the patch is applied. Note the > absence/presence of IDs for the captured entry. > > Check for the stored links using C-c C-l. Note the file/headline links. > > # file conversation.org before and after the patch > > * Conversations > > ** Note taken on [2010-08-23 Mon 04:33] > :PROPERTIES: > :ID: 7e1974a6-8fa1-43cf-bef3-2adf37d99130 > :END: > > ** Note taken on [2010-08-23 Mon 04:32] > > # (org-insert-link) showing stored links before and after the patch > > file:~/conversation.org (file:~/conversation.org) > id:7e1974a6-8fa1-43cf-bef3-2adf37d99130 (Note taken on [2010-08-23 Mon 04:33]) > |
||
---|---|---|
BUGFIXING | ||
EXPERIMENTAL | ||
ORGWEBPAGE | ||
UTILITIES | ||
contrib | ||
doc | ||
lisp | ||
testing/org-html | ||
.dir-locals.el | ||
.dir-settings.el | ||
.gitignore | ||
Makefile | ||
README | ||
README_DIST | ||
README_GIT | ||
request-assign-future.txt |
README
This is the Emacs Org project, an emacs subsystem for organizing your life The homepage of Org is at http://orgmode.org This distribution contains: README This file. README_DIST The README file for the distribution (zip and tar files) README_GIT Information about the git repository and how to contribute to Org-mode development. lisp/ Directory with all the Emacs Lisp files that make up Org. doc/ The documentation files. org.texi is the source of the documentation, org.html and org.pdf are formatted versions of it. contrib/ A directory with third-party additions for Org. Some really cool stuff is in there. ORGWEBPAGE/ Directory with the source files for the orgmode.org web page. ChangeLog The standard ChangeLog file. Makefile The makefile to compile and install Org, and also for maintenance tasks. request-assign-future.txt The form that contributors have to sign and get processed with the FSF before contributed changes can be integrated into the Org core. All files in this distribution except the CONTRIB directory have copyright assigned to the FSF. EXPERIMENTAL Experimental code, not necessarily FSF copyright.