From: dkcombs@panix.com (David Combs)
To: help-gnu-emacs@gnu.org
Subject: Re: auto-fill breaks line too early
Date: Sun, 25 Nov 2012 01:27:40 +0000 (UTC) [thread overview]
Message-ID: <k8rs6c$mvu$1@reader1.panix.com> (raw)
In-Reply-To: mailman.11206.1350549236.855.help-gnu-emacs@gnu.org
In article <mailman.11206.1350549236.855.help-gnu-emacs@gnu.org>,
Michael Heerdegen <michael_heerdegen@web.de> wrote:
>Hi,
>
>
>the doc of `fill-paragraph' reveals the mystery:
>
>| If `sentence-end-double-space' is non-nil, then period followed by one
>| space does not end a sentence, so don't break a line there.
>
>The default value is t. So, no, it's not a bug. Customize
>`sentence-end-double-space' to nil to change the behavior.
>
>
>Michael.
So I guess the oft-used M-x delete-trailing-whitespace screws up
any use of M-q?
Emacs is so dwim-intelligent about so many things that it's a
surprise to me that a period (or ! or ?, etc) meant to end a
sentence line requires two spaces, which is fine in the middle
of a line, would still obtain at the end of a line.
Perhaps in that double-space mode the emacs user could avoid
ending a line with a period UNLESS that period was to mean
"end of sentence".
Like, he'd have to teach himself to never end a line with
a mid-sentence abbreviation. And he'd never get into that
mode except by deliberately invoking it, plus when he did
enter that mode a message would flash up warning him about
how NOT to end a line.
---
Question: do other emacs users find delete-trailing-whitespace
useful?
Crazy idea? Maybe in that two-spaces mode, delete-trailing-whitespace
would know to NOT remove two spaces following a sentence-ender?
A problem, all this.
David
PS: And oh, yes, I very much like the two-spaces-between-sentences way
of entering and storing text.
next prev parent reply other threads:[~2012-11-25 1:27 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-18 8:12 auto-fill breaks line too early mandar.mitra
2012-10-18 8:33 ` Michael Heerdegen
2012-10-18 8:34 ` Teemu Likonen
2012-10-18 12:30 ` Mandar Mitra
2012-10-18 8:40 ` Tassilo Horn
[not found] ` <mailman.11206.1350549236.855.help-gnu-emacs@gnu.org>
2012-10-18 12:25 ` Barry Margolin
2012-11-25 1:27 ` David Combs [this message]
2012-11-25 3:05 ` Drew Adams
[not found] ` <mailman.13738.1353812732.855.help-gnu-emacs@gnu.org>
2012-12-08 0:50 ` David Combs
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='k8rs6c$mvu$1@reader1.panix.com' \
--to=dkcombs@panix.com \
--cc=help-gnu-emacs@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.