[MacPorts] #14136: slime 20070503 Enhancement to support Emacs.app
#14136: slime 20070503 Enhancement to support Emacs.app ---------------------------------+------------------------------------------ Reporter: jrh@theptrgroup.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Keywords: slime emacs-app | ---------------------------------+------------------------------------------ Here is a Portfile patch to enable slime to use Emacs.app for compilation and as the installation destination (i.e. to use 'emacs-app' instead of 'emacs' as the depends_lib). -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14136> MacPorts </projects/macports> Ports system for Mac OS
#14136: slime 20070503 Enhancement to support Emacs.app ----------------------------------+----------------------------------------- Reporter: jrh@theptrgroup.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: slime emacs-app ----------------------------------+----------------------------------------- Comment (by evenson@panix.com): A very much reworked version of the MacPorts SLIME portfile that: * updates the sources to CVS HEAD of 20080203, which reflects the major refactoring into a 'contrib' subdirectory that occured in the last couple of months * now has an 'app' variant that will install with the 'emacs-app' port * removed the obsolescent 'devel' variant ('emacs-devel' is no longer in the MacPorts * updated style to comply with what is outlined in http://guide.macports.org/#development.practices (no tabs, 4 column indents, Emacs/vim initial modeline) * rewrote the sample '.emacs' initialization code message to conform with the new style enabling SLIME to more easily serve as the frontend to multiple Lisp (or with varying commandline options) -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14136#comment:1> MacPorts </projects/macports> Ports system for Mac OS
#14136: slime 20070503 Enhancement to support Emacs.app ----------------------------------+----------------------------------------- Reporter: jrh@theptrgroup.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: slime emacs-app ----------------------------------+----------------------------------------- Comment (by evenson@panix.com): Additional cleanups before re-requesting commit: * now works with 'emacs+carbon' by finding the correct Emacs binary * if an Emacs binary is not found (should always but to be safe), don't bytecompile the *.el files * disambiguate global variables by prepending 'slime_' to all of them * cleaned up .emacs initialization code examples * now passes port lint target -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14136#comment:2> MacPorts </projects/macports> Ports system for Mac OS
#14136: slime 20070503 Enhancement to support Emacs.app ----------------------------------+----------------------------------------- Reporter: jrh@theptrgroup.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: slime emacs-app ----------------------------------+----------------------------------------- Comment (by evenson@panix.com): And * update to CVS version 20080216 upstream -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14136#comment:3> MacPorts </projects/macports> Ports system for Mac OS
#14136: slime 20070503 Enhancement to support Emacs.app ----------------------------------+----------------------------------------- Reporter: jrh@theptrgroup.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: slime emacs-app ----------------------------------+----------------------------------------- Comment (by evenson@panix.com): And * changed the dependency on installed Lisp so that '+sbcl' is now the default_variant -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14136#comment:4> MacPorts </projects/macports> Ports system for Mac OS
#14136: slime 20070503 Enhancement to support Emacs.app ----------------------------------+----------------------------------------- Reporter: jrh@theptrgroup.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: slime emacs-app ----------------------------------+----------------------------------------- Comment (by jrh@theptrgroup.com): Replying to [comment:2 evenson@panix.com]:
* now works with 'emacs+carbon' by finding the correct Emacs binary
The emacs+carbon fix breaks emacs-app support. That code needs to be moved into the else clause of if variant_isset app. Also, the app variant needs to modify depends_lib. Finally, #12115 is closed, so Emacs.app is now able to find slime in ${prefix}/share/emacs/site-lisp. I'm attaching a modification of your Portfile. -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14136#comment:5> MacPorts </projects/macports> Ports system for Mac OS
#14136: slime 20070503 Enhancement to support Emacs.app ----------------------------------+----------------------------------------- Reporter: jrh@theptrgroup.com | Owner: easieste@macports.org Type: enhancement | Status: assigned Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: | Keywords: slime emacs-app ----------------------------------+----------------------------------------- Changes (by easieste@macports.org): * owner: macports-tickets@lists.macosforge.org => easieste@macports.org * status: new => assigned Comment: Moving to close this out now that I have commit rights (yeah!) -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14136#comment:6> MacPorts </projects/macports> Ports system for Mac OS
#14136: slime 20070503 Enhancement to support Emacs.app ----------------------------------+----------------------------------------- Reporter: jrh@theptrgroup.com | Owner: easieste@macports.org Type: enhancement | Status: closed Priority: Normal | Milestone: Port Enhancements Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: slime emacs-app ----------------------------------+----------------------------------------- Changes (by easieste@macports.org): * status: assigned => closed * resolution: => fixed Comment: http://trac.macosforge.org/projects/macports/changeset/35801 -- Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/14136#comment:7> MacPorts </projects/macports> Ports system for Mac OS
participants (1)
-
MacPorts