GNU bug report logs -
#1233
rcirc fill-region bugfix
Previous Next
Reported by: Jeff Makey <jeff <at> sdsc.edu>
Date: Thu, 23 Oct 2008 15:20:02 UTC
Severity: normal
Tags: patch
Done: Chong Yidong <cyd <at> stupidchicken.com>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1233 in the body.
You can then email your comments to 1233 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#1233
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Jeff Makey <jeff <at> sdsc.edu>
:
New bug report received and forwarded. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):
When a message begins with a very long word (typically a URL), rcirc
in Emacs 22 inserts a useless newline like this:
08:10 <SaintNick>
http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-10/index.html
has this month's archives
The patch below excludes the timestamp and nick from the beginning of
the filled region, which will cause such a line to be shown in this
more compact format:
08:10 <SaintNick> http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-10/index.html
has this month's archives
-----------------------------------------------------------------
--- rcirc.el.orig 2008-02-10 06:03:53 -0800
+++ rcirc.el 2008-10-08 23:33:57 -0700
@@ -1251,7 +1251,7 @@
(rcirc-fill-column
rcirc-fill-column)
(t fill-column))))
- (fill-region fill-start rcirc-prompt-start-marker 'left t)))))
+ (fill-region text-start rcirc-prompt-start-marker 'left t)))))
;; set inserted text to be read-only
(when rcirc-read-only-flag
Tags added: patch
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> emacsbugs.donarmstrong.com
.
(Thu, 23 Oct 2008 17:40:04 GMT)
Full text and
rfc822 format available.
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1233
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Chong Yidong <cyd <at> stupidchicken.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #12 received at 1233 <at> emacsbugs.donarmstrong.com (full text, mbox):
Hi Ryan,
Could you review this patch?
Jeff Makey <jeff <at> sdsc.edu> wrote:
> When a message begins with a very long word (typically a URL), rcirc
> in Emacs 22 inserts a useless newline like this:
>
> 08:10 <SaintNick>
> http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-10/index.html
> has this month's archives
>
> The patch below excludes the timestamp and nick from the beginning of
> the filled region, which will cause such a line to be shown in this
> more compact format:
>
> 08:10 <SaintNick> http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-10/index.html
> has this month's archives
--- rcirc.el.orig 2008-02-10 06:03:53 -0800
+++ rcirc.el 2008-10-08 23:33:57 -0700
@@ -1251,7 +1251,7 @@
(rcirc-fill-column
rcirc-fill-column)
(t fill-column))))
- (fill-region fill-start rcirc-prompt-start-marker 'left t)))))
+ (fill-region text-start rcirc-prompt-start-marker 'left t)))))
;; set inserted text to be read-only
(when rcirc-read-only-flag
Information forwarded to
bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>
:
bug#1233
; Package
emacs
.
Full text and
rfc822 format available.
Acknowledgement sent to
Ryan Yeske <rcyeske <at> gmail.com>
:
Extra info received and forwarded to list. Copy sent to
Emacs Bugs <bug-gnu-emacs <at> gnu.org>
.
Full text and
rfc822 format available.
Message #17 received at 1233 <at> emacsbugs.donarmstrong.com (full text, mbox):
Chong Yidong <cyd <at> stupidchicken.com> writes:
> Hi Ryan,
>
> Could you review this patch?
It looks good to me. Thanks for the patch, Jeff.
The way filling is handled in the CVS trunk has been reworked, and it
includes a fix along these lines already.
Ryan
> Jeff Makey <jeff <at> sdsc.edu> wrote:
>
>> When a message begins with a very long word (typically a URL), rcirc
>> in Emacs 22 inserts a useless newline like this:
>>
>> 08:10 <SaintNick>
>> http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-10/index.html
>> has this month's archives
>>
>> The patch below excludes the timestamp and nick from the beginning of
>> the filled region, which will cause such a line to be shown in this
>> more compact format:
>>
>> 08:10 <SaintNick> http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-10/index.html
>> has this month's archives
>
>
> --- rcirc.el.orig 2008-02-10 06:03:53 -0800
> +++ rcirc.el 2008-10-08 23:33:57 -0700
> @@ -1251,7 +1251,7 @@
> (rcirc-fill-column
> rcirc-fill-column)
> (t fill-column))))
> - (fill-region fill-start rcirc-prompt-start-marker 'left t)))))
> + (fill-region text-start rcirc-prompt-start-marker 'left t)))))
>
> ;; set inserted text to be read-only
> (when rcirc-read-only-flag
bug closed, send any further explanations to Jeff Makey <jeff <at> sdsc.edu>
Request was from
Chong Yidong <cyd <at> stupidchicken.com>
to
control <at> emacsbugs.donarmstrong.com
.
(Tue, 28 Oct 2008 17:35:04 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <don <at> donarmstrong.com>
to
internal_control <at> emacsbugs.donarmstrong.com
.
(Wed, 26 Nov 2008 15:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 16 years and 213 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.