all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to use Xresources to specify a frame's pixel size?
@ 2017-06-30 11:55 Nick Helm
  0 siblings, 0 replies; only message in thread
From: Nick Helm @ 2017-06-30 11:55 UTC (permalink / raw)
  To: help-gnu-emacs

Hi all,

I recently read about a change to frame parameter syntax in Emacs 25,
specifically one solution to Bug#21415
(https://debbugs.gnu.org/cgi/bugreport.cgi?bug=21415), which introduced
this syntax:

  (width  . (text-pixels . <width>))
  (height . (text-pixels . <height>))

to specify a pixel width and height in frame parameter commands. 

Other than not finding the syntax documented in the Emacs or Elisp
manuals, this seems to work well. 

However, I like to use Xresources to specify the size of my initial
Emacs frame – typically by setting a character width x height with
something like:

  "Emacs.geometry" = 200x50;

in my local org.gnu.emacs.plist file.

Can I do something similar to specify a pixel width x height for my
initial Emacs frame? If so, how?

Note that the property list key-value pairs used on macOS seem to
closely align with the documented Xresource class-resource pairs, so a
solution on any platform would point me in the right direction.

Thanks.

--
Nick



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-06-30 11:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-30 11:55 How to use Xresources to specify a frame's pixel size? Nick Helm

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.