all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: How to get the new frame?
Date: Thu, 23 Jul 2015 22:26:42 +0300	[thread overview]
Message-ID: <83y4i63cb1.fsf@gnu.org> (raw)
In-Reply-To: <morbe502m1p@news6.newsguy.com>

> From: "B. T. Raven" <btraven@nihilo.net>
> Date: Thu, 23 Jul 2015 13:21:52 -0500
> 
> > Is display-monitor-attributes-list what you want?  Or maybe
> > display-mm-width and display-mm-height?  Or display-pixel-width and
> > display-pixel-height?  There are more, of course.
> >
> 
> Thanks, Eli. I have the last four functions documented but not the first 
> (variable?) in w32 24.3.

Upgrade to 24.5, the latest, and you will have the first function as
well.

> I have put:
> 
>   '(display-mm-dimensions-alist (quote (("t400" 304 . 190))))
> 
> in (custom-set-variables using custom but that doesn't register the 
> display monitor (14.1" diag.).

I don't understand what that means, nor what you wanted to achieve,
and how exactly did you try achieving that via
display-mm-dimensions-alist.  Please show more of your code.

> Apparently the display part of the alist can be either nil, t, or a
> string but I can't get mm or pixel height or width through those
> functions after setting up the alist.

Again, I fail to follow.  Where I'm typing this, I get

  M-: (display-mm-height) RET => 180

What doesn't work for you?  Was this the function you tried?

> Btw, what is this first string in the documentation of the variable:
> (":0.0" . (287 . 215))?

The display name, only significant on X.

> I was hoping that Emacs might be able to interrogate the hardware
> somehow through the OS.

It does.

> In the context of my original question, is my goal somehow
> achievable.  If so, what's the recipe?

Not sure what is the question, exactly.  You said back then:

> I use 2 frames under w32, w64, courier (monospace 8 line high) to 
> display *Calendar* and arial (proportional font) for everything else. Is 
> there any other way to accomplish this?

Other than what? other than using a separate frame?  Then I suggest to
have a look at buffer-face-mode and its commands.  That's what is at
work when you click Shift-mouse-1 and select a font for the current
buffer.



  parent reply	other threads:[~2015-07-23 19:26 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-21  0:47 How to get the new frame? Ian Zimmerman
2015-07-21  1:03 ` Emanuel Berg
2015-07-21  1:42   ` Ian Zimmerman
2015-07-21  1:43     ` Emanuel Berg
2015-07-21  2:07       ` Ian Zimmerman
2015-07-21 21:07         ` Emanuel Berg
2015-07-21 21:49           ` Ian Zimmerman
2015-07-21 23:35             ` Emanuel Berg
2015-07-21  3:56 ` John Mastro
2015-07-21  4:46   ` Ian Zimmerman
     [not found] ` <mailman.7206.1437440684.904.help-gnu-emacs@gnu.org>
2015-07-23 15:11   ` B. T. Raven
2015-07-23 15:52     ` Eli Zaretskii
     [not found]     ` <mailman.7309.1437666858.904.help-gnu-emacs@gnu.org>
2015-07-23 18:21       ` B. T. Raven
2015-07-23 19:23         ` Javier
2015-07-23 19:26         ` Eli Zaretskii [this message]
     [not found]         ` <mailman.7315.1437679612.904.help-gnu-emacs@gnu.org>
2015-07-23 21:02           ` B. T. Raven
2015-07-23 22:38             ` Javier
2015-07-24  7:13               ` Eli Zaretskii
2015-07-24 12:02               ` B. T. Raven
2015-07-24 13:38                 ` Eli Zaretskii
     [not found]                 ` <mailman.7348.1437745104.904.help-gnu-emacs@gnu.org>
2015-07-24 14:55                   ` Javier
     [not found]               ` <mailman.7337.1437722035.904.help-gnu-emacs@gnu.org>
2015-07-24 12:51                 ` B. T. Raven
2015-07-24 13:47                   ` Eli Zaretskii
2015-07-27 21:13                     ` Robert Thorpe
2015-07-24 15:25                   ` Yuri Khan
2015-07-24  7:10             ` Eli Zaretskii
2015-07-23 23:14     ` Emanuel Berg
  -- strict thread matches above, loose matches on Subject: below --
2015-07-21  7:00 martin rudalics
     [not found] <mailman.7205.1437439660.904.help-gnu-emacs@gnu.org>
2015-07-21 17:25 ` Javier
2015-07-21 17:44   ` Javier
2015-07-23  9:01   ` Javier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83y4i63cb1.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.