all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: help-gnu-emacs@gnu.org
Subject: Re: auto-fill breaks line too early
Date: Thu, 18 Oct 2012 10:33:51 +0200	[thread overview]
Message-ID: <87ehkwi3gw.fsf@web.de> (raw)
In-Reply-To: <7c540f57-66b9-410b-92f2-66d7327480aa@googlegroups.com> (mandar mitra's message of "Thu, 18 Oct 2012 01:12:50 -0700 (PDT)")

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.


> I type the following (single) line in Emacs 24 [1] (started as emacs -Q):
>
> --------------------
> A study of the number of relevant documents for queries may provide
> some insights about the collections when juxtaposed across the FIRE
> years. Voorhees and
> --------------------
>
> I turn on auto-fill-mode, place cursor on i (for insight) and hit C-x f to
> set fill column to 73. Then I go to the end of the line and hit space. This
> produces:
>
> --------------------
> A study of the number of relevant documents for queries may provide some
> insights about the collections when juxtaposed across the FIRE
> years. Voorhees and  
> --------------------
>
> Why does auto-fill break the line before years instead of after? This
> happens across emacs versions, whenever there is a sentence break close to
> the fill-column. If I delete the period, the line break is inserted after
> years as expected.
>
> Is this a bug or a feature? Is there a workaround or should I file a bug /
> look in the code?
>
> Many thanks,
> Mandar.
>
>
>
> [1] GNU Emacs 24.1.50.1 (i686-pc-linux-gnu, GTK+ Version 3.2.0) of
> 2012-09-19 on litembilla, modified by Debian



  reply	other threads:[~2012-10-18  8:33 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 [this message]
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
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=87ehkwi3gw.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --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.