emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Change mode in org-edit-special


From: edgar
Subject: Re: [O] Change mode in org-edit-special
Date: Sat, 03 Feb 2018 19:56:43 +0000
User-agent: Roundcube Webmail/1.2.4

On 2018-02-02 18:07, Berry, Charles wrote:
On Feb 1, 2018, at 9:07 PM, address@hidden 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 via email to

[Prev in Thread] Current Thread [Next in Thread]