all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Miles Bader <miles@gnu.org>
Cc: Drew Adams <drew.adams@oracle.com>, emacs-devel@gnu.org
Subject: Re: face-remap.el patch to resize window
Date: Mon, 10 Aug 2009 13:16:46 -0400	[thread overview]
Message-ID: <jwvfxbzzjcn.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87bpmnbohx.fsf@catnip.gol.com> (Miles Bader's message of "Tue, 11 Aug 2009 01:52:10 +0900")

>   1) To see more of the buffer at once; in this case, I probably don't
>      want the window to shrink.  This is probably the most common case
>      for me.

This is also my main use, tho I often also increase the text size to
make it more readable from afar (in that case increasing the window size
would also make sense, tho I'm usually already maxed out at that point
so it doesn't make any real difference).

>   2) To shrink a short buffer to take up less space, e.g. a help buffer;
>      in this case, I often do want the window to shrink, or even better,
>      to be re-fit to the buffer contents (like the help display
>      functions do initially).

This actually points to a need to mark a window as "fitted" so it can be
refitted dynamically (which would also affect frame resizing, C-x + and
things like that).

> That's why I like a hook-based situation (see earlier patch) that can
> examine the situation and do something appropriate in an easily
> user-adaptable way.

I don't know if it can be made automatic, really.  Maybe a separate
command (at least for your case nb 3) is preferable.


        Stefan




  parent reply	other threads:[~2009-08-10 17:16 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-10  1:04 face-remap.el patch to resize window Drew Adams
2009-08-10  3:00 ` Stefan Monnier
2009-08-10  3:27   ` Drew Adams
2009-08-10  5:04     ` Miles Bader
2009-08-10 17:00       ` Drew Adams
2009-08-10  3:34   ` Miles Bader
2009-08-10 15:01     ` Stefan Monnier
2009-08-10 16:31     ` Drew Adams
2009-08-10 16:52       ` Miles Bader
2009-08-10 16:59         ` Drew Adams
2009-08-10 17:16         ` Stefan Monnier [this message]
2009-08-10 17:00       ` Stefan Monnier
2009-08-10 17:15         ` Drew Adams
2009-08-10 17:37           ` Miles Bader
2009-08-10 21:41             ` Drew Adams
2009-08-10 18:03           ` Stefan Monnier
2009-08-10 21:50             ` Drew Adams
2009-08-11  3:45               ` Stefan Monnier
  -- strict thread matches above, loose matches on Subject: below --
2009-06-29 22:10 Drew Adams
2009-06-22 20:40 Drew Adams

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=jwvfxbzzjcn.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=miles@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.