Note that there are some explanatory texts on larger screens.

plurals
  1. POHow do I get my cocoa emacs on Mac OS X to load my .emacs visual customizations for new windows (any document opened after the first)?
    primarykey
    data
    text
    <p>So I just downloaded emacs 23.1 for my new snow leopard macbook pro from <a href="http://emacsformacosx.com/" rel="nofollow noreferrer">http://emacsformacosx.com/</a> and it works like a charm, except...</p> <p>I have visual customizations in my .emacs, a few lines are extracted here:</p> <blockquote> <p>(set-background-color "black")<br> (set-cursor-color "green") (set-default-font "-<em>-Lucida Console-normal-r-normal-normal-18-</em>-96-96-c-*-iso10646-1")</p> </blockquote> <p>I also have some key bindings set up, here are a few lines of those</p> <blockquote> <p>(global-set-key "\C-l" `goto-line)</p> <p>(global-set-key [(control ?%)] `query-replace-regexp)</p> </blockquote> <p>The first time I start emacs or open a document with emacs, everything loads perfectly. When I issue a command-N or open another file through finder, a new window opens with the key binding customizations loaded but without the visual customizations (including window size, etc)</p> <p>I think this has something to do with how emacsclient is being invoked and the emacs server, but despite my avid usage of emacs for development, I'm pretty clueless when it comes to setting up the editor itself outside of .emacs level customization</p> <p>Here are potential behaviors I would like to achieve when a new window is opened (via command-n or opening a document in finder), in order of preference:</p> <ol> <li><p>Have the new window create a new emacs process (not just a new buffer) so that I can manage and navigate multiple projects similar to how textmate does it, using one emacs process for each project.</p></li> <li><p>Have those visual customizations be persistent so that each new window loads with the correct sizing, fonts, and colors.</p></li> <li><p>Have each new document open as a buffer within the current active emacs window.</p></li> </ol> <p>Let me know if you guys can help, thanks!</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload