From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Multiple monitors, different setup
Date: Sat, 14 Mar 2015 15:45:26 +0200 [thread overview]
Message-ID: <837fuj3d6x.fsf@gnu.org> (raw)
In-Reply-To: <me1cpp$phs$1@speranza.aioe.org>
> From: Javier <nospam@nospam.com>
> Date: Sat, 14 Mar 2015 13:24:09 +0000 (UTC)
>
> > Is there a way that I can have the .emacs file do a check to see if
> > the second monitor is present so that when it is not docked, my
> > emacs screen can be re positioned so it is in standard default out
> > of the box emacs mode?
>
> don't know much about MacOs. I'd try look at this info page
>
> (info "(elisp) Multiple Terminals")
>
> (x-display-list) will give you a list of the displays available for
> the Xserver.
>
> If you want the sizes of the displays I don't know how to get them
> directly from elisp.
The same node mentioned above describes the function
display-monitor-attributes-list available in the recent Emacs
versions, which can provide this information.
next prev parent reply other threads:[~2015-03-14 13:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-14 8:36 Multiple monitors, different setup Rob Kinsey
2015-03-14 13:24 ` Javier
2015-03-14 13:45 ` Eli Zaretskii [this message]
2015-03-14 16:42 ` Rob Kinsey
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=837fuj3d6x.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.