all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Klaus Berndl <klaus.berndl@sdm.de>
Subject: Re: question to pop-to-buffer
Date: 29 Aug 2003 09:04:37 +0200	[thread overview]
Message-ID: <ufzjl9c6y.fsf@sdm.de> (raw)
In-Reply-To: 3F4E3629.8060400@yahoo.com

On Thu, 28 Aug 2003, Kevin Rodgers wrote:

>  Eli Zaretskii wrote:
>  
> >>From: Klaus Berndl <klaus.berndl@sdm.de>
> >>Newsgroups: gnu.emacs.help
> >>Date: 28 Aug 2003 11:24:06 +0200
> >>
> >>my question: Does pop-to-buffer use the lisp-version of display-buffer or
> >>the C-version?
> > display-buffer is itself a built-in function, which means there's
> > only a C version of it.
>  
>  
>  More precisely: there's only a C implementation of it.  But there is a Lisp
>  binding as well.
>  
>  
> >>I have adviced display-buffer but when i call pop-to-buffer then
> >>this advice seems not to be called...
> > You cannot advice built-in functions.
>  
>  Actually, you can, but it will only have an effect if the function is
>  called
>  
>  via its Lisp binding.  Since built-in functions almost always call other
>  built-in functions via their C binding, advising display-buffer will not
>  affect its behavior when it's called by pop-to-buffer.


Thanks, Kevin, this was exactly the answer i expect. I have already assumed
that but i wanted to get sure.

Klaus

-- 
Klaus Berndl			mailto: klaus.berndl@sdm.de
sd&m AG				http://www.sdm.de
software design & management	
Thomas-Dehler-Str. 27, 81737 München, Germany
Tel +49 89 63812-392, Fax -220

      reply	other threads:[~2003-08-29  7:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-28  9:24 question to pop-to-buffer Klaus Berndl
2003-08-28 14:19 ` Eli Zaretskii
     [not found] ` <mailman.1182.1062077784.29551.help-gnu-emacs@gnu.org>
2003-08-28 17:04   ` Kevin Rodgers
2003-08-29  7:04     ` Klaus Berndl [this message]

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

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

  git send-email \
    --in-reply-to=ufzjl9c6y.fsf@sdm.de \
    --to=klaus.berndl@sdm.de \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.