From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: backtrace sets print-level to 3 Date: Thu, 30 Sep 2010 06:12:21 -0700 Message-ID: <388E58028D404C7E97363291360D11AD@us.oracle.com> References: <83k4m3pozl.fsf@gnu.org> <83fwwrpjml.fsf@gnu.org> <83eicbpgzv.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1285852454 30406 80.91.229.12 (30 Sep 2010 13:14:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 30 Sep 2010 13:14:14 +0000 (UTC) To: "'Lars Magne Ingebrigtsen'" , Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 30 15:14:12 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P1Ixc-0006jt-UW for ged-emacs-devel@m.gmane.org; Thu, 30 Sep 2010 15:14:09 +0200 Original-Received: from localhost ([127.0.0.1]:52838 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1Ixb-0004bF-D4 for ged-emacs-devel@m.gmane.org; Thu, 30 Sep 2010 09:14:07 -0400 Original-Received: from [140.186.70.92] (port=40139 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1IxV-0004bA-S5 for emacs-devel@gnu.org; Thu, 30 Sep 2010 09:14:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1P1IxU-0004hj-NI for emacs-devel@gnu.org; Thu, 30 Sep 2010 09:14:01 -0400 Original-Received: from rcsinet10.oracle.com ([148.87.113.121]:51672) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1IxU-0004hE-I7 for emacs-devel@gnu.org; Thu, 30 Sep 2010 09:14:00 -0400 Original-Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o8UDDq04018956 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 30 Sep 2010 13:13:54 GMT Original-Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by rcsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o8U5QxD8016715; Thu, 30 Sep 2010 13:13:52 GMT Original-Received: from abhmt021.oracle.com by acsmt353.oracle.com with ESMTP id 650495541285852344; Thu, 30 Sep 2010 06:12:24 -0700 Original-Received: from dradamslap1 (/10.159.221.201) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 30 Sep 2010 06:12:24 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: ActgnAQXK2ZM488wRHarDmVPSayo4gABBDNA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:131106 Archived-At: > I think I'll just fix Fbacktrace to 1) restore the previous value upon > exit instead of setting it to Qnil, and 2) use 8 instead of 3. The print-(level|length) of backtraces should be under user control, i.e., at the Lisp level or, better, interactively (e.g. option). It should not be hard-coded. If we are not using the global values of `print-level' and `print-length' or, better, similar-acting variables (options?) that are specific to backtraces, why not? How can a user control this aspect of the bactrace output appearance?