From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Vladimir Lomov <lomov.vl@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug: Write file while editing babel code block doesn't work as expected [8.3.4 (release_8.3.4-778-g8127b3 @ /usr/local/share/emacs/site-lisp/org/)]
Date: Sun, 15 May 2016 19:03:57 +0200 [thread overview]
Message-ID: <87twhzuubm.fsf@saiph.selenimh> (raw)
In-Reply-To: <20160515110016.GB1188@smoon.vl-lomov.ru> (Vladimir Lomov's message of "Sun, 15 May 2016 19:00:16 +0800")
Hello,
Vladimir Lomov <lomov.vl@gmail.com> writes:
> Correct me if I understand you wrong, but you suggest to bind ~F2~ key
> to ~org-edit-src-save~. But then this will work only in Org buffer, and
> how about LaTeX mode then. Or I should bind ~F2~ to something like that:
> (global-set-key [f2]
> (if (functionp org-edit-src-save) org-edit-src-save save-buffer))
Actually, I meant to bind F2 to `org-edit-src-save' in
`org-src-mode-map'.
> On second thought, I considered org-src buffer as auxiliary buffer,
> depending on (main) Org document buffer, so saving org-src buffer should
> save Org document buffer.
This is the case already with C-x C-s, not for `save-buffer'.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2016-05-15 17:09 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-10 23:44 Bug: Write file while editing babel code block doesn't work as expected [8.3.4 (release_8.3.4-778-g8127b3 @ /usr/local/share/emacs/site-lisp/org/)] David Dynerman
2016-05-11 9:20 ` Phil Hudson
2016-05-11 21:26 ` Nicolas Goaziou
2016-05-13 0:00 ` Aaron Ecay
2016-05-13 12:12 ` Nicolas Goaziou
2016-05-13 19:05 ` Aaron Ecay
2016-05-15 4:11 ` Vladimir Lomov
2016-05-15 7:40 ` Nicolas Goaziou
2016-05-15 11:00 ` Vladimir Lomov
2016-05-15 17:03 ` Nicolas Goaziou [this message]
2016-05-16 2:48 ` Vladimir Lomov
2016-05-16 9:29 ` Nicolas Goaziou
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87twhzuubm.fsf@saiph.selenimh \
--to=mail@nicolasgoaziou.fr \
--cc=emacs-orgmode@gnu.org \
--cc=lomov.vl@gmail.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.