From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Outline cycling does not preserve point's position Date: Mon, 09 Sep 2013 13:30:33 +0200 Message-ID: <87ppsi5j1i.fsf@gmail.com> References: <868uz8sufg.fsf@somewhere.org> <86vc2cqvnb.fsf@somewhere.org> <86y57676t1.fsf@somewhere.org> <89E7FDB6-0F5A-4362-959C-C4B9844A235C@gmail.com> <86txhu7696.fsf@somewhere.org> <0A62C6DE-B3AD-458A-9AB4-92B61A6D3D63@gmail.com> <86ppsi75st.fsf@somewhere.org> <06E778E1-6BC6-4D4C-9499-845D776439F3@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33182) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIzjX-0002QY-V6 for emacs-orgmode@gnu.org; Mon, 09 Sep 2013 07:34:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VIzjP-00029l-IU for emacs-orgmode@gnu.org; Mon, 09 Sep 2013 07:34:19 -0400 Received: from mail-wi0-x22e.google.com ([2a00:1450:400c:c05::22e]:65203) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VIzfh-0001PM-70 for emacs-orgmode@gnu.org; Mon, 09 Sep 2013 07:30:21 -0400 Received: by mail-wi0-f174.google.com with SMTP id hj3so3222023wib.7 for ; Mon, 09 Sep 2013 04:30:19 -0700 (PDT) In-Reply-To: <06E778E1-6BC6-4D4C-9499-845D776439F3@gmail.com> (Carsten Dominik's message of "Mon, 9 Sep 2013 10:38:26 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: Sebastien Vauban , "emacs-orgmode@gnu.org Mode" Hello, Carsten Dominik 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