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 10:45:00 -0800 Organization: UCLA Computer Science Department Message-ID: <50A7DB2C.7050501@cs.ucla.edu> References: <4B9EFDFEE27E43DBB6331605DD7C2842@us.oracle.com> 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 1353177920 16585 80.91.229.3 (17 Nov 2012 18:45:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 17 Nov 2012 18:45:20 +0000 (UTC) To: 12908@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Nov 17 19:45:31 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 1TZnOR-0002LU-38 for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Nov 2012 19:45:27 +0100 Original-Received: from localhost ([::1]:53891 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZnOH-0002ek-30 for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Nov 2012 13:45:17 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZnOC-0002dU-9w for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2012 13:45:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TZnO9-0005kE-8J for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2012 13:45:12 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40985) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TZnO9-0005kA-4s for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2012 13:45:09 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TZnP0-0008OA-DO for bug-gnu-emacs@gnu.org; Sat, 17 Nov 2012 13:46:02 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: <4B9EFDFEE27E43DBB6331605DD7C2842@us.oracle.com> 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 18:46:02 +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.135317795732231 (code B ref 12908); Sat, 17 Nov 2012 18:46:02 +0000 Original-Received: (at 12908) by debbugs.gnu.org; 17 Nov 2012 18:45:57 +0000 Original-Received: from localhost ([127.0.0.1]:51235 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TZnOv-0008No-DT for submit@debbugs.gnu.org; Sat, 17 Nov 2012 13:45:57 -0500 Original-Received: from smtp.cs.ucla.edu ([131.179.128.62]:52086) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TZnOs-0008Nf-9D for 12908@debbugs.gnu.org; Sat, 17 Nov 2012 13:45:55 -0500 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id D3250A60018 for <12908@debbugs.gnu.org>; Sat, 17 Nov 2012 10:44:59 -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 RXxSqjvCY5Ic for <12908@debbugs.gnu.org>; Sat, 17 Nov 2012 10:44:59 -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 83622A60017 for <12908@debbugs.gnu.org>; Sat, 17 Nov 2012 10:44:59 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:16.0) Gecko/20121028 Thunderbird/16.0.2 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:67067 Archived-At: There seems to be some misunderstanding here. The Unix code does not write into $HOME/backtrace.txt, or into $HOME, or into anywhere like that. It writes to stderr. The programs that invoke Emacs (normally window managers) arrange for the standard error stream to be sent to a suitable place. The Microsoft Windows code does something different: it writes the backtrace both to stderr and to a file emacs_backtrace.txt. If the goal is to mimic the Unix behavior as closely as possible, then the fix should be simple: output the backtrace just to stderr, as the Unix code does. Perhaps there are reasons not to do that on Microsoft Windows, but as these reasons are specific to that platform it would seem that any fix would be platform-specific as well.