GNU bug report logs -
#3234
fill-column+1 problem
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 3234 in the body.
You can then email your comments to 3234 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#3234
; Package
emacs
.
(Thu, 07 May 2009 11:05:09 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Toru TSUNEYOSHI <t_tuneyosi <at> hotmail.com>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
(Thu, 07 May 2009 11:05:09 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
Hi. I met a problem about `fill-region-as-paragraph' on Emacs
22.3.1. (This problem happens on Emacs 23.0.93.1, because there is no
change of the function's code.) Please read the following.
condition:
fill-column => 10
>>> example 1 (no problems) >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
12345678901234567890
あいうえおかきくけこ <- fill-region (this function is a caller of
`fill-region-as-paragraph')
=>
あいうえお
かきくけこ
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>>> example 2 (no good) >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
123456789012345678901
あいxうえおかきくけこ <- fill-region
=>
あいxうえお <- fill-column+1 problem
かきくけこ
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>>> patch for the problem >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
--- fill.el.original 2008-08-27 00:45:42.000000000 +0900
+++ fill.el 2009-05-07 18:29:16.931120600 +0900
@@ -713,7 +713,8 @@
(move-to-column (current-fill-column))
(if (when (< (point) to)
;; Find the position where we'll break the line.
- (forward-char 1) ;Use an immediately following space, if any.
+ (unless (> (current-column) (current-fill-column))
+ (forward-char 1)) ;Use an immediately following space, if any.
(fill-move-to-break-point linebeg)
;; Check again to see if we got to the end of
;; the paragraph.
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
>>> example 3 (after patching, good) >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
123456789012345678901
あいxうえおかきくけこ <- fill-region
=>
あいxうえ <- no problem
おかきくけ
こ
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
Anyone can check the validity of the patch?
If invalid, I wish that someone solves the problem.
Merged 3234 3483.
Request was from
Glenn Morris <rgm+emacsbugs <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Wed, 17 Jun 2009 07:35:10 GMT)
Full text and
rfc822 format available.
Added tag(s) patch.
Request was from
Lars Magne Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Fri, 16 Sep 2011 21:06:01 GMT)
Full text and
rfc822 format available.
Reply sent
to
Chong Yidong <cyd <at> gnu.org>
:
You have taken responsibility.
(Fri, 30 Nov 2012 07:14:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Toru TSUNEYOSHI <t_tuneyosi <at> hotmail.com>
:
bug acknowledged by developer.
(Fri, 30 Nov 2012 07:14:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 3234-done <at> debbugs.gnu.org (full text, mbox):
Toru TSUNEYOSHI <t_tuneyosi <at> hotmail.com> writes:
> Hi. I met a problem about `fill-region-as-paragraph' on Emacs 22.3.1.
> (This problem happens on Emacs 23.0.93.1, because there is no change
> of the function's code.)
>
> Anyone can check the validity of the patch?
> If invalid, I wish that someone solves the problem.
Sorry for the very late response. Your patch looks good, and I've just
committed it to trunk. Thanks.
Reply sent
to
Chong Yidong <cyd <at> gnu.org>
:
You have taken responsibility.
(Fri, 30 Nov 2012 07:14:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Toru TSUNEYOSHI <t_tuneyosi <at> hotmail.com>
:
bug acknowledged by developer.
(Fri, 30 Nov 2012 07:14:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#3234
; Package
emacs
.
(Fri, 07 Dec 2012 15:15:01 GMT)
Full text and
rfc822 format available.
Message #22 received at 3234-done <at> debbugs.gnu.org (full text, mbox):
Ah, I'd forgotten all about that!
Thank you, ありがとう (pronounce as "Arigatou")、
Chong Yidong さん (pronounce as "San").
From: Chong Yidong <cyd <at> gnu.org>
Subject: Re: bug#3234: fill-column+1 problem
Date: Fri, 30 Nov 2012 15:11:36 +0800
Message-ID: <87624nimzb.fsf <at> gnu.org>
> Toru TSUNEYOSHI <t_tuneyosi <at> hotmail.com> writes:
>
>> Hi. I met a problem about `fill-region-as-paragraph' on Emacs 22.3.1.
>> (This problem happens on Emacs 23.0.93.1, because there is no change
>> of the function's code.)
>>
>> Anyone can check the validity of the patch?
>> If invalid, I wish that someone solves the problem.
>
> Sorry for the very late response. Your patch looks good, and I've just
> committed it to trunk. Thanks.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sat, 05 Jan 2013 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 11 years and 124 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.