From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 102543 invoked by alias); 3 Jun 2015 17:42:48 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 102527 invoked by uid 89); 3 Jun 2015 17:42:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 X-HELO: mail-wi0-f169.google.com Received: from mail-wi0-f169.google.com (HELO mail-wi0-f169.google.com) (209.85.212.169) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Wed, 03 Jun 2015 17:42:45 +0000 Received: by wiwd19 with SMTP id d19so60821950wiw.0 for ; Wed, 03 Jun 2015 10:42:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=9JVZoxRcQKydkb93Ax0CB2iV5CqNvVVcWuCNUoOtFIA=; b=JEWAD2LLaVjPwVTDI1LKH/pJm8mBTcTC2PA8aNRs0q/cbBaNVvezqX6IE13tGDzUFv GDIQxbi8FHE3o1VndKtdOy2TWA/2f0NSDOJC8b+RkU6P/E6Z1jUrWS4IhjT0XiuNtFAV PT9XdVEks3/DyQ2nuh8tolPdd9DkdUOVMIbxsqtGA4LLHWAPy9461MH/mDiq6y1yC8Wu G+AnPoKhU5ZzbyXpk/zUxKRj7kHz1jTgQM21w144pk/QeUqWszKFz/jYNlJHMSoC6s2R ygrmkAh9GJr5siS9t+YwpLcHSFOeBaNQyYx4fVUQ3TZGjsJBj2nYSU5g+2Pf6tSCLbil r3Uw== X-Gm-Message-State: ALoCoQmDjQB0aDJ2Reg6lXhBena8H94DzCjdH5UE0gTTgwDemocRkjdWo6p7G+xN9VwjR/JXol+0 X-Received: by 10.180.36.103 with SMTP id p7mr28990410wij.88.1433353362827; Wed, 03 Jun 2015 10:42:42 -0700 (PDT) Received: from localhost ([85.133.27.36]) by mx.google.com with ESMTPSA id w11sm2049811wjr.48.2015.06.03.10.42.41 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 03 Jun 2015 10:42:42 -0700 (PDT) Date: Wed, 03 Jun 2015 17:42:00 -0000 From: Andrew Burgess To: Patrick Palka Cc: "gdb-patches@sourceware.org" Subject: Re: [PATCH] Prune duplicate command history entries Message-ID: <20150603174236.GS17330@embecosm.com> References: <1433301766-20101-1-git-send-email-patrick@parcs.ath.cx> <20150603082036.GR17330@embecosm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Editor: GNU Emacs [ http://www.gnu.org/software/emacs ] User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2015-06/txt/msg00054.txt.bz2 * Patrick Palka [2015-06-03 10:15:47 -0400]: > Hmm, but doesn't the empty-command shorthand already make it mostly > impossible to figure out where you were in the past? If you run "up" > twice by typing "up\n\n" then only one history entry for "up" gets > added to the history file (with or without the patch). I confess I hadn't spotted that. Looking back through the history to figure out what I've been doing isn't a common operation (thankfully). I guess so long as the feature was switchable then I have little objection. Thanks, Andrew