emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Disable typo-mode in org source code blocks


From: garjola
Subject: Re: [O] Disable typo-mode in org source code blocks
Date: Tue, 03 Sep 2019 08:16:12 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)

On Mon 02-Sep-2019 at 20:26:22 +02, John Kitchin
<address@hidden> wrote: 
> You can use cursor-sensor mode for this if you have emacs 26ish. The idea is 
> you set cursor-sensor functions on a region that do something depending on 
> whether you enter or leave the region. Below, I tie into
> the org font lock mechanisms to add these properties so that when you enter, 
> typo mode gets turned off, and when you leave it gets turned back on. I use a 
> similar approach to put src-block specific key maps
> on src blocks. There are two examples of functions that are "lightly tested". 
> I can see why you would want this disabled in src blocks, it never puts the 
> right quote in! 
>

[…]

Hi,

Thanks for this! I will have to spend some time before I understand
everything, but this is of great help.
-- 



reply via email to

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