[OS X Emacs] New command line tool: emacs

M. Erik Husby mhusby at broadinstitute.org
Tue Jun 21 13:40:08 EDT 2016


As I said define emacs as an alias to aquamacs. How you do that will depend
on the shell you are using.

For example, if using the BASH shell, add this in your ~/.bashrc

alias emacs='aquamacs'



On Tue, Jun 21, 2016 at 1:35 PM Pete Siemsen <siemsen at ucar.edu> wrote:

> I have the command "aquamacs", and it starts up Aquamacs with a window
> interface. I'm fine with that.
>
> I want the command "emacs", which according to this thread is supposed to
> start Aquamacs in non-window mode. I don't have "emacs".
>
> -- Pete
>
>
> On Tue, Jun 21, 2016 at 11:09 AM, M. Erik Husby <mhusby at broadinstitute.org
> > wrote:
>
>> When you install the Aquamacs command line tool, you get the command
>> "aquamacs" not "emacs". Then if you wish you can define emacs as an alias.
>>
>> On Tue, Jun 21, 2016 at 12:57 PM Pete Siemsen <siemsen at ucar.edu> wrote:
>>
>>> I did this with no luck. It didn't install a /usr/local/bin/emacs. When
>>> I do "emacs" it runs the old /usr/bin/emacs.
>>>
>>> I think I have the newest Aquamacs, but I can't tell. I downloaded the
>>> nightly, and it made me do the "unknown developer" dance, but
>>> aquamacs-version remained "3.3" before and after, and aquamacs-version-id
>>> remained "308" before and after.
>>>
>>> I did "Install Command Line Tools" from the Tools menu. I did that when
>>> su'd, so it should've been able to write to /usr/local/bin.
>>>
>>> Shouldn't I see a /usr/local/bin/emacs?
>>>
>>>
>>> -- Pete
>>>
>>>
>>> On Mon, Jun 20, 2016 at 9:01 PM, David Reitter <david.reitter at gmail.com>
>>> wrote:
>>>
>>>> On Jun 21, 2016, at 12:59 AM, Arthur Ogus <ogus at math.berkeley.edu>
>>>> wrote:
>>>> >
>>>> > Won’t this conflict with the usual “emacs” command which already
>>>> works in the terminal?
>>>>
>>>> It replaces it by shadowing the /usr/bin command from /usr/local/bin.
>>>>
>>>> Apple hasn’t updated this emacs in years - it’s still Emacs 22 that
>>>> they ship.
>>>>
>>>>
>>>> --
>>>> 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!
>>>>
>>>> _____________________________________________________________
>>>> MacOSX-Emacs mailing list
>>>> MacOSX-Emacs at email.esm.psu.edu
>>>> https://email.esm.psu.edu/mailman/listinfo/macosx-emacs
>>>> List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx
>>>>
>>>
>>>
>>> _____________________________________________________________
>>> MacOSX-Emacs mailing list
>>> MacOSX-Emacs at email.esm.psu.edu
>>> https://email.esm.psu.edu/mailman/listinfo/macosx-emacs
>>> List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx
>>>
>> --
>>
>> ---
>> Erik Husby
>> Senior Software Engineer I
>> Broad Institute
>> Rm. 2195, 320 Charles St, Cambridge, MA 02141-2023
>> mobile: 781.354.6669, office: 617.714.8443
>> email: mhusby at broadinstitute.org
>>
>>
>> _____________________________________________________________
>> MacOSX-Emacs mailing list
>> MacOSX-Emacs at email.esm.psu.edu
>> https://email.esm.psu.edu/mailman/listinfo/macosx-emacs
>> List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx
>>
>>
>
> _____________________________________________________________
> MacOSX-Emacs mailing list
> MacOSX-Emacs at email.esm.psu.edu
> https://email.esm.psu.edu/mailman/listinfo/macosx-emacs
> List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx
>
-- 

---
Erik Husby
Senior Software Engineer I
Broad Institute
Rm. 2195, 320 Charles St, Cambridge, MA 02141-2023
mobile: 781.354.6669, office: 617.714.8443
email: mhusby at broadinstitute.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20160621/7317c808/attachment.html>


More information about the MacOSX-Emacs mailing list