unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Leo <sdl.web@gmail.com>
Cc: 3419@emacsbugs.donarmstrong.com
Subject: bug#3419: 23.0.94; calc, calendar and temp-buffer-resize-mode
Date: Sat, 30 May 2009 14:19:32 +0200	[thread overview]
Message-ID: <4A212454.8070109@gmx.at> (raw)
In-Reply-To: <xbaivdnirh6c.fsf@cam.ac.uk>

 > I wonder if it may be possible to distinguish program or human changing
 > the size. In most cases, when a program (in this case:
 > temp-buffer-resize-mode) changes the size, it is hardly ideal to keep
 > that change. But I agree that for example, if a user drags the calc
 > window to be bigger, it is desirable to keep that change permanent.

It can be done but it's not trivial.

 > At the moment I have to have (setq calc-window-height 7) at my finger
 > tip to get rid of the size change sometimes accidentally happens.

In your use case it might make sense to set `split-height-threshold' to
a smaller value so the "other" window gets split instead of reused.
Alternatively we could allow `temp-buffer-resize-mode' to resize a
window iff it was obtained by splitting a window before.

martin





  reply	other threads:[~2009-05-30 12:19 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-29 19:03 bug#3419: 23.0.94; calc, calendar and temp-buffer-resize-mode Leo
2009-05-29 23:46 ` Jay Belanger
2009-05-30  1:43   ` Leo
2009-05-30  2:15     ` Jay Belanger
2009-05-30  9:51       ` martin rudalics
2009-05-30 10:58         ` Leo
2009-05-30 12:19           ` martin rudalics [this message]
2009-05-30 18:21             ` Glenn Morris
2009-05-30 22:37               ` Leo
2011-10-24 11:07         ` Leo
2011-10-24 16:15           ` martin rudalics
2011-10-25  2:17             ` Leo
2011-10-25  2:47               ` Jay Belanger
2011-10-25 15:20                 ` Leo
2011-10-31 10:34             ` Juri Linkov
2011-10-31 18:56               ` Jay Belanger
2011-11-01  9:27                 ` Juri Linkov
2011-11-01 14:38                   ` martin rudalics
2011-11-01 20:00                     ` Stefan Monnier
2011-11-01 21:54                     ` Juri Linkov
2011-11-02  1:21                       ` Stefan Monnier
2011-11-02  9:35                         ` Juri Linkov
2011-11-02 10:04                           ` martin rudalics
2011-11-03  9:05                             ` Juri Linkov
2011-11-03 10:07                               ` martin rudalics
2011-11-03 10:17                                 ` Juri Linkov
2011-11-03 12:26                                   ` Stefan Monnier
2011-11-03 19:44                                     ` Juri Linkov
2011-11-03 21:07                                       ` Stefan Monnier
2011-11-04  9:38                                         ` Juri Linkov
2011-11-04  9:39                                       ` martin rudalics
2011-11-04 10:12                                         ` Juri Linkov
2011-11-04 13:55                                           ` martin rudalics
2011-11-03 13:59                                   ` martin rudalics
2011-11-03 19:45                                     ` Juri Linkov
2011-11-04  9:39                                       ` martin rudalics
2011-11-04 13:12                                         ` Stefan Monnier
2011-11-06 21:09                                     ` Jay Belanger
2011-11-02 12:37                           ` Stefan Monnier
2009-06-02 15:57       ` Leo
2009-06-02 19:20         ` Jay Belanger
2009-06-02 21:28           ` Leo
2012-10-04 13:18 ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=4A212454.8070109@gmx.at \
    --to=rudalics@gmx.at \
    --cc=3419@emacsbugs.donarmstrong.com \
    --cc=sdl.web@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).