* Emacs "-geometry" command line option no longer working?
@ 2023-10-29 17:12 Dr Rainer Woitok
2023-10-30 0:21 ` Po Lu
0 siblings, 1 reply; 4+ messages in thread
From: Dr Rainer Woitok @ 2023-10-29 17:12 UTC (permalink / raw)
To: Help-Gnu-Emacs
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Emacs "-geometry" command line option no longer working?
2023-10-29 17:12 Emacs "-geometry" command line option no longer working? Dr Rainer Woitok
@ 2023-10-30 0:21 ` Po Lu
2023-10-30 9:49 ` Dr Rainer Woitok
0 siblings, 1 reply; 4+ messages in thread
From: Po Lu @ 2023-10-30 0:21 UTC (permalink / raw)
To: Dr Rainer Woitok; +Cc: Help-Gnu-Emacs
Dr Rainer Woitok <rainer.woitok@gmail.com> writes:
> 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:
What is the value of the window-system variable in the upgraded Emacs?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Emacs "-geometry" command line option no longer working?
2023-10-30 0:21 ` Po Lu
@ 2023-10-30 9:49 ` Dr Rainer Woitok
2023-10-30 9:53 ` Po Lu
0 siblings, 1 reply; 4+ messages in thread
From: Dr Rainer Woitok @ 2023-10-30 9:49 UTC (permalink / raw)
To: Po Lu; +Cc: Help-Gnu-Emacs
Po Lu,
On Monday, 2023-10-30 08:21:26 +0800, you wrote:
> ...
> What is the value of the window-system variable in the upgraded Emacs?
It's the symbol `x´ under both, 29.1 and 28.2.
Sincerely,
Rainer
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Emacs "-geometry" command line option no longer working?
2023-10-30 9:49 ` Dr Rainer Woitok
@ 2023-10-30 9:53 ` Po Lu
0 siblings, 0 replies; 4+ messages in thread
From: Po Lu @ 2023-10-30 9:53 UTC (permalink / raw)
To: Dr Rainer Woitok; +Cc: Help-Gnu-Emacs
Dr Rainer Woitok <rainer.woitok@gmail.com> writes:
> Po Lu,
>
> On Monday, 2023-10-30 08:21:26 +0800, you wrote:
>
>> ...
>> What is the value of the window-system variable in the upgraded Emacs?
>
> It's the symbol `x´ under both, 29.1 and 28.2.
>
> Sincerely,
> Rainer
Please submit a bug report with "M-x report-emacs-bug RET" detailing
your problem. Thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2023-10-30 9:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-29 17:12 Emacs "-geometry" command line option no longer working? Dr Rainer Woitok
2023-10-30 0:21 ` Po Lu
2023-10-30 9:49 ` Dr Rainer Woitok
2023-10-30 9:53 ` Po Lu
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.