From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: Outline cycling does not preserve point's position Date: Thu, 12 Sep 2013 15:42:38 +0530 Message-ID: <87ob7ycprd.fsf@gmail.com> References: <7CB7B681-DD2E-446C-AE45-DDCA204EE95C@gmail.com> <5855E8E1-9730-4A29-89FF-E35C64E54EDD@gmail.com> <20130910073257.GO20690@kuru.dyndns-at-home.com> <20130910075345.GP20690@kuru.dyndns-at-home.com> <25A21DB7-B2E5-47BB-8A64-594A15CB24B8@gmail.com> <20130910085057.GQ20690@kuru.dyndns-at-home.com> <4ED2509E-8A2E-4ED2-BFCF-CB7B27F1D2B4@gmail.com> <20130910095043.GR20690@kuru.dyndns-at-home.com> <87a9jk8wmr.fsf@gmail.com> <20130910185843.GA20690@kuru.dyndns-at-home.com> <871u4w8nkq.fsf@gmail.com> <8761u8m5sd.fsf@gmail.com> <87ioy78vib.fsf@gmail.com> <878uz3e5nu.fsf@gmail.com> <87txhr74f7.fsf@gmail.com> <87zjrjcp4e.fsf@gmail.com> <87fvtb6sbo.fsf@gmail.com> <87wqmmedzv.fsf@gmail.com> <87ioy6qufq.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57978) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VK3rC-0007kU-7e for emacs-orgmode@gnu.org; Thu, 12 Sep 2013 06:10:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VK3r3-00043U-DB for emacs-orgmode@gnu.org; Thu, 12 Sep 2013 06:10:38 -0400 Received: from mail-pd0-x232.google.com ([2607:f8b0:400e:c02::232]:47074) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VK3r3-00043Q-5o for emacs-orgmode@gnu.org; Thu, 12 Sep 2013 06:10:29 -0400 Received: by mail-pd0-f178.google.com with SMTP id w10so10414849pde.23 for ; Thu, 12 Sep 2013 03:10:28 -0700 (PDT) In-Reply-To: <87ioy6qufq.fsf@gmail.com> (Nicolas Goaziou's message of "Thu, 12 Sep 2013 11:07:53 +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: Nicolas Goaziou Cc: emacs-orgmode@gnu.org, Carsten Dominik Nicolas Goaziou writes: >> Should there be a pit-stop at #+END in the segment below. > You can use `org-forward-element' to go there. It makes no difference if I use `org-forward-element' or `org-forward-linear-element'. The reason is clear if one examines the parser output. #+BEGIN and #+END are considered NOT as a pair but as standalone paragraphs. (paragraph () #("#+BEGIN RECEIVE ORGTBL exdoc\n" 0 29 ())) (paragraph () #("#+END RECEIVE ORGTBL exdoc\n" 0 27 ())) I just picked up a random worg file to take a real-world test drive. Speaking of expectations, cursor's stop points within #+BEGIN_BACKEND and #+END_BACKEND are decided based on whether the respective backend is loaded. So is the case with inlinetasks. I am just making a note of behaviour that is surprising. Surprising only if the underlying mechanics aren't sufficiently understood or known.