On 11/5/2009 10:33 AM, Drew Adams wrote:
Thanks - you answered my question. The following frame alist opens a
frame on my second monitor when used with the make-frame function.

(setq second-frame-alist
                '((top . 0)
                  (left . -1280)
                  (width . 150)
                    ...

FYI - You can use (x-display-pixel-width) to pick up the `1280' value
automatically, so it is correct regardless of the current display. In the case
of yours, it will be 1280.

So you could, if you wanted, use:
(setq second-frame-alist
       `((top . 0)
         (left . ,(x-display-pixel-width))
         (width . 150)
         ...




Did you mean to have the "," in front of "(x-display-pixel-width)"? Also, the "(x-display-pixel-width)" function is in frame.el but I can't call it without making it interactive. What's the proper way to call a function that doesn't show up as an emacs command?

Thanks for your help,

Bruce




Reply via email to