From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: auto-fill-mode breaks one line into two short and one long
Date: Mon, 21 Jun 2004 11:42:51 -0600 [thread overview]
Message-ID: <40D71E1B.2070908@yahoo.com> (raw)
In-Reply-To: 87k6y3e2bf.fsf@jidanni.org
Dan Jacobson wrote:
> Gentlemen, the auto-fill-mode algorithm is all wrong. Put the cursor
> at the end of
>
> Looking at e.g. http://localhost:8080/info/url?http://www.alan.gale.clara.co.uk/favourites.htm
>
> and hit SPC. One gets
>
> Looking at
> e.g.
> http://localhost:8080/info/url?http://www.alan.gale.clara.co.uk/favourites.htm
>
> whereas one should get
>
> Looking at e.g.
> http://localhost:8080/info/url?http://www.alan.gale.clara.co.uk/favourites.htm
I agree that is annoying, but according to this comment in do-auto-fill
it is intentional:
;; If this is after period and a single space,
;; move back once more--we don't want to break
;; the line there and make it look like a
;; sentence end.
You can work around it by setting sentence-end-double-space to nil
when auto-filling:
(defadvice do-auto-fill (around sentence-end-double-space activate)
"Temporarily bind `sentence-end-double-space' to nil, to allow line breaks
after abbreviations etc."
(let ((sentence-end-double-space nil))
ad-do-it))
--
Kevin Rodgers
prev parent reply other threads:[~2004-06-21 17:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-19 20:10 auto-fill-mode breaks one line into two short and one long Dan Jacobson
2004-06-21 17:42 ` Kevin Rodgers [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40D71E1B.2070908@yahoo.com \
--to=ihs_4664@yahoo.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).