From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 19 03:17:15 2012 Received: (at submit) by debbugs.gnu.org; 19 Feb 2012 08:17:15 +0000 Received: from localhost ([127.0.0.1]:45152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rz1xK-0000Kq-CR for submit@debbugs.gnu.org; Sun, 19 Feb 2012 03:17:15 -0500 Received: from eggs.gnu.org ([140.186.70.92]:40836) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Rz1xH-0000Ke-S3 for submit@debbugs.gnu.org; Sun, 19 Feb 2012 03:17:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rz1vB-0001l8-LC for submit@debbugs.gnu.org; Sun, 19 Feb 2012 03:15:02 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:55817) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rz1vB-0001l4-Jc for submit@debbugs.gnu.org; Sun, 19 Feb 2012 03:15:01 -0500 Received: from eggs.gnu.org ([140.186.70.92]:41251) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rz1vA-0004O7-DG for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2012 03:15:01 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rz1v9-0001kt-6X for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2012 03:15:00 -0500 Received: from mail-pz0-f41.google.com ([209.85.210.41]:33373) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rz1v8-0001kp-Rv for bug-gnu-emacs@gnu.org; Sun, 19 Feb 2012 03:14:59 -0500 Received: by dadv6 with SMTP id v6so5000771dad.0 for ; Sun, 19 Feb 2012 00:14:57 -0800 (PST) Received-SPF: pass (google.com: domain of sdl.web@gmail.com designates 10.68.202.40 as permitted sender) client-ip=10.68.202.40; Authentication-Results: mr.google.com; spf=pass (google.com: domain of sdl.web@gmail.com designates 10.68.202.40 as permitted sender) smtp.mail=sdl.web@gmail.com; dkim=pass header.i=sdl.web@gmail.com Received: from mr.google.com ([10.68.202.40]) by 10.68.202.40 with SMTP id kf8mr41627049pbc.153.1329639297990 (num_hops = 1); Sun, 19 Feb 2012 00:14:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:x-debbugs-cc:date:message-id:mime-version :content-type; bh=81BpPkuK9tbYY8ZqM91ZMj1DKOJwjYMNlJl8CjrL3XE=; b=fNiBsw3JmO4JN8hcjynUI7d5g5XizfdIYWkPM3RoVtcvgpoUD60yl3hBrJ5iplhWKd bUbdNf34XvSRiFnILOZYS3U12iD/lXUdmnxdZQkFj1lRNNaOQdco+zOWGJwp7G9rGPw/ /TwyTuyxIBYkP2Elex/nuOdCFej7CMbV/OyUQ= Received: by 10.68.202.40 with SMTP id kf8mr34605060pbc.153.1329639297955; Sun, 19 Feb 2012 00:14:57 -0800 (PST) Received: from localhost ([222.130.141.144]) by mx.google.com with ESMTPS id m3sm9943531pbg.44.2012.02.19.00.14.54 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 19 Feb 2012 00:14:57 -0800 (PST) From: Leo To: bug-gnu-emacs@gnu.org Subject: 23.4; Fix gnus-group-post-news error X-Debbugs-CC: Lars Magne Ingebrigtsen Date: Sun, 19 Feb 2012 16:14:24 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) On a topic line in the group buffer, key C-u a, to get an error. After this, every time you enter a group you get an error like this: Debugger entered--Lisp error: (wrong-type-argument stringp nil) string-match(".*" nil) gnus-group-name-charset(nil nil) gnus-group-decoded-name(nil) gnus-summary-buffer-name(nil) gnus-article-setup-buffer() gnus-select-newsgroup("gmane.comp.lang.scala" 1 nil) gnus-summary-read-group-1("gmane.comp.lang.scala" 1 t nil nil nil) gnus-summary-read-group("gmane.comp.lang.scala" 1 t nil nil nil nil) gnus-group-read-group(1 t) gnus-group-select-group(1) gnus-topic-select-group(1) call-interactively(gnus-topic-select-group nil nil) The following patch fixes this bug. === modified file 'lisp/gnus/gnus-msg.el' --- lisp/gnus/gnus-msg.el 2012-02-09 23:07:49 +0000 +++ lisp/gnus/gnus-msg.el 2012-02-19 08:07:22 +0000 @@ -636,12 +636,12 @@ (interactive "P") ;; Bind this variable here to make message mode hooks work ok. (let ((gnus-newsgroup-name - (if arg - (if (= 1 (prefix-numeric-value arg)) - (gnus-group-completing-read "Newsgroup" nil - (gnus-read-active-file-p)) - (gnus-group-group-name)) - "")) + (or (and arg + (if (= 1 (prefix-numeric-value arg)) + (gnus-group-completing-read "Newsgroup" nil + (gnus-read-active-file-p)) + (gnus-group-group-name))) + "")) ;; make sure last viewed article doesn't affect posting styles: (gnus-article-copy)) (gnus-post-news 'post gnus-newsgroup-name nil nil nil nil From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 20 03:40:33 2012 Received: (at 10843) by debbugs.gnu.org; 20 Feb 2012 08:40:33 +0000 Received: from localhost ([127.0.0.1]:46668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RzOnM-0006pp-UV for submit@debbugs.gnu.org; Mon, 20 Feb 2012 03:40:33 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:54749) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RzOnH-0006pf-H7 for 10843@debbugs.gnu.org; Mon, 20 Feb 2012 03:40:27 -0500 Received: from 93-41-188-50.ip82.fastwebnet.it ([93.41.188.50] helo=rusty) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1RzOl2-0001c0-4Z; Mon, 20 Feb 2012 09:38:04 +0100 From: Lars Ingebrigtsen To: Leo Subject: Re: bug#10843: 23.4; Fix gnus-group-post-news error References: Date: Mon, 20 Feb 2012 09:38:01 +0100 In-Reply-To: (Leo's message of "Sun, 19 Feb 2012 16:14:24 +0800") Message-ID: <878vjx7vdi.fsf@gnus.org> User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1RzOl2-0001c0-4Z X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1330331884.61033@bH9/NStIX2xL8qVyfyMK/w X-Spam-Status: No X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 10843 Cc: 10843@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Leo writes: > The following patch fixes this bug. Thanks; I applied something similar. -- (domestic pets only, the antidote for overdose, milk.) http://lars.ingebrigtsen.no * Sent from my Rome From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 20 03:40:34 2012 Received: (at control) by debbugs.gnu.org; 20 Feb 2012 08:40:34 +0000 Received: from localhost ([127.0.0.1]:46671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RzOnR-0006q1-HD for submit@debbugs.gnu.org; Mon, 20 Feb 2012 03:40:33 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:54753) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RzOnP-0006ps-Iv for control@debbugs.gnu.org; Mon, 20 Feb 2012 03:40:32 -0500 Received: from 93-41-188-50.ip82.fastwebnet.it ([93.41.188.50] helo=rusty) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1RzOlA-0001ch-Qm for control@debbugs.gnu.org; Mon, 20 Feb 2012 09:38:13 +0100 Date: Mon, 20 Feb 2012 09:38:11 +0100 Message-Id: <877gzh7vd8.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #10843 X-MailScanner-ID: 1RzOlA-0001ch-Qm X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1330331893.04702@RLVIvCQY0/IBflWEcpZh5w X-Spam-Status: No X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) tags 10843 fixed close 10843 24.1 From unknown Tue Jun 17 01:50:22 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 19 Mar 2012 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator