From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.bugs Subject: bug#12908: 24.3.50; file `emacs_backtrace.txt'? Date: Sat, 17 Nov 2012 11:29:47 -0800 Organization: UCLA Computer Science Department Message-ID: <50A7E5AB.3040006@cs.ucla.edu> References: <4B9EFDFEE27E43DBB6331605DD7C2842@us.oracle.com> <50A7DB2C.7050501@cs.ucla.edu> <8339082gig.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1353180618 5805 80.91.229.3 (17 Nov 2012 19:30:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 Nov 2012 19:30:18 +0000 (UTC) Cc: 12908@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 17 20:30:28 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TZo5y-0000fR-Vd for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Nov 2012 20:30:27 +0100 Original-Received: from localhost ([::1]:34603 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZo5o-0003uq-Vr for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Nov 2012 14:30:16 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:60198) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZo5j-0003tj-K4 for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2012 14:30:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TZo5g-0001Rh-Ga for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2012 14:30:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZo5g-0001Rd-DI for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2012 14:30:08 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TZo6X-0001w1-Kf for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2012 14:31:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Paul Eggert Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Nov 2012 19:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12908 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12908-submit@debbugs.gnu.org id=B12908.13531806447414 (code B ref 12908); Sat, 17 Nov 2012 19:31:01 +0000 Original-Received: (at 12908) by debbugs.gnu.org; 17 Nov 2012 19:30:44 +0000 Original-Received: from localhost ([127.0.0.1]:51316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TZo6G-0001vX-B0 for submit@debbugs.gnu.org; Sat, 17 Nov 2012 14:30:44 -0500 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:53392) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TZo6D-0001vP-MC for 12908@debbugs.gnu.org; Sat, 17 Nov 2012 14:30:42 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 9D661A60017; Sat, 17 Nov 2012 11:29:47 -0800 (PST) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Original-Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ouzLir6lQcpt; Sat, 17 Nov 2012 11:29:47 -0800 (PST) Original-Received: from [192.168.1.3] (pool-71-189-154-249.lsanca.fios.verizon.net [71.189.154.249]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 0EA67A60001; Sat, 17 Nov 2012 11:29:47 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121028 Thunderbird/16.0.2 In-Reply-To: <8339082gig.fsf@gnu.org> X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-Spam-Score: -1.6 (-) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:67074 Archived-At: On 11/17/2012 11:09 AM, Eli Zaretskii wrote: > That suitable place is in a subdirectory of the user's home directory, > at least on the most popular systems, according to the Emacs manual. Sure, but it's under the user's control, and it's easy to change the default. I'm not a typical user, but I'd guess that about half the time I put stderr some place other than the default, because I start up Emacs from a terminal session or suchlike. And when Emacs is being debugged, stderr is almost never put into a home-directory file. > unlike Unix, a GUI program invoked on Windows > from a desktop icon normally has its standard error stream closed. This is a problem not just for backtraces, but for everything that Emacs sends to stderr. Perhaps it would be better for Emacs, on Microsoft Windows, to redirect stderr to a file, so that the information does not get lost. That file would serve the function that emacs_backtrace.txt serves now, but it would also capture all the other stuff that goes to stderr and currently gets lost. Even if we continue to restrict the contents of the file to backtraces, the name of this file is something that is specific to the Microsoft Windows version of Emacs, so the GNU and Unix versions don't have to worry about the file's name. > (Note that unlike on Unix, Emacs on Windows doesn't change its current > directory from where it was started No, Emacs is the same on both platforms. The main Emacs process doesn't invoke chdir on GNU or Unix either, unless you use the --chdir option.