Mark Eichin
eichi****@gmail*****
Tue Oct 24 15:15:06 JST 2006
No the little green button doesn't "work great" - it's a total Fitt's Law violation :-) I use (set-frame-size (selected-frame) width height) in pixels with some tuning (mostly because I'm running an old version, presumably those positioning/sizing bugs have been fixed by now) though I first do a (set-default-font "-apple-geneva-medium-r-normal--12-120-75-75-m-120-mac-roman") so the screen stays that size after I set it. Binding this to a function key is just a use of global-set-key... On 10/24/06, George V. Neville-Neil <gnn****@nevil*****> wrote: > At Mon, 23 Oct 2006 14:17:08 -0700, > Kasper Daniel Hansen wrote: > > > > Hi > > > > I am a happy user of Carbon Emacs running on my 12 inch powerbook. I > > often use my powerbook with a large external screen and for that > > reason I find myself switching font size and window size. It would be > > incredible convenient if I could have something (shell script, apple > > script etc) so I could quick and easy switch between two setups, > > something like > > > > Setup 1: > > Window size x > > Font size x > > > > Setup 2: > > Window Size y > > Font size y > > > > and then have eg. a script on my desktop to change the settings on > > the fly. I would like to have it working with an already running > > instance of Emacs. Another way is to have a function with Emacs > > associated with say a function key. > > > > I am pretty sure that what I am thinking of is quite easy considering > > how scriptable everything is. I just have no idea on where to start > > given that I have little to no knowledge of elisp and the internals. > > > > If you just want to always get the maximum vertical lines then press > the green button on the menu bar. It works great. > > Best, > George > _______________________________________________ > macemacsjp-english mailing list > macem****@lists***** > http://lists.sourceforge.jp/mailman/listinfo/macemacsjp-english > -- _Mark_ <eichi****@thok*****> <eichi****@gmail*****>