From: Shaun Johnson <shaun@slugfest.demon.co.uk>
To: emacs-orgmode@gnu.org
Cc: David Maus <dmaus@ictsoc.de>
Subject: Re: [PATCH] org-store-link: Fixed a bug where source block edit buffers were not recognized
Date: Wed, 14 Mar 2012 15:37:20 +0000 [thread overview]
Message-ID: <4F60BB30.9060105@slugfest.demon.co.uk> (raw)
In-Reply-To: <jjbc39$cfe$1@dough.gmane.org>
On 08/03/2012 22:33, Ilya Shlyakhter wrote:
> attached.
Having just run into this same problem (being unable to create
and store a code reference link using C-l in a source block edit
buffer) I would like to second the inclusion of this or an
equivalent patch. Ilya's patch can be seen on the patchwork server
at:
http://patchwork.newartisans.com/patch/1209/
I am currently using the following patch to work around this
problem:
diff --git a/lisp/org.el b/lisp/org.el
index ad63213..4a97cc9 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -8684,7 +8684,7 @@ For file links, arg negates `org-context-in-file-links'."
(setq link (plist-get org-store-link-plist :link)
desc (or (plist-get org-store-link-plist :description) link)))
- ((equal (buffer-name) "*Org Edit Src Example*")
+ ((org-bound-and-true-p org-edit-src-from-org-mode)
(let (label gc)
(while (or (not label)
(save-excursion
Shaun Johnson.
next prev parent reply other threads:[~2012-03-14 15:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-08 22:33 [PATCH] org-store-link: Fixed a bug where source block edit buffers were not recognized Ilya Shlyakhter
2012-03-14 15:37 ` Shaun Johnson [this message]
2012-03-18 17:50 ` David Maus
2012-03-16 18:25 ` Bastien
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=4F60BB30.9060105@slugfest.demon.co.uk \
--to=shaun@slugfest.demon.co.uk \
--cc=dmaus@ictsoc.de \
--cc=emacs-orgmode@gnu.org \
/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).