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 13:06:27 +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> 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 1293192427 30096 80.91.229.12 (24 Dec 2010 12:07:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 24 Dec 2010 12:07:07 +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 13:07:03 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 1PW6QD-0004Ra-9x for ged-emacs-devel@m.gmane.org; Fri, 24 Dec 2010 13:06:57 +0100 Original-Received: from localhost ([127.0.0.1]:54078 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PW6QC-0001TI-P0 for ged-emacs-devel@m.gmane.org; Fri, 24 Dec 2010 07:06:56 -0500 Original-Received: from [140.186.70.92] (port=34134 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PW6Q7-0001SR-02 for emacs-devel@gnu.org; Fri, 24 Dec 2010 07:06:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PW6Q5-0001z6-0N for emacs-devel@gnu.org; Fri, 24 Dec 2010 07:06:50 -0500 Original-Received: from mail-ew0-f41.google.com ([209.85.215.41]:43486) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PW6Q4-0001yq-Q9 for emacs-devel@gnu.org; Fri, 24 Dec 2010 07:06:48 -0500 Original-Received: by ewy27 with SMTP id 27so4502779ewy.0 for ; Fri, 24 Dec 2010 04:06:48 -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=Xlp1PPI0QR4ZymI7LuFhkH/G23CrCOO07xu9vvZqf0U=; b=Glh4wFFkoLLZN6NSxO25JLAQq7Kgtj720Ege3KelTdCksR4xuUWyNbFJf/JDTSrAti mlJOXXeJaCiZt4MqHOQYlTEXOMgOLRpcmP03bRCl84fBy08KBRNpMep0IeGvLT7LryFq dGjQ1V224nRFdNjmjdp9YzDUMp3/ZUMWYMwlc= 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=qtxMvHyiP0e5Cs2FGCxeCQIrUuaX5TjG9O2zeMbkxbzFjbkxLxsnDH2pctvTOgXS5f rtlfYM4FQeODRUsmUVpRNvfzUzspLwoehja9orDj/NR/LyvzCBWB5sUsFfhK/7J8Xrgr 8jqf+yQyQklQWgBAg1mxnzJI1IEzH1/6MLtJU= Original-Received: by 10.213.21.131 with SMTP id j3mr5079254ebb.58.1293192408020; Fri, 24 Dec 2010 04:06:48 -0800 (PST) Original-Received: by 10.213.20.148 with HTTP; Fri, 24 Dec 2010 04:06:27 -0800 (PST) In-Reply-To: <4D1488C5.7040006@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:133946 Archived-At: On Fri, Dec 24, 2010 at 12:49 PM, martin rudalics wrote: >>> That's a correct conclusion, indeed. =C2=A0The "creating a new frame" p= art >>> would then have to sidestep `pop-up-frame-function', obviously. >> >> So the average programmers is supposed to know how to handle this, but >> those writing for example the routines that shows a backtrace when >> there is an error are not. >> >> 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 custo= mize > `pop-up-frame-function' either. =C2=A0I intended this as a hint for peopl= e > 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 ret= urn > nil, the doc-string of the function should say so. And why is it better not to give an error then?