From: martin rudalics <rudalics@gmx.at>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: 'Juanma Barranquero' <lekktu@gmail.com>,
Drew Adams <drew.adams@oracle.com>,
'Emacs developers' <emacs-devel@gnu.org>
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r103854: Reimplementlist-processes in Lisp.
Date: Fri, 08 Apr 2011 09:25:52 +0200 [thread overview]
Message-ID: <4D9EB880.1050102@gmx.at> (raw)
In-Reply-To: <87aag1lw0p.fsf@stupidchicken.com>
> See OP: temp-buffer-resize-mode is limited to buffers made from
> with-output-to-temp-buffer. Doing it for the general display-buffer
> case makes more sense, but, as Juanma pointed out, there is currently no
> simple way to do this.
The most simple way I can think of is
(defun display-buffer-fit-window-to-buffer (buffer-or-name &optional not-this-window frame)
(let* (display-buffer-function
(window
(display-buffer buffer-or-name not-this-window frame)))
(fit-window-to-buffer window)
window))
(setq display-buffer-function 'display-buffer-fit-window-to-buffer)
martin
next prev parent reply other threads:[~2011-04-08 7:25 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E1Q7a6k-0006uE-Q0@colonialone.fsf.org>
2011-04-06 22:35 ` [Emacs-diffs] /srv/bzr/emacs/trunk r103854: Reimplement list-processes in Lisp Juanma Barranquero
2011-04-07 0:38 ` Chong Yidong
2011-04-07 0:57 ` Juanma Barranquero
2011-04-07 2:00 ` [Emacs-diffs] /srv/bzr/emacs/trunk r103854: Reimplementlist-processes " Drew Adams
2011-04-07 10:09 ` Juanma Barranquero
2011-04-07 15:59 ` Chong Yidong
2011-04-07 17:00 ` Drew Adams
2011-04-07 19:08 ` Chong Yidong
2011-04-08 7:25 ` martin rudalics [this message]
2011-04-08 11:03 ` Juanma Barranquero
2011-04-08 12:26 ` martin rudalics
2011-04-08 7:25 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D9EB880.1050102@gmx.at \
--to=rudalics@gmx.at \
--cc=cyd@stupidchicken.com \
--cc=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
--cc=lekktu@gmail.com \
/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.