From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.devel Subject: Re: Feature freeze and Tramp? Date: Sat, 15 May 2004 18:36:46 +0200 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <86k6zd7ild.fsf@slowfox.dyndns.org> 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> <200405120102.i4C127e12749@raven.dms.auburn.edu> <8765b2ksm7.fsf@emptyhost.emptydomain.de> <200405121457.i4CEv8D15723@raven.dms.auburn.edu> <87n04cvmtx.fsf@emptyhost.emptydomain.de> <200405131402.i4DE2PF00789@raven.dms.auburn.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1084639115 1296 80.91.224.253 (15 May 2004 16:38:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 15 May 2004 16:38:35 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Sat May 15 18:38:30 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 1BP2BC-0002m6-00 for ; Sat, 15 May 2004 18:38:30 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BP2BC-0006Yo-00 for ; Sat, 15 May 2004 18:38:30 +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 1BP2AB-00046T-38 for emacs-devel@quimby.gnus.org; Sat, 15 May 2004 12:37:27 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BP2A5-00046L-JI for emacs-devel@gnu.org; Sat, 15 May 2004 12:37:21 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BP29Z-00041c-Km for emacs-devel@gnu.org; Sat, 15 May 2004 12:37:20 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BP29Z-00041Z-3G for emacs-devel@gnu.org; Sat, 15 May 2004 12:36:49 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BP29Y-0005fs-00 for ; Sat, 15 May 2004 18:36:48 +0200 Original-Received: from pd951f40e.dip.t-dialin.net ([217.81.244.14]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 15 May 2004 18:36:48 +0200 Original-Received: from kai.grossjohann by pd951f40e.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 15 May 2004 18:36:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 31 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: pd951f40e.dip.t-dialin.net User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (berkeley-unix) Cancel-Lock: sha1:nOVvJ9Oiczgz/UPkKVIZ/y28ZSE= 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:23487 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23487 Luc Teirlinck writes: > Kai Grossjohann wrote: > > Really? Below, you say that `unset HISTFILE' works... Note that the > spot we're talking about here is in the correct shell already. > > Remember that one apparently has to _export_ HISTFILE at that spot. > > `unset HISTFILE' works in the shell in which you execute it, but if > you start a subshell, the subshell will re-initialize HISTFILE to its > default value. If you do `HISTFILE= ; export HISTFILE', the subshell > will not re-initialize HISTFILE, which will remain null. At least all of > this is the case for bash, including when invoked as sh or `bash --posix'. > Solaris2.8' sh does not seem to keep history at all. The function tramp-open-connection-setup-interactive-shell is run after the correct shell has been entered on the remote end, whereas tramp-actions-before-shell is executed earlier, before the "right" shell has been started. Therefore, "unset HISTFILE" may fail from tramp-actions-before-shell, but I expect it to succeed from tramp-open-connection-setup-interactive-shell. Of course, I think that you observed it to fail from tramp-open-connection-setup-interactive-shell, so I must be missing something somewhere :-| Kai