From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?B?xaB0xJtww6FuIE7Em21lYw==?= Newsgroups: gmane.emacs.devel Subject: Re: backtrace sets print-level to 3 Date: Fri, 01 Oct 2010 15:12:14 +0200 Message-ID: <87vd5moy4x.fsf@gmail.com> References: <83k4m3pozl.fsf@gnu.org> <83fwwrpjml.fsf@gnu.org> <83eicbpgzv.fsf@gnu.org> <388E58028D404C7E97363291360D11AD@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1285938961 31509 80.91.229.12 (1 Oct 2010 13:16:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 1 Oct 2010 13:16:01 +0000 (UTC) Cc: 'Lars Magne Ingebrigtsen' , emacs-devel@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 01 15:15:57 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 1P1fSo-0007Ue-V2 for ged-emacs-devel@m.gmane.org; Fri, 01 Oct 2010 15:15:51 +0200 Original-Received: from localhost ([127.0.0.1]:53123 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1fSo-0000vY-AO for ged-emacs-devel@m.gmane.org; Fri, 01 Oct 2010 09:15:50 -0400 Original-Received: from [140.186.70.92] (port=33935 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1fQH-0000KF-OL for emacs-devel@gnu.org; Fri, 01 Oct 2010 09:13:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P1fQG-0007gU-As for emacs-devel@gnu.org; Fri, 01 Oct 2010 09:13:13 -0400 Original-Received: from mail-fx0-f41.google.com ([209.85.161.41]:63439) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P1fQG-0007g6-5r for emacs-devel@gnu.org; Fri, 01 Oct 2010 09:13:12 -0400 Original-Received: by fxm10 with SMTP id 10so2634168fxm.0 for ; Fri, 01 Oct 2010 06:13:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject :in-reply-to:references:user-agent:date:message-id:mime-version :content-type:content-transfer-encoding; bh=u5pg5hlrk1+TQo3DpvJGqIXxMr1hx+f0UojfEh+U0oE=; b=QXiA/GMaoBPYdarY274tBQDNkmCVC+EmeQhYf+a/2ubFAFicL8/YUyPFeekUZM7xkU tdTt8punjxJwIfLjVVWXTLe8urvC+2T/rFQaZyH8PNtJy5B+oQoey76LWADa1+J/OZtv kdAB1SM76SCLsBqn+xSgE6ZFHEXiEXCqAtPMk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type:content-transfer-encoding; b=rGO6S/4Tb1b3ccDILwwuTOLar8msAyX9sdL8YP0UHQff7tC8X2CXZztV64hU6B30V/ ANLH7/Y/nnkf+oKnSWwIyFSoEmJoeQyTIHKao64I5/zAl6In7mAzpiNwI3KWgsPhlJUZ Mck8wsECaC7rM47z9/g+dy+LJzv+4uLjrPvA4= Original-Received: by 10.223.56.4 with SMTP id w4mr5300520fag.91.1285938790900; Fri, 01 Oct 2010 06:13:10 -0700 (PDT) Original-Received: from localhost (176.119.broadband10.iol.cz [90.177.119.176]) by mx.google.com with ESMTPS id p2sm551111fak.22.2010.10.01.06.13.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 01 Oct 2010 06:13:09 -0700 (PDT) In-Reply-To: <388E58028D404C7E97363291360D11AD@us.oracle.com> (Drew Adams's message of "Thu, 30 Sep 2010 06:12:21 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:131157 Archived-At: "Drew Adams" writes: >> 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 backtrac= es, > why > not? How can a user control this aspect of the bactrace output appearanc= e? +1=20 I've been missing something like that, too. The current restriction seems arbitrary and makes the `debug' backtraces much less useful than they could be. =C5=A0t=C4=9Bp=C3=A1n