From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dr Rainer Woitok Newsgroups: gmane.emacs.help Subject: Emacs "-geometry" command line option no longer working? Date: Sun, 29 Oct 2023 18:12:32 +0100 Message-ID: <25918.37504.272669.196715@woitok.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38305"; mail-complaints-to="usenet@ciao.gmane.io" To: Help-Gnu-Emacs@Gnu.Org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 29 18:13:30 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qx9Lu-0009rT-DB for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 29 Oct 2023 18:13:30 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qx9L5-0003ap-Kk; Sun, 29 Oct 2023 13:12:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qx9L4-0003ZG-2u for Help-Gnu-Emacs@gnu.org; Sun, 29 Oct 2023 13:12:38 -0400 Original-Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qx9L2-0001Ig-G0 for Help-Gnu-Emacs@gnu.org; Sun, 29 Oct 2023 13:12:37 -0400 Original-Received: by mail-ed1-x52b.google.com with SMTP id 4fb4d7f45d1cf-533d31a8523so5583009a12.1 for ; Sun, 29 Oct 2023 10:12:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698599553; x=1699204353; darn=gnu.org; h=subject:to:message-id:content-transfer-encoding:mime-version:date :from:from:to:cc:subject:date:message-id:reply-to; bh=wWoxLu5iTc/wjPbVuSSNREMf1A+qV3dJ/5QrRUnGtFM=; b=Vvf5PWUngWRKHxUVvlSk76XCdl0Jj3CESRuuiIu8wtRe/2dbgcDV82HqTimUaGOfCR WfIYuh358H4Ba5LH9bOxPgRXKFrweVFF/VTH00vrekbaZOrBDXRA7wBRSCYqJ0C7NTGb 5uRNSlfw3zrdLzv4grvnBW9ZhfXzWULLRv7Pwf6qDUlA+Aj0QzAJuIchEU5gaM5WcOl7 wJ0JJxwfqjyiTO6LphCxvpvk0L96RE47Yl5lmeTl8VWHDsnSbkoBLzC+YpSkl30FrC4g T/ElUP3576AZCII9vhVhoKpUk3AzJ/FbNVW5HK2aXz3W+UT8FZBs/lhclNBaEug9bGvT YlkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698599553; x=1699204353; h=subject:to:message-id:content-transfer-encoding:mime-version:date :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=wWoxLu5iTc/wjPbVuSSNREMf1A+qV3dJ/5QrRUnGtFM=; b=ZGMxRsWOBecRVKYISps3MjHg4tRJbp8OQxHijW/YAMXU8hjPp+5oSdke4uaPakKmLJ COI9O3TmS4FlrfaAx16Hzh7uiAFzHJ1GJlZlhOMXgdM35oo7AHoLcTJqUjNy+ZsQ7hA2 IZmFFhjpqQkHaJcycc+AdhVkj2z74Llh5x5w+u5yAPXlSqSvk6/vJQ5p+3vAZYvwQIyT B+yzLiYRrjHZpZJj354McMX1NjeL+IV/vBc6sK1EI3i8C2Rk2DHf9mIkrE/W75GL/I/o 4goRoXCuF/o5MVUTaYANzj11tnnpqioVWvEWIF7fN7hGLBDpptCV6wqrw4d93DucLO5B yuWw== X-Gm-Message-State: AOJu0Yxwdy/lQiilZwkIYFJs2b2BEc/v3Fa621q/7WbbwHDjK4irNcQd gEYlXwuXzLikBGRG3cEXY2rhq/fcEMM= X-Google-Smtp-Source: AGHT+IHM+9686Yys42r/QIF8H2Yui+pIu7kAPkesQj1f3rHXDT984PADm2xtAu6Dm6iYkRnssiIXdQ== X-Received: by 2002:aa7:c645:0:b0:53e:1815:ed0f with SMTP id z5-20020aa7c645000000b0053e1815ed0fmr5988736edr.31.1698599553325; Sun, 29 Oct 2023 10:12:33 -0700 (PDT) Original-Received: from gmail.com (p200300df072edf5370fc837e68087f5d.dip0.t-ipconnect.de. [2003:df:72e:df53:70fc:837e:6808:7f5d]) by smtp.gmail.com with ESMTPSA id x19-20020aa7d393000000b0053eb9af1e15sm4714089edq.77.2023.10.29.10.12.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Oct 2023 10:12:33 -0700 (PDT) X-Google-Original-From: Dr Rainer Woitok X-Mailer: VM 8.2.0b under 29.1 (x86_64-pc-linux-gnu) Received-SPF: pass client-ip=2a00:1450:4864:20::52b; envelope-from=rainer.woitok@gmail.com; helo=mail-ed1-x52b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145414 Archived-At: Greetings, after my recent upgrade from Emacs 28.2 to 29.1 the "left" and "top" parts of Emacs' "-geometry" command line option are no longer working. Emacs uses a varying value for "left" and 0 for "top". My file "early- init.el" (which worked flawlessly with Emacs 28.2) contains the follow- ing: (let* ((g ( split-string (getenv "_EMACS_SIZE_") "x")) (o (* 7 (string-to-number (getenv "_WINDOW_OFFSET_")))) (p (list (cons 'font-parameter (getenv "_EMACS_FONT_")) (cons 'height (string-to-number (cadr g))) (cons 'top (string-to-number (getenv "_WINDOW_TOP_"))) (cons 'width (string-to-number (car g))) '(horizontal-scroll-bars . nil) '(left-fringe . 0) '(menu-bar-lines . 0) '(right-fringe . nil) '(tab-bar-lines . 0) '(tool-bar-lines . 0) '(user-position . t) '(vertical-scroll-bars . right) )) ) (setq default-frame-alist (cons (cons 'left o) p) initial-frame-alist p ) ) where "top" evaluates to 6 and "left" is left unspecified in variable "initial-frame-alist", and under Emacs 28.2 was taken from the "-geome- try" specification on the command line. What am I missing? Sincerely, Rainer