all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Jan D." <jan.h.d@swipnet.se>
Subject: Re: bug in frame-width
Date: Thu, 12 Aug 2004 09:41:46 +0200	[thread overview]
Message-ID: <10042CCA-EC33-11D8-99A2-000D93505B76@swipnet.se> (raw)
In-Reply-To: <m1pt5x6iyg.fsf-monnier+emacs@gnu.org>


>> The problem is that if I use `modify-frame-parameters' to change the
>> `left-fringe' or `right-fringe' parameters, then (frame-width)
>> actually _should_ stay the same, but the X window should narrow or
>> broaden.  This does not happen.
>
> The general rule of thumb in X11 is that an application should only 
> change
> its window's position and size if the user explicitly asks for it.  
> When the
> user asks to change the fringe, she does not request a change in the
> window's size, so frame-width should change so that the window's pixel
> size stays constant, not the other way around.

I would not say that it is a rule of thumb.  After all, xterm resizes 
itself
when the scroll bar is enabled/disabled.  Also, changing font size does
resize the window to keep number of rows and columns the same in both
xterm and Emacs.  However, as you point out, Emacs is inconsistent in
how it deals with this.  I for one would prefer if Emacs always tried
to keep the number of rows and columns the same.  We should agree on
the desired strategy (keep rows/columns or keep frame width/height) for
Emacs before fixing things like this.

	Jan D.

  reply	other threads:[~2004-08-12  7:41 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-10  2:59 bug in frame-width Luc Teirlinck
2004-08-11  2:23 ` Richard Stallman
2004-08-12  1:51   ` Luc Teirlinck
2004-08-12  5:12     ` Stefan
2004-08-12  7:41       ` Jan D. [this message]
2004-08-12 15:36         ` Stefan Monnier
2004-08-12 16:00           ` Andreas Schwab
2004-08-12 21:38           ` Miles Bader
2004-08-12 12:20       ` Paul Pogonyshev
2004-08-12 18:12       ` Luc Teirlinck
2004-08-12 18:58         ` Jan D.
2004-08-12 19:14           ` David Kastrup
2004-08-12 19:34             ` Stefan Monnier
2004-08-12 21:37             ` Andreas Schwab
2004-08-12 21:57               ` David Kastrup
2004-08-13 15:14         ` Richard Stallman

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=10042CCA-EC33-11D8-99A2-000D93505B76@swipnet.se \
    --to=jan.h.d@swipnet.se \
    /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.