emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Add hook to end of `custom-create-buffer-internal'


From: Drew Adams
Subject: RE: Add hook to end of `custom-create-buffer-internal'
Date: Thu, 27 Jan 2005 14:55:12 -0800

        Sorry, I'm not following you. What is the relation to the original
        question - the general need to be able to do something
        after the buffer has been filled?

    You wanted to control how the Custom buffer is displayed in anohter
    frame.  I am saying you could use the special-display feature to
    control that.

What is the "special-display" feature that you are referring to - do you
mean `special-display-popup-frame'? I already do `fit-frame' at the end of
`special-display-popup-frame', but it has no effect there, because the
buffer is not filled at the time this function is called.

(Also, there is no hook at the end of `special-display-popup-frame' either,
so I have my own version of that function which does call `fit-frame' at the
end.)

Anyway, this is all beside the point, if this is what you meant. The point
is that someone might want to do something (anything - not necessarily
`fit-frame') after the buffer is full, so it would be good to place a hook
there.

And, as I said, your suggestion to move the custom-mode-hook call (in
custom-mode) to the end of custom-buffer-create-internal would solve the pb.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]