Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 335213
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T10:07:40+00:00 2026-05-12T10:07:40+00:00

I recently installed Emacs 23 (on OS X Leopard) and trying out the emacs

  • 0

I recently installed Emacs 23 (on OS X Leopard) and trying out the emacs server. I have tried both ways: (1) putting (server-start) in my .emacs file, and (2) running emacs –daemon at the terminal (in separate trials; not at the same time). In either case, when I have an emacs frame already open and try to open a separate file in the OS X terminal using emacsclient -t, -tty, or -nw, the file always opens in an existing frame rather than in the terminal as described:

http://www.gnu.org/software/emacs/manual/html_node/emacs/emacsclient-Options.html

http://emacs-fu.blogspot.com/2009/02/emacs-daemon.html

However, emacsclient -c works as expected. Do you have any ideas what may be happening?

Thanks much! -Stephen

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T10:07:41+00:00Added an answer on May 12, 2026 at 10:07 am

    Thanks all for your suggestions and responses – I think my solution is to add the following to my .bash_profile:

    ## --- emacs ---
    alias emacs='/Applications/Emacs.app/Contents/MacOS/Emacs'
    
    ## --- emacs client ---
    ## adapted from http://philipweaver.blogspot.com/2009/08/emacs-23.html
    
    # start a windowed frame
    alias ec="/Applications/Emacs.app/Contents/MacOS/bin/emacsclient -n -c -a /Applications/Emacs.app/Contents/MacOS/Emacs"
    
    # start a terminal frame
    alias em="/Applications/Emacs.app/Contents/MacOS/bin/emacsclient -t -a /Applications/Emacs.app/Contents/MacOS/Emacs -nw"
    
    # do not start a new frame
    alias ea="/Applications/Emacs.app/Contents/MacOS/bin/emacsclient -n -a /Applications/Emacs.app/Contents/MacOS/Emacs"
    

    I tried using emacs –daemon and replacing the Emacs.app with Emacs Client.app icon as suggested by

    http://www.cubiclemuses.com/cm/articles/2009/07/30/emacs-23-for-os-x/

    but (1) the daemon did not seem to load many of my .emacs customizations and (2) when I would quit Emacs Client it would quit Emacs altogether and generate errors…

    So my solution is to use the bash aliases as defined above; add the line, (server-start), to my .emacs file, and add the Emacs.app icon to my OS X dock so that I can use either the icon or one of the aliases to launch emacs, and to open new files in the running instance I can also use the aliases above or C-x C-f (or C-x b) in Emacs.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We recently installed Team Foundation Server 2008 and we are using it for both
I recently installed KDevelop 4 for C++ development on my Macbook Pro running Ubuntu
I recently built and installed Emacs 23.2.1 for OS X 10.6, which apparently comes
Recently installed a SSL Cert on our server/domain, and I am realizing now that
I recently installed Windows 2008 Server to replace a crashed hard drive on a
I recently installed MySQL 5 on Windows 2003 and tried configuring an instance. Everything
I recently installed the Eclipse Metrics Plugin and have exported the data for one
I recently installed ruby 1.9.3 and rubygems 1.8.24. Both installed perfectly (src: http://railsapps.github.com/installing-rails.html ).
I recently installed Community Builder for Joomla!. I can't seem to have a capcha
I recently installed Zeos 6.6 stable on BDS2006 for both the Delphi and C++

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.