From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.bugs Subject: bug#5563: 23.1; erc reconnection should reuse existing buffers Date: Thu, 11 Feb 2010 10:00:31 -0700 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1265909042 9962 80.91.229.12 (11 Feb 2010 17:24:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Feb 2010 17:24:02 +0000 (UTC) To: 5563@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 11 18:23:59 2010 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.69) (envelope-from ) id 1Nfclh-0005Sh-UD for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Feb 2010 18:23:58 +0100 Original-Received: from localhost ([127.0.0.1]:35883 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nfclh-0006ls-1n for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Feb 2010 12:23:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NfckH-0005ta-BK for bug-gnu-emacs@gnu.org; Thu, 11 Feb 2010 12:22:29 -0500 Original-Received: from [199.232.76.173] (port=45183 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfckG-0005t4-SQ for bug-gnu-emacs@gnu.org; Thu, 11 Feb 2010 12:22:28 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NfckF-00081n-7m for bug-gnu-emacs@gnu.org; Thu, 11 Feb 2010 12:22:28 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45832) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NfckE-00081X-TR for bug-gnu-emacs@gnu.org; Thu, 11 Feb 2010 12:22:27 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NfcPW-0000Ew-4L; Thu, 11 Feb 2010 12:01:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Tom Tromey Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Feb 2010 17:01:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: report 5563 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.1265907649902 (code B ref -1); Thu, 11 Feb 2010 17:01:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Feb 2010 17:00:49 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NfcPI-0000EV-So for submit@debbugs.gnu.org; Thu, 11 Feb 2010 12:00:49 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NfcPG-0000EQ-JM for submit@debbugs.gnu.org; Thu, 11 Feb 2010 12:00:47 -0500 Original-Received: from mx10.gnu.org ([199.232.76.166]:48741) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NfcPC-0002m3-19 for submit@debbugs.gnu.org; Thu, 11 Feb 2010 12:00:42 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NfcPA-0003vb-Oz for submit@debbugs.gnu.org; Thu, 11 Feb 2010 12:00:41 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:48659) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NfcPA-0003vV-JL for submit@debbugs.gnu.org; Thu, 11 Feb 2010 12:00:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NfcPA-0007k5-3W for bug-gnu-emacs@gnu.org; Thu, 11 Feb 2010 12:00:40 -0500 Original-Received: from [199.232.76.173] (port=60466 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NfcP9-0007ji-G9 for bug-gnu-emacs@gnu.org; Thu, 11 Feb 2010 12:00:39 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NfcP5-0003vB-PC for bug-gnu-emacs@gnu.org; Thu, 11 Feb 2010 12:00:39 -0500 Original-Received: from mx1.redhat.com ([209.132.183.28]:46579) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NfcP5-0003uj-97 for bug-gnu-emacs@gnu.org; Thu, 11 Feb 2010 12:00:35 -0500 Original-Received: from int-mx08.intmail.prod.int.phx2.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o1BH0Y6m017386 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 11 Feb 2010 12:00:34 -0500 Original-Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx08.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id o1BH0XBx000493; Thu, 11 Feb 2010 12:00:33 -0500 Original-Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id o1BH0WHi011724; Thu, 11 Feb 2010 12:00:32 -0500 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id 08DF0378261; Thu, 11 Feb 2010 10:00:32 -0700 (MST) X-Attribution: Tom X-Scanned-By: MIMEDefang 2.67 on 10.5.11.21 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 11 Feb 2010 12:01:02 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org 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:35036 Archived-At: Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: I connect to multiple irc servers with erc. There are a couple of channels that have the same name on different servers; e.g. I have two different channels named #gdb. erc puts these into buffers named #gdb and #gdb<2>. Ok so far. Now, on occasion I will lose connection to the servers. erc will reconnect. In this case, usually the buffer #gdb will be properly reused by the reconnection. However, #gdb<2> will be discarded and erc will make a new buffer named #gdb<3>. I wish it always reused the existing buffer instead. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/share/emacs/23.1/etc/DEBUG for instructions. In GNU Emacs 23.1.1 (i386-redhat-linux-gnu, GTK+ Version 2.16.6) of 2010-01-14 on x86-01.phx2.fedoraproject.org Windowing system distributor `The X.Org Foundation', version 11.0.10603901 configured using `configure '--build=i386-redhat-linux-gnu' '--host=i386-redhat-linux-gnu' '--target=i586-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk' 'build_alias=i386-redhat-linux-gnu' 'host_alias=i386-redhat-linux-gnu' 'target_alias=i586-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-bu ffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Group Minor modes in effect: shell-dirtrack-mode: t diff-auto-refine-mode: t gnus-undo-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-spelling-mode: t erc-truncate-mode: t erc-status-mode: t erc-services-mode: t erc-networks-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: SPC m y SPC o t h e r SPC b u g , SPC I ' l l SPC d o SPC t h a t SPC n o w C-z o M-v M-v C-r e r c C-a = C-s = > C-s C-s C-a Q y SPC SPC n c SPC s M-x r e p o r t - e m b C-g f l e C-a C-k C-x b i r f r / h e l p SPC / q u i t M-b / h e l p SPC d i s c o n n e c t M-p M-p C-x 1 C-c b f l I SPC c a n ' t SPC t e s t SPC i t SPC r i g h t SPC n o w SPC b u t SPC i f SPC / q u i t SPC w o r k s SPC w h i l e SPC r e r c SPC i n SPC M-b M-b M-b M-b C-k b a s i c a l l y SPC I SPC w a n t SPC / q u i t SPC t o SPC w o r k SPC i n t SPC h e SPC s i t u a t i o n SPC M-b M-b C-b C-t C-e w h e r e SPC C-a C-k M-v M-> C-z o M-x r e p o r t - e m a c s - b u g C-x 1 C-x k y e s M-x p M-p Recent messages: Saving /home/tromey/.newsrc.eld... Saving file /home/tromey/.newsrc.eld... Wrote /home/tromey/.newsrc.eld Saving /home/tromey/.newsrc.eld...done Quit Type C-x 1 to delete the help window. Type C-x 4 C-o RET to restore the other window. Type C-x 4 C-o RET to restore the other window. Mark set Making completion list... Tom