unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lennart Borgman <lennart.borgman@gmail.com>
To: martin rudalics <rudalics@gmx.at>
Cc: Tassilo Horn <tassilo@member.fsf.org>,
	Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Re: Does display-buffer display the buffer or not?
Date: Fri, 24 Dec 2010 16:43:20 +0100	[thread overview]
Message-ID: <AANLkTi=YcJ7h6NKDhOH-c7nDXym2SpLNSCcRg9RDZ_LJ@mail.gmail.com> (raw)
In-Reply-To: <4D14B136.2050202@gmx.at>

On Fri, Dec 24, 2010 at 3:41 PM, martin rudalics <rudalics@gmx.at> 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.  And the average user is not supposed to customize
>>> `pop-up-frame-function' either.  I intended this as a hint for people
>>> writing, for example, a silly `pop-up-frame-function' so they can find
>>> the cuplrit easier.  And, obviously, if a function is allowed to return
>>> 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.  Maybe because, as I tried to explain
> 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.



  reply	other threads:[~2010-12-24 15:43 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-24  5:01 Does display-buffer display the buffer or not? Lennart Borgman
2010-12-24  8:15 ` Tassilo Horn
2010-12-24  9:31   ` martin rudalics
2010-12-24 10:22     ` Tassilo Horn
2010-12-24 11:13       ` martin rudalics
2010-12-24 11:26         ` Lennart Borgman
2010-12-24 11:49           ` martin rudalics
2010-12-24 12:06             ` Lennart Borgman
2010-12-24 14:41               ` martin rudalics
2010-12-24 15:43                 ` Lennart Borgman [this message]
2010-12-24 17:57                   ` martin rudalics
2010-12-24 11:44       ` Eli Zaretskii
2010-12-24 14:50         ` Tassilo Horn
2010-12-24 15:04           ` martin rudalics
2010-12-24 16:14             ` Eli Zaretskii
2010-12-24  9:31 ` martin rudalics
2010-12-24  9:58   ` Lennart Borgman
2010-12-24 10:27     ` martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=YcJ7h6NKDhOH-c7nDXym2SpLNSCcRg9RDZ_LJ@mail.gmail.com' \
    --to=lennart.borgman@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=rudalics@gmx.at \
    --cc=tassilo@member.fsf.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).