all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: bug in frame-width
Date: Thu, 12 Aug 2004 13:12:53 -0500 (CDT)	[thread overview]
Message-ID: <200408121812.i7CICrK04649@raven.dms.auburn.edu> (raw)
In-Reply-To: <m1pt5x6iyg.fsf-monnier+emacs@gnu.org> (message from Stefan on 12 Aug 2004 01:12:09 -0400)

Stefan Monnier wrote:

   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.

When the user asks to change a parameter and does not ask to change
any other parameters, the other parameters should stay constant.  That
is logical, expected and as documented.  To keep the width parameter
constant, the size of the X window has to change.  If this would be
considered bad behavior, then the meaning of the width parameter
should be changed to refer to the size of the X window.  The same
holds for the height parameter.

Currently, `width' refers to the number of text columns, `height'
includes the tool bar but not the menu bar.  Any changes in current
situation, even those we agree on it, seem to have to wait until after
the 21.4 release.  In the current situation, changing the fringe width
should keep the number of text columns constant.

I personally do not believe that it is _just_ "in the current
situation".  In as far as the width is concerned I believe that it
_should_ refer to actual text columns.  If the number of columns
changes from the 80 I am used to, even to to 79 or 81, I get a very
hard time with manual filling.  As a consequence Emacs becomes
difficult to use.  If it happens without me necessarily being aware of
it, things are worse.

In as far as `height' is concerned, we all seem to agree that the
current behavior makes no sense.  Either _both_ menu and tool bar
should be included or _none_.   For reasons I explained earlier, I
personally would prefer both, but Richard seems to believe it should
be none.  Either way, it seems that we have to live with the current
situation until after 21.4 is released.

To me, deleting or adding widgets, font changes and the like should
keep the number of text columns constant (and thus, change the X
window width).  I personally would prefer them to keep the X window
height fixed (and change the number of text lines).  This is not
inconsistent, because there is no symmetry between the number of text
columns (should be 80, more is _not_ better) and the number of text
lines (no fixed "logical" number and more _is_ better).  If I
understand correctly, Richard believes that _both_ number of text
lines and number of text columns should take precedence over X window
size.

Sincerely,

Luc.

  parent reply	other threads:[~2004-08-12 18:12 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.
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 [this message]
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=200408121812.i7CICrK04649@raven.dms.auburn.edu \
    --to=teirllm@dms.auburn.edu \
    --cc=emacs-devel@gnu.org \
    --cc=rms@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.