From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#1739: marked as done ([Toby Speight] Broken host regexps in generic-x) Date: Fri, 30 Jan 2009 03:55:04 +0000 Message-ID: References: <0q7i4dfoa3.fsf@fencepost.gnu.org> <87y6xy3v24.fsf@turtle.gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1233287704-23964-0" X-Trace: ger.gmane.org 1233288284 13799 80.91.229.12 (30 Jan 2009 04:04:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Jan 2009 04:04:44 +0000 (UTC) To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 30 05:05:57 2009 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 1LSkcx-0006L0-3l for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Jan 2009 05:05:38 +0100 Original-Received: from localhost ([127.0.0.1]:47452 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LSkbe-0000yA-Gf for geb-bug-gnu-emacs@m.gmane.org; Thu, 29 Jan 2009 23:03:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LSkbU-0000vr-1u for bug-gnu-emacs@gnu.org; Thu, 29 Jan 2009 23:03:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LSkbS-0000vT-T2 for bug-gnu-emacs@gnu.org; Thu, 29 Jan 2009 23:03:39 -0500 Original-Received: from [199.232.76.173] (port=39468 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LSkbS-0000vQ-Mq for bug-gnu-emacs@gnu.org; Thu, 29 Jan 2009 23:03:38 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:58867) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LSkbM-0001aV-5A; Thu, 29 Jan 2009 23:03:32 -0500 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 n0U43U0q026301; Thu, 29 Jan 2009 20:03:30 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0U3t4Xu024083; Thu, 29 Jan 2009 19:55:04 -0800 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 1739 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: patch X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:24739 Archived-At: This is a multi-part message in MIME format... ------------=_1233287704-23964-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Thu, 29 Jan 2009 22:47:32 -0500 with message-id <0q7i4dfoa3.fsf@fencepost.gnu.org> and subject line Re: [Toby Speight] Broken host regexps in generic-x has caused the Emacs bug report #1739, regarding [Toby Speight] Broken host regexps in generic-x to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 1739: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D1739 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1233287704-23964-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 30 Dec 2008 08:51:21 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-5.9 required=4.0 tests=FOURLA,HAS_PACKAGE, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 mBU8pIKO017272 for ; Tue, 30 Dec 2008 00:51:19 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LHaJp-0004kN-Ux for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 03:51:18 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LHaJp-0004kB-MS for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 03:51:17 -0500 Received: from [199.232.76.173] (port=56435 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHaJp-0004k4-Ag for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 03:51:17 -0500 Received: from mail.gmx.net ([213.165.64.20]:58173) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LHaJo-0000jo-Qz for bug-gnu-emacs@gnu.org; Tue, 30 Dec 2008 03:51:17 -0500 Received: (qmail invoked by alias); 30 Dec 2008 08:51:15 -0000 Received: from p548666D5.dip.t-dialin.net (EHLO turtle.gmx.de) [84.134.102.213] by mail.gmx.net (mp007) with SMTP; 30 Dec 2008 09:51:15 +0100 X-Authenticated: #28250155 X-Provags-ID: V01U2FsdGVkX19F71MS/nJF4+OeO9jxfSPiQIraAjUeDBjKi+kndn PG1r1fcYzCZo3e Received: by turtle.gmx.de (Postfix, from userid 1000) id 200BF354B0; Tue, 30 Dec 2008 09:51:15 +0100 (CET) From: Sven Joachim To: bug-gnu-emacs@gnu.org Subject: [Toby Speight] Broken host regexps in generic-x Date: Tue, 30 Dec 2008 09:51:15 +0100 Message-ID: <87y6xy3v24.fsf@turtle.gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Y-GMX-Trusted: 0 X-FuHaFi: 0.49 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) --=-=-= Tags: patch Another old bug in Debian's BTS, this time with a patch. The patch doesn't apply anymore, but it was easy for me to create a new one: --8<---------------cut here---------------start------------->8--- --- generic-x.el.~1.55.~ 2008-10-04 05:11:46.000000000 +0200 +++ generic-x.el 2008-12-30 09:45:00.000000000 +0100 @@ -376,7 +376,7 @@ (define-generic-mode hosts-generic-mode '(?#) '("localhost") - '(("\\([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\\)" 1 font-lock-constant-face)) + '(("\\([0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+\\)" 1 font-lock-constant-face)) '("[hH][oO][sS][tT][sS]\\'") nil "Generic mode for HOSTS files.")) @@ -1811,7 +1811,7 @@ '("cache" "primary" "secondary" "forwarders" "limit" "options" "directory" "check-names") ;; List of additional font-lock-expressions - '(("\\([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\\)" 1 font-lock-constant-face) + '(("\\([0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+\\)" 1 font-lock-constant-face) ("^directory\\s-+\\(.*\\)" 1 font-lock-variable-name-face) ("^\\(primary\\|cache\\)\\s-+\\([.A-Za-z]+\\)\\s-+\\(.*\\)" (2 font-lock-variable-name-face) @@ -1829,7 +1829,7 @@ ;; List of keywords '("IN" "NS" "CNAME" "SOA" "PTR" "MX" "A") ;; List of additional font-lock-expressions - '(("\\([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\\)" 1 font-lock-constant-face) + '(("\\([0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+\\)" 1 font-lock-constant-face) ("^\\([.A-Za-z0-9]+\\)" 1 font-lock-variable-name-face)) ;; List of additional auto-mode-alist expressions nil --8<---------------cut here---------------end--------------->8--- --=-=-= Content-Type: message/rfc822 Content-Disposition: inline Subject: Bug#239344: emacs21-common: Broken host regexps in generic-x Reply-To: Toby Speight , 239344@bugs.debian.org Resent-From: Toby Speight Original-Sender: Toby.Speight@eu.citrix.com Resent-To: debian-bugs-dist@lists.debian.org Resent-CC: Toby Speight , Rob Browning Resent-Date: Mon, 22 Mar 2004 12:18:02 UTC Resent-Message-ID: Resent-Sender: owner@bugs.debian.org X-Debian-PR-Message: report 239344 X-Debian-PR-Package: emacs21-common X-Debian-PR-Keywords: patch Received: via spool by submit@bugs.debian.org id=B.107995696312940 (code B ref -1); Mon, 22 Mar 2004 12:18:02 UTC Received: (at submit) by bugs.debian.org; 22 Mar 2004 12:02:43 +0000 Received: from (lonximss01.ctxuk.citrix.com) [195.153.38.121] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1B5O8g-0003MA-00; Mon, 22 Mar 2004 04:02:43 -0800 Received: from LONPEXCH5IM01.ctxuk.citrix.com ([10.30.224.191]) by lonximss0 1 with trend_isnt_name_B; Mon, 22 Mar 2004 12:04:04 -0000 Received: from canisp.cam.eu.citrix.com (10.70.129.150 [10.70.129.150]) by L ONPEXCH5IM01.ctxuk.citrix.com with SMTP (Microsoft Exchange Internet Mail S ervice Version 5.5.2656.59)id GZ9CZ7AK; Mon, 22 Mar 2004 12:02:16 -0000 From: Toby Speight To: Debian Bug Tracking System Date: Mon, 22 Mar 2004 12:01:56 +0000 Message-ID: Organization: Citrix Systems X-Face: T,QK^R4['}UwA"]bf:YD$2mZF\1%}\FEd/]Io%5T3[|~HUaR:!WOLCic7XE4H`cdc{f| ][4bL}yxhypxGygoO0nTK1(t-~7!uKq?qf+Uqf;eq,jx!\ !s'e/@$a6CKI>M8- Sender: Toby.Speight@eu.citrix.com Delivered-To: submit@bugs.debian.org MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===-=-=" --===-=-= Package: emacs21-common Version: 21.3+1-4 Severity: normal Tags: patch File: /usr/share/emacs/21.3/lisp/generic-x.el Some of the regexps in generic-x have only single backslashes to escape '.' characters - the result being that they match any character, including '.' - see patch: --===-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=generic-x.diff --- /usr/share/emacs/21.3/lisp/generic-x.el 2003-10-31 18:30:36.000000000 +0000 +++ generic-x.el 2004-03-22 11:55:06.000000000 +0000 @@ -258,7 +258,7 @@ (define-generic-mode 'hosts-generic-mode (list ?#) (list "localhost") - '(("\\([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\\)" 1 'font-lock-constant-face)) + '(("\\([0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+\\)" 1 'font-lock-constant-face)) (list "[hH][oO][sS][tT][sS]\\'") nil "Generic mode for HOSTS files.")) @@ -1681,7 +1681,7 @@ "directory" "check-names") ;;List of additional font-lock-expressions (list - (list "\\([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\\)" 1 'font-lock-constant-face) + (list "\\([0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+\\)" 1 'font-lock-constant-face) (list "^directory\\s-+\\(.*\\)" 1 'font-lock-variable-name-face) (list "^\\(primary\\|cache\\)\\s-+\\([.A-Za-z]+\\)\\s-+\\(.*\\)" (list 2 'font-lock-variable-name-face) @@ -1700,7 +1700,7 @@ (list "IN" "NS" "CNAME" "SOA" "PTR" "MX" "A") ;;List of additional font-lock-expressions (list - (list "\\([0-9]+\.[0-9]+\.[0-9]+\.[0-9]+\\)" 1 'font-lock-constant-face) + (list "\\([0-9]+\\.[0-9]+\\.[0-9]+\\.[0-9]+\\)" 1 'font-lock-constant-face) (list "^\\([.A-Za-z0-9]+\\)" 1 'font-lock-variable-name-face) ) ;;List of additional automode-alist expressions --===-=-= -- System Information: Debian Release: testing/unstable APT prefers testing APT policy: (990, 'testing'), (300, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.4.24 Locale: LANG=en_GB, LC_CTYPE=en_GB (ignored: LC_ALL set to en_GB) Versions of packages emacs21-common depends on: ii dpkg 1.10.19 Package maintenance system for Deb ii emacsen-common 1.4.15 Common facilities for all emacsen. ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an ii liblockfile1 1.05 NFS-safe locking library, includes -- no debconf information --===-=-=-- --=-=-=-- ------------=_1233287704-23964-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1739-done) by emacsbugs.donarmstrong.com; 30 Jan 2009 03:49:22 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0U3nF7B022746 for <1739-done@emacsbugs.donarmstrong.com>; Thu, 29 Jan 2009 19:49:16 -0800 Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1LSkLs-0005nJ-S9; Thu, 29 Jan 2009 22:47:32 -0500 From: Glenn Morris To: 1739-done@emacsbugs.donarmstrong.com Subject: Re: [Toby Speight] Broken host regexps in generic-x References: <87y6xy3v24.fsf@turtle.gmx.de> X-Spook: Roswell diwn ARPA SDI Legion of Doom White House global X-Ran: WR!F0u]2mZr]>^,'U<;&{t%Oj User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-CrossAssassin-Score: 4 Thanks. ------------=_1233287704-23964-0--