From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.devel Subject: Re: scratch/tzz/tramp-histfile-override ef6a691: Introduce tramp-histfile-override. Date: Thu, 18 Dec 2014 20:33:47 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: References: <20141217190438.21864.43602@vcs.savannah.gnu.org> <87egryumcq.fsf@lifelogs.com> <54932278.4050006@lanl.gov> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1418952839 6562 80.91.229.3 (19 Dec 2014 01:33:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 19 Dec 2014 01:33:59 +0000 (UTC) Cc: Michael Albinus , emacs-devel@gnu.org To: Davis Herring Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 19 02:33:54 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y1mS1-0007Hc-Gw for ged-emacs-devel@m.gmane.org; Fri, 19 Dec 2014 02:33:53 +0100 Original-Received: from localhost ([::1]:56223 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1mS0-0007EB-14 for ged-emacs-devel@m.gmane.org; Thu, 18 Dec 2014 20:33:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55458) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1mRv-0007Bt-Iv for emacs-devel@gnu.org; Thu, 18 Dec 2014 20:33:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y1mRu-00078I-BP for emacs-devel@gnu.org; Thu, 18 Dec 2014 20:33:47 -0500 Original-Received: from mail-qa0-x22e.google.com ([2607:f8b0:400d:c00::22e]:52260) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1mRu-00078B-6a for emacs-devel@gnu.org; Thu, 18 Dec 2014 20:33:46 -0500 Original-Received: by mail-qa0-f46.google.com with SMTP id w8so57217qac.19 for ; Thu, 18 Dec 2014 17:33:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lifelogs.com; s=google; h=from:to:cc:subject:organization:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=X3a2In1j1ugOsa9chMA9ownSVkRX5AoS0HR8H+elaBs=; b=mwqxH7o7biSxYT4FZX7W1UFXtOJx2kgt7GkZuRMd2NpV+GTh3pL7O7xWDMAgaGXVvZ OuXBKegQPc/8dHpHZFSIHvM1I3lEZHnzvn1LdGKuT0f+wBwZDyk4mR8hZhpPkHZVL+je vPHa1qm9iQn+t/JakP/+d0+rbvSHiH2rj5jNo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:organization:references :mail-copies-to:gmane-reply-to-list:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=X3a2In1j1ugOsa9chMA9ownSVkRX5AoS0HR8H+elaBs=; b=JOZdn7YhLv5e7e/z36g+2x1eFwD5SyI30vZWD/Is74SDVoH5/vqM9WePz0te3R/Lxn f8B0I+V1Xkavfe0U57oI/SOn3Ry9IO5k9NjZ9ROtkEebgc9jfU19hcwAvLNdlRGnIG/+ YVXSAm3lFnx1FTw6uIqgyglMLQ+gcEREcu942Rds6Ugn3o9TpNtT6+bBQTnnt666om63 s+2Rj+fSRI4AccwqmhzYeOVcICkJqFPmY4981EnuQuhxJHnpqYd0Z3j9ptg0lIl7QB1J 8iomFFh9REUW7Eub7nvzFnWtmdySs+9UODKVOLvqun8yI6xeNM+ejSC4KUc2REoRmDPl +3rA== X-Gm-Message-State: ALoCoQk5wBkfjvwNwVp5Ey7e0NcHphFwk2NCg0vyBVigShYpKgO5EnonUqD8C5L5H4dolnkyhktq X-Received: by 10.140.98.162 with SMTP id o31mr9046774qge.49.1418952825515; Thu, 18 Dec 2014 17:33:45 -0800 (PST) Original-Received: from bug.local ([2600:1000:b007:c85b:7c29:88fd:74fd:4cfc]) by mx.google.com with ESMTPSA id a3sm8377151qag.22.2014.12.18.17.33.44 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Dec 2014 17:33:44 -0800 (PST) X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6; d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: <54932278.4050006@lanl.gov> (Davis Herring's message of "Thu, 18 Dec 2014 11:52:40 -0700") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (darwin) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400d:c00::22e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:180304 Archived-At: On Thu, 18 Dec 2014 11:52:40 -0700 Davis Herring wrote: TZ> +(defcustom tramp-histfile-override "/dev/null" TZ> + "Whether the HISTFILE should be overridden to something. Set TZ> +to nil to disable the override." TZ> + :group 'tramp TZ> + :type '(choice (const :tag "Do not override HISTFILE" nil) TZ> + (const :tag "Empty the history (/dev/null)" "/dev/null") TZ> + (string :tag "Redirect to a file"))) TZ> + DH> This may be a trivial difference, but isn't it cleaner to unset HISTFILE DH> than to set it to "/dev/null"? Hi Davis, this was pre-existing in Tramp. I think the difference is that unsetting HISTFILE does not disable history. Ted