all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Mackenzie <acm@muc.de>
To: emacs-devel@gnu.org
Subject: Missing frame parameters on tty's
Date: Wed, 2 Dec 2015 22:15:34 +0000	[thread overview]
Message-ID: <20151202221534.GC2318@acm.fritz.box> (raw)

Hello, Emacs.

In my initial investigation of bug #19706, an immediate cause of the
failure is clear - `frameset-move-onscreen' executes:

    (frame-parameter frame 'left)

, but on a tty this parameter is nil.  This is insanity, and was an
accident waiting to happen (it has now happened).

The correct values of frame parameters 'left and 'top on a tty cannot be
other than 0.

There are two ways of fixing bug #19706:

The first is to put in special case handling for missing frame
parameters, pray that the same error isn't already programmed into our
source anywhere else, and trust our highly skilled hackers never to
blunder into the same trap again.

The second is to set the frame parameters appropriately for tty's.

I think I've made it obvious which course I prefer.

-- 
Alan Mackenzie (Nuremberg, Germany).



             reply	other threads:[~2015-12-02 22:15 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-02 22:15 Alan Mackenzie [this message]
2015-12-02 23:07 ` Missing frame parameters on tty's Juanma Barranquero
2015-12-03  7:34 ` Eli Zaretskii
2015-12-03  8:30   ` Alan Mackenzie
2015-12-03 10:27     ` Eli Zaretskii
2015-12-03 11:18       ` Alan Mackenzie
2015-12-03 11:34         ` Eli Zaretskii
2016-01-18 16:02           ` Alan Mackenzie
2016-01-18 16:11             ` Eli Zaretskii
2016-01-18 17:03               ` Alan Mackenzie
2016-01-18 17:07                 ` Eli Zaretskii
2016-01-18 17:55                   ` Alan Mackenzie
2016-01-18 18:41                     ` Eli Zaretskii

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=20151202221534.GC2318@acm.fritz.box \
    --to=acm@muc.de \
    --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.