GNU bug report logs - #25511
26.0.50; modify-frame-parameters modifies undesignated parameter?

Previous Next

Package: emacs;

Reported by: Katsumi Yamaoka <yamaoka <at> jpl.org>

Date: Mon, 23 Jan 2017 07:31:02 UTC

Severity: normal

Tags: fixed

Found in version 26.0.50

Done: Noam Postavsky <npostavs <at> users.sourceforge.net>

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: Katsumi Yamaoka <yamaoka <at> jpl.org>
Cc: 25511 <at> debbugs.gnu.org
Subject: bug#25511: 26.0.50; modify-frame-parameters modifies undesignated parameter?
Date: Tue, 24 Jan 2017 08:46:04 +0100
> Instead
> of dragging it manually I use:
>
> (defadvice make-frame (after adjust-frame-height-and-position activate)
>    "Shrink the height of a new frame and move it upward."
>    (if (ad-get-arg 0) nil
>      (sit-for 0) ;; Added for new Emacs 26
>      (modify-frame-parameters ad-return-value
>                               '((height . 32) (top . 1112)))))

Why don't you use ‘after-make-frame-functions’?

martin





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

Previous Next


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