From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: Re: Feature freeze and Tramp? Date: Tue, 11 May 2004 20:02:07 -0500 (CDT) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200405120102.i4C127e12749@raven.dms.auburn.edu> References: <87zn8qlleb.fsf@emptyhost.emptydomain.de> <87d65gj5j2.fsf@emptyhost.emptydomain.de> <200405080234.i482YKE24109@raven.dms.auburn.edu> <87wu3n4380.fsf@emptyhost.emptydomain.de> <200405090140.i491eTW28920@raven.dms.auburn.edu> <87n04gzb7h.fsf@emptyhost.emptydomain.de> <200405110249.i4B2nND22278@raven.dms.auburn.edu> <87sme7o2zu.fsf@emptyhost.emptydomain.de> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1084325448 13765 80.91.224.253 (12 May 2004 01:30:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 May 2004 01:30:48 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed May 12 03:30:41 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BNia1-000113-00 for ; Wed, 12 May 2004 03:30:41 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BNia1-0001xR-00 for ; Wed, 12 May 2004 03:30:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BNiWw-0006qe-QJ for emacs-devel@quimby.gnus.org; Tue, 11 May 2004 21:27:30 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BNiVJ-0006br-Na for emacs-devel@gnu.org; Tue, 11 May 2004 21:25:49 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BNiIY-0004Ci-IU for emacs-devel@gnu.org; Tue, 11 May 2004 21:13:14 -0400 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BNiHH-0003lh-Ky for emacs-devel@gnu.org; Tue, 11 May 2004 21:11:23 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by mx20.gnu.org with esmtp (Exim 4.34) id 1BNi8X-00052j-O7 for emacs-devel@gnu.org; Tue, 11 May 2004 21:02:17 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id i4C129TS004064; Tue, 11 May 2004 20:02:09 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.6+Sun/8.11.6) id i4C127e12749; Tue, 11 May 2004 20:02:07 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: kai@emptydomain.de In-reply-to: <87sme7o2zu.fsf@emptyhost.emptydomain.de> (message from Kai Grossjohann on Tue, 11 May 2004 09:08:05 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:23204 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23204 Kai Grossjohann wrote: Cool! Thanks for the fix, will incorporate this into Tramp shortly. That leaves us with the issue of those three remaining lines which are still somewhat of a nuisance. They can be completely gotten rid of by setting tramp-initial-commands to ("unset HISTFILE" "unset correct" "unset autocorrect") where the order is, of course, important. In other words "unset HISTFILE" is pushed onto the default value. I have customized tramp-initial-commands to the above in my personal customizations. Can the "unset HISTFILE" ever give problems on a remote host running an exotic shell and, if so, would the two other "unset" commands, present in the current default, not give problems on that same host anyway? Is there a reason not add "unset HISTFILE" to the front of the default value, or at least, suggest doing so in tramp-initial-commands' docstring? ("HISTFILE=" "export HISTFILE" "unset correct" "unset autocorrect") would, I believe, make the "HISTFILE=$HOME/.tramp_history; HISTSIZE=1; export HISTFILE; export HISTSIZE" unnecessary, but I am afraid that some shells might not recognize "export". However, was there any reason to use "HISTFILE=$HOME/.tramp_history; HISTSIZE=1;" instead of simply using "HISTFILE= ; export HISTFILE" at the same spot? Sincerely, Luc.