From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Does display-buffer display the buffer or not? Date: Fri, 24 Dec 2010 16:43:20 +0100 Message-ID: References: <87r5d7bn8s.fsf@member.fsf.org> <4D14688E.4090606@gmx.at> <8739pnbhce.fsf@member.fsf.org> <4D148054.9030704@gmx.at> <4D1488C5.7040006@gmx.at> <4D14B136.2050202@gmx.at> 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 1293205440 15814 80.91.229.12 (24 Dec 2010 15:44:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 24 Dec 2010 15:44:00 +0000 (UTC) Cc: Tassilo Horn , Emacs-Devel devel To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 24 16:43:52 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 1PW9o5-0005lS-7P for ged-emacs-devel@m.gmane.org; Fri, 24 Dec 2010 16:43:49 +0100 Original-Received: from localhost ([127.0.0.1]:60012 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PW9o3-0005Lj-Tv for ged-emacs-devel@m.gmane.org; Fri, 24 Dec 2010 10:43:47 -0500 Original-Received: from [140.186.70.92] (port=38557 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PW9nz-0005Ld-Ah for emacs-devel@gnu.org; Fri, 24 Dec 2010 10:43:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PW9nx-0006TP-CX for emacs-devel@gnu.org; Fri, 24 Dec 2010 10:43:43 -0500 Original-Received: from mail-ey0-f169.google.com ([209.85.215.169]:43882) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PW9nx-0006TK-5M for emacs-devel@gnu.org; Fri, 24 Dec 2010 10:43:41 -0500 Original-Received: by eyh6 with SMTP id 6so541784eyh.0 for ; Fri, 24 Dec 2010 07:43:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=rk5iV5T3IR8IaW6+RpglKvcPrSVASQV4JvzplRvCm0U=; b=JoPUxFLZeVne/bD7S7GWkukf07vsgMn7cT+sler+CP9wCRj4INcOxk7KsqKkkTbuRX nyz9tzpwMoimOs0VCqTJAopM5k8HmdTTgxdIj5LmjurLJ4kZoB6WzjkAH0bvgSicbiF8 iripDtK1V4VUIVts6ZNzPDFj5izLdzkByhuAI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=PgExvw6dVIMv6eTKKv8AfTvUSnVDwA03BuRIrbQgToRV1JZm+rQ6Zp7tyUsghudY+x xdN50YHolY1G26yV20xMRN3z8YFPIiO1pIVD0sMe5lqhk2L3UI4NDTB/0G0BMB7QmOR9 aVGFFOY1ZItaAwLaCvd5t76RgFyS3fpbV9Ofo= Original-Received: by 10.213.9.66 with SMTP id k2mr7653238ebk.84.1293205420180; Fri, 24 Dec 2010 07:43:40 -0800 (PST) Original-Received: by 10.213.20.148 with HTTP; Fri, 24 Dec 2010 07:43:20 -0800 (PST) In-Reply-To: <4D14B136.2050202@gmx.at> 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:133953 Archived-At: On Fri, Dec 24, 2010 at 3:41 PM, martin rudalics wrote: >>>> Why is the average programmer better at avoiding looping here? >>> Emacs doesn't pop up the *Backtrace* buffer by default so the "average" >>> user is not affected. =C2=A0And the average user is not supposed to cus= tomize >>> `pop-up-frame-function' either. =C2=A0I intended this as a hint for peo= ple >>> writing, for example, a silly `pop-up-frame-function' so they can find >>> the cuplrit easier. =C2=A0And, obviously, if a function is allowed to r= eturn >>> nil, the doc-string of the function should say so. >> >> And why is it better not to give an error then? > > I don't know whether it's better. =C2=A0Maybe because, as I tried to expl= ain > earlier, the error handler would call `display-buffer' and fail the same > way. And in response to that I said that then it is left to every programmer using display-buffer to handle this very uncommon cases instead.