GNU bug report logs - #23568
25.0.94; Mode line menus appear incorrectly in some monitor configurations

Previous Next

Package: emacs;

Reported by: Alex <agrambot <at> gmail.com>

Date: Wed, 18 May 2016 02:29:01 UTC

Severity: normal

Found in version 25.0.94

Done: Eli Zaretskii <eliz <at> gnu.org>

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: Alex <agrambot <at> gmail.com>
Cc: 23568 <at> debbugs.gnu.org
Subject: bug#23568: 25.0.94; Mode line menus appear incorrectly in some monitor configurations
Date: Fri, 02 Jun 2017 11:00:56 +0200
> In the end, we would still leave the function interface so that users
> can still call the discussed procedures from lisp code, right?

I think so, yes.

> (defun display-monitor-attribute (attribute &optional frame x y)
>   "Return the value of the attribute of the 'current' monitor.
> By default, use the frame info to determine the current monitor,
> but if x and y are non-nil then use the given coordinates to
> determine it."
>   (if (and x y)

Probably, FRAME should be replaced by DISPLAY as in other ‘display-...’
functions.  X and Y must be checked properly to avoid throwing an error
when they are used in the arithmetics.  And the doc-string should
explicitly state that the first argument is ignored when X and Y are
both non-nil.

martin





This bug report was last modified 7 years and 350 days ago.

Previous Next


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