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#51758: 27.2; Backtrace put in home dir, not current dir Date: Tue, 20 Sep 2022 18:48:24 +0300 Message-ID: <83czbqvygn.fsf@gnu.org> References: <87bkrajkwj.fsf@gnus.org> <83r106w6x9.fsf@gnu.org> <87bkragpra.fsf@gnus.org> <83h712w2c8.fsf@gnu.org> <877d1ydro5.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29137"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51758@debbugs.gnu.org, scotto@sharpleaf.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 20 22:05:39 2022 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 1oajUx-0007KS-RN for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Sep 2022 22:05:39 +0200 Original-Received: from localhost ([::1]:43424 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oajUw-0005Ie-Sp for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Sep 2022 16:05:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47444) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oafUc-00074t-HJ for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2022 11:49:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60286) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oafUc-0003By-7j for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2022 11:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oafUc-0006hU-3U for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2022 11:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Sep 2022 15:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51758 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 51758-submit@debbugs.gnu.org id=B51758.166368890725691 (code B ref 51758); Tue, 20 Sep 2022 15:49:02 +0000 Original-Received: (at 51758) by debbugs.gnu.org; 20 Sep 2022 15:48:27 +0000 Original-Received: from localhost ([127.0.0.1]:59364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oafU2-0006gJ-Hn for submit@debbugs.gnu.org; Tue, 20 Sep 2022 11:48:27 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oafU0-0006fw-Ge for 51758@debbugs.gnu.org; Tue, 20 Sep 2022 11:48:25 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58396) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oafTu-00038p-Mv; Tue, 20 Sep 2022 11:48:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=BbgF4VCW4JVU2M0H8OMvx2asa5tE0kirpSnjhgv2dQw=; b=poXpHpP6lwdj 9S8jHVTEL+p5mxd5hecg16QqD54AJTUXFC/1i0Mn42L2SlHD3MQSn2Ixn1FvbzXUOsDOhCwV1Bh7+ pJKOrXQrb6S1edQG71QoVAyRbKMLO7jFcHmUE86jCyT9xgdxrtYNpHIiIJy3szqfBIpRvFcgJKiv/ 4YvIoJs5KkKxqA+E3qVy1odlWKDAWsvOPp3x+HBkjBXNnv/vlA4niPy+LRHSuq0KSMtNYuplRNKwV WxzhxV08U8Wmfqfpmn06uPmIXNvppwuQIHS+lk4hyjxw1wV3STj0OuaNJnrH4uIV9CsC9kdKD0ZJe SUYHLdcG62+LBM4mdzAkhg==; Original-Received: from [87.69.77.57] (port=2541 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 1oafTt-0001se-Ci; Tue, 20 Sep 2022 11:48:18 -0400 In-Reply-To: <877d1ydro5.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 20 Sep 2022 16:52:26 +0200) 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:243218 Archived-At: > From: Lars Ingebrigtsen > Cc: Scott Otterson , 51758@debbugs.gnu.org > Date: Tue, 20 Sep 2022 16:52:26 +0200 > > Eli Zaretskii writes: > > >> That's right, I thought that the "current directory" was the > >> `current-directory'. Like most people would, I'd > >> guess. > > > > What is your interpretation of current-directory in this case? Where > > do you think that is? > > "The value of `current-directory' where the user was when the crash > happened" would be the natural interpretation. You mean default-directory, I presume? The problem, as I explained, is that there's a different one in every buffer, and there could be many of them. As far as users are concerned, Emacs doesn't have a well-defined notion of "current directory", so saying "where the user was" makes little sense with Emacs. > Why not just change the message to "the directory Emacs was started > from"? That should be clear. I'm okay with that, I just fear that many users won't know where that is. On MS-Windows, the starting directory can (and usually is) determined by the desktop shortcut used to start Emacs, and people rarely are aware where is that.