logo       

Re: Proggy? Howto get Aquamacs in vanilla state?: msg#00064

emacs.macintosh.osx

Subject: Re: Proggy? Howto get Aquamacs in vanilla state?

On 21 Aug 2007, at 16:53, cons spam wrote:

2) Can someone please tell me how I can get Aquamacs to use my
.emacs-settings for initial font and frame position/size

You probably just want to turn off aquamacs-styles-mode.

and just
leave all those customizations.el, frame-positions.el, Preferences.el
and everything else that is auto-created every time I quit Aquamacs
and that overrides my .emacs-settings,

They will always be created, but do not necessarily overwrite anything.
Just move the customization stuff (set-custom-variables) from your .emacs to customizations.el and you'll be fine!

I just want
to put in my .emacs and go! (I DON'T want to cut'n'paste out some
parts of it and put it in new files here and there, just to glue it
back again when migrating to yet another platform next month)

customize `custom-file'. Not sure if that'll be perfect, of course.



This is what I've done so far:

Turn-off stuff (as recommended in the docs):
* unchecked options->frame appearance styles->frame appearance styles
* in .emacs: (smart-frame-positioning-mode nil)
* in .emacs: (aquamacs-styles-mode nil)

good.

Set my stuff (as I always have done, and always want to do):
* in .emacs: (setq default-frame-alist blah blah...)
* in .emacs: (set-face-font 'default blah blah...)
* in. emacs: (desktop-change-dir blah blah...)

Have you thought of initial-frame-alist ?


but Aquamacs still always use its own font and own initial frame size
and position.

Frame size and position are determined before your .emacs is read, and that is the case for all Emacsen afaik. But if you use the initial-frame-alist variable, it should be applied after reading your .emacs.


One VERY strange thing is that Aquamacs actually gets
the font right if set-face-font is executed AFTER desktop-change-dir
instead of before(!). Very weird...

Not weird - here's what desktop-change-dir seems to do:

Change to desktop saved in dirname.
Kill the desktop as specified by variables `desktop-save-mode' and
`desktop-save', then clear the desktop and load the desktop file in
directory dirname.

Finally, as Kevin and I said over in aquamacs-devel - why not try Carbon Emacs Package?

I would like to offer Aquamacs for GNU/Linux and also Windows. But somebody with expertise on these systems is going to have to put the work in.

- D

--
http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
http://aquamacs.org/donate -- Could we help you? Return the favor and support the Aquamacs Project!




---------------------------- Info -----------------------------
List Post: <mailto:macosx-emacs@xxxxxxxxxxxxxxxxx>
List Archives: <http://dir.gmane.org/gmane.emacs.macintosh.osx>




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise