From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Scott Otterson Newsgroups: gmane.emacs.bugs Subject: bug#51758: 27.2; Backtrace put in home dir, not current dir Date: Tue, 20 Sep 2022 07:13:36 -0700 Message-ID: References: <87bkrajkwj.fsf@gnus.org> <83r106w6x9.fsf@gnu.org> <87bkragpra.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000048752605e91c71e9" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7966"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 51758@debbugs.gnu.org, Eli Zaretskii To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 20 20:02:19 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 1oahZb-0001sn-9l for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Sep 2022 20:02:19 +0200 Original-Received: from localhost ([::1]:51220 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oahZa-0007R6-BJ for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 20 Sep 2022 14:02:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40688) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaeEJ-0005up-S7 for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2022 10:28:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60085) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oaeEF-0005xj-D6 for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2022 10:28:07 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oaeEF-0001yV-7V for bug-gnu-emacs@gnu.org; Tue, 20 Sep 2022 10:28:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Scott Otterson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Sep 2022 14:28:03 +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.16636840797568 (code B ref 51758); Tue, 20 Sep 2022 14:28:03 +0000 Original-Received: (at 51758) by debbugs.gnu.org; 20 Sep 2022 14:27:59 +0000 Original-Received: from localhost ([127.0.0.1]:59161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oaeEA-0001xz-R8 for submit@debbugs.gnu.org; Tue, 20 Sep 2022 10:27:59 -0400 Original-Received: from mail-vs1-f54.google.com ([209.85.217.54]:44962) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oae0w-0001bo-51 for 51758@debbugs.gnu.org; Tue, 20 Sep 2022 10:14:18 -0400 Original-Received: by mail-vs1-f54.google.com with SMTP id h1so3196597vsr.11 for <51758@debbugs.gnu.org>; Tue, 20 Sep 2022 07:14:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharpleaf-org.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=O6yGM3QA2F31aF3dKOsPwigKLg0zlVXxcGdN6viPzVg=; b=k0ZfJnLOT2pPHVh+VFWX+UFt/gHySJlppunOfI21CwnOp/ISm7uuZ6uOx2trG6m9i8 m1Sq/gLIs7sS2Xolb7aKy5qXJGT+WWpMSDd6u0hUmLedLN0cBC2uDB0siZD2qsb+IrZS C4snj/vYpg54VD8zrceNYgRh7u3NsLp8YjqAG7N2JGsnc2CSML/9qL8sTrSP+WVN1MN3 GevxiOssFrsatzh4qU8WeGFeH6JxwGGzee4cwmxVqG8ueaaGuCN0jlTXlVj673b9rVjl Ywo2CI+XX8X6l7wP1/Xp3nNF0VdN22gBtKd1hi3yuDfs3Xax+qZeXG5OLPsTzkTbww2B Ql/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=O6yGM3QA2F31aF3dKOsPwigKLg0zlVXxcGdN6viPzVg=; b=iKBFh1sLQjLWCI02vcAur0F/SvwM6b5m46yTDD7eu+/ZhtHw7Beno4SdhcCY8cfPU0 RPsN6QZxkXj9vb0+8ZnCnHGmw2UkpEfGL/3fiRjK+zHpsx5BSrXfkVJic3YyS/hxally VtjazteQD1OSvp56JhtDMk2vshgkrb5xwbeLrRqMA4FJKbxiHJ8/4xh4OWYXMf2BoWtn rLaFIAQxd5SLn+XBGbcp8SYiXDidwLVXREY8Y12PzU/DCyaKr0b+hHG8Mq7utMHw/7xn W1SLmeTto2vSdJIBvMZFRLq8H+x4kDoOhMTneesjMA5Ln55fFlzd3QG4mRWdSUNRz517 gRBw== X-Gm-Message-State: ACrzQf25p5a3LvxDgMJtod8ADwFKiRVYRWvSzwHbSKSQ8gYJmDp4qo8n eWhD0YtNonhTGhp9atOdfXNHpQ1I++SiwLGLPOgzBYuBD1LBtw== X-Google-Smtp-Source: AMsMyM5J+myf38jxHJaAuWwtkv3XPkxRRPnYR/APMzoXQQOpOicJ6nW9gLXIQ2Ucyn8WDjhKZGxNfljXpZckd/jNd0A= X-Received: by 2002:a05:6102:a07:b0:398:b973:73e8 with SMTP id t7-20020a0561020a0700b00398b97373e8mr8515021vsa.28.1663683252477; Tue, 20 Sep 2022 07:14:12 -0700 (PDT) In-Reply-To: <87bkragpra.fsf@gnus.org> X-Mailman-Approved-At: Tue, 20 Sep 2022 10:27:58 -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:243201 Archived-At: --00000000000048752605e91c71e9 Content-Type: text/plain; charset="UTF-8" That's right, I thought that the "current directory" was the `current-directory'. Like most people would, I'd guess. On Tue, Sep 20, 2022 at 6:05 AM Lars Ingebrigtsen wrote: > Eli Zaretskii writes: > > >> "Select:\n" > >> "YES -- to debug Emacs, or\n" > >> "NO -- to abort Emacs and produce a backtrace\n" > >> " (emacs_backtrace.txt in current directory)." > >> #if __GNUC__ > >> "\n\n(type \"gdb -p \" and\n" > >> "\"continue\" inside GDB before clicking YES.)" > >> #endif > >> , "Emacs Abort Dialog", > >> > >> Eli, should that text just be amended? (If it always puts the backtrace > >> in EMACSHOME, that is -- I haven't actually cheked the code here.) > > > > The text is correct. I'm guessing the OP starts Emacs from EMACSHOME > > directory. > > Or perhaps the user thinks that the "current directory" here is > `current-directory'? > --00000000000048752605e91c71e9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
That's right, I thought that the "current direct= ory" was the `current-directory'.=C2=A0 Like most people would, I&= #39;d guess.

On Tue, Sep 20, 2022 at 6:05 AM Lars Ingebrigtsen <larsi@gnus.org> wrote:
Eli Zaretskii <eliz@gnu.org> writes:

>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0"Select:\n"
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0"YES -- to debug Emacs, or\n"
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0"NO=C2=A0 -- to abort Emacs and produce a backtrace\n"<= br> >>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0"=C2=A0 =C2=A0 =C2=A0 =C2=A0(emacs_backtrace.txt in current = directory)."
>> #if __GNUC__
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0"\n\n(type \"gdb -p <emacs-PID>\" and\n"= ;
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0"\"continue\" inside GDB before clicking YES.)&quo= t;
>> #endif
>>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0, "Emacs Abort Dialog",
>>
>> Eli, should that text just be amended?=C2=A0 (If it always puts th= e backtrace
>> in EMACSHOME, that is -- I haven't actually cheked the code he= re.)
>
> The text is correct.=C2=A0 I'm guessing the OP starts Emacs from E= MACSHOME
> directory.

Or perhaps the user thinks that the "current directory" here is `current-directory'?
--00000000000048752605e91c71e9--