From: Katsumi Yamaoka <yamaoka@jpl.org>
Subject: Re: do-auto-fill bug?
Date: Tue, 06 Jul 2004 09:10:55 +0900 [thread overview]
Message-ID: <78hdsmgflc.fsf@namazu.org> (raw)
In-Reply-To: b9ybrka9n2j.fsf@jpl.org
Hi,
I sent a bug report to the pretest-bug list toward the end of
May, however there is no response so far. Is no one being
troubled with the problem? The patch I included in the report
seems to have no problem so far, and I hope it will be applied.
Thanks in advance.
-------------------- Start of forwarded message --------------------
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: emacs-pretest-bug@gnu.org
Subject: do-auto-fill bug?
Date: Thu, 27 May 2004 19:33:24 +0900
Message-ID: <b9ybrka9n2j.fsf@jpl.org>
Hi,
I'm being annoyed with a strange behavior in the auto-fill-mode.
When I type SPC at the end of a line and the column just equals
fill-column, breaking the line takes place at the end of the word
in front of one, not there. Here's an example:
---------x---------x---------x---------x---------x---------x---------x
The quick brown fox jumps over the lazy dog. The quick brown fox jumps
When fill-column is 70, that line will be folded as follows after
typing SPC at the end of the line:
---------x---------x---------x---------x---------x---------x---------x
The quick brown fox jumps over the lazy dog. The quick brown fox
jumps
I made a change temporarily like the following patch in order to
cope with the problem:
*** fill.el~ Sun Apr 18 22:21:52 2004
--- fill.el Thu May 27 10:29:30 2004
***************
*** 333,339 ****
and `fill-nobreak-invisible'."
(or
(and fill-nobreak-invisible (line-move-invisible (point)))
! (unless (bolp)
(or
;; Don't break after a period followed by just one space.
;; Move back to the previous place to break.
--- 333,339 ----
and `fill-nobreak-invisible'."
(or
(and fill-nobreak-invisible (line-move-invisible (point)))
! (unless (or (bolp) (looking-at "[ \t]*$"))
(or
;; Don't break after a period followed by just one space.
;; Move back to the previous place to break.
Regards,
--
Katsumi Yamaoka <yamaoka@jpl.org>
-------------------- End of forwarded message --------------------
next parent reply other threads:[~2004-07-06 0:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <b9ybrka9n2j.fsf@jpl.org>
2004-07-06 0:10 ` Katsumi Yamaoka [this message]
2004-07-06 4:38 ` do-auto-fill bug? Stefan
2004-07-06 7:29 ` David Kastrup
2004-07-06 8:07 ` Katsumi Yamaoka
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=78hdsmgflc.fsf@namazu.org \
--to=yamaoka@jpl.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 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).