From: Ken Mankoff <mankoff@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Code, Sessions, and org-edit-special
Date: Sun, 23 Nov 2014 14:50:41 -0500 [thread overview]
Message-ID: <m21toty9v2.fsf@gmail.com> (raw)
In-Reply-To: <m28uj2ydle.fsf@gmail.com>
* On 2014-11-22 at 19:17, Ken Mankoff wrote:
> Hi List,
>
> A simpler phrasing of my previous question.
>
> How do I find out if an Org function, `org-ctrl-c-ctrl-c`, was called
> somewhere up the stack. I'm trying to modify a function
> "python-shell-get-process-name", but I don't want it to be modified
> when somewhere, possibly far upstream, Org is happening.
(equal this-command 'org-ctrl-c-ctrl-c)
Tells me if a function is in a call stack initiated by C-c C-c from Org.
I now have Org behaving as it always has with un-named sessions or named
sessions. Importantly, something Org was lacking, I can edit a file via
C-' (org-edit-special), and when I execute the code from there, which is
not part of Org, I can send it to the named session, rather than to the
standard executable as before.
If anyone wants this feature for Python let me know and I can share the
code.
-k.
prev parent reply other threads:[~2014-11-23 19:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-11-21 23:38 Code, Sessions, and org-edit-special Ken Mankoff
2014-11-23 0:17 ` Ken Mankoff
2014-11-23 19:50 ` Ken Mankoff [this message]
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=m21toty9v2.fsf@gmail.com \
--to=mankoff@gmail.com \
--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).