From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Keith David Bershatsky Newsgroups: gmane.emacs.bugs Subject: bug#21415: 25.0.50; Emacs Trunk -- pixelwise width/height for x-create-frame Date: Sun, 13 Sep 2015 11:36:43 -0700 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (generated by - "") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1442169447 10691 80.91.229.3 (13 Sep 2015 18:37:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Sep 2015 18:37:27 +0000 (UTC) Cc: 21415@debbugs.gnu.org To: martin rudalics ,Anders Lindgren Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 13 20:37:15 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZbC9J-0006lt-1h for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Sep 2015 20:37:13 +0200 Original-Received: from localhost ([::1]:36743 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbC9I-0000tG-2m for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Sep 2015 14:37:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48533) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbC9E-0000t9-2M for bug-gnu-emacs@gnu.org; Sun, 13 Sep 2015 14:37:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZbC99-0002cz-2h for bug-gnu-emacs@gnu.org; Sun, 13 Sep 2015 14:37:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:38799) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbC98-0002cv-Rf for bug-gnu-emacs@gnu.org; Sun, 13 Sep 2015 14:37:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZbC98-0002Ru-M6 for bug-gnu-emacs@gnu.org; Sun, 13 Sep 2015 14:37:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Keith David Bershatsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Sep 2015 18:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21415 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21415-submit@debbugs.gnu.org id=B21415.14421694099395 (code B ref 21415); Sun, 13 Sep 2015 18:37:02 +0000 Original-Received: (at 21415) by debbugs.gnu.org; 13 Sep 2015 18:36:49 +0000 Original-Received: from localhost ([127.0.0.1]:59242 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZbC8u-0002RT-Sq for submit@debbugs.gnu.org; Sun, 13 Sep 2015 14:36:49 -0400 Original-Received: from cobb.liquidweb.com ([50.28.13.150]:39693) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZbC8t-0002RL-4f for 21415@debbugs.gnu.org; Sun, 13 Sep 2015 14:36:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lawlist.com; s=default; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Subject:Cc:To:From:Message-ID:Date; bh=yKFgKpxy03geIIa3SRoPBvLeL5MuzCjqb0Gs28mr5d4=; b=oLEUQD23yNMAnmCiIuNXOk9IMK8YMxS0gY9BYRsMixD+Pqca++MqjW9+q2/sNep15Y5b3ZyjBUj+7BjlZSv5j4yFo+kLSGv2QxxRIrD4e6wt8M0Vvv5a9lHMaWbNuQ+8; Original-Received: from cpe-45-48-239-195.socal.res.rr.com ([45.48.239.195]:50869 helo=server.private.localhost) by cobb.liquidweb.com with esmtp (Exim 4.82) (envelope-from ) id 1ZbC8p-00014R-FR; Sun, 13 Sep 2015 14:36:43 -0400 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cobb.liquidweb.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lawlist.com X-Get-Message-Sender-Via: cobb.liquidweb.com: acl_c_relayhosts_text_entry: lawlist|lawlist.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:106483 Archived-At: I have been able to reproduce the disregarding `top` frame parameter error with a much simpler example that does not involve `ns-auto-hide-menu-bar`. I'm not sure why these simple tests are intermittently crashing the Emacs application with no user settings. ;; WORKING -- respects `top` parameter. (make-frame '( (top . 50) (left . 50) ;; (height . 250.0) (width . 250.0))) ;; BROKEN -- disregards `top` parameter. (make-frame '( (top . 50) (left . 50) (height . 250.0) (width . 250.0))) And here is an unsophisticated hack: (defadvice face-set-after-frame-default (before face-set-after-frame-default-before activate) (let* ( (top (or (cdr (assq 'top parameters)) 0)) (left (or (cdr (assq 'left parameters)) 0)) ) (set-frame-position frame left top))) At Sun, 13 Sep 2015 20:01:03 +0200, martin rudalics wrote: > > > If ‘ns-auto-hide-menu-bar' non-nil also moves the title bar off screen, > you can't position the frame at (0, 0). Or am I missing something? > > martin