emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: edgar@openmail.cc
To: "Berry, Charles" <ccberry@ucsd.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: Change mode in org-edit-special
Date: Sat, 03 Feb 2018 19:56:43 +0000	[thread overview]
Message-ID: <da8ad7793f1acb0ebc327c7aff46cb3a@openmail.cc> (raw)
In-Reply-To: <346DAC21-926F-420B-86A9-2F2EA3FDCDF5@ucsd.edu>

On 2018-02-02 18:07, Berry, Charles wrote:
>> On Feb 1, 2018, at 9:07 PM, edgar@openmail.cc wrote:
>> 
>> Is there a safe way to change mode in an org-edit-special buffer?
> 
> The safest thing would be to customize `org-src-lang-modes' so the
> buffer is created with the mode you want to edit in.
> 
> Or if you want to edit in that mode only occasionally write a small
> function that let-binds `org-src-lang-modes` to the value you need and
> use that function as needed to create the buffer in that mode.
> 
> As far as changing major mode while already editing, the responses
> here might help:
> 
> https://emacs.stackexchange.com/questions/21940/avoid-minor-modes-from-turning-off-when-changing-restarting-major-mode
> 
> HTH,
> 
> Chuck

Thanks. I will try :)

-------------------------------------------------

ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!  
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!  

      reply	other threads:[~2018-02-03 19:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-02  5:07 Change mode in org-edit-special edgar
2018-02-02 18:07 ` Berry, Charles
2018-02-03 19:56   ` edgar [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=da8ad7793f1acb0ebc327c7aff46cb3a@openmail.cc \
    --to=edgar@openmail.cc \
    --cc=ccberry@ucsd.edu \
    --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).