From: Samuel Wales <samologist@gmail.com>
To: emacs-orgmode@gnu.org
Subject: how to make forward-paragraph stop at the end of every normally-defined paragraph
Date: Sun, 30 Jun 2013 14:07:09 -0700 [thread overview]
Message-ID: <CAJcAo8u-aENqaDNFoUkyowHgf+wJqkC2KQfC40OZsz81rtCOeA@mail.gmail.com> (raw)
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.
next reply other threads:[~2013-06-30 21:07 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-30 21:07 Samuel Wales [this message]
2013-06-30 21:17 ` how to make forward-paragraph stop at the end of every normally-defined paragraph Bastien
2013-06-30 22:39 ` Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAJcAo8u-aENqaDNFoUkyowHgf+wJqkC2KQfC40OZsz81rtCOeA@mail.gmail.com \
--to=samologist@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.