unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Missing frame parameters on tty's
@ 2015-12-02 22:15 Alan Mackenzie
  2015-12-02 23:07 ` Juanma Barranquero
  2015-12-03  7:34 ` Eli Zaretskii
  0 siblings, 2 replies; 13+ messages in thread
From: Alan Mackenzie @ 2015-12-02 22:15 UTC (permalink / raw)
  To: emacs-devel

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).



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-01-18 18:41 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-02 22:15 Missing frame parameters on tty's Alan Mackenzie
2015-12-02 23:07 ` 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

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).