From mboxrd@z Thu Jan 1 00:00:00 1970 From: Samuel Wales Subject: how to make forward-paragraph stop at the end of every normally-defined paragraph Date: Sun, 30 Jun 2013 14:07:09 -0700 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37293) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtOpz-0002lD-GP for emacs-orgmode@gnu.org; Sun, 30 Jun 2013 17:07:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UtOpy-0005Tm-HS for emacs-orgmode@gnu.org; Sun, 30 Jun 2013 17:07:11 -0400 Received: from mail-wi0-x22f.google.com ([2a00:1450:400c:c05::22f]:50060) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtOpy-0005Tc-9i for emacs-orgmode@gnu.org; Sun, 30 Jun 2013 17:07:10 -0400 Received: by mail-wi0-f175.google.com with SMTP id m6so2454655wiv.8 for ; Sun, 30 Jun 2013 14:07:09 -0700 (PDT) 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: emacs-orgmode@gnu.org Here is an example: === a par :LOGBOOK: - Note taken on [2013-06-30 Sun 13:32] \\ test :END: another par # another par # another par another par === Where forward-paragraph stops is at the dots: === a par . :LOGBOOK: - Note taken on [2013-06-30 Sun 13:32] \\ test .:END: another par . # another par # another par another par . === Sometimes it does not stop at :END: but stops at the end of the following paragraph. That is not useful for me when I want to navigate (YMMV). There is no way I can predict that even if it makes sense in the parser's theory. I am aware that the parser has its own logic, but stopping on the last line of a drawer is not something that I would predict and stopping after the paragraph after the drawer is too long a jump for me as a user. Also, stopping after a series of commented paragraphs instead of between them is not useful to me as a user. I want each one to be a separate paragraph because that is the way I comment things. I do not restrict myself to a single commented paragraph; there is a semantic distinction between two commented paragraphs and one comment with two internal paragraphs. Of course, this is my own preference and maybe some others do not draw that distinction. Where i'd like it to stop is ideally here: === a par . :LOGBOOK: - Note taken on [2013-06-30 Sun 13:32] \\ test :END: . another par . # another par . # another par . another par . === (In reality, I am thinking that it would be great if Emacs could optionally make both forward and backward motion go to the beginning of an object instead of the end, but that is a separate topic as we are talking about consistency with the rest of Emacs.) There are probably theoretical reasons for the existing choices, but they do not match my intuitive needs. Is there a way to make it work the way I want it to? I think my intuition is more consistent with the rest of Emacs? Hope this stimulates discussion. Thanks. Samuel -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com The disease DOES progress. MANY people have died from it. ANYBODY can get it. Denmark: free Karina Hansen NOW.