From unknown Mon Aug 18 14:20:49 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#24478 <24478@debbugs.gnu.org> To: bug#24478 <24478@debbugs.gnu.org> Subject: Status: 25.1; Regression in 25.1: .tramp_history files are littered in non-$HOME working directories Reply-To: bug#24478 <24478@debbugs.gnu.org> Date: Mon, 18 Aug 2025 21:20:49 +0000 retitle 24478 25.1; Regression in 25.1: .tramp_history files are littered i= n non-$HOME working directories reassign 24478 emacs submitter 24478 =C3=86var Arnfj=C3=B6r=C3=B0 Bjarmason severity 24478 normal tag 24478 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 20 11:26:59 2016 Received: (at submit) by debbugs.gnu.org; 20 Sep 2016 15:26:59 +0000 Received: from localhost ([127.0.0.1]:58346 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bmMwk-0003dH-Jn for submit@debbugs.gnu.org; Tue, 20 Sep 2016 11:26:59 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bmIBE-0002uj-Qq for submit@debbugs.gnu.org; Tue, 20 Sep 2016 06:21:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmIB5-0000LN-Ss for submit@debbugs.gnu.org; Tue, 20 Sep 2016 06:21:31 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57609) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmIB5-0000I7-ON for submit@debbugs.gnu.org; Tue, 20 Sep 2016 06:21:27 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37139) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmIB1-0008EM-7F for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2016 06:21:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmIAx-0008Mu-54 for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2016 06:21:23 -0400 Received: from mail-out6.booking.com ([5.57.20.183]:44959) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmIAw-0008CP-Pu for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2016 06:21:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=booking.com ; s=bk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date :Subject:Cc:To:From; bh=rlcGYA8GSv58nGLOv+9fdMzbKi4Dfz4XR4Ew9hGEMkU=; b=UhhGp ImNZ50PLDv4hSpFaEmr6sO+n8q/+RRx/R0JIsNcuP+55vm8HRjGGqVnrH3UoPog1oGDrkZIN289t+ eevdhWjY2NJrbiCvEJ1R4vhRkoOnTBhUAlxq9xhUzR5fd2xumxqCLMPEfh/TihOmWJjfF4UMQ+32I ++LYZfWLPgGA=; Received: from corpds-202.lhr4.corp.booking.com ([10.186.68.14]:37812) by mtx-202.lhr4.prod.booking.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.86) (envelope-from ) id 1bmIAs-0008gF-GA; Tue, 20 Sep 2016 12:21:14 +0200 Received: from [10.156.63.139] (port=46091 helo=snth) by corpds-202.lhr4.corp.booking.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86) (envelope-from ) id 1bmIAs-00006H-Bn; Tue, 20 Sep 2016 12:21:14 +0200 Received: from avar by snth with local (Exim 4.84_2) (envelope-from ) id 1bmIAs-0002aZ-3O; Tue, 20 Sep 2016 12:21:14 +0200 From: =?utf-8?B?w4Z2YXIgQXJuZmrDtnLDsA==?= Bjarmason To: bug-gnu-emacs@gnu.org Subject: 25.1; Regression in 25.1: .tramp_history files are littered in non-$HOME working directories User-agent: Debian GNU/Linux 8.5 (jessie); Emacs 25.1.1; mu4e 0.9.17 Date: Tue, 20 Sep 2016 12:21:14 +0200 Message-ID: <8737kuan39.fsf@booking.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 20 Sep 2016 11:26:58 -0400 Cc: =?utf-8?B?w4Z2YXIgQXJuZmrDtnLDsA==?= Bjarmason X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) There's a regression in 25.1 introduced by 1e04ea9 (although that seems to also have fixed an issue): Now tramp-histfile-override is set to ".tramp_history", which is good, but I would expect it to be created in $HOME on remote hosts. Instead when I e.g.: 1. C-x C-f //ssh::/usr/local/git_tree/sysadmin/ 2. Run e.g. magit to make a commit 3. I end up with: $ echo $PWD/.tramp_history /usr/local/git_tree/sysadmin/.tramp_history $ wc -l !$ wc -l $PWD/.tramp_history 34 /usr/local/git_tree/sysadmin/.tramp_history >From reading https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20446 and https://debbugs.gnu.org/cgi/bugreport.cgi?bug=19731#56 this seems like an unintended bug. Just setting: (setq tramp-histfile-override "~/.tramp_history") Works for me. Now it's always created in ~. In GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.5) of 2016-09-18 built on snth Repository revision: a0d50eb64bf0a469fd010a3f6133276eb1511ec9 (a revert of a761fbf262b6898036a537a36476da7767c0daca on top of emacs-25.1, for an unrelated bug...) System Description: Debian GNU/Linux 8.5 (jessie) Configured using: 'configure --prefix=/home/avar/local --with-modules' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES Important settings: value of $LANG: en_US.utf8 locale-coding-system: utf-8 Major mode: CPerl Minor modes in effect: flyspell-mode: t global-edit-server-edit-mode: t diff-auto-refine-mode: t magit-auto-revert-mode: t global-undo-tree-mode: t undo-tree-mode: t global-git-commit-mode: t shell-dirtrack-mode: t recentf-mode: t which-function-mode: t icomplete-mode: t show-paren-mode: t global-eldoc-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Checking spelling of PREPERATION... Saving file /ssh:pc101eventlog-04:/usr/local/git_tree/sysadmin/.git/COMMIT_EDITMSG... Tramp: Encoding local file ‘/tmp/tramp.4026djU’ using ‘base64-encode-region’...done Tramp: Decoding remote file ‘/ssh:pc101eventlog-04:/usr/local/git_tree/sysadmin/.git/COMMIT_EDITMSG’ using ‘base64 -d -i >%s’...done Wrote /ssh:pc101eventlog-04:/usr/local/git_tree/sysadmin/.git/COMMIT_EDITMSG Git finished [2 times] Quit [2 times] occur-find-match: No more matches Quit occur-find-match: No more matches Quit Load-path shadows: /home/avar/g/elisp/magit/lisp/git-commit hides /home/avar/g/elisp/git-commit-mode/git-commit /home/avar/g/elisp/nopaste/nopaste hides /home/avar/g/elisp/_local/nopaste /home/avar/g/elisp/go-mode.el/go-mode hides /home/avar/g/elisp/go-mode /home/avar/g/elisp/mu/mu4e/mu4e-contrib hides /home/avar/local/share/emacs/site-lisp/mu4e/mu4e-contrib /home/avar/g/elisp/mu/mu4e/mu4e-mark hides /home/avar/local/share/emacs/site-lisp/mu4e/mu4e-mark /home/avar/g/elisp/mu/mu4e/mu4e-context hides /home/avar/local/share/emacs/site-lisp/mu4e/mu4e-context /home/avar/g/elisp/mu/mu4e/org-old-mu4e hides /home/avar/local/share/emacs/site-lisp/mu4e/org-old-mu4e /home/avar/g/elisp/mu/mu4e/mu4e hides /home/avar/local/share/emacs/site-lisp/mu4e/mu4e /home/avar/g/elisp/mu/mu4e/mu4e-view hides /home/avar/local/share/emacs/site-lisp/mu4e/mu4e-view /home/avar/g/elisp/mu/mu4e/mu4e-compose hides /home/avar/local/share/emacs/site-lisp/mu4e/mu4e-compose /home/avar/g/elisp/mu/mu4e/mu4e-main hides /home/avar/local/share/emacs/site-lisp/mu4e/mu4e-main /home/avar/g/elisp/mu/mu4e/mu4e-proc hides /home/avar/local/share/emacs/site-lisp/mu4e/mu4e-proc /home/avar/g/elisp/mu/mu4e/mu4e-headers hides /home/avar/local/share/emacs/site-lisp/mu4e/mu4e-headers /home/avar/g/elisp/mu/mu4e/mu4e-message hides /home/avar/local/share/emacs/site-lisp/mu4e/mu4e-message /home/avar/g/elisp/mu/mu4e/mu4e-utils hides /home/avar/local/share/emacs/site-lisp/mu4e/mu4e-utils /home/avar/g/elisp/mu/mu4e/mu4e-vars hides /home/avar/local/share/emacs/site-lisp/mu4e/mu4e-vars /home/avar/g/elisp/mu/mu4e/org-mu4e hides /home/avar/local/share/emacs/site-lisp/mu4e/org-mu4e /home/avar/g/elisp/mu/mu4e/mu4e-speedbar hides /home/avar/local/share/emacs/site-lisp/mu4e/mu4e-speedbar /home/avar/g/elisp/mu/mu4e/mu4e-draft hides /home/avar/local/share/emacs/site-lisp/mu4e/mu4e-draft /home/avar/g/elisp/mu/mu4e/mu4e-meta hides /home/avar/local/share/emacs/site-lisp/mu4e/mu4e-meta /home/avar/g/elisp/mu/mu4e/mu4e-actions hides /home/avar/local/share/emacs/site-lisp/mu4e/mu4e-actions /home/avar/g/elisp/mu/mu4e/mu4e-lists hides /home/avar/local/share/emacs/site-lisp/mu4e/mu4e-lists /home/avar/g/elisp/shellarchive/find-cmd hides /home/avar/local/share/emacs/25.1/lisp/find-cmd /home/avar/g/elisp/css-mode hides /home/avar/local/share/emacs/25.1/lisp/textmodes/css-mode /home/avar/g/elisp/cperl-mode/cperl-mode hides /home/avar/local/share/emacs/25.1/lisp/progmodes/cperl-mode /home/avar/g/elisp/org-mode/lisp/org-id hides /home/avar/local/share/emacs/25.1/lisp/org/org-id /home/avar/g/elisp/org-mode/lisp/ob-css hides /home/avar/local/share/emacs/25.1/lisp/org/ob-css /home/avar/g/elisp/org-mode/lisp/org-src hides /home/avar/local/share/emacs/25.1/lisp/org/org-src /home/avar/g/elisp/org-mode/lisp/ob-keys hides /home/avar/local/share/emacs/25.1/lisp/org/ob-keys /home/avar/g/elisp/org-mode/lisp/ox hides /home/avar/local/share/emacs/25.1/lisp/org/ox /home/avar/g/elisp/org-mode/lisp/org-archive hides /home/avar/local/share/emacs/25.1/lisp/org/org-archive /home/avar/g/elisp/org-mode/lisp/org-timer hides /home/avar/local/share/emacs/25.1/lisp/org/org-timer /home/avar/g/elisp/org-mode/lisp/org-table hides /home/avar/local/share/emacs/25.1/lisp/org/org-table /home/avar/g/elisp/org-mode/lisp/ob-org hides /home/avar/local/share/emacs/25.1/lisp/org/ob-org /home/avar/g/elisp/org-mode/lisp/ob-ledger hides /home/avar/local/share/emacs/25.1/lisp/org/ob-ledger /home/avar/g/elisp/org-mode/lisp/org-w3m hides /home/avar/local/share/emacs/25.1/lisp/org/org-w3m /home/avar/g/elisp/org-mode/lisp/org-element hides /home/avar/local/share/emacs/25.1/lisp/org/org-element /home/avar/g/elisp/org-mode/lisp/org-feed hides /home/avar/local/share/emacs/25.1/lisp/org/org-feed /home/avar/g/elisp/org-mode/lisp/ob-calc hides /home/avar/local/share/emacs/25.1/lisp/org/ob-calc /home/avar/g/elisp/org-mode/lisp/org-mhe hides /home/avar/local/share/emacs/25.1/lisp/org/org-mhe /home/avar/g/elisp/org-mode/lisp/org-inlinetask hides /home/avar/local/share/emacs/25.1/lisp/org/org-inlinetask /home/avar/g/elisp/org-mode/lisp/ob-C hides /home/avar/local/share/emacs/25.1/lisp/org/ob-C /home/avar/g/elisp/org-mode/lisp/org-agenda hides /home/avar/local/share/emacs/25.1/lisp/org/org-agenda /home/avar/g/elisp/org-mode/lisp/ob-eval hides /home/avar/local/share/emacs/25.1/lisp/org/ob-eval /home/avar/g/elisp/org-mode/lisp/ox-publish hides /home/avar/local/share/emacs/25.1/lisp/org/ox-publish /home/avar/g/elisp/org-mode/lisp/ob-fortran hides /home/avar/local/share/emacs/25.1/lisp/org/ob-fortran /home/avar/g/elisp/org-mode/lisp/ob-ocaml hides /home/avar/local/share/emacs/25.1/lisp/org/ob-ocaml /home/avar/g/elisp/org-mode/lisp/ox-beamer hides /home/avar/local/share/emacs/25.1/lisp/org/ox-beamer /home/avar/g/elisp/org-mode/lisp/org hides /home/avar/local/share/emacs/25.1/lisp/org/org /home/avar/g/elisp/org-mode/lisp/ob-R hides /home/avar/local/share/emacs/25.1/lisp/org/ob-R /home/avar/g/elisp/org-mode/lisp/ob-screen hides /home/avar/local/share/emacs/25.1/lisp/org/ob-screen /home/avar/g/elisp/org-mode/lisp/org-protocol hides /home/avar/local/share/emacs/25.1/lisp/org/org-protocol /home/avar/g/elisp/org-mode/lisp/ob-awk hides /home/avar/local/share/emacs/25.1/lisp/org/ob-awk /home/avar/g/elisp/org-mode/lisp/ox-md hides /home/avar/local/share/emacs/25.1/lisp/org/ox-md /home/avar/g/elisp/org-mode/lisp/ob-core hides /home/avar/local/share/emacs/25.1/lisp/org/ob-core /home/avar/g/elisp/org-mode/lisp/ox-org hides /home/avar/local/share/emacs/25.1/lisp/org/ox-org /home/avar/g/elisp/org-mode/lisp/ob-js hides /home/avar/local/share/emacs/25.1/lisp/org/ob-js /home/avar/g/elisp/org-mode/lisp/ox-icalendar hides /home/avar/local/share/emacs/25.1/lisp/org/ox-icalendar /home/avar/g/elisp/org-mode/lisp/ob-emacs-lisp hides /home/avar/local/share/emacs/25.1/lisp/org/ob-emacs-lisp /home/avar/g/elisp/org-mode/lisp/org-ctags hides /home/avar/local/share/emacs/25.1/lisp/org/org-ctags /home/avar/g/elisp/org-mode/lisp/ob-sql hides /home/avar/local/share/emacs/25.1/lisp/org/ob-sql /home/avar/g/elisp/org-mode/lisp/org-version hides /home/avar/local/share/emacs/25.1/lisp/org/org-version /home/avar/g/elisp/org-mode/lisp/org-compat hides /home/avar/local/share/emacs/25.1/lisp/org/org-compat /home/avar/g/elisp/org-mode/lisp/ob hides /home/avar/local/share/emacs/25.1/lisp/org/ob /home/avar/g/elisp/org-mode/lisp/org-footnote hides /home/avar/local/share/emacs/25.1/lisp/org/org-footnote /home/avar/g/elisp/org-mode/lisp/ob-io hides /home/avar/local/share/emacs/25.1/lisp/org/ob-io /home/avar/g/elisp/org-mode/lisp/org-pcomplete hides /home/avar/local/share/emacs/25.1/lisp/org/org-pcomplete /home/avar/g/elisp/org-mode/lisp/org-faces hides /home/avar/local/share/emacs/25.1/lisp/org/org-faces /home/avar/g/elisp/org-mode/lisp/org-plot hides /home/avar/local/share/emacs/25.1/lisp/org/org-plot /home/avar/g/elisp/org-mode/lisp/ob-maxima hides /home/avar/local/share/emacs/25.1/lisp/org/ob-maxima /home/avar/g/elisp/org-mode/lisp/ox-latex hides /home/avar/local/share/emacs/25.1/lisp/org/ox-latex /home/avar/g/elisp/org-mode/lisp/org-macro hides /home/avar/local/share/emacs/25.1/lisp/org/org-macro /home/avar/g/elisp/org-mode/lisp/ob-python hides /home/avar/local/share/emacs/25.1/lisp/org/ob-python /home/avar/g/elisp/org-mode/lisp/org-mouse hides /home/avar/local/share/emacs/25.1/lisp/org/org-mouse /home/avar/g/elisp/org-mode/lisp/ob-gnuplot hides /home/avar/local/share/emacs/25.1/lisp/org/ob-gnuplot /home/avar/g/elisp/org-mode/lisp/ob-exp hides /home/avar/local/share/emacs/25.1/lisp/org/ob-exp /home/avar/g/elisp/org-mode/lisp/ox-html hides /home/avar/local/share/emacs/25.1/lisp/org/ox-html /home/avar/g/elisp/org-mode/lisp/ob-ref hides /home/avar/local/share/emacs/25.1/lisp/org/ob-ref /home/avar/g/elisp/org-mode/lisp/ob-lob hides /home/avar/local/share/emacs/25.1/lisp/org/ob-lob /home/avar/g/elisp/org-mode/lisp/org-docview hides /home/avar/local/share/emacs/25.1/lisp/org/org-docview /home/avar/g/elisp/org-mode/lisp/ob-table hides /home/avar/local/share/emacs/25.1/lisp/org/ob-table /home/avar/g/elisp/org-mode/lisp/ob-dot hides /home/avar/local/share/emacs/25.1/lisp/org/ob-dot /home/avar/g/elisp/org-mode/lisp/ox-texinfo hides /home/avar/local/share/emacs/25.1/lisp/org/ox-texinfo /home/avar/g/elisp/org-mode/lisp/org-eshell hides /home/avar/local/share/emacs/25.1/lisp/org/org-eshell /home/avar/g/elisp/org-mode/lisp/ob-ruby hides /home/avar/local/share/emacs/25.1/lisp/org/ob-ruby /home/avar/g/elisp/org-mode/lisp/org-bibtex hides /home/avar/local/share/emacs/25.1/lisp/org/org-bibtex /home/avar/g/elisp/org-mode/lisp/ob-scala hides /home/avar/local/share/emacs/25.1/lisp/org/ob-scala /home/avar/g/elisp/org-mode/lisp/ob-octave hides /home/avar/local/share/emacs/25.1/lisp/org/ob-octave /home/avar/g/elisp/org-mode/lisp/ob-java hides /home/avar/local/share/emacs/25.1/lisp/org/ob-java /home/avar/g/elisp/org-mode/lisp/ob-clojure hides /home/avar/local/share/emacs/25.1/lisp/org/ob-clojure /home/avar/g/elisp/org-mode/lisp/ob-sass hides /home/avar/local/share/emacs/25.1/lisp/org/ob-sass /home/avar/g/elisp/org-mode/lisp/org-rmail hides /home/avar/local/share/emacs/25.1/lisp/org/org-rmail /home/avar/g/elisp/org-mode/lisp/org-irc hides /home/avar/local/share/emacs/25.1/lisp/org/org-irc /home/avar/g/elisp/org-mode/lisp/org-crypt hides /home/avar/local/share/emacs/25.1/lisp/org/org-crypt /home/avar/g/elisp/org-mode/lisp/ob-lisp hides /home/avar/local/share/emacs/25.1/lisp/org/ob-lisp /home/avar/g/elisp/org-mode/lisp/ob-scheme hides /home/avar/local/share/emacs/25.1/lisp/org/ob-scheme /home/avar/g/elisp/org-mode/lisp/ox-odt hides /home/avar/local/share/emacs/25.1/lisp/org/ox-odt /home/avar/g/elisp/org-mode/lisp/ob-mscgen hides /home/avar/local/share/emacs/25.1/lisp/org/ob-mscgen /home/avar/g/elisp/org-mode/lisp/ob-lilypond hides /home/avar/local/share/emacs/25.1/lisp/org/ob-lilypond /home/avar/g/elisp/org-mode/lisp/org-gnus hides /home/avar/local/share/emacs/25.1/lisp/org/org-gnus /home/avar/g/elisp/org-mode/lisp/org-indent hides /home/avar/local/share/emacs/25.1/lisp/org/org-indent /home/avar/g/elisp/org-mode/lisp/ob-ditaa hides /home/avar/local/share/emacs/25.1/lisp/org/ob-ditaa /home/avar/g/elisp/org-mode/lisp/ox-man hides /home/avar/local/share/emacs/25.1/lisp/org/ox-man /home/avar/g/elisp/org-mode/lisp/ob-comint hides /home/avar/local/share/emacs/25.1/lisp/org/ob-comint /home/avar/g/elisp/org-mode/lisp/org-info hides /home/avar/local/share/emacs/25.1/lisp/org/org-info /home/avar/g/elisp/org-mode/lisp/org-attach hides /home/avar/local/share/emacs/25.1/lisp/org/org-attach /home/avar/g/elisp/org-mode/lisp/ob-picolisp hides /home/avar/local/share/emacs/25.1/lisp/org/ob-picolisp /home/avar/g/elisp/org-mode/lisp/ob-latex hides /home/avar/local/share/emacs/25.1/lisp/org/ob-latex /home/avar/g/elisp/org-mode/lisp/org-capture hides /home/avar/local/share/emacs/25.1/lisp/org/org-capture /home/avar/g/elisp/org-mode/lisp/org-entities hides /home/avar/local/share/emacs/25.1/lisp/org/org-entities /home/avar/g/elisp/org-mode/lisp/org-loaddefs hides /home/avar/local/share/emacs/25.1/lisp/org/org-loaddefs /home/avar/g/elisp/org-mode/lisp/ob-sqlite hides /home/avar/local/share/emacs/25.1/lisp/org/ob-sqlite /home/avar/g/elisp/org-mode/lisp/ob-shen hides /home/avar/local/share/emacs/25.1/lisp/org/ob-shen /home/avar/g/elisp/org-mode/lisp/ob-matlab hides /home/avar/local/share/emacs/25.1/lisp/org/ob-matlab /home/avar/g/elisp/org-mode/lisp/org-bbdb hides /home/avar/local/share/emacs/25.1/lisp/org/org-bbdb /home/avar/g/elisp/org-mode/lisp/ox-ascii hides /home/avar/local/share/emacs/25.1/lisp/org/ox-ascii /home/avar/g/elisp/org-mode/lisp/org-datetree hides /home/avar/local/share/emacs/25.1/lisp/org/org-datetree /home/avar/g/elisp/org-mode/lisp/ob-perl hides /home/avar/local/share/emacs/25.1/lisp/org/ob-perl /home/avar/g/elisp/org-mode/lisp/org-macs hides /home/avar/local/share/emacs/25.1/lisp/org/org-macs /home/avar/g/elisp/org-mode/lisp/org-mobile hides /home/avar/local/share/emacs/25.1/lisp/org/org-mobile /home/avar/g/elisp/org-mode/lisp/org-colview hides /home/avar/local/share/emacs/25.1/lisp/org/org-colview /home/avar/g/elisp/org-mode/lisp/org-list hides /home/avar/local/share/emacs/25.1/lisp/org/org-list /home/avar/g/elisp/org-mode/lisp/org-habit hides /home/avar/local/share/emacs/25.1/lisp/org/org-habit /home/avar/g/elisp/org-mode/lisp/ob-plantuml hides /home/avar/local/share/emacs/25.1/lisp/org/ob-plantuml /home/avar/g/elisp/org-mode/lisp/ob-makefile hides /home/avar/local/share/emacs/25.1/lisp/org/ob-makefile /home/avar/g/elisp/org-mode/lisp/ob-asymptote hides /home/avar/local/share/emacs/25.1/lisp/org/ob-asymptote /home/avar/g/elisp/org-mode/lisp/ob-haskell hides /home/avar/local/share/emacs/25.1/lisp/org/ob-haskell /home/avar/g/elisp/org-mode/lisp/org-clock hides /home/avar/local/share/emacs/25.1/lisp/org/org-clock /home/avar/g/elisp/org-mode/lisp/org-install hides /home/avar/local/share/emacs/25.1/lisp/org/org-install /home/avar/g/elisp/org-mode/lisp/ob-tangle hides /home/avar/local/share/emacs/25.1/lisp/org/ob-tangle Features: (shadow face-remap emacsbug dabbrev cperl-mode man linum sh-script executable pp misearch multi-isearch vc-git term/xterm xterm flyspell ispell edit-server puppet-mode git-rebase magit-extras magit-ediff ediff-merg ediff-wind ediff-diff ediff-mult ediff-help ediff-init ediff-util ediff magit-subtree magit-submodule magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit dired-x package magit-apply magit-wip magit-log magit-diff smerge-mode diff-mode magit-core magit-autorevert autorevert filenotify magit-process magit-popup magit-mode magit-git crm magit-section magit-utils yaml-mode xs-mode nopaste browse-kill-ring prove ack grep info perl6-mode perl6-indent smie perl6-font-lock perl6-detect twittering-mode tls gnutls url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap xml remember org-clock org-agenda org-present org-element avl-tree org org-macro org-footnote org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs org-loaddefs find-func undo-tree diff mu4e desktop frameset mu4e-speedbar mu4e-main mu4e-context mu4e-view cal-menu calendar cal-loaddefs epa browse-url mu4e-headers mu4e-compose mu4e-draft mu4e-actions rfc2368 smtpmail sendmail mu4e-mark mu4e-message html2text mu4e-proc mu4e-utils doc-view subr-x jka-compr image-mode mu4e-lists mu4e-vars hl-line mu4e-meta go-mode-autoloads markdown-mode url-parse url-vars noutline outline ibuffer-git ibuf-macs ibuffer php-mode etags xref project cc-langs cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs speedbar sb-image ezimage dframe pir-mode lua-mode compile po-mode gitignore-mode gitconfig-mode derived conf-mode rx git-commit with-editor warnings term ehelp esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-arg esh-groups eshell esh-module esh-mode esh-util server log-edit easy-mmode message dired rfc822 mml mml-sec epg epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log dash pod-mode cl tap-mode perlmod perldoc thingatpt saveplace edmacro kmacro tramp-cache tramp-sh tramp tramp-compat auth-source cl-seq eieio eieio-core cl-macs gnus-util mm-util help-fns mail-prsvr password-cache tramp-loaddefs trampver ucs-normalize shell pcomplete comint ansi-color ring format-spec advice recentf tree-widget wid-edit which-func imenu icomplete ido seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib time-date paren disp-table mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 1070463 61868) (symbols 48 48706 0) (miscs 40 2471 2039) (strings 32 165751 19691) (string-bytes 1 6864776) (vectors 16 60604) (vector-slots 8 1059692 20226) (floats 8 572 876) (intervals 56 35874 241) (buffers 976 39) (heap 1024 60160 5537)) From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 21 11:59:55 2016 Received: (at control) by debbugs.gnu.org; 21 Sep 2016 15:59:56 +0000 Received: from localhost ([127.0.0.1]:59743 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bmjwB-0003Fk-MT for submit@debbugs.gnu.org; Wed, 21 Sep 2016 11:59:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bmjwA-0003FY-OM for control@debbugs.gnu.org; Wed, 21 Sep 2016 11:59:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmjw4-0000B7-Vh for control@debbugs.gnu.org; Wed, 21 Sep 2016 11:59:49 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38921) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmjw4-0000Ay-SQ for control@debbugs.gnu.org; Wed, 21 Sep 2016 11:59:48 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1bmjw3-0006th-DW for control@debbugs.gnu.org; Wed, 21 Sep 2016 11:59:47 -0400 Subject: control message for bug 21966 To: X-Mailer: mail (GNU Mailutils 2.99.98) Message-Id: From: Glenn Morris Date: Wed, 21 Sep 2016 11:59:47 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -8.1 (--------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -8.1 (--------) block 21966 by 24478 From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 22 14:03:11 2016 Received: (at 24478) by debbugs.gnu.org; 22 Sep 2016 18:03:11 +0000 Received: from localhost ([127.0.0.1]:60905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bn8L1-0006AC-Ig for submit@debbugs.gnu.org; Thu, 22 Sep 2016 14:03:11 -0400 Received: from mout.gmx.net ([212.227.17.22]:60832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bn8Ky-00069w-VK for 24478@debbugs.gnu.org; Thu, 22 Sep 2016 14:03:10 -0400 Received: from detlef.gmx.de ([87.146.57.20]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MXmpv-1bQwcd0VSp-00WnYk; Thu, 22 Sep 2016 20:03:00 +0200 From: Michael Albinus To: =?utf-8?B?w4Z2YXIgQXJuZmrDtnLDsA==?= Bjarmason Subject: Re: bug#24478: 25.1; Regression in 25.1: .tramp_history files are littered in non-$HOME working directories References: <8737kuan39.fsf@booking.com> Date: Thu, 22 Sep 2016 20:02:59 +0200 In-Reply-To: <8737kuan39.fsf@booking.com> (=?utf-8?B?IsOGdmFyIEFybmZqw7Zy?= =?utf-8?B?w7A=?= Bjarmason"'s message of "Tue, 20 Sep 2016 12:21:14 +0200") Message-ID: <87zimzke24.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:Kw/Nveo9z6mmHnzpLBilqr8o2U+pOszPXZWoDlWXeuQRpU+/KFS M/XKDYJlE7YJoo0Vt2GGpz+XYnGJA86iawp4VmePbxVUcvpujTTk+9BaWD/wBkj2CtDRpTW ZqOkx2nS8SQscuEwrBQjoleCFose0J6vAK8XXQasrucAqteaDIYTQoT1+NvR1IPHbryK/Hl uuimoChnMtomCFCSX3AVQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:1bqJJkbcoVU=:1whJ1GpOwAKSwHotD58Rxf mO+2In1iiw6eGwjPRXkP9XvsrkhTGZESs7UcDaPml79IgGjGDYz52FYf3E346uPHz2a7UzeSj hIQVvi/G/vvFDKP8djOk4Vpe1RjARRdQyogAL3gUfESC2lQdqeVqGB8xrZ3yIp9x+GgSIUfDH d2crHzXF+zG3OItIhwu4ziWUlO+KK/mosvtvT5u9wQfUmMvXLEHxacKENlIHcr/oSzkSkyfL/ o4P76wS6edr15AlZzPlnep1vD+zTHlQN4yCo928+9ki2r1twXEP1DXOi7CKVedks/+KG6lKV2 pOXuNxopu+UO6P3COZmWNKUjVBhUooPlupSrvp/BnWLKqpV4Ta9vtLaj9N5xvaCbK/WyyItsI zRC94i577TZheT4o8mHt14VIyNO4qwq05zZTFhQ8pkeSQZdXEKymXRh/pclJddWC0kWXqSP5b MTHV8oaLVJg3mhO2ta+XevFe0+YkiobZRYFo29TSnuxiptPNpHNY2ymp/ssF5fmx4KAHavfc8 hS8DY2XQPHirqBhFtqUS1qqq0TP4Z0pG6cm2NdhNI91tjZvK50nkT18W6yS6JtGIoBz9RlVeU OGreXF5m20fDvi03QYF+DqeKWbDpuOG01dJfiirJduLuKSEEk8L8tHB6h5tnYvQGmiC2B50+/ s65Fl+kEsXpnbuCWIoweA4hcR4bL8mZ5Wc0M5y/4p4lmgFNyaSCKL9dBkW6WxgOTtVVwj/U90 BcfwNRZ2Ua4fslW6YVWqwkJ3Wf0eo9aMwCMqlYaHG12iLw+JAeeqc5CMDQYX9+uRzoT9lAt12 kf/GXAc X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24478 Cc: =?utf-8?B?w4Z2YXIgQXJuZmrDtnLDsA==?= Bjarmason , 24478@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) =C3=86var Arnfj=C3=B6r=C3=B0 Bjarmason writes: Hi, > There's a regression in 25.1 introduced by 1e04ea9 (although that seems > to also have fixed an issue): Now tramp-histfile-override is set to > ".tramp_history", which is good, but I would expect it to be created in > $HOME on remote hosts. > > Instead when I e.g.: > > 1. C-x C-f //ssh::/usr/local/git_tree/sysadmin/ > 2. Run e.g. magit to make a commit > 3. I end up with: > > $ echo $PWD/.tramp_history > /usr/local/git_tree/sysadmin/.tramp_history > $ wc -l !$ > wc -l $PWD/.tramp_history > 34 /usr/local/git_tree/sysadmin/.tramp_history Most of the shells I know off use the home directory, when you specify just the relative file name ".tramp_history". > From reading https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20446 and > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D19731#56 this seems like > an unintended bug. > > Just setting: > > (setq tramp-histfile-override "~/.tramp_history") > > Works for me. Now it's always created in ~. I have thought about this, when I was fixing bug#19731. Unfortunately, there exist shells which cannot expand "~/". Other shells cannot expand "$HOME/". So I really don't know a robust default we could offer. Maybe one should give this problem more emphasis in the Tramp manual. But who reads manuals? Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 10 06:38:07 2016 Received: (at 24478) by debbugs.gnu.org; 10 Oct 2016 10:38:07 +0000 Received: from localhost ([127.0.0.1]:50529 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btXyB-0000hn-1v for submit@debbugs.gnu.org; Mon, 10 Oct 2016 06:38:07 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btXy9-0000hC-RH for 24478@debbugs.gnu.org; Mon, 10 Oct 2016 06:38:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1btXy0-0003Ii-LU for 24478@debbugs.gnu.org; Mon, 10 Oct 2016 06:38:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46782) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1btXy0-0003IB-Ib; Mon, 10 Oct 2016 06:37:56 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3026 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1btXxz-0000BI-42; Mon, 10 Oct 2016 06:37:55 -0400 Date: Mon, 10 Oct 2016 13:38:08 +0300 Message-Id: <83int0ebfz.fsf@gnu.org> From: Eli Zaretskii To: Michael Albinus In-reply-to: <87zimzke24.fsf@gmx.de> (message from Michael Albinus on Thu, 22 Sep 2016 20:02:59 +0200) Subject: Re: bug#24478: 25.1; Regression in 25.1: .tramp_history files are littered in non-$HOME working directories References: <8737kuan39.fsf@booking.com> <87zimzke24.fsf@gmx.de> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.7 (-------) X-Debbugs-Envelope-To: 24478 Cc: 24478@debbugs.gnu.org, avarab@gmail.com, avar@booking.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.7 (-------) > From: Michael Albinus > Date: Thu, 22 Sep 2016 20:02:59 +0200 > Cc: Ævar Arnfjörð Bjarmason , > 24478@debbugs.gnu.org > > Ævar Arnfjörð Bjarmason writes: > > Hi, > > > There's a regression in 25.1 introduced by 1e04ea9 (although that seems > > to also have fixed an issue): Now tramp-histfile-override is set to > > ".tramp_history", which is good, but I would expect it to be created in > > $HOME on remote hosts. > > > > Instead when I e.g.: > > > > 1. C-x C-f //ssh::/usr/local/git_tree/sysadmin/ > > 2. Run e.g. magit to make a commit > > 3. I end up with: > > > > $ echo $PWD/.tramp_history > > /usr/local/git_tree/sysadmin/.tramp_history > > $ wc -l !$ > > wc -l $PWD/.tramp_history > > 34 /usr/local/git_tree/sysadmin/.tramp_history > > Most of the shells I know off use the home directory, when you specify > just the relative file name ".tramp_history". > > > From reading https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20446 and > > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=19731#56 this seems like > > an unintended bug. > > > > Just setting: > > > > (setq tramp-histfile-override "~/.tramp_history") > > > > Works for me. Now it's always created in ~. > > I have thought about this, when I was fixing bug#19731. Unfortunately, > there exist shells which cannot expand "~/". Other shells cannot expand > "$HOME/". So I really don't know a robust default we could offer. > > Maybe one should give this problem more emphasis in the Tramp > manual. But who reads manuals? Michael, does the above mean this bug should be closed as wontfix? It currently blocks a release, so I'd like to resolve this some way soon. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 10 07:15:32 2016 Received: (at 24478) by debbugs.gnu.org; 10 Oct 2016 11:15:32 +0000 Received: from localhost ([127.0.0.1]:50549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btYYN-0003H8-PE for submit@debbugs.gnu.org; Mon, 10 Oct 2016 07:15:32 -0400 Received: from mail-qk0-f173.google.com ([209.85.220.173]:34633) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btYYM-0003Gv-KH for 24478@debbugs.gnu.org; Mon, 10 Oct 2016 07:15:31 -0400 Received: by mail-qk0-f173.google.com with SMTP id f128so84159576qkb.1 for <24478@debbugs.gnu.org>; Mon, 10 Oct 2016 04:15:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=7kC7VtJiwJOJU6JcFEHvtLucRtVyG4C8QuZqjMHmOUM=; b=BIN3eVBnAYyr43wm6ebHKXIaBNJj8oFcolIF69w09dmpQyR0mOPars9mkMO6wwKF76 BKZyYgkkC/tiYvZV1MFk037Id+xm49ppPbXZvS7TfxDG9Ng/cBgGeTkBhzpbAVOWOPNF YwmsFff52neRLKm6MZdn5TSYuu9qJTFfIb21lYLtKNAxVJp3DrbTBCPUotPat6aYpJI+ sJNROnrqznWN8SqjEMAEc53vyF9b+9bggx0ZahVfZz+pGC/6hWefKziZsRIuFZfl2RmQ eu3Nm+Ny3kMx00DgXpxENEyiuFQQSqCqqsj9GDewiCsQ9yXnjsP5vuPOkLUXcTFKuvPO lAsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=7kC7VtJiwJOJU6JcFEHvtLucRtVyG4C8QuZqjMHmOUM=; b=Fl2WFiZiIPjtOLBExpxhUqSTca6XKb6rdOwW/ZaJst/jHQQeqYhvmiU4SrO6IQvpX3 jJQMUgpTWdDsfMPP5cts59ivCDbQZg282Q5rEVkG7IPMhQR6i2KVnKYYulugD9vyNuyK 10PrmApaxZNRLO2vFqokDiuQnoVuX2OweV/M56wcVgT5bacLfYuzc5S6R2wthOFf1N0G L5TUwx200IoFQuGyzMnK+129RZdxOb8BcQfbX7naOqEdUdrLosqSNrJ9pbHwnlu7nxyV m32btdW3YhH8/fKuqr2Ts+HOR9tJAL4pTXa9ydLUNrGkqQNh1bNHKY57FgzWyyElgFc3 VEIg== X-Gm-Message-State: AA6/9RlFpi9IXZJC6Ob7HQS7UhrbOf+ComTTb4G+cyf8CM2f/yufxGlgj2yezRCRrttPUMfv9ROi2tV4DCGezw== X-Received: by 10.55.182.4 with SMTP id g4mr29149774qkf.120.1476098117751; Mon, 10 Oct 2016 04:15:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.87.133 with HTTP; Mon, 10 Oct 2016 04:14:57 -0700 (PDT) In-Reply-To: <83int0ebfz.fsf@gnu.org> References: <8737kuan39.fsf@booking.com> <87zimzke24.fsf@gmx.de> <83int0ebfz.fsf@gnu.org> From: =?UTF-8?B?w4Z2YXIgQXJuZmrDtnLDsCBCamFybWFzb24=?= Date: Mon, 10 Oct 2016 13:14:57 +0200 Message-ID: Subject: Re: bug#24478: 25.1; Regression in 25.1: .tramp_history files are littered in non-$HOME working directories To: Eli Zaretskii Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 24478 Cc: 24478@debbugs.gnu.org, Ted Zlatanov , Michael Albinus X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) On Mon, Oct 10, 2016 at 12:38 PM, Eli Zaretskii wrote: >> From: Michael Albinus >> Date: Thu, 22 Sep 2016 20:02:59 +0200 >> Cc: =C3=86var Arnfj=C3=B6r=C3=B0 Bjarmason , >> 24478@debbugs.gnu.org >> >> =C3=86var Arnfj=C3=B6r=C3=B0 Bjarmason writes: >> >> Hi, >> >> > There's a regression in 25.1 introduced by 1e04ea9 (although that seem= s >> > to also have fixed an issue): Now tramp-histfile-override is set to >> > ".tramp_history", which is good, but I would expect it to be created i= n >> > $HOME on remote hosts. >> > >> > Instead when I e.g.: >> > >> > 1. C-x C-f //ssh::/usr/local/git_tree/sysadmin/ >> > 2. Run e.g. magit to make a commit >> > 3. I end up with: >> > >> > $ echo $PWD/.tramp_history >> > /usr/local/git_tree/sysadmin/.tramp_history >> > $ wc -l !$ >> > wc -l $PWD/.tramp_history >> > 34 /usr/local/git_tree/sysadmin/.tramp_history >> >> Most of the shells I know off use the home directory, when you specify >> just the relative file name ".tramp_history". >> >> > From reading https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20446 and >> > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D19731#56 this seems li= ke >> > an unintended bug. >> > >> > Just setting: >> > >> > (setq tramp-histfile-override "~/.tramp_history") >> > >> > Works for me. Now it's always created in ~. >> >> I have thought about this, when I was fixing bug#19731. Unfortunately, >> there exist shells which cannot expand "~/". Other shells cannot expand >> "$HOME/". So I really don't know a robust default we could offer. >> >> Maybe one should give this problem more emphasis in the Tramp >> manual. But who reads manuals? > > Michael, does the above mean this bug should be closed as wontfix? It > currently blocks a release, so I'd like to resolve this some way soon. I'm the reporter, so I obviously have a dog in this fight, but I don't think that makes sense. This whole facility introduced in the emacs-25 series still seems really broken since its introduction, and the various regressions reported have just resulted in other regressions taking their place, the latest one being discussed in this ticket. Here's a Git history showing the back & forth this has gone through: git log --reverse -p -Gtramp-histfile-override -- 'lisp/net/*tramp*.el' I might have read those commits incorrectly, but it seems to me that: * In emacs-24 there was no way to have a Tramp history file, we'd just specify a HISTFILE=3D/dev/null environment variable. * 9be1538 added an option to change that, so you could have a history file as a file, defaulting to /dev/null, but they way it was implemented caused it to unlink /dev/null, as reported in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D19731 * So Michael patched it to make 'unset an option, which was implemented in 6f8372d, as far as I can tell at this point the facility worked the way it did in emacs-24 again. I.e. no history by default, but no regression with unlinking /dev/null * 'unset was made the default by Michael in 954ca0f, but just a few hours later this was set to t instead in c10828b, which does the same thing as 'unset according to the commit message. I.e. just an internal refactoring. This was followed-up by 24fa4ff to refactor it some more. * It was then changed from t to ".tramp_history" in 1e04ea9. The commit message says to fix https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20446 but I don't see how it could eat the bash history if it's set to not have any history file by default. * Now because it's ".tramp_history" and not "~/.tramp_history" it gets created in random non-~ directories you open with tramp, but more importantly, and I didn't realize this in my initial report, the shell history *might be shared between multiple users*, which seems like a bad security issue. It seems to me that the best solution to this whole problem is to set it to "t" again which would return to the non-history days of emacs-24, since apparently using ~ can't be counted on. In addition, depending on the bug with history potentially being shared between users now that it's being dumped in random potentially shared FS directories they open with tramp, changing this to ".tramp_history" might have caused a security issue worth of a CVE, but I haven't investigated that, but we *certainly* went from no history by default in emacs-24 to history littered in potentially world readable directories in emacs-25. The permissions on the file itself might have mitigated data leakage in some cases, but in those cases it would have blocked other Emacs users from recording their shell history. In addition not all remote FSs tramp supports working with can be relied upon to obey HISTFILE permissions. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 11 09:54:50 2016 Received: (at 24478) by debbugs.gnu.org; 11 Oct 2016 13:54:50 +0000 Received: from localhost ([127.0.0.1]:51867 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btxW6-0002Q8-3y for submit@debbugs.gnu.org; Tue, 11 Oct 2016 09:54:50 -0400 Received: from mout.gmx.net ([212.227.17.22]:57757) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btxW3-0002Pu-Ib for 24478@debbugs.gnu.org; Tue, 11 Oct 2016 09:54:48 -0400 Received: from detlef.gmx.de ([87.146.44.182]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0LqF9o-1bGF2d1bfM-00dlw2; Tue, 11 Oct 2016 15:54:39 +0200 From: Michael Albinus To: =?utf-8?B?w4Z2YXIgQXJuZmrDtnLDsA==?= Bjarmason Subject: Re: bug#24478: 25.1; Regression in 25.1: .tramp_history files are littered in non-$HOME working directories References: <8737kuan39.fsf@booking.com> <87zimzke24.fsf@gmx.de> <83int0ebfz.fsf@gnu.org> Date: Tue, 11 Oct 2016 15:54:36 +0200 In-Reply-To: (=?utf-8?B?IsOGdmFyIEFybmZqw7Zyw7A=?= Bjarmason"'s message of "Mon, 10 Oct 2016 13:14:57 +0200") Message-ID: <87y41vm1nn.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:OZYeYNXhXvmvWpM2jRpxA0w7dkYO1af92NS0Gc7W7wTX3ejFvRh QUWuTJdr+XMqVYt/xsA6UCiG/7hKGIs4v7d2uyd1tjyxUeZcDW3Gl+9pLTVVWPByAgdqXzK KmEtlt0pUBXbhtV2q1t16A2p9NL+Q38VQI/I1q4wV0plWglcPlcX3yoJMvKmxAjbDux2Adp twJzkuA0mkNqBzSKwtF0w== X-UI-Out-Filterresults: notjunk:1;V01:K0:JxGfcEPBLkM=:ZtvWTCN0O2Zp4Wt1Lbe0Rj R1yLNoM6ZgxdBqP2TRhje4gc/cB0igTlWLH10upOO/kK1makPpBcHlT4aOWPZLgoUdEe97cOE 8J3PR3rZkfLJA8jggJC9SULFv3csInTmSY5WQL8R/aaX2B768rK2YJZt+1a7/qM9svyRd/8iW XQQa6MHyFBhRppQkiDS/xrLQSiHRTO4lMo3SnZ+dDVSyPWthqvE2q9NiMiCj9Y4BXDagtbtrO LOKacQ9PoBFd7uO2zf7ckf7tbk3K+Dd+Dgg0ixz0/M287RSBZKUKkPuJwiF42X/mCHtwtrf6E l6nT7n4jO2kqzX4K4RS79iAJLiLcbl8TCYIAHX8lk3B+JpJOnZuPNMLdVDlt0bC1V8ZT+VwFy 8yG8OPo83TUooeaIuoI3nUmtCgK2ToLiUcOTm6FLeA1NST2Em1dWgH1RctzWpZ1vZIHiRqoeG 0MGDBPpU38TJVmYVogX3eb5BZUG1xtLZsWisPQSFwvE3tYopwYdUO78nF8hJQxD3PfMR2pcz+ uS+OZDwAXBGqt9t5b3tfhU0moMS/poUKdtVvWPE1aeQMkDD42BRlx3wkZV5kZtb6rZqMNwein jjusS+bhKWRy342YZnM2jLWrXdVRq9A+8TgWIQ4U2GAjKI3UvPlQvntC4wovoXCYLNUiCCYV2 6tYMydyHSNQr6lCQHle5Ixm5sfIjOI/WEhjvKkLV1T8s83KktJo7utqMdaGfVyu87OS5tMxDr F8fQx5eI6ddWg1Sihf+pyxjiCRo2DGZnx+3AhV+ZTBNDG7hfQWjEEPVFPUySq9ToJ/jl9YOXm 7rgKRnc X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24478 Cc: Eli Zaretskii , 24478@debbugs.gnu.org, Ted Zlatanov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) =C3=86var Arnfj=C3=B6r=C3=B0 Bjarmason writes: Hi =C3=86var, > I'm the reporter, so I obviously have a dog in this fight, but I don't > think that makes sense. This whole facility introduced in the emacs-25 > series still seems really broken since its introduction, and the > various regressions reported have just resulted in other regressions > taking their place, the latest one being discussed in this ticket. I'm also unhappy about this story. I really would like to use a proper and robust default value for this. But there isn't one so far. > * In emacs-24 there was no way to have a Tramp history file, we'd > just specify a HISTFILE=3D/dev/null environment variable. This was introduced back in 2014. Before this change, HISFILE was unset somewhere else in the initialization hand-shake, but at a later point. It didn't work properly then. > * 9be1538 added an option to change that, so you could have a history > file as a file, defaulting to /dev/null, but they way it was > implemented caused it to unlink /dev/null, as reported in > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D19731 Bug#19371 has reported, that there is a bash bug which has this effect. It is no Tramp error, and I would regard this setting still be the best one if possible. But due to this bash bug, this setting would damage the remote system. So we cannot use "/dev/null" as default, even if the bash bug has been fixed. There will still be system in the wild with this bug. > * So Michael patched it to make 'unset an option, which was > implemented in 6f8372d, as far as I can tell at this point the > facility worked the way it did in emacs-24 again. I.e. no history by > default, but no regression with unlinking /dev/null > > * 'unset was made the default by Michael in 954ca0f, but just a few > hours later this was set to t instead in c10828b, which does the same > thing as 'unset according to the commit message. I.e. just an internal > refactoring. This was followed-up by 24fa4ff to refactor it some more. Yes. > * It was then changed from t to ".tramp_history" in 1e04ea9. The > commit message says to fix > https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20446 but I don't see > how it could eat the bash history if it's set to not have any history > file by default. Glenn did report, that in his use case unsetting HISTFILE has changed his ~/.bash_history to a zero size. Not acceptable, and again a special behaviour of bash :-( So the only solution I could thing about is setting this variable to a Tramp specific value. > * Now because it's ".tramp_history" and not "~/.tramp_history" it gets > created in random non-~ directories you open with tramp, but more > importantly, and I didn't realize this in my initial report, the shell > history *might be shared between multiple users*, which seems like a > bad security issue. "~/.tramp_history" would be the obvious choice, but "~/" is not guaranteed to exist. An example is hydra, were the tests failed with this setting. > It seems to me that the best solution to this whole problem is to set > it to "t" again which would return to the non-history days of > emacs-24, since apparently using ~ can't be counted on. How do you want explain it to bash users like Glenn? Their history file will get lost, again. > In addition, depending on the bug with history potentially being > shared between users now that it's being dumped in random potentially > shared FS directories they open with tramp, changing this to > ".tramp_history" might have caused a security issue worth of a CVE, > but I haven't investigated that, but we *certainly* went from no > history by default in emacs-24 to history littered in potentially > world readable directories in emacs-25. I still don't understand why the ".tramp_history" file is spread over the file system. This setting is apllied immediately after connecting to the remote host. I would assume that one lands in the home directory there; ".tramp_history" should be expanded relatively to that directory. Could you show hot it happens to you that it is expanded to another place? Pls run Tramp from scratch, after increasing the debug level by (setq tramp-verbose 6) There will be a Tramp debug buffer, which might tell us what happens. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 11 10:35:02 2016 Received: (at 24478) by debbugs.gnu.org; 11 Oct 2016 14:35:02 +0000 Received: from localhost ([127.0.0.1]:52276 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bty8z-0003Sm-Ui for submit@debbugs.gnu.org; Tue, 11 Oct 2016 10:35:02 -0400 Received: from mail-qt0-f180.google.com ([209.85.216.180]:36509) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bty8y-0003SH-Nb for 24478@debbugs.gnu.org; Tue, 11 Oct 2016 10:35:01 -0400 Received: by mail-qt0-f180.google.com with SMTP id m5so15500344qtb.3 for <24478@debbugs.gnu.org>; Tue, 11 Oct 2016 07:35:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=7wZHHBIFAaRHReoz50fRUSHKn+Xe5OFkt/ciV9Mc+QA=; b=MG4tqcNsmq4/2a5E1Oj8eaBdKjJYSIe88GI2rfd5Wt5FIHmBiwrZB1MZW8HkCFqAJx /m9P7HiI8W443TIcB843Y149RNqR574bNn9wi5fuy5gtSmh1k70ME+HjDZY8/m1MtyDX 0vo/s6Ixq85DePSqGGqB9iNfj5EdS/DQpkP2B6pXTY1YSK25A3aaMuJpxDyYjJvMtDUV TecJxsTRarFuwjRWparbZePe3Br1Vn1A+roU0yZvt333IsUjgNIOQtNGs7jBSN0RMeHp ZOylPkrLdOXaQT/zOQ7xypPL9XCFEjnNua7X3vFpcGKBv1DLp557ioO6rzABvudb2jCN FqLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=7wZHHBIFAaRHReoz50fRUSHKn+Xe5OFkt/ciV9Mc+QA=; b=BxbZuBAc6LKHsgloSIe9kaHBKRbPB65Lt9gr5I0ApSuUzT5fTX4sX5b1fhKFKPVPT6 dPKqjb2IKynbJDXSTssyQdr3exHRiKA5Ow/gU9TgOp1+jYzHfXTZkPimzcTkCWxquPkZ quHt1qeVTSwxI9BvPpy3FKhNApzkqR1uNrDhJ8aGqlNopUuDWG8upWeeHedDcgbGj4pA XMVwJvkQ1Hueo3VseP/6NF+NEikCFrdd/YOIX1/Sk6+9GFfGR+hSuo7c7+OMLlOl36p4 rRaV7NS1O3sbiK6qxAXLHULtqE+F6WnOljgecImW38O9s3Cw0UAfR4APQpqFOxIj4o1S rVZg== X-Gm-Message-State: AA6/9RlJjmP5c3aBRtvdSurtPTRoa0ZK1++tBWyJUTzVm909KXhZUgh9M7dJuAIkIwq61smxMvZskAyX4xgBJA== X-Received: by 10.200.40.91 with SMTP id 27mr3610197qtr.135.1476196491515; Tue, 11 Oct 2016 07:34:51 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.87.133 with HTTP; Tue, 11 Oct 2016 07:34:31 -0700 (PDT) In-Reply-To: <87y41vm1nn.fsf@gmx.de> References: <8737kuan39.fsf@booking.com> <87zimzke24.fsf@gmx.de> <83int0ebfz.fsf@gnu.org> <87y41vm1nn.fsf@gmx.de> From: =?UTF-8?B?w4Z2YXIgQXJuZmrDtnLDsCBCamFybWFzb24=?= Date: Tue, 11 Oct 2016 16:34:31 +0200 Message-ID: Subject: Re: bug#24478: 25.1; Regression in 25.1: .tramp_history files are littered in non-$HOME working directories To: Michael Albinus Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 24478 Cc: Eli Zaretskii , 24478@debbugs.gnu.org, Ted Zlatanov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) On Tue, Oct 11, 2016 at 3:54 PM, Michael Albinus w= rote: > =C3=86var Arnfj=C3=B6r=C3=B0 Bjarmason writes: > > Hi =C3=86var, > >> I'm the reporter, so I obviously have a dog in this fight, but I don't >> think that makes sense. This whole facility introduced in the emacs-25 >> series still seems really broken since its introduction, and the >> various regressions reported have just resulted in other regressions >> taking their place, the latest one being discussed in this ticket. > > I'm also unhappy about this story. I really would like to use a proper > and robust default value for this. But there isn't one so far. > >> * In emacs-24 there was no way to have a Tramp history file, we'd >> just specify a HISTFILE=3D/dev/null environment variable. > > This was introduced back in 2014. Before this change, HISFILE was unset > somewhere else in the initialization hand-shake, but at a later > point. It didn't work properly then. > >> * 9be1538 added an option to change that, so you could have a history >> file as a file, defaulting to /dev/null, but they way it was >> implemented caused it to unlink /dev/null, as reported in >> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D19731 > > Bug#19371 has reported, that there is a bash bug > which ha= s > this effect. It is no Tramp error, and I would regard this setting still > be the best one if possible. But due to this bash bug, this setting > would damage the remote system. So we cannot use "/dev/null" as default, > even if the bash bug has been fixed. There will still be system in the > wild with this bug. > >> * So Michael patched it to make 'unset an option, which was >> implemented in 6f8372d, as far as I can tell at this point the >> facility worked the way it did in emacs-24 again. I.e. no history by >> default, but no regression with unlinking /dev/null >> >> * 'unset was made the default by Michael in 954ca0f, but just a few >> hours later this was set to t instead in c10828b, which does the same >> thing as 'unset according to the commit message. I.e. just an internal >> refactoring. This was followed-up by 24fa4ff to refactor it some more. > > Yes. > >> * It was then changed from t to ".tramp_history" in 1e04ea9. The >> commit message says to fix >> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20446 but I don't see >> how it could eat the bash history if it's set to not have any history >> file by default. > > Glenn did report, that in his use case unsetting HISTFILE has changed > his ~/.bash_history to a zero size. Not acceptable, and again a special > behaviour of bash :-( > > So the only solution I could thing about is setting this variable to a > Tramp specific value. > >> * Now because it's ".tramp_history" and not "~/.tramp_history" it gets >> created in random non-~ directories you open with tramp, but more >> importantly, and I didn't realize this in my initial report, the shell >> history *might be shared between multiple users*, which seems like a >> bad security issue. > > "~/.tramp_history" would be the obvious choice, but "~/" is not > guaranteed to exist. An example is hydra, were the tests failed with > this setting. > >> It seems to me that the best solution to this whole problem is to set >> it to "t" again which would return to the non-history days of >> emacs-24, since apparently using ~ can't be counted on. > > How do you want explain it to bash users like Glenn? Their history file > will get lost, again. Thanks for all the follow-up details. I mainly included all of that to get all this straight in my head, but I was apparently wrong about it being viable to revert to the old behavior vis-a-vis unlinking /dev/null on those old systems. >> In addition, depending on the bug with history potentially being >> shared between users now that it's being dumped in random potentially >> shared FS directories they open with tramp, changing this to >> ".tramp_history" might have caused a security issue worth of a CVE, >> but I haven't investigated that, but we *certainly* went from no >> history by default in emacs-24 to history littered in potentially >> world readable directories in emacs-25. > > I still don't understand why the ".tramp_history" file is spread over > the file system. This setting is apllied immediately after connecting to > the remote host. I would assume that one lands in the home directory > there; ".tramp_history" should be expanded relatively to that directory. > > Could you show hot it happens to you that it is expanded to another > place? Pls run Tramp from scratch, after increasing the debug level by > > (setq tramp-verbose 6) > > There will be a Tramp debug buffer, which might tell us what happens. > > Best regards, Michael. All I'm doing is e.g.: 1. C-x C-f //ssh:puppet-staging:/etc/puppet/environment/aearnfjord/puppet R= ET 2. Run some command e.g. M-x grep 3. This results in: $ wc -l $PWD/.tramp_history 39 /etc/puppet/environments/aearnfjord/puppet/.tramp_history I've snipped away the parts I think are irrelevant because it's very verbose, but this hopefully the relevant tramp-verbose=3D6 output: [I don't have an existing tramp connection at this point, so it connects] 16:24:08.497153 tramp-process-one-action (5) # Looking for regexp "\(^[^#$%= > ]*[#$%>] *\)\'" from remote shell 16:24:08.497248 tramp-process-one-action (5) # Call =E2=80=98tramp-action-s= ucceed=E2=80=99 16:24:08.497369 tramp-process-actions (6) # nohup: redirecting stderr to stdout Last login: Tue Oct 11 16:03:15 2016 from ^M [...] ^[[1;31mPROD^[[m puppet-staging ~ (DUMMY) $ 16:24:08.497762 tramp-process-actions (3) # Waiting for prompts from remote shell...done 16:24:08.498117 tramp-maybe-open-connection (3) # Found remote shell prompt on =E2=80=98puppet-staging=E2=80=99 16:24:08.498251 tramp-open-shell (5) # Opening remote shell =E2=80=98/bin/s= h=E2=80=99... 16:24:08.498387 tramp-send-command (6) # exec env ENV=3D'' HISTFILE=3D.tramp_history PROMPT_COMMAND=3D'' PS1=3D\#\$\ PS2=3D'' PS3=3D'= ' /bin/sh 16:24:08.522855 tramp-wait-for-regexp (6) # #$ 16:24:08.522995 tramp-open-shell (5) # Opening remote shell =E2=80=98/bin/s= h=E2=80=99...done 16:24:08.523075 tramp-open-connection-setup-interactive-shell (5) # Setting up remote shell environment 16:24:08.523157 tramp-send-command (6) # stty tab0 -inlcr -onlcr -echo kill '^U' erase '^H' 16:24:08.543347 tramp-wait-for-regexp (6) # [...] Then this and all subsequent commands end up in my non-~ .tramp_history: $ head -n 2 /etc/puppet/environments/aearnfjord/puppet/.tramp_history #1476195869 stty tab0 -inlcr -onlcr -echo kill '^U' erase '^H' If this isn't the relevant output or you'd like to me to try something else I'd be happy to provide more details. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 11 10:45:08 2016 Received: (at 24478) by debbugs.gnu.org; 11 Oct 2016 14:45:08 +0000 Received: from localhost ([127.0.0.1]:52280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btyIm-0003h0-6g for submit@debbugs.gnu.org; Tue, 11 Oct 2016 10:45:08 -0400 Received: from mout.gmx.net ([212.227.15.15]:51950) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btyIk-0003gD-RQ for 24478@debbugs.gnu.org; Tue, 11 Oct 2016 10:45:07 -0400 Received: from detlef.gmx.de ([87.146.44.182]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0LoVBq-1bEYfx01RC-00gUa1; Tue, 11 Oct 2016 16:44:59 +0200 From: Michael Albinus To: =?utf-8?B?w4Z2YXIgQXJuZmrDtnLDsA==?= Bjarmason Subject: Re: bug#24478: 25.1; Regression in 25.1: .tramp_history files are littered in non-$HOME working directories References: <8737kuan39.fsf@booking.com> <87zimzke24.fsf@gmx.de> <83int0ebfz.fsf@gnu.org> <87y41vm1nn.fsf@gmx.de> Date: Tue, 11 Oct 2016 16:44:57 +0200 In-Reply-To: (=?utf-8?B?IsOGdmFyIEFybmZqw7Zyw7A=?= Bjarmason"'s message of "Tue, 11 Oct 2016 16:34:31 +0200") Message-ID: <874m4jrlli.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:XoDHc3o67QBTKZqlcVEoC53POztTsTvO1C4nsmdXdQ0RjlbEqhO RwbvuwRqcibbez//j2CEGVotVJbBAXVCiBoG/6JbtX8DHbFjRq14nmI8EYuAhbx7IBuj0+c xpCG5rR4JfYro7rKF1dsRP1ZiffW9x/nAkDAeNNfR5/GX7Dj3Hk4gF8Y8i2LYxxZq6ywrFH aWNN5uHwK8JOG/jqm9+IQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:V5g+y6JO7/k=:1dieb0ZKGwTQ2l8wrRsXpb R1MWcLMvh+C/3Mem4jRlj3k40GKqHG0+WkSW7GVyaEtocpJRzMJqlMFtigMHlH//ov/QQtyL6 HUvnPgMM4YmnkYld+mAPb4toe7oMQyLgaJmlWVFEiz42lN8QyU+QqZ93O333zp30WkKXnwniq obe0/G2g+ZTVtuvD+A71k5Y94QEfAZ2rp+AZSpRGLXurI147rJrk0N0rYq/HcfnSEtCuceL5X Ik5svqvjbt7svm25utqFmt6V7idl78mVp4QVJNxh4MmfgTv3/NbWXJLIeY75zE7jDYuLsQNZJ yHdiFYtL8IRGx6s3rxMD9Gbh5mfufS1ZJFkmWsZ0Y3jXufMrcvKI7LCkLx2PymFw3sIP+VKfm Kp0I+Y7akQJQ/q3hJqV9oxhkrcKlVDvaI3HHF5e8LtnoS1We9xTTALCVknicGqlOzx+njtOOh Wow9pyKoLu9DzZo+FQPtCTAnyVoGwzUVQSjXqdh5ZTLSs3PAccX8qZOrbIclMMiyWCEt61P/k 37J8NGxDUOBkSgDI2PbTGwSoFbP4h8rlsyWhbI6RCCYy4s+QpOdkDuFiGCGE5XOvfQWsMm3hb oZdiTMonqpPi0a2m+7PIKZog7ne8qJuULAATbS2oh2OcCh2By0nQamOc03FV/R5ZMxAEQpvDS c3gMuY+bGWhEauGjrLoxW/mVysBqoSS3TY33NJRq7Kx9lg7gzJhGI/f7sgFyryQMbf2j4vlcL sD2lWP++/4g2h7Wq3Fh8j2wxza0F+Fma+r7vwzPEf010YeZvIBKtWWwn/LTzFBDfDYxMrWCE4 pBAgGd0 X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 24478 Cc: Eli Zaretskii , 24478@debbugs.gnu.org, Ted Zlatanov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.2 (/) =C3=86var Arnfj=C3=B6r=C3=B0 Bjarmason writes: Hi =C3=86var, > All I'm doing is e.g.: > > 1. C-x C-f //ssh:puppet-staging:/etc/puppet/environment/aearnfjord/puppet= RET > 2. Run some command e.g. M-x grep > 3. This results in: > $ wc -l $PWD/.tramp_history > 39 /etc/puppet/environments/aearnfjord/puppet/.tramp_history OK, so this is about running an asynchronous process on the remote host. This shall help me to reproduce it locally, thanks for the recipe. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 11 10:48:05 2016 Received: (at 24478) by debbugs.gnu.org; 11 Oct 2016 14:48:05 +0000 Received: from localhost ([127.0.0.1]:52284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btyLd-0003lY-LI for submit@debbugs.gnu.org; Tue, 11 Oct 2016 10:48:05 -0400 Received: from mail-qk0-f182.google.com ([209.85.220.182]:33750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1btyLc-0003l4-C9 for 24478@debbugs.gnu.org; Tue, 11 Oct 2016 10:48:04 -0400 Received: by mail-qk0-f182.google.com with SMTP id n189so38050216qke.0 for <24478@debbugs.gnu.org>; Tue, 11 Oct 2016 07:48:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=oRw5sKNJrjLLmusZQ8vxkMtI4T4q4K5XP8Go7Oepoqs=; b=qfR/Qi/G+WR4gvIxaaXWLp944er8M49MgZbZegsNzQFjKA92yaEZPIH5OV6p+IOITw WCGsl5ky+7OrRGnICtGv0Fwbu2ffZiLonQQfvvVwxPiNijhPabeFano9/bSgow+DizrG K9BRuHwAw0R1nrLWwUwLEmyUKa8WmoP/7S1tCa4hKUana46r+zOpG9/gJ5P/MVKIcEH3 vHUus6W+STmY80vo5bNA1vtzNLibKH+Y0fIlhWaCINylU0t7AOtoFr7OQtRGqCG+t63a KMIOGN5MbaY9UXZnlJNbY6yCygNaEbboPquqyOy8T+MdI1AxZ2Nh1ocjvP9KypfO2B/d X4gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=oRw5sKNJrjLLmusZQ8vxkMtI4T4q4K5XP8Go7Oepoqs=; b=jSWmVClYk34ZiRpqx3kYw/0MoCLlTUKmDcTVoKl1DmaeTbNQfur/WopeMWxXYN5daJ BvcEjUIxEl7qdT3IPY8wIUMDp/HVSAkfSD3+VD251lSSCL4YKedSDlZzWgP2XmO4z2rc ZcELRU4Gpibg/Tkhy7Y2FAKpuEcBYvAN+CChF/hJpFakMkDaJU2zRXSMHoEjUcDYIw5H ORO5kOFaWxJ+F1NR7jKcuRWGOjePK4tBDWftCvBbWd/gEcTVamJi7OYxIvRSxYJE2J2l Aamcur6HxwpyL+hbv0lNS0LjAZjez/X+f7OteKAZMr6o0i+DwINvJXR8Czm9JD7ftzeP Pp1A== X-Gm-Message-State: AA6/9RnIJPzqgu3N5WtK8wJcYaNUhj+BHhwvby61BKBSMNEeGSj5C7uwnho3IE3xuIr0Mee5Z3DD5Y9bDg1NHQ== X-Received: by 10.55.33.101 with SMTP id h98mr4208707qkh.201.1476197278972; Tue, 11 Oct 2016 07:47:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.87.133 with HTTP; Tue, 11 Oct 2016 07:47:38 -0700 (PDT) In-Reply-To: <874m4jrlli.fsf@gmx.de> References: <8737kuan39.fsf@booking.com> <87zimzke24.fsf@gmx.de> <83int0ebfz.fsf@gnu.org> <87y41vm1nn.fsf@gmx.de> <874m4jrlli.fsf@gmx.de> From: =?UTF-8?B?w4Z2YXIgQXJuZmrDtnLDsCBCamFybWFzb24=?= Date: Tue, 11 Oct 2016 16:47:38 +0200 Message-ID: Subject: Re: bug#24478: 25.1; Regression in 25.1: .tramp_history files are littered in non-$HOME working directories To: Michael Albinus Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 24478 Cc: Eli Zaretskii , 24478@debbugs.gnu.org, Ted Zlatanov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) On Tue, Oct 11, 2016 at 4:44 PM, Michael Albinus w= rote: > =C3=86var Arnfj=C3=B6r=C3=B0 Bjarmason writes: > > Hi =C3=86var, > >> All I'm doing is e.g.: >> >> 1. C-x C-f //ssh:puppet-staging:/etc/puppet/environment/aearnfjord/puppe= t RET >> 2. Run some command e.g. M-x grep >> 3. This results in: >> $ wc -l $PWD/.tramp_history >> 39 /etc/puppet/environments/aearnfjord/puppet/.tramp_history > > OK, so this is about running an asynchronous process on the remote > host. This shall help me to reproduce it locally, thanks for the recipe. If you mean the M-x grep from the .tramp_history (in that /etc/puppet/... directory) it starts much earlier than that, i.e. Tramp's own post-connection commands go to that file, and then the last command is my M-x grep: $ cat .tramp_history #1476195869 stty tab0 -inlcr -onlcr -echo kill '^U' erase '^H' #1476195869 echo foo #1476195869 PS1=3D///dfb559542f43800587d648842ba11aba\#\$ PS2=3D'' PS3=3D'' PROMPT_COMM= AND=3D'' #1476195869 echo \"`uname -sr`\" 2>/dev/null; echo tramp_exit_status $? #1476195869 echo foo ; echo bar #1476195869 set +o vi +o emacs #1476195869 PATH=3D/usr/bin:/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export= PATH #1476195869 mesg n 2>/dev/null; biff n 2>/dev/null #1476195869 stty iutf8 2>/dev/null #1476195869 echo \"`tty`\" 2>/dev/null; echo tramp_exit_status $? #1476195869 while read var val; do export $var=3D$val; done <<'73f386707e9600ff260fa9d80e5e5557' PAGER cat INSIDE_EMACS '25.1.1,tramp:2.2.13.25.1' TERM dumb LC_CTYPE '' TMOUT 0 LC_ALL en_US.utf8 73f386707e9600ff260fa9d80e5e5557 #1476195869 unset correct autocorrect MAILPATH MAILCHECK MAIL HISTORY CDPATH #1476195869 cd /etc/puppet/environments/aearnfjord/puppet/ && exec <<'73f386707e9600ff260fa9d80e5e5557' env PS1\=3D/ssh\:puppet-staging\:/etc/puppet/environments/aearnfjord/puppet/\ \#\$\ TERMCAP\=3D COLUMNS\=3D106 INSIDE_EMACS\=3D25.1.1\,compile /bin/sh ( git --no-pager grep -E -i -n -- hi ) ) id 1buKAP-0006SW-5M for submit@debbugs.gnu.org; Wed, 12 Oct 2016 10:05:57 -0400 Received: from mout.gmx.net ([212.227.17.20]:51624) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1buKAM-0006SG-RV for 24478@debbugs.gnu.org; Wed, 12 Oct 2016 10:05:55 -0400 Received: from detlef.gmx.de ([87.146.59.234]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MbJTE-1bbYrP070e-00IpBc; Wed, 12 Oct 2016 16:05:47 +0200 From: Michael Albinus To: =?utf-8?B?w4Z2YXIgQXJuZmrDtnLDsA==?= Bjarmason Subject: Re: bug#24478: 25.1; Regression in 25.1: .tramp_history files are littered in non-$HOME working directories References: <8737kuan39.fsf@booking.com> <87zimzke24.fsf@gmx.de> <83int0ebfz.fsf@gnu.org> <87y41vm1nn.fsf@gmx.de> <874m4jrlli.fsf@gmx.de> Date: Wed, 12 Oct 2016 16:05:44 +0200 In-Reply-To: (=?utf-8?B?IsOGdmFyIEFybmZqw7Zyw7A=?= Bjarmason"'s message of "Tue, 11 Oct 2016 16:47:38 +0200") Message-ID: <87mvi9ll1j.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:bnRxN+/5keZ8eXDJRIHLIm5MRKMumGGq9j3x0NxmlYEaJJksv2J XM+qUIWPUk7Iap4FeBSEml6i71giLJxql/L1t7AVFLPmpXqqmKqPvTYHsgyyZV1PUmxCnj7 vPevFc4vnWJYwjiKQwP5dcyLRN11FWFEfj8JFsJk2p6DW1TR7L3Q9GybJmoaGvC4VALJAH0 BbMi075ne0DfS2LB+Qb+g== X-UI-Out-Filterresults: notjunk:1;V01:K0:CpzwZSIyHP8=:OLUHrsP+Anfr0T2zzkqUG0 7QRz8ATe7JJgcak2ztfoYduuibnnTIH2hFkKuQmgHCwfbPHtO/3cMV67spgV5SuGJR92sUoBu O1mvg6YipThiMki9bDMOlVMyBNkMNZrGqKBcVvo20MdSK6pN87YuffFLge39l9uoC5aNBzOTM hhL4MCz62LUleAtAeV7fq5/i5ZM5p1W8q8j5r7vWHkCd4o6f/zQgoZFRpLrVthD+6UErjbWVy QTo1PbZeUCNehOpup54jvMymiTBb2g3nfMOIVEYs+KmIBp9v8N7J6XkV56yofOwLv2evtGwOm HL/nAF0lCm6fsiFvBOoMUiz1KLVVbFecuUOT59HYJI0FwF/MzDRFGP8teHr5qfoC4ut/xd2o9 qO51iZgZK2Hes5lWX+FYNBJ5T7Ma/AsORKySDpdMrXsjIKt9Eamx9IMj56tb2Zy1jND44Evwl cPP4KY/QrspWMFtuto8SO0AeCaM370XnRHOFCNL/zB/oW/9kOWZnTL2z9lfzm7afPtT843Z+e 8QNoUA/xIQdSJz0LihIVJOF1lsWsoO95BeqnVlBo3GSI0kfB1uYrUQaicHHNdrV3tltof2d9F x98KNSKbrtT497HM4bxjXiugxuIqgZiwKJg05ScsJYc+20W06QbvLNge65HKFbrFPA6qc1tAO jPLkMsav7jr7MqRqkdT4napezZCOaj414rLKevOHxHxmDDFECZpVRbzE/1K7oxVDKRpFYuWza 6HCtagoBo3V6mz4Dc4GG7JmudVp/aQcQ/UUfyFoIGfdczadRJSnI9Xi3Dx/hmJCPqx/pVlw7r 8fWKvrM X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24478 Cc: Eli Zaretskii , 24478@debbugs.gnu.org, Ted Zlatanov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) =C3=86var Arnfj=C3=B6r=C3=B0 Bjarmason writes: Hi =C3=86var, >>> All I'm doing is e.g.: >>> >>> 1. C-x C-f //ssh:puppet-staging:/etc/puppet/environment/aearnfjord/pupp= et RET >>> 2. Run some command e.g. M-x grep >>> 3. This results in: >>> $ wc -l $PWD/.tramp_history >>> 39 /etc/puppet/environments/aearnfjord/puppet/.tramp_history >> >> OK, so this is about running an asynchronous process on the remote >> host. This shall help me to reproduce it locally, thanks for the recipe. > > If you mean the M-x grep from the .tramp_history (in that > /etc/puppet/... directory) it starts much earlier than that, i.e. > Tramp's own post-connection commands go to that file, and then the > last command is my M-x grep: Thanks. So it is related to `tramp-open-shell', which comes just prior these commands. I've tried it with several configurations, but I could not reproduce the problem locally. I suppose this behaviour is related to the used shell on the remote host. What is /bin/sh on your remote machine? So again, could you pls start a new Emacs, set tramp-verbose to 6, and connect to the remote host where it happens?. And I need the full debug buffer then, because there are a lot of other information which could tell us what's up. If you have privacy concerns showing this publicly, pls send it to me directly. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 13 10:51:52 2016 Received: (at 24478) by debbugs.gnu.org; 13 Oct 2016 14:51:52 +0000 Received: from localhost ([127.0.0.1]:54336 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1buhMO-00089j-7O for submit@debbugs.gnu.org; Thu, 13 Oct 2016 10:51:52 -0400 Received: from mout.gmx.net ([212.227.15.15]:62793) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1buhMN-00089W-5o for 24478@debbugs.gnu.org; Thu, 13 Oct 2016 10:51:51 -0400 Received: from detlef.gmx.de ([87.146.45.35]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0M6RiN-1awNb33ooF-00yQYu; Thu, 13 Oct 2016 16:51:43 +0200 From: Michael Albinus To: =?utf-8?B?w4Z2YXIgQXJuZmrDtnLDsA==?= Bjarmason Subject: Re: bug#24478: 25.1; Regression in 25.1: .tramp_history files are littered in non-$HOME working directories References: <8737kuan39.fsf@booking.com> <87zimzke24.fsf@gmx.de> <83int0ebfz.fsf@gnu.org> <87y41vm1nn.fsf@gmx.de> <874m4jrlli.fsf@gmx.de> <87mvi9ll1j.fsf@gmx.de> Date: Thu, 13 Oct 2016 16:51:41 +0200 In-Reply-To: <87mvi9ll1j.fsf@gmx.de> (Michael Albinus's message of "Wed, 12 Oct 2016 16:05:44 +0200") Message-ID: <8737k08fpe.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:dAhcaiditZ9uutYLqFCw4wgRKpWiBCxsBD0TJl90quKg0CKAUxR YkLh0paVtO0CrLfKGNtFqAZQBI6KbNbtT+Y514UMcAibTOn6Lj2X8vFehx2PAszBJC0DFqq wDtFjmzFOLvogZ11H38gJp0eX3Dt3bCMZMh7VuxTjo4vayLQP2ThbbOIH5feMWSenDS4PtK 1c7XodldGvyEpifFVRnRQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:rDPRDY11yHo=:qv5dMnCgEU6by8wsqO5t8I 6kQMys5sMnlR97Wcxg6WR2I4WpxGH21UhMRLehRqw8H5I9RzZflq2msgeQn/V4wD/US5xblUP xVEPNd3S4P/4HTXYCugPcDdhgEsR3E9RaK6EvzQplQXFiBqDIgGf3cjlO7s5/P/v6LCBkPW1p xLvd/OtTEWOfUE3iiX6jfr6ZmOM9JneHaYlfpSE7RjEXT+Vv9NfZa/hq1RYulGEByEWN9Mfye BINV+f27MpQlcBnRx4VIKGTEDpCxuCidf7oVBdrvU86TtGWMCUd0Dq1gkzrYfLhF0OfzNVx1/ iOPn/dJ4uwB8s2fgWBxrv46cAJ2EmWODRuu3SmCyrhEBijrzf9rX1/awv9SwJR/XBaOFuFQf3 RbjdRamNiFJvjfVyc24+hQBNw0vzMV9dh5fthRXaE6JX6TQYnGVAskmwY6JAW7xM8iluFLY2L RioqQpsea0lnxNrzQspnPNwqGx6bJWE5B1Q7t9XWOSEMYRjRpUJ9Elz47b3E0raUcrsSUl0zk qkQSoYqHVoMF7dgXOzueTY8Ymq+Tb+w2bjn1CHAYiogbyzMbQdhy4377AOToU+7t5ziZfck5t z3e7kMdyNpSykbtpthR6RQWId2q9MYCXluwtGh8rD6nVLDHq7JSzwqc0fcXqTbBPHt/XtUpw4 MEHcstp4BCAxNdk9rrsdBvhXV882kQOnhw0s6lXyTI6KdHJqO/tw/EMcikxS27Nk688nhAkmG 8KeKseNkgeSGR01YuSiSRInEkv6sioE0SUz+5e3h+cDk5hMTOdYuJd28c2xigVJO8RrZDnmQM M7V1v1E X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24478 Cc: Eli Zaretskii , 24478@debbugs.gnu.org, Ted Zlatanov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Michael Albinus writes: Hi =C3=86var, > I've tried it with several configurations, but I could not reproduce the > problem locally. I suppose this behaviour is related to the used shell > on the remote host. What is /bin/sh on your remote machine? For the records, today I could reproduce the problem. I had to set /bin/bash explicitely as remote shell. Let's see, whether I could find a proper solution, compliant to all bug#24478, bug#20446, bug#19731, bug#17295. And it is always bash, which causes problems! Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 13 11:18:40 2016 Received: (at 24478) by debbugs.gnu.org; 13 Oct 2016 15:18:40 +0000 Received: from localhost ([127.0.0.1]:54340 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1buhmK-0000OS-Cq for submit@debbugs.gnu.org; Thu, 13 Oct 2016 11:18:40 -0400 Received: from mail-qk0-f182.google.com ([209.85.220.182]:36405) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1buhmJ-0000OE-Co for 24478@debbugs.gnu.org; Thu, 13 Oct 2016 11:18:39 -0400 Received: by mail-qk0-f182.google.com with SMTP id o68so141755179qkf.3 for <24478@debbugs.gnu.org>; Thu, 13 Oct 2016 08:18:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=lIeIfTjPOTv2Oeb4ATth4NoZPV5cIAAxQDjLI0/9f0c=; b=Xb6GmNXptOmFfBwkwdvOyBCP/4NgzfSigl0DCnIQFWtPZCb6nT381rubyWPuVTtvQY f5FtXVN74oa5KInfrz+laON3LWiFvw543EA/1KS2Qbp93CjQoKMtzRA5fh19sUr4+kQZ IDnmto0xrWk8jXLMJ2nuDDLbMmpt58SdEbtyE2EAFqKgM1yw3HC8PTXZ/VDyuyLyhDKw CuNZELoKSSMFFEwkEUay/J98x96bEpvh4bGbuBNHl8e8dpccWZtWR/Shqwr9W3kKdInt RZJXCeKn/gq6q0/ch/kKrg45lJV1+3QOjI7qrMUIpKqHVaXBIKONtQffYstkRFWW4GDJ VGEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=lIeIfTjPOTv2Oeb4ATth4NoZPV5cIAAxQDjLI0/9f0c=; b=X6SKbVnyPLXG3ost7VfuasLJGoX4MXtstZiYXqwIpmQLxXBe5fv/1SNmPuR8OJYNo/ h7uRvCoM/M7ykw4qOpVPyvFpvZgbOelJXEgrFlulGMiMLQUTthPaPXevmtTBvvANIyuy UhuoKU8WAN6P6unf+zzT497ypwNRNr4EoHtikiuZodUntPnguQgqPx6nKPuEWRyPY50n kbT4kAtO4m1jFyzd5QTGml8JNAfOprSN9BuIDORkgTOkaQFdNIUHfnmjcKPs8VV/ctD3 2j3Gz3PdwY7Q3D7i92xUqEoyK3togKIkg2Fvw+Vr5lT8rROMmuoLTy7wZtHzXhc3gdUi HQQQ== X-Gm-Message-State: AA6/9RleYZrxlHwDeWf+jCa+traZCoJepbh3Op/NWMvTeuqZl6EHA+v2TenQFe8J9iQZQDU7uFMOCvYmoRiTiw== X-Received: by 10.233.222.71 with SMTP id s68mr8165773qkf.203.1476371913975; Thu, 13 Oct 2016 08:18:33 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.217.79 with HTTP; Thu, 13 Oct 2016 08:18:13 -0700 (PDT) In-Reply-To: <8737k08fpe.fsf@gmx.de> References: <8737kuan39.fsf@booking.com> <87zimzke24.fsf@gmx.de> <83int0ebfz.fsf@gnu.org> <87y41vm1nn.fsf@gmx.de> <874m4jrlli.fsf@gmx.de> <87mvi9ll1j.fsf@gmx.de> <8737k08fpe.fsf@gmx.de> From: =?UTF-8?B?w4Z2YXIgQXJuZmrDtnLDsCBCamFybWFzb24=?= Date: Thu, 13 Oct 2016 17:18:13 +0200 Message-ID: Subject: Re: bug#24478: 25.1; Regression in 25.1: .tramp_history files are littered in non-$HOME working directories To: Michael Albinus Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 24478 Cc: Eli Zaretskii , 24478@debbugs.gnu.org, Ted Zlatanov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.5 (/) On Thu, Oct 13, 2016 at 4:51 PM, Michael Albinus w= rote: > Michael Albinus writes: > > Hi =C3=86var, > >> I've tried it with several configurations, but I could not reproduce the >> problem locally. I suppose this behaviour is related to the used shell >> on the remote host. What is /bin/sh on your remote machine? > > For the records, today I could reproduce the problem. I had to set > /bin/bash explicitely as remote shell. > > Let's see, whether I could find a proper solution, compliant to all > bug#24478, bug#20446, bug#19731, bug#17295. And it is always bash, which > causes problems! Hi, sorry about not getting back to you earlier on this bug, so just to confirm you don't need to be to reproduce this anymore? The system I'm ssh-ing into is a CentOS (a RedHat derivative) machine, on RHEL/CentOS/Fedora: $ file /bin/sh /bin/sh: symbolic link to `bash' $ rpm -qf /bin/sh bash-4.2.46-20.el7_2.x86_64 I.e. their /bin/sh is always bash, as opposed to say the more minimal dash shell on Debian. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 13 12:30:43 2016 Received: (at 24478) by debbugs.gnu.org; 13 Oct 2016 16:30:43 +0000 Received: from localhost ([127.0.0.1]:54442 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1buiu3-0002FL-9V for submit@debbugs.gnu.org; Thu, 13 Oct 2016 12:30:43 -0400 Received: from mout.gmx.net ([212.227.17.20]:58485) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1buiu1-0002F7-JN for 24478@debbugs.gnu.org; Thu, 13 Oct 2016 12:30:42 -0400 Received: from detlef.gmx.de ([87.146.45.35]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0M6fXs-1ayKvW1hXo-00wXbB; Thu, 13 Oct 2016 18:30:34 +0200 From: Michael Albinus To: =?utf-8?B?w4Z2YXIgQXJuZmrDtnLDsA==?= Bjarmason Subject: Re: bug#24478: 25.1; Regression in 25.1: .tramp_history files are littered in non-$HOME working directories References: <8737kuan39.fsf@booking.com> <87zimzke24.fsf@gmx.de> <83int0ebfz.fsf@gnu.org> <87y41vm1nn.fsf@gmx.de> <874m4jrlli.fsf@gmx.de> <87mvi9ll1j.fsf@gmx.de> <8737k08fpe.fsf@gmx.de> Date: Thu, 13 Oct 2016 18:30:32 +0200 In-Reply-To: (=?utf-8?B?IsOGdmFyIEFybmZqw7Zyw7A=?= Bjarmason"'s message of "Thu, 13 Oct 2016 17:18:13 +0200") Message-ID: <8760owky8n.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:bOibQSvzJY0auQ9R6HZYcE5K9Vi5oWYtxfqgPqd+FXY0Zdv0L9g K0a8+HG8wFyHuXBHgNgntSkGHSEppBIizTen57gJ5Ocnqdnpiio8uSb2WdhWsxUM96wPkal id1Ubgl6jCTUldyWzQjzp/R06XSYWhJtwoInInp4Ae6Be715lObdLwXKbelCCBsa1sM3jE/ 05IrHTNkZKGZqSCSMhB9Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:gBt5Zi/DCCU=:PkCOses0If0VTCeJ+REMig bvF27yz5lSI/KAdtOt5b1r761vJ2Vf4HAycDN7/ZtvA/CDdsqPeOgxLlZf7Kvk+scPJni7ttP s3bdFPcbi/GnhJPQQ4I5JP8T+JbCHCG68JD3WYtwbEMMBfCjCINB3u44Kk9vGdp85+bC+oNWN 72VLKbOE98yQ+0MdFAHpYDfFj5JrPsYxmInbMb1fB3zW1DpL08Ci4hJzcxZ5uTAUXfm00G45U 8ZMCKqSUZOZRUrwqu5vjOqSnZElRXO9Rae1Sfrn7+CZWwHrXRbGCE6DWqGgrnuJhSSmrsmdlV Ep1lDVblvQJ91xd5wOH9EbhhDDHrjg2R3pDQDJfP9hu/c95MCByQPkJiM5096s5RTXhbItipv dOS5pzz/KKnK/9Noaf9DuxrhOPbz6dO6B3Z1DMWnUI53d7R2jZMYyzYUdUVJttHa282lhZLLs uryxqsdtwuTQ9TKU0sBawt0bSD4JWtq/9GVhgmckVx5Z4a4wUTniiiNug+ebtVyKfP/4ktCpl 6SrsQg5ttFWA0Foc1l3thFYR1BAIB9EFk8mdpdK2Sf8BYrVff20a073qJiJR5vGdCGtiqzMj6 2aBmt4aj1Cs74eO/kjQ4xS+ff8yAzj0DZZ8Ou3ARnnbe0lhZP2fuQu07SDoXVB6VHuexpPJCS PD1E6GzBMUARQi3W5wzV4X9nIzw3Rr2eN3RFnYA39kGOsZN3+TCaLLt6ajpVJrfFeg5qrTJ4H w/U04fnJ4p7Z4q9hXh/koDjPROz62H2+cTw/EP8t7VQNlzPisuKISdu1NHwBvSDTd6oRqsSCX 9tr0e6y X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24478 Cc: Eli Zaretskii , 24478@debbugs.gnu.org, Ted Zlatanov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) =C3=86var Arnfj=C3=B6r=C3=B0 Bjarmason writes: Hi =C3=86var, > Hi, sorry about not getting back to you earlier on this bug, so just > to confirm you don't need to be to reproduce this anymore? No, I shall be able to work on this with the information I could retrieve locally. > I.e. their /bin/sh is always bash, as opposed to say the more minimal > dash shell on Debian. Indeed. All the bugs I've quoted were related to bash. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 15 06:38:28 2016 Received: (at 24478) by debbugs.gnu.org; 15 Oct 2016 10:38:28 +0000 Received: from localhost ([127.0.0.1]:58928 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bvMMF-0002FO-P5 for submit@debbugs.gnu.org; Sat, 15 Oct 2016 06:38:28 -0400 Received: from mout.gmx.net ([212.227.15.19]:63794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bvMMD-0002F4-Kf for 24478@debbugs.gnu.org; Sat, 15 Oct 2016 06:38:26 -0400 Received: from detlef.gmx.de ([87.146.57.45]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0LcT2M-1ce4Zr2XTi-00jqfE; Sat, 15 Oct 2016 12:38:17 +0200 From: Michael Albinus To: =?utf-8?B?w4Z2YXIgQXJuZmrDtnLDsA==?= Bjarmason Subject: Re: bug#24478: 25.1; Regression in 25.1: .tramp_history files are littered in non-$HOME working directories References: <8737kuan39.fsf@booking.com> <87zimzke24.fsf@gmx.de> <83int0ebfz.fsf@gnu.org> <87y41vm1nn.fsf@gmx.de> <874m4jrlli.fsf@gmx.de> <87mvi9ll1j.fsf@gmx.de> <8737k08fpe.fsf@gmx.de> <8760owky8n.fsf@gmx.de> Date: Sat, 15 Oct 2016 12:38:15 +0200 In-Reply-To: <8760owky8n.fsf@gmx.de> (Michael Albinus's message of "Thu, 13 Oct 2016 18:30:32 +0200") Message-ID: <871szhsxrc.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:9eo8+cXsPADrRRGfg4VvYNV+cU3DOegH+fdtPbvkut8NuecgNNA HiYhD/EoEYQ2Z+PNfXEZvdqIt2B9GH4udffMLKP3oNfa/vowdu/bcjP4qAPfzER11BnA0t5 WtDJYbR5a8ypjpTrnupKTGi5EmH2MQ6PRO3LYQoaxBUv6SV5umg0sFyJjwb4nzz8aOIXPqR JkPm3wcotaFqnCaxwT21g== X-UI-Out-Filterresults: notjunk:1;V01:K0:Wmk9b2qcNSk=:woGqjycd3S0NBQF41LcvUY K9ZygdqPaPBl2OQ3JgFYG1gJT7SNADl5zQqzWAZbKdwJ5spqU60FU3GHR/0ge6egjPNn9m64D 041BimOnAi3RdPn1eivuWHkCeuJHc0ZWumCkXJg828fLaDCypAVoHdHaEWsrZXb7A0Gk8Z0mQ JFtbC2hi0eAnHGYQmg/EBZha16O0iECe7lrtW5I8TUMy2lCE/fDE3Zx+3otG8qrYJ29xzvXcn 7aijsve2AZBjN1sYD5If80p+Ckm6eaDAr+C1TC3o/zHl8vWVqmZ4vFEWNcb8aEYv8nyM6/Dw7 z564esvXY2dxp0Cpl12Uo3jMhUD74hW+vEVLGOSpkUDlzrhFMArhL4m+QP6djvXozOFlPijSp Iix2Ui1JNs2kfoXFBcALK4a3RN4zTYsYgwP9AMRh9KeIaRJBWFhnwOSmIt9wdovIl+StV2pi1 zQv1qGk4/N2v3aMhGZ3y4+21gDtP+11ytsC+ScgNFiPfxpJ7GJezLxXxbp++Qt+r3OsKkX88+ fyu3zGGg3tnUU6WphN4rqC9mhZhOi9V3U3HWPoFM09ow24yVnZGZo7wxctV2J0hJQnSFB0SoM xGxp29giBikWdeuedbMEQvXALIvGJ2UeJz3/S1tS8yGW9JEDIZaB8F+6a4pQ9c06Uz/ppV0LU i5wxxJX0EjCVh4D4AqgoZAGidxrH9bjeoHBme36UlSrOrRdBkDUV8MlD7/rQs8AGzYfBUxPPj dPUSdMtFir0BKYKNSIHKDK328brkvXelMxEjgx9s6tO85iYG+aPlMu1MFq3dR3HLN+J/DMMUl 7v7ZT16 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24478 Cc: Glenn Morris , Eli Zaretskii , 24478@debbugs.gnu.org, Ted Zlatanov X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Michael Albinus writes: Hi =C3=86var, >> I.e. their /bin/sh is always bash, as opposed to say the more minimal >> dash shell on Debian. > > Indeed. All the bugs I've quoted were related to bash. Well, I've partly reverted the fix for bug#20446. This shall fix the problem for you. See appended patch. Glenn, you have reported bug#20446. I believe that I haven't reintroduced your problem, but I would appreciate pretty much if you could cross-check this. The point is NOT to set $HISTFILESIZE. Best regards, Michael. --8<---------------cut here---------------start------------->8--- *** /home/albinus/src/emacs-25/lisp/net/tramp-sh.el.~4f406e9813e073b675bb45= 613bf1dd111eec2368~ 2016-10-15 12:34:57.847998549 +0200 --- /home/albinus/src/emacs-25/lisp/net/tramp-sh.el 2016-10-15 12:28:04.562= 663524 +0200 *************** *** 67,85 **** :type 'string) =20=20 ;;;###tramp-autoload ! (defcustom tramp-histfile-override ".tramp_history" "When invoking a shell, override the HISTFILE with this value. When setting to a string, it redirects the shell history to that file. Be careful when setting to \"/dev/null\"; this might result in undesired results when using \"bash\" as shell. =20=20 The value t, the default value, unsets any setting of HISTFILE, ! and sets both HISTFILESIZE and HISTSIZE to 0. If you set this ! variable to nil, however, the *override* is disabled, so the ! history will go to the default storage location, ! e.g. \"$HOME/.sh_history\"." :group 'tramp ! :version "25.1" :type '(choice (const :tag "Do not override HISTFILE" nil) (const :tag "Unset HISTFILE" t) (string :tag "Redirect to a file"))) --- 67,84 ---- :type 'string) =20=20 ;;;###tramp-autoload ! (defcustom tramp-histfile-override t "When invoking a shell, override the HISTFILE with this value. When setting to a string, it redirects the shell history to that file. Be careful when setting to \"/dev/null\"; this might result in undesired results when using \"bash\" as shell. =20=20 The value t, the default value, unsets any setting of HISTFILE, ! and sets HISTSIZE to 0. If you set this variable to nil, ! however, the *override* is disabled, so the history will go to ! the default storage location, e.g. \"$HOME/.sh_history\"." :group 'tramp ! :version "25.2" :type '(choice (const :tag "Do not override HISTFILE" nil) (const :tag "Unset HISTFILE" t) (string :tag "Redirect to a file"))) *************** *** 4113,4119 **** (format "HISTFILE=3D%s" (tramp-shell-quote-argument tramp-histfile-override)) (if tramp-histfile-override ! "HISTFILE=3D'' HISTFILESIZE=3D0 HISTSIZE=3D0" "")) (tramp-shell-quote-argument tramp-end-of-output) shell (or extra-args "")) --- 4112,4118 ---- (format "HISTFILE=3D%s" (tramp-shell-quote-argument tramp-histfile-override)) (if tramp-histfile-override ! "HISTFILE=3D'' HISTSIZE=3D0" "")) (tramp-shell-quote-argument tramp-end-of-output) shell (or extra-args "")) *************** *** 4885,4891 **** (if tramp-histfile-override (progn (setenv "HISTFILE") - (setenv "HISTFILESIZE" "0") (setenv "HISTSIZE" "0")))) (setenv "PROMPT_COMMAND") (setenv "PS1" tramp-initial-end-of-output) --- 4884,4889 ---- --8<---------------cut here---------------end--------------->8--- From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 17 07:27:24 2016 Received: (at control) by debbugs.gnu.org; 17 Oct 2016 11:27:24 +0000 Received: from localhost ([127.0.0.1]:36118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bw64i-0004mR-Fl for submit@debbugs.gnu.org; Mon, 17 Oct 2016 07:27:24 -0400 Received: from mout.gmx.net ([212.227.17.22]:64083) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bw64h-0004mA-BT for control@debbugs.gnu.org; Mon, 17 Oct 2016 07:27:23 -0400 Received: from detlef.gmx.de ([87.146.48.35]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MQu9K-1cOBcR2nmQ-00UJk9 for ; Mon, 17 Oct 2016 13:27:17 +0200 Date: Mon, 17 Oct 2016 13:27:16 +0200 Message-Id: <87zim39pwr.fsf@gmx.de> To: control@debbugs.gnu.org From: Michael Albinus Subject: control message for bug #24478 X-Provags-ID: V03:K0:ETaPR+dQU12oKKJM5T/HadfFDVOnKfaEwhcXfaMT/CGjYH9JbBK Gh/b7iXXuq5zpwrEpi2OOtHNmnMcndiJ7zb4mf0Yo4LXDxAzsvxqdOEotlsOX4ym/1IlczN LEmlJLkN7ZXQoazpfvwA9MsZkvPJM778Yi7br6YCivE+t2QTPMPfVzu+EO88lIWfB5aPTBP Tu085zrzsDa1IxX+mg9JQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:Vgwli1yCC/c=:ma6Pj+Tw1WCEk3jR1hj12p KfMR4R1hv6jUJAMGMHyqr2rCPkdg8FA/LFcAfxBgFgbP7s7c9w9euK5Gb3FHJRIS1uai/otYP lUmsRY9vhT0NM24ERw/Lv/ceXVNZiEJhBg4wDcHEKKqBo0ffA5hnL3yJC6qpecV0pBE/pzb3M bjTb+wjf2y/YDDwVeBXVAHEKYOKvYhEp+FEjcg/33stvnT/lbWgD+FGrfiBZD4tCNMsvweav2 2KZD8yIk8g6nCyBI90A0wykQYW9c0rmp1H6eAMNg6Ew0b28hxY7Zhv1ccFIJH4WCyFiRyEHsU k4gzP3fayJe4cpN9JZ6NQeG8Fdiq4HuOe20TNUnvVY6GZsW27lfE6mwZF66GfvW9xfb5B/N5z 20dVI7b2z3gM4uDyaTnUUzF/IaK9odF3TPtP4uTMrClu5QpiFEOmygVIMv73P/YKdADvsS6mB 2gMlwnBUg9hsix6AoMmw34tjUmEFk5//qRzsHhfUK1Hv7Wos1+rLveVHpsDDQFik8jfoYqw9s 3BSoKYLVIscaqZxUCyuQdmUcXHKMX8RFhqXgF/ztxoII40FPsBy4F/amnLLybnSbYgR1iZfhH KK7THGWULL1VC2N1lAzO+LiWqY2HyeSeWYI9vtGeflQMXrg/RmIemwJKu2NXDdjY5atVQ3C9F Zcavo9QULg0Fo0F/4/+tr0BWhqk3cZxez/tD71N1MgMCEbu2oQvLbvhRniV3s79FgqSg4eeMd S6kDQAe2V+V36KvqaCNCC6eZJXhWnbho7SNVZrZYM1V/T54jgFV9INzUDZY= X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) tags 24478 patch From debbugs-submit-bounces@debbugs.gnu.org Sat Oct 22 12:55:17 2016 Received: (at 24478) by debbugs.gnu.org; 22 Oct 2016 16:55:17 +0000 Received: from localhost ([127.0.0.1]:46524 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bxzZl-0002Wa-K0 for submit@debbugs.gnu.org; Sat, 22 Oct 2016 12:55:17 -0400 Received: from mout.gmx.net ([212.227.15.18]:63203) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bxzZk-0002WO-EJ for 24478@debbugs.gnu.org; Sat, 22 Oct 2016 12:55:17 -0400 Received: from detlef.gmx.de ([93.209.76.42]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0LcBBl-1cgiJE3mvl-00jbET; Sat, 22 Oct 2016 18:55:10 +0200 From: Michael Albinus To: Glenn Morris Subject: Re: bug#24478: 25.1; Regression in 25.1: .tramp_history files are littered in non-$HOME working directories References: <8737kuan39.fsf@booking.com> <87zimzke24.fsf@gmx.de> <83int0ebfz.fsf@gnu.org> <87y41vm1nn.fsf@gmx.de> <874m4jrlli.fsf@gmx.de> <87mvi9ll1j.fsf@gmx.de> <8737k08fpe.fsf@gmx.de> <8760owky8n.fsf@gmx.de> <871szhsxrc.fsf@gmx.de> Date: Sat, 22 Oct 2016 18:55:08 +0200 In-Reply-To: <871szhsxrc.fsf@gmx.de> (Michael Albinus's message of "Sat, 15 Oct 2016 12:38:15 +0200") Message-ID: <874m44gw7n.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:aJWs4G0f6veBXQ4g1RMQlszesauHQuuRnQ9CAxE2jWW9hccNXKZ 5qF/C19RrjhFIJkFozXfeL522iYl06OZkq49RI+YFSk7lgIhTYteZjvSNToAsfF4J54oDVP dHCRqhm4KEqvRrg9zQmS73MFDNYctWvO/ZBeRGZsvvfjgqoV8Y1HWq5YLFtWLr7R6UaLLao woYQF24lNkRRt7RadZQmg== X-UI-Out-Filterresults: notjunk:1;V01:K0:5MsQN3aIAJc=:HqhwdSBwvsWXi0vMz2tnEf 9NnBG8Hv7X6PB0/JuAVGZJAYpbgSDeBvmIjVNTTXxhff36narbz/GNEDNjOlchb35ZELX3roq F4+s4Hrdq5UdXVzUgvJBsAUYPoV1oBulC5vQJxVkRPnCl1dWH9FPAMAEko7SjhmY+TXMrAt+M zniUmmcubdE9In9AbrHrce2sRJ64+ckJCBIG68hqAQ+Py5/cAMpxnclQXxdWljnAVrSiVAP80 SDFXip11H2syZQZ3xqtcKaVGRNGijgCMZp/KvVz4dlGcfYABOmpRTKcaS/gkBubNzf9J9krSX pIoFd1EiF8YGs5n4JSqg0kES7yO2ZAep/LtvcNWt1W2HnJcI/ZCAr8yj8NBBp+6j1jvtGCNrR xk2DdtIWJ+1vvmzDaldDI1jqzIPGCRWKQtd494PcnxBcw3EA7iv0TeDZq9lFuXaHM8I/Awsm0 I6xF0eWTVPXTISRD66Gyw7z9DdjSF7OLnhy9uigcepMleCMU1y7efMToM4lq5nPDoWXmeypuR L/bIfYaB/LfbWxR1OOinNjxP0fkrL2AaTSK1m0h6mB5FZtFVX29MTk5gKciJWnDpzlkX6ARkf 2ijUAuvyBU9dU5p4aecRxVpbBwVT6dQMRaUUhivDrLuQgtKv97li1uHkpLGoPOo4LWcqOtc72 bj42hWHhKRA8WCw+uG4Dni9AxSbyuHelvJ14tgnb6BuIhES9q7nowJd63+WCgGs7q5FA10Fee z762av8U7E+Odjx2w1EEyBkazRRTg/25e9azcwHpS7/GgM/2utpFU3CifMUd41EyduaNxbfT3 9+jdof1 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24478 Cc: 24478@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Michael Albinus writes: Hi Glenn, > Glenn, you have reported bug#20446. I believe that I haven't > reintroduced your problem, but I would appreciate pretty much if you > could cross-check this. The point is NOT to set $HISTFILESIZE. Ping. I would really like to get your feedback, before I push the patch to the emacs-25 branch. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Sun Oct 23 19:29:53 2016 Received: (at 24478) by debbugs.gnu.org; 23 Oct 2016 23:29:53 +0000 Received: from localhost ([127.0.0.1]:50696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bySDB-0006qz-Gi for submit@debbugs.gnu.org; Sun, 23 Oct 2016 19:29:53 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58832) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bySDA-0006qU-1I for 24478@debbugs.gnu.org; Sun, 23 Oct 2016 19:29:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bySD4-0000mM-9G for 24478@debbugs.gnu.org; Sun, 23 Oct 2016 19:29:46 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-3.2 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39904) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bySD1-0000ly-Fd; Sun, 23 Oct 2016 19:29:43 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1bySCz-00031B-AN; Sun, 23 Oct 2016 19:29:41 -0400 From: Glenn Morris To: Michael Albinus Subject: Re: bug#24478: 25.1; Regression in 25.1: .tramp_history files are littered in non-$HOME working directories References: <8737kuan39.fsf@booking.com> <87zimzke24.fsf@gmx.de> <83int0ebfz.fsf@gnu.org> <87y41vm1nn.fsf@gmx.de> <874m4jrlli.fsf@gmx.de> <87mvi9ll1j.fsf@gmx.de> <8737k08fpe.fsf@gmx.de> <8760owky8n.fsf@gmx.de> <871szhsxrc.fsf@gmx.de> <874m44gw7n.fsf@gmx.de> X-Spook: Capricorn outage DNDO Strain gamma Forte corporate X-Ran: MyM$,^@$ITNeimGIU+LSO6ouTDu5AK4^7&ok_44$Yg5/`{M!P-XzsMr.M/3O"SWUZEm#c) X-Hue: yellow X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sun, 23 Oct 2016 19:29:41 -0400 In-Reply-To: <874m44gw7n.fsf@gmx.de> (Michael Albinus's message of "Sat, 22 Oct 2016 18:55:08 +0200") Message-ID: <3g4m421w62.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: 24478 Cc: 24478@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.3 (-----) Applying the patch causes bug 20446 to recur. From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 24 03:09:58 2016 Received: (at 24478) by debbugs.gnu.org; 24 Oct 2016 07:09:58 +0000 Received: from localhost ([127.0.0.1]:51541 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1byZOQ-00047Q-Gx for submit@debbugs.gnu.org; Mon, 24 Oct 2016 03:09:58 -0400 Received: from mout.gmx.net ([212.227.17.22]:57488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1byZOO-00047C-KT for 24478@debbugs.gnu.org; Mon, 24 Oct 2016 03:09:56 -0400 Received: from detlef.gmx.de ([87.146.56.199]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0MV6PJ-1cPp203U8j-00YQlK; Mon, 24 Oct 2016 09:09:49 +0200 From: Michael Albinus To: Glenn Morris Subject: Re: bug#24478: 25.1; Regression in 25.1: .tramp_history files are littered in non-$HOME working directories References: <8737kuan39.fsf@booking.com> <87zimzke24.fsf@gmx.de> <83int0ebfz.fsf@gnu.org> <87y41vm1nn.fsf@gmx.de> <874m4jrlli.fsf@gmx.de> <87mvi9ll1j.fsf@gmx.de> <8737k08fpe.fsf@gmx.de> <8760owky8n.fsf@gmx.de> <871szhsxrc.fsf@gmx.de> <874m44gw7n.fsf@gmx.de> <3g4m421w62.fsf@fencepost.gnu.org> Date: Mon, 24 Oct 2016 09:09:48 +0200 In-Reply-To: <3g4m421w62.fsf@fencepost.gnu.org> (Glenn Morris's message of "Sun, 23 Oct 2016 19:29:41 -0400") Message-ID: <87h982nryb.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:6SYhChJisT3rQ6Wi6BWbMHwUb42E7oxiTTJ1w4fzOufvVGlC6Me j6mgPNf46Z9l1zWoN9O9TmIVDIh+OeQXow1ZfdYlNzwyssyoWih7k4+VV2cDSAoXNo37x/O qAMgaaT8yvcsTRv8ea5Q6lohEqivRX6tYS3+0duBCFUDnJuoVwvKu1k3Cn2ImGzCFY8SDIA ltWcn6mt9ttOu+EiB8RHA== X-UI-Out-Filterresults: notjunk:1;V01:K0:SurwiSSGS5U=:zEN2eddSmAPEcfWD1nr2J+ vOCmvZti5G2HApjFCd97Z8rXvJmwtmG82Y8IPsUHi1yQFkO7SPLk4YmobJ5mkp0N2qaIukKSR cSEVI8jNf95E41l75fnXxGM0VyjokcFgy3DrayTpPkfNuAYJB1aJlwiKJbBTOWT0r9LkNlSTs CMLaNVPKZQBqhdDeRgIr2kcHIxEkqi6j5aka9uUBDoYMRzrHrd5bIyAk5aoMzx4i5JIWnvj0z Au9gwOSqLJdMVVhz6iGajIJbzeWmZ6jtkkft3zR8lVsyMFSrmSgfD0l9M6F0SbSzkHjZoAcqv tstZBLI7cus4J5WgVoie88yH+gkz2VUK2MyLH+PbRCWzYhw0aQC1MpJRU0LjWd8g4Vb4uZ126 eKd5Lm8+vc6gNAPmZ8L0bUWqdfnOcQ1rXLk4EPfp7QY/dDMe5GKT1OgTNc0SEZKk8kmMHFGv3 LcCwXLXjUImI8pn9LfX26q06BZJV/Me07u8yO0ppKDcdO/qupqSPrj3BRiiPWK2ts3TUApxtA QlTvN7X6YxnqJDkRGwBIaPy3M6WPUvSRN9a8w5wjH9HnsKCeXLjm018jLrSkgIRQ6Y6mpnISc Uh4B5dwKrF+SGxz+/CS8oLVTHLuaLuTghOz4mca5oGfjH+Xz1TgtdZ1aKsnQqFSuzyllLO9rV UvJaJY9aQ6FMVq7GGk7XRrMQndLQwFDSmBLQd2BUoLHQ26YBiHDy19xDkvWJAiANT28fWA7pR jVw7X3OSf5xuiOSnLaWEz1rcPBhdibwYMw6v/XQTKu5efmco0BUdljeXTdO5YNaxnhVeKixRd x2oz0t8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24478 Cc: 24478@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Glenn Morris writes: Hi Glenn, > Applying the patch causes bug 20446 to recur. Thanks for the feedback. So I need to find another, more complicated, solution. Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 24 09:10:57 2016 Received: (at 24478) by debbugs.gnu.org; 24 Oct 2016 13:10:57 +0000 Received: from localhost ([127.0.0.1]:53003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1byf1h-0006DN-Gn for submit@debbugs.gnu.org; Mon, 24 Oct 2016 09:10:57 -0400 Received: from mout.gmx.net ([212.227.17.21]:57180) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1byf1c-0006D7-L2 for 24478@debbugs.gnu.org; Mon, 24 Oct 2016 09:10:52 -0400 Received: from detlef.gmx.de ([87.146.56.199]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0LdHLB-1ch6f32jOj-00iWYu; Mon, 24 Oct 2016 15:10:40 +0200 From: Michael Albinus To: =?utf-8?B?w4Z2YXIgQXJuZmrDtnLDsA==?= Bjarmason Subject: Re: bug#24478: 25.1; Regression in 25.1: .tramp_history files are littered in non-$HOME working directories References: <8737kuan39.fsf@booking.com> <87zimzke24.fsf@gmx.de> <83int0ebfz.fsf@gnu.org> <87y41vm1nn.fsf@gmx.de> <874m4jrlli.fsf@gmx.de> <87mvi9ll1j.fsf@gmx.de> <8737k08fpe.fsf@gmx.de> <8760owky8n.fsf@gmx.de> Date: Mon, 24 Oct 2016 15:10:38 +0200 In-Reply-To: <8760owky8n.fsf@gmx.de> (Michael Albinus's message of "Thu, 13 Oct 2016 18:30:32 +0200") Message-ID: <87y41d51v5.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:olyMv5rBa41N0cvfY7dNPq3cHncDMqkx0QI5QCbdaXHiF4v3tBZ dI9x3XgGiBYl158URnjG0ofFX5FPsGnxjq3zbJbT+81tdWzeSBDy5cS2xBDsgW7nVhOAnf2 J7E6q6uQTsEETc5qbPrDflVwtwEQGTx/XBTLLAr5jPsSiiObNPM/dS9k0+X3KaUJ17cCvgt 9ITrIUq9XueTrQh29a6pQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:HL5IWLOBOpU=:IG32LDhP0VhuVFaRkopI/8 2ZtYjoFLY1q7iCYH4uikKoDOUbvTXNX0r/rhqeH4NEhg5B1kM4kxZ3yCUvgqXhWQPk8zJq8/8 TCWLzR8IQ+gxjIndiTw12AxK8x4KLFW4WKhsLn962lVoRSrgvSHdQ4Yexd+b9bgIIFtC/HXIM W3lhRblMo1oEtxHsN1BHaoWDjbA97IPoQ6jVCDJC+x3pgmCdI9WBz4oS/LI40NYT7i1a7fSN+ oeAJi7GujsB31n9onN25myd9xklIDV26ZSJ/gyMNAFr9zOuIEV5miHdoMSoBfmzbNbqO5lAjI 6N7vIsXPVevhDcdwk+iSnF14hzx1MeelPQ3AAbzduk9iJc83vZ756upWTJkgrso3Ie5CIuxWm K7QGDmJ355BM/4ZwyCLBpcwvOKZE8pw1SeE3nkIeL/Ap7aGA90Y99EMsTShhYXtytEvGRz85r +vkexOzvFj47uA1di7iY9dLeLyLhSb0T2FOqwFDKhvFXwawfQIBO8Q1Ct+ipJYUldx1NAkGRR sF4z/oZFyZ38NbDVkZ1QvqlM4nJSH5VA5/QFoxDpcHvruJgsMkORT4nR9t+Ax097XE+eVD3nL s2fcpMzzoQg05DcqNUcxkFo4xIBWh9BeaitWcHS0fXlm0vsf2pLOs8zEgQuhEnc2xWKE826uN oBwMNhSTNNJVRfhWDsYOwIWdDROrz/41URbuVT7s0J5IsbuRAjgs4JH+WuCAlTojYIgWbjedz +rd9ZyrWf+huCUBstlOMMP6RsRoy3Hh0GPam0c/PEydhLp94/b+DcQWdFI+bik16YGtg/+2bc wWY4yII X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24478 Cc: Eli Zaretskii , 24478@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Michael Albinus writes: Hi =C3=86var, > No, I shall be able to work on this with the information I could > retrieve locally. Since I couldn't apply the other change, setting `tramp-histfile-override' to t, I've changed it now to "~/.tramp_history". Plus a short test whether this (or something else the user decides) is a proper setting. Hope this fixes the problem finally. Could you, pls, crosscheck in the emacs-25 branch? Best regards, Michael. From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 24 09:55:13 2016 Received: (at 24478) by debbugs.gnu.org; 24 Oct 2016 13:55:13 +0000 Received: from localhost ([127.0.0.1]:53581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1byfiX-0007PM-QG for submit@debbugs.gnu.org; Mon, 24 Oct 2016 09:55:13 -0400 Received: from mail-qt0-f179.google.com ([209.85.216.179]:35367) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1byfiS-0007IX-Vz for 24478@debbugs.gnu.org; Mon, 24 Oct 2016 09:55:08 -0400 Received: by mail-qt0-f179.google.com with SMTP id f6so132299331qtd.2 for <24478@debbugs.gnu.org>; Mon, 24 Oct 2016 06:55:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=c0WcsyewpPouwP5JJmjCqMkxFqPaTIiMLetep6BF/JI=; b=De7EMWd1E3/TP7QZeGvlA7pUwPUkRL/tU4jR51bozv051HjKAgmjxt2zz5KEZGXGPZ UF304YoybC0AGRN09gFoXTN6ZAyeyUmpGoK4wTalz40jm+IFwHrtptqdAQ/eB/VE5Xv/ 2iEjn7l3cjj7rEUF7zc/Ie3AWdiQvaw8t16Bb0+ABsYteksUftsH3YBqj3twlR9BAI7z X14KU3YNw0Ce9AdFn5X60N/7ZV2qADdQWsPD9Oq3S05PVdgMTVGUDtJFJNGIA1omeLC6 lNZTv5MZzFYOC4PrxqEHoXtCAlX670jTbVmJlDjGPCJdXzpOrn2bnoXLNEPHTSVS4C0t axmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=c0WcsyewpPouwP5JJmjCqMkxFqPaTIiMLetep6BF/JI=; b=erotYPlXQSacrTbAbii2gANI4/BZcAclR/p6SE1ZDEaPft3SefOLpDFF4BkkH7jzKA YWJCGc/a65C7tWZvdZ6y3a/+uo9tVufEcajiB64oX3LqVar54wXIqBufp6lqIYc9l56v RglbpPlxK5UbLStogJDDigRIyXA4Nb6bFUye1qJ0dWwtXqpAhRmkgGfW/LwmZVJx4qat fr/+kImXwfecEONfbr0TDo/sbvKn80lnc+Z5PH59/ghUq5urGZqs6cgVoiWQIvpfNIO1 QsmoR7lMID0OKSWQdzEkI6r0B95Qsf2wOBdygL1asyZ1gvpql9Bw2wzAzQOZhlTsxDLk jRFg== X-Gm-Message-State: ABUngvfvXJBwWj+el19Lf8+4AscB8dhva7n1is7aX3fWMdOvHk97Wr9SHxqa+SX1YHp8NXVRLiJyCdPHW17qUQ== X-Received: by 10.200.38.19 with SMTP id u19mr15467393qtu.75.1477317299436; Mon, 24 Oct 2016 06:54:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.55.210.3 with HTTP; Mon, 24 Oct 2016 06:54:38 -0700 (PDT) In-Reply-To: <87y41d51v5.fsf@gmx.de> References: <8737kuan39.fsf@booking.com> <87zimzke24.fsf@gmx.de> <83int0ebfz.fsf@gnu.org> <87y41vm1nn.fsf@gmx.de> <874m4jrlli.fsf@gmx.de> <87mvi9ll1j.fsf@gmx.de> <8737k08fpe.fsf@gmx.de> <8760owky8n.fsf@gmx.de> <87y41d51v5.fsf@gmx.de> From: =?UTF-8?B?w4Z2YXIgQXJuZmrDtnLDsCBCamFybWFzb24=?= Date: Mon, 24 Oct 2016 15:54:38 +0200 Message-ID: Subject: Re: bug#24478: 25.1; Regression in 25.1: .tramp_history files are littered in non-$HOME working directories To: Michael Albinus Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24478 Cc: Eli Zaretskii , 24478@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Mon, Oct 24, 2016 at 3:10 PM, Michael Albinus w= rote: > Michael Albinus writes: > > Hi =C3=86var, > >> No, I shall be able to work on this with the information I could >> retrieve locally. > > Since I couldn't apply the other change, setting > `tramp-histfile-override' to t, I've changed it now to > "~/.tramp_history". Plus a short test whether this (or something else > the user decides) is a proper setting. > > Hope this fixes the problem finally. Could you, pls, crosscheck in the > emacs-25 branch? Looks good to me. The ~/.tramp_history value you changed it to has been what I've been setting this to locally to work around the issue. Thanks! From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 24 10:32:43 2016 Received: (at 24478-done) by debbugs.gnu.org; 24 Oct 2016 14:32:43 +0000 Received: from localhost ([127.0.0.1]:53832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bygIt-0008ML-DN for submit@debbugs.gnu.org; Mon, 24 Oct 2016 10:32:43 -0400 Received: from mout.gmx.net ([212.227.15.15]:60380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bygIr-0008M5-Rq for 24478-done@debbugs.gnu.org; Mon, 24 Oct 2016 10:32:42 -0400 Received: from detlef.gmx.de ([87.146.56.199]) by mail.gmx.com (mrgmx001) with ESMTPSA (Nemesis) id 0LyEJp-1d24wQ10vl-015VpI; Mon, 24 Oct 2016 16:32:35 +0200 From: Michael Albinus To: =?utf-8?B?w4Z2YXIgQXJuZmrDtnLDsA==?= Bjarmason Subject: Re: bug#24478: 25.1; Regression in 25.1: .tramp_history files are littered in non-$HOME working directories References: <8737kuan39.fsf@booking.com> <87zimzke24.fsf@gmx.de> <83int0ebfz.fsf@gnu.org> <87y41vm1nn.fsf@gmx.de> <874m4jrlli.fsf@gmx.de> <87mvi9ll1j.fsf@gmx.de> <8737k08fpe.fsf@gmx.de> <8760owky8n.fsf@gmx.de> <87y41d51v5.fsf@gmx.de> Date: Mon, 24 Oct 2016 16:32:34 +0200 In-Reply-To: (=?utf-8?B?IsOGdmFyIEFybmZqw7Zyw7A=?= Bjarmason"'s message of "Mon, 24 Oct 2016 15:54:38 +0200") Message-ID: <8760ohrf5p.fsf@gmx.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K0:7wx6jf5S4FRJ5+jnd2ZKnc+qOZ0H+WCU//hwHMlYzJAlS49507H TbEYvhhl9qP/Z9AfjtD9vyJVokgly+w1IOTf1gS6mHNnyqPjaOXtycxxj2gzb14o/IosIQY qcsuv+dNTb3h7inX2j9cDOinZNRH1s2rO7Yg0KZJa9wINQ3jBNHkLlfi64X+T8sSj/SxhPw WxaNUFfjxW3Ci0m9aPhgg== X-UI-Out-Filterresults: notjunk:1;V01:K0:NJHfq0qKQSo=:pO/Xniuy1Es1vzvPHJEu1x cRrvciT+/mCfA7pjfDdK8Qh8pvS9U63YVhbtTaUSPYv8E4ZfDF0s2/QYhhdV0muHlPiEJRY4Q gLFYf8I074mFagMormYiKf/c0geCmZQhms7cXJlrNr8idU6lcEnYz5QD/RpMolrqfK12C709G xMOaLLsw2/3o970NYLu9oZwWlADuizRL+BBYB/J6J9KIreQAwWadhXQLJy/O6blep/UFUXxea bZArc4/tebnQp6ZhSnodndvIOC04crI0u5W/ptjS6ZAul03hWOvYDIH+StoWzEPNHraYSPyJ/ 41/aFO66b0pliCFL8isLH4DdoWRgKrGE13fsM13JPkLSCjcNsRVMS09K6lnJ+Cj3Rs3mAbYb8 68eFJFNKZCUmje7dumJZHaPPm8TeA5JwfYB1Bo3SnUhSjam74dCQOC1/3uWvNsVwDhsrAJT1s bHFVvv30KZIU7DuHkuxTD1JcdcbDCx26KH2YxvTQa1CSTeZH+ehKbHm0lEO4BKgkBFoi3JhSU R+B/fPUm4arQiOi/eAcj4WfVESAHFrPI6j2IJ89+2GFrhe17+bmAelKTzTU9IiYP0nphZgiOQ 4hMW6+i6u9MhB9FQCqbUF6VO0Oq6HiOcblH3Yu27oAwbgUDGmXpJhqg4yFZZtYRpHG35WBftF /8lMfdRAaCA6gTpVu8B32wobpffgsafMOhEXv+vGEB4oAMpwIhklBs23uvA0+wWjK/ihd3Upc LWV6DKAJO1ouo5s7H2xBOArYqPFJcf90xgBtH++ewCbjIt5ydCUnd0nRWxEZy7Ekrb0Hn7j0o Wqk3AdL X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24478-done Cc: Eli Zaretskii , 24478-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Version: 25.2 =C3=86var Arnfj=C3=B6r=C3=B0 Bjarmason writes: Hi =C3=86var, >> Hope this fixes the problem finally. Could you, pls, crosscheck in the >> emacs-25 branch? > > Looks good to me. The ~/.tramp_history value you changed it to has > been what I've been setting this to locally to work around the issue. I know. But I also want to ensure, that the additional code does not break anything. Hmm, so what. I mark this bug as closed, hoping the problem does not appear, again. And I'll watch hydra next days; being curious whether it breaks there. > Thanks! Best regards, Michael. From unknown Mon Aug 18 14:20:49 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 22 Nov 2016 12:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator