unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Multiple monitors, different setup
@ 2015-03-14  8:36 Rob Kinsey
  2015-03-14 13:24 ` Javier
  2015-03-14 16:42 ` Rob Kinsey
  0 siblings, 2 replies; 4+ messages in thread
From: Rob Kinsey @ 2015-03-14  8:36 UTC (permalink / raw)
  To: help-gnu-emacs

Hi all,

Just getting into emacs right now and have got a set up I am happy with using the .emacs file.

At present I have a macbook pro and an external monitor. when the two are connected, to get emacs opening how I want to, i.e. open on non primary monitor and nearly maximized, I have used this line in the .emacs file:

(setq default-fram-alist
     '((top + -550) (left + -1400) (width . 190) (height . 60)))

which puts it nicely on my macbooks monitor which when docked is not the primary monitor.

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?

I am assuming an if statement in the lisp checking for dvi port but not sure how.

any help on this would be greatly appreciated.

Kind regards

P166BUG 


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-03-14 16:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-14  8:36 Multiple monitors, different setup Rob Kinsey
2015-03-14 13:24 ` Javier
2015-03-14 13:45   ` Eli Zaretskii
2015-03-14 16:42 ` Rob Kinsey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).