[OS X Emacs] New command line tool: emacs

Pete Siemsen siemsen at ucar.edu
Tue Jun 21 14:47:13 EDT 2016


Mac OS 10.11.5. My path includes/usr/bin. I can easily run /usr/bin/emacs
and get Emacs version 22 in a Terminal window. The beginning of this thread
described the issue: having a way to get a more recent version of Emacs
than 22, in a Terminal window.


-- Pete


On Tue, Jun 21, 2016 at 12:02 PM, M. Erik Husby <mhusby at broadinstitute.org>
wrote:

> Emacs is distributed with OS X.
>
> Which version of OS X do you have? Its been on every version of OS X since
> the beginning.
>
> Does your path include /usr/bin?
>
>
>
>
> On Tue, Jun 21, 2016 at 1:55 PM Pete Siemsen <siemsen at ucar.edu> wrote:
>
>> I could easily do that, but then "emacs" would fire up Aquamacs in window
>> mode. The intent is that the "emacs" command be different than the
>> "aquamacs" command.
>>
>>
>> -- Pete
>>
>>
>> On Tue, Jun 21, 2016 at 11:40 AM, M. Erik Husby <
>> mhusby at broadinstitute.org> wrote:
>>
>>> 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
>>>
>>>
>>> _____________________________________________________________
>>> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20160621/22784553/attachment.html>


More information about the MacOSX-Emacs mailing list