From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#864: marked as done (23.0.60; Info-dir-remove-duplicates fails to remove duplicates) Date: Sun, 7 Sep 2008 03:30:04 -0700 Message-ID: References: <48C3A76B.1020604@gmx.at> <48BD5B1B.3020409@george24.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1220783404-11332-0" X-Trace: ger.gmane.org 1220784472 15090 80.91.229.12 (7 Sep 2008 10:47:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Sep 2008 10:47:52 +0000 (UTC) To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 07 12:48:47 2008 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 1KcHp0-0000Wi-7C for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Sep 2008 12:48:46 +0200 Original-Received: from localhost ([127.0.0.1]:50283 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcHo0-00061G-Cd for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Sep 2008 06:47:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KcHnw-0005zd-2E for bug-gnu-emacs@gnu.org; Sun, 07 Sep 2008 06:47:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KcHnv-0005yM-3c for bug-gnu-emacs@gnu.org; Sun, 07 Sep 2008 06:47:39 -0400 Original-Received: from [199.232.76.173] (port=39644 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcHnu-0005yH-N4 for bug-gnu-emacs@gnu.org; Sun, 07 Sep 2008 06:47:38 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:42407) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KcHnu-0006Zs-66 for bug-gnu-emacs@gnu.org; Sun, 07 Sep 2008 06:47:38 -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 m87AlWHK017934; Sun, 7 Sep 2008 03:47:32 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m87AU4JT011424; Sun, 7 Sep 2008 03:30:04 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 864 X-Emacs-PR-Package: emacs X-detected-kernel: by monty-python.gnu.org: 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:20273 Archived-At: This is a multi-part message in MIME format... ------------=_1220783404-11332-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sun, 07 Sep 2008 12:05:31 +0200 with message-id <48C3A76B.1020604@gmx.at> and subject line Re: bug#864: 23.0.60; Info-dir-remove-duplicates fails to = remove duplicates has caused the Emacs bug report #864, regarding 23.0.60; Info-dir-remove-duplicates fails to remove duplicates 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 don@donarmstrong.com immediately.) --=20 864: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D864 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1220783404-11332-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.0 required=4.0 tests=BAYES_00,MURPHY_DRUGS_REL8, RCVD_IN_DNSWL_MED,RCVD_IN_SBLXBL,RCVD_IN_SBLXBL_CBL autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 2 Sep 2008 15:26:35 +0000 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 m82FQVVf008060 for ; Tue, 2 Sep 2008 08:26:33 -0700 Received: from mx10.gnu.org ([199.232.76.166]:39879) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KaXkU-00055T-4z for emacs-pretest-bug@gnu.org; Tue, 02 Sep 2008 11:24:54 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KaXlx-0000VI-3o for emacs-pretest-bug@gnu.org; Tue, 02 Sep 2008 11:26:29 -0400 Received: from watcher1.invoice.ne.jp ([202.235.198.2]:42134) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KaXlw-0000UX-Ii for emacs-pretest-bug@gnu.org; Tue, 02 Sep 2008 11:26:24 -0400 Received: from [202.235.198.20] ([202.235.198.20]) by watcher1.invoice.ne.jp ([202.235.198.2]) with ESMTP id 1220369176.61737.1774185392.watcher1 for ; Wed, 03 Sep 2008 00:26:16 +0900 (JST) Received: (qmail 24023 invoked from network); 3 Sep 2008 00:26:26 +0900 Received: from unknown (HELO ?192.168.0.81?) (220.110.237.245) by george.george24.com with SMTP; 3 Sep 2008 00:26:26 +0900 Message-ID: <48BD5B1B.3020409@george24.com> Date: Wed, 03 Sep 2008 00:26:19 +0900 From: "Joshua S." User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.2pre) Gecko/2008082101 SeaMonkey/2.0a1pre MIME-Version: 1.0 To: emacs-pretest-bug@gnu.org Subject: 23.0.60; Info-dir-remove-duplicates fails to remove duplicates X-TERRACE-DUMMYSUBJECT: Terrace Spam system * Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-TERRACE-SPAMMARK: NO (SR:11.59) (by Terrace) X-TERRACE-CLASSID: type=NO,str=0001.0A150204.48BD5B1B.00AF:SCFSTAT1346166,ss=1,fgs=0 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Hi, I use NTEmacs with Cygwin, and something like this in my ~/.emacs. (setq Info-directory-list (list (expand-file-name "../info" data-directory) "c:/cygwin/usr/share/info")) Then the Info Directory Node lists some duplicated items. I did bellow patch to fix this. (You know, I am not a good Lisp programmer.) Index: lisp/info.el =================================================================== RCS file: /sources/emacs/emacs/lisp/info.el,v retrieving revision 1.541 diff -u -d -w -r1.541 info.el --- lisp/info.el 30 Aug 2008 20:16:36 -0000 1.541 +++ lisp/info.el 2 Sep 2008 15:05:54 -0000 @@ -1222,9 +1222,10 @@ ;; Fold case straight away; `member-ignore-case' here wasteful. (let ((x (downcase (match-string 1)))) (if (member x seen) - (delete-region (match-beginning 0) + (progn (delete-region (match-beginning 0) (progn (re-search-forward "^[^ \t]" nil t) (match-beginning 0))) + (forward-line 0)) (push x seen)))))))))) ;; Note that on entry to this function the current-buffer must be the ------------=_1220783404-11332-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.6 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 864-done) by emacsbugs.donarmstrong.com; 7 Sep 2008 10:23:33 +0000 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m87ANTf5009273 for <864-done@emacsbugs.donarmstrong.com>; Sun, 7 Sep 2008 03:23:31 -0700 Received: (qmail invoked by alias); 07 Sep 2008 10:23:23 -0000 Received: from 62-47-37-223.adsl.highway.telekom.at (EHLO [62.47.37.223]) [62.47.37.223] by mail.gmx.net (mp023) with SMTP; 07 Sep 2008 12:23:23 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18Rur1ndlARFokf0pdKuyhUU35R19kV5RjEi4c9OP cSPDs/06aHsQYX Message-ID: <48C3A76B.1020604@gmx.at> Date: Sun, 07 Sep 2008 12:05:31 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: 864-done@emacsbugs.donarmstrong.com CC: "Joshua S." Subject: Re: bug#864: 23.0.60; Info-dir-remove-duplicates fails to remove duplicates Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.7 Fixed as 2008-09-04 Martin Rudalics * info.el (Info-dir-remove-duplicates): Narrow buffer when removing duplicate entries under same heading. Don't skip char matching anything but a space or tab at bol. (Bug#864) Thanks ------------=_1220783404-11332-0--