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#1505: duplicate entries in compile-history Date: Sat, 06 Dec 2008 07:12:41 -0700 Message-ID: Reply-To: Tom Tromey , 1505@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1228573832 31866 80.91.229.12 (6 Dec 2008 14:30:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 6 Dec 2008 14:30:32 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 06 15:31:37 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 1L8yBy-0007zu-OD for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Dec 2008 15:31:35 +0100 Original-Received: from localhost ([127.0.0.1]:44759 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L8yAn-0002n1-Vz for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Dec 2008 09:30:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L8yAk-0002mw-RQ for bug-gnu-emacs@gnu.org; Sat, 06 Dec 2008 09:30:18 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L8yAj-0002mj-DU for bug-gnu-emacs@gnu.org; Sat, 06 Dec 2008 09:30:17 -0500 Original-Received: from [199.232.76.173] (port=34401 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L8yAj-0002mf-3X for bug-gnu-emacs@gnu.org; Sat, 06 Dec 2008 09:30:17 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:45845) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L8yAi-0006xr-IU for bug-gnu-emacs@gnu.org; Sat, 06 Dec 2008 09:30:16 -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 mB6EUEQD024638; Sat, 6 Dec 2008 06:30:14 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mB6EK3JV021337; Sat, 6 Dec 2008 06:20:03 -0800 X-Loop: don@donarmstrong.com Resent-From: Tom Tromey Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 06 Dec 2008 14:20:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1505 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122857277419979 (code B ref -1); Sat, 06 Dec 2008 14:20:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 6 Dec 2008 14:12:54 +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 mB6ECn0e019970 for ; Sat, 6 Dec 2008 06:12:51 -0800 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L8xtp-0001pC-9k for bug-gnu-emacs@gnu.org; Sat, 06 Dec 2008 09:12:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L8xto-0001oJ-F9 for bug-gnu-emacs@gnu.org; Sat, 06 Dec 2008 09:12:48 -0500 Original-Received: from [199.232.76.173] (port=52897 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L8xto-0001o1-4m for bug-gnu-emacs@gnu.org; Sat, 06 Dec 2008 09:12:48 -0500 Original-Received: from mx2.redhat.com ([66.187.237.31]:39492) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L8xtn-0003s0-NI for bug-gnu-emacs@gnu.org; Sat, 06 Dec 2008 09:12:48 -0500 Original-Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id mB6ECk6T002430 for ; Sat, 6 Dec 2008 09:12:46 -0500 Original-Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx2.corp.redhat.com (8.13.1/8.13.1) with ESMTP id mB6EChRR024977; Sat, 6 Dec 2008 09:12:43 -0500 Original-Received: from opsy.redhat.com (vpn-14-21.rdu.redhat.com [10.11.14.21]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id mB6ECgSi007616; Sat, 6 Dec 2008 09:12:42 -0500 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id 88B5E5080FC; Sat, 6 Dec 2008 07:12:41 -0700 (MST) X-Attribution: Tom X-Scanned-By: MIMEDefang 2.58 on 172.16.27.26 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 06 Dec 2008 09:30:17 -0500 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:23004 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 ran into the following situation yesterday: I ran one compile command in the morning. Then, for the rest of the day, I ran a couple of different compile command, alternating them many times. Near the end of the day, I wanted to re-run the first command, but it had been removed from history. It would be nice if there were a way to eliminate duplicates from compile-history, so that older commands were not completely dropped. For instance, a command could still be put at the front of the list; but all duplicates of it elsewhere in the list could be removed at the same time. 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/22.2/etc/DEBUG for instructions. In GNU Emacs 22.2.1 (i386-redhat-linux-gnu, GTK+ Version 2.12.9) of 2008-05-23 on xenbuilder4.fedora.phx.redhat.com Windowing system distributor `The X.Org Foundation', version 11.0.10500000 configured using `configure '--build=i386-redhat-linux-gnu' '--host=i386-redhat-linux-gnu' '--target=i386-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=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-x-toolkit=gtk' '--with-sound' '--with-toolkit-scroll-bars' 'build_alias=i386-redhat-linux-gnu' 'host_alias=i386-redhat-linux-gnu' 'target_alias=i386-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwin d-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 locale-coding-system: utf-8 default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: auto-fill-function: do-auto-fill compilation-in-progress: (gid) shell-dirtrack-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 flyspell-mode: t eldoc-mode: t erc-status-mode: t erc-services-mode: t erc-irccontrols-mode: t erc-noncommands-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 unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-p C-p C-k I I t ' s SPC b e e n SPC a SPC w h i l e SPC . . . SPC y o u SPC o k ? C-c C-c M SPC = q s M-v C-u C-u C-p n n n n M-g M-g M-g s C-h v c o m p i l a t C-g C-x C-f ~ / . e m a c s M-> C-r c o m p C-h v C-x k C-x o C-x 1 C-c b C-h v c o m p i l e - h i C-x o C-x 1 M-> C-c b C-z o C-z o C-h v M-p C-x 1 C-l C-s c o m C-w C-w C-s C-a C-z o C-x C-f g n E m e m l i s p r o c o m p r o g c o m C-s c o m p i l e - h i s t o r y C-s C-p C-a M-f C-h f C-h f r e a C-g C-z o C-z o C-x C-g M-x l g r e p C-x o C-x 1 C-u C-n C-u C-n C-u C-n C-n C-c C-c C-x 1 C-l C-u C-n C-u C-n C-l C-n C-n M-f C-p C-h f C-x o C-x 1 C-c b C-z o C-h l C-x o C-x 1 C-c b M-x r e p o r t - e m b b Recent messages: Note: file is write protected Mark saved where search started Making completion list... Mark saved where search started You didn't specify a function QuitError during redisplay: (quit) Mark set Type C-x 1 to remove help window. [2 times] Making completion list... Loading emacsbug...done Tom