How to avoid the need for both +emacs and +emacs_app

Mojca Miklavec mojca.miklavec.lists at gmail.com
Tue Sep 18 03:05:42 PDT 2012


Hello,

I recently received a feature request to add "+emacs_app" option to
gnuplot in addition to "+emacs":
    http://trac.macports.org/ticket/36135

Everything that either option does is installing the following files:

  /opt/local/share/emacs/site-lisp/gnuplot-gui.el
  /opt/local/share/emacs/site-lisp/gnuplot-gui.elc
  /opt/local/share/emacs/site-lisp/gnuplot.el
  /opt/local/share/emacs/site-lisp/gnuplot.elc
  /opt/local/share/emacs/site-lisp/info-look.20.2.el
  /opt/local/share/emacs/site-lisp/info-look.20.3.el

The only difference between "emacs" and "emacs_app" is that in case of
"emacs_app" one has to set
    configure.env-append
EMACS=${applications_dir}/Emacs.app/Contents/MacOS/Emacs
since the user doesn't have "emacs" in PATH, but that variable/binary
is only needed to perform some trivial tasks during
configuration/installation. Once the installation is finished there is
no difference in what the original selection was (/opt/local/bin/emacs
or /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs). There is
just a bunch of text files installed into
/opt/local/share/emacs/site-lisp.



More information about the macports-dev mailing list