From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#49786: 28.0.50; [PATCH] package-install shouldn't change default-directory Date: Sat, 31 Jul 2021 09:19:56 +0300 Message-ID: <83sfzvovhv.fsf@gnu.org> References: <87h7gb39bt.fsf@dick> <83zgu3poh1.fsf@gnu.org> <875ywrb7dl.fsf@dick> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37096"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 49786@debbugs.gnu.org, ioannis.kappas@gmail.com To: dick Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 31 08:21:11 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m9iMw-0009LH-A5 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 31 Jul 2021 08:21:10 +0200 Original-Received: from localhost ([::1]:48224 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m9iMu-0002Ko-9w for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 31 Jul 2021 02:21:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48842) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m9iMo-0002Jm-48 for bug-gnu-emacs@gnu.org; Sat, 31 Jul 2021 02:21:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49815) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m9iMn-0003jP-Sl for bug-gnu-emacs@gnu.org; Sat, 31 Jul 2021 02:21:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m9iMn-00084U-Kp for bug-gnu-emacs@gnu.org; Sat, 31 Jul 2021 02:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 31 Jul 2021 06:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49786 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug patch Original-Received: via spool by 49786-submit@debbugs.gnu.org id=B49786.162771241830949 (code B ref 49786); Sat, 31 Jul 2021 06:21:01 +0000 Original-Received: (at 49786) by debbugs.gnu.org; 31 Jul 2021 06:20:18 +0000 Original-Received: from localhost ([127.0.0.1]:33128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m9iM6-000837-Hr for submit@debbugs.gnu.org; Sat, 31 Jul 2021 02:20:18 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:50960) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m9iM4-00082v-Tm for 49786@debbugs.gnu.org; Sat, 31 Jul 2021 02:20:17 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:42492) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m9iLy-0002yb-Tt; Sat, 31 Jul 2021 02:20:10 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4590 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m9iLy-0000cU-N4; Sat, 31 Jul 2021 02:20:10 -0400 In-Reply-To: <875ywrb7dl.fsf@dick> (message from dick on Fri, 30 Jul 2021 21:27:02 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:210958 Archived-At: > From: dick > Cc: Eli Zaretskii , 49786@debbugs.gnu.org > Date: Fri, 30 Jul 2021 21:27:02 -0400 > > Ah, my apologies. The sole mention of `buffer-file-name` in `lisp-mnt.el` > describes a hack that seemed custom-made for skirting the carriage return > problem. > > IK> Could you please elaborate a bit more what issue does this cause? > > Now that the default-directory can change mid-stream in > `package-install-file`, I will have to amend something that relied on it being > constant. It should be okay, particularly if bug#49788 gets merged. Does this mean that if bug#49788 is fixed, we can close this bug without any further action? Or are there any further issues caused by set-visited-file-name that you are aware of?