From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jeff Makey Newsgroups: gmane.emacs.bugs Subject: bug#1233: rcirc fill-region bugfix Date: Thu, 23 Oct 2008 08:10:27 -0700 Message-ID: <200810231510.m9NFARe7007439@darwin.sdsc.edu> Reply-To: Jeff Makey , 1233@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1224815964 1266 80.91.229.12 (24 Oct 2008 02:39:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Oct 2008 02:39:24 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 24 04:40:26 2008 connect(): Connection refused Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KtCb2-0001np-Ku for geb-bug-gnu-emacs@m.gmane.org; Fri, 24 Oct 2008 04:40:16 +0200 Original-Received: from localhost ([127.0.0.1]:57242 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KtCZx-0002OZ-2S for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Oct 2008 22:39:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kt28a-0004DF-3l for bug-gnu-emacs@gnu.org; Thu, 23 Oct 2008 11:30:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kt28X-0004Al-PZ for bug-gnu-emacs@gnu.org; Thu, 23 Oct 2008 11:30:10 -0400 Original-Received: from [199.232.76.173] (port=45112 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kt28X-0004AO-Dr for bug-gnu-emacs@gnu.org; Thu, 23 Oct 2008 11:30:09 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:42315) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kt28X-0000C8-7d for bug-gnu-emacs@gnu.org; Thu, 23 Oct 2008 11:30:09 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9NFU16g032621; Thu, 23 Oct 2008 08:30:02 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m9NFK3CH030302; Thu, 23 Oct 2008 08:20:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Jeff Makey Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 23 Oct 2008 15:20:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1233 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122477464129060 (code B ref -1); Thu, 23 Oct 2008 15:20:02 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 23 Oct 2008 15:10:41 +0000 Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m9NFAZY3029053 for ; Thu, 23 Oct 2008 08:10:36 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kt1pa-000844-PA for bug-gnu-emacs@gnu.org; Thu, 23 Oct 2008 11:10:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kt1pY-00082j-M0 for bug-gnu-emacs@gnu.org; Thu, 23 Oct 2008 11:10:34 -0400 Original-Received: from [199.232.76.173] (port=38089 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kt1pY-00082Y-Ge for bug-gnu-emacs@gnu.org; Thu, 23 Oct 2008 11:10:32 -0400 Original-Received: from postal.sdsc.edu ([132.249.20.114]:54718) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kt1pY-0002aT-BT for bug-gnu-emacs@gnu.org; Thu, 23 Oct 2008 11:10:32 -0400 Original-Received: from darwin.sdsc.edu (IDENT:RAoOcsdD1nPEorumwj3VJeGwNzqnGqkr@darwin.sdsc.edu [132.249.32.100]) by postal.sdsc.edu (8.11.7/8.11.7/server/76) with ESMTP id m9NFARF20050; Thu, 23 Oct 2008 08:10:27 -0700 (PDT) Original-Received: (from jeff@localhost) by darwin.sdsc.edu (8.12.11.20060308/8.12.8/submit/l/4) id m9NFARe7007439; Thu, 23 Oct 2008 08:10:27 -0700 X-detected-operating-system: by monty-python.gnu.org: Inktomi crawler X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 23 Oct 2008 11:30:10 -0400 X-Mailman-Approved-At: Thu, 23 Oct 2008 22:39:05 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:21853 Archived-At: When a message begins with a very long word (typically a URL), rcirc in Emacs 22 inserts a useless newline like this: 08:10 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 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