emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Outline cycling does not preserve point's position


From: Nicolas Goaziou
Subject: Re: [O] Outline cycling does not preserve point's position
Date: Mon, 09 Sep 2013 13:30:33 +0200

Hello,

Carsten Dominik <address@hidden> writes:

> This might be difficult, but not impossible.
> I think this might be a question for Nicolas to answer?

It boils down to something like:

  (if (eq (org-element-type (org-element-at-point)) 'src-block)
      ;; Do forward-paragraph according to language.
      ...
    (org-forward-element))

Though, I suggest to introduce a variable similar to 
`org-src-tab-acts-natively',
or group both features in the same variable like 
`org-act-natively-on-src-block'.


Regards,

-- 
Nicolas Goaziou



reply via email to

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