GNU bug report logs - #14233
24.3; Don't constrain frame size to character multiples

Previous Next

Package: emacs;

Reported by: E Sabof <esabof <at> gmail.com>

Date: Sat, 20 Apr 2013 00:04:02 UTC

Severity: wishlist

Found in version 24.3

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: jan.h.d <at> swipnet.se, esabof <at> gmail.com, 14233 <at> debbugs.gnu.org
Subject: bug#14233: 24.3; Don't constrain frame size to character multiples
Date: Wed, 24 Apr 2013 08:39:05 +0200
>> In any case I'd want either an #ifdef or a simple and robust
>> predicate without having to care about #ifdefs.
>
> Sorry, you can't, not with the current infrastructure.  You must do it
> with a predicate that is also protected with an ifdef.

Then I don't see any motivation to move the platform dependent parts to
change_frame_size.  It would only make the code uglier than it already
is.

> In the past weeks I started to doubt whether Emacs really knows
>> everything it pretends to know.
>
> Maybe so, but "1 character == 1 pixel on TTY frames" does not belong
> to any gray areas.

As a matter of fact, I only pretended to doubt.  Anyway, the entire
window resizing code now works pixelwise so on TTY frames nothing will
change.

> I think all the information is already stored in the frame object.

Which makes me wonder why calc_absolute_offset looks like it does.

martin




This bug report was last modified 10 years and 154 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.