From: martin rudalics <rudalics@gmx.at>
To: andrea.vettorello@gmail.com
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: Geometry and temp-buffer-max-height
Date: Thu, 02 Aug 2007 22:43:36 +0200 [thread overview]
Message-ID: <46B241F8.2010002@gmx.at> (raw)
>> Can you please now confirm that
>> the window is _not_ resized on your "local configuration" when you have
>> `temp-buffer-resize-mode' enabled and `temp-buffer-max-height' is left
>> at the default value.
>>
>
> I confirm it, the temp buffer doesn't apply the
> "temp-buffer-max-height" if i pass the geometry option, from command
> line or .Xdefaults/.Xrerources, and if the fringe-mode is used in any
> other way than the default.
That doesn't answer my question but let's ignore this for the moment.
Could you please add the lines below at the end of your .emacs file,
restart Emacs, and tell me whether the problem persists (this is by no
means the correct fix but merely a temporary workaround):
(require 'help)
(defun resize-temp-buffer-window ()
""
(unless (or (one-window-p 'nomini)
(not (pos-visible-in-window-p (point-min)))
(> (frame-width) (window-width)))
(fit-window-to-buffer
(selected-window)
(if (functionp temp-buffer-max-height)
(funcall temp-buffer-max-height (current-buffer))
temp-buffer-max-height))))
next reply other threads:[~2007-08-02 20:43 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-02 20:43 martin rudalics [this message]
2007-08-03 7:46 ` Geometry and temp-buffer-max-height Andrea Vettorello
-- strict thread matches above, loose matches on Subject: below --
2007-08-02 21:09 martin rudalics
2007-08-02 16:12 martin rudalics
2007-08-02 16:52 ` Andrea Vettorello
2007-08-02 10:34 martin rudalics
2007-08-02 11:59 ` Andrea Vettorello
2007-08-02 12:51 ` Andrea Vettorello
2007-07-26 19:45 Andrea Vettorello
2007-07-31 6:03 ` Kevin Rodgers
2007-07-31 7:58 ` Andrea Vettorello
2007-08-02 7:18 ` Kevin Rodgers
2007-08-02 8:42 ` Andrea Vettorello
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=46B241F8.2010002@gmx.at \
--to=rudalics@gmx.at \
--cc=andrea.vettorello@gmail.com \
--cc=emacs-devel@gnu.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 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.