New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #14136 (closed enhancement: fixed)

Opened 5 years ago

Last modified 4 years ago

slime 20070503 Enhancement to support Emacs.app

Reported by: jrh@… Owned by: easieste@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: slime emacs-app Cc:
Port:

Description

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).

Attachments

slime-Portfile.diff (1.3 KB) - added by jrh@… 5 years ago.
adds a variant to use emacs-app instead of emacs
Portfile (6.1 KB) - added by evenson@… 5 years ago.
Portfile.2 (6.0 KB) - added by jrh@… 5 years ago.
fixes to existing attachment

Change History

Changed 5 years ago by jrh@…

adds a variant to use emacs-app instead of emacs

comment:1 Changed 5 years ago by evenson@…

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
  • 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)

Changed 5 years ago by evenson@…

comment:2 follow-up: ↓ 5 Changed 5 years ago by evenson@…

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

comment:3 Changed 5 years ago by evenson@…

And

  • update to CVS version 20080216 upstream

comment:4 Changed 5 years ago by evenson@…

And

  • changed the dependency on installed Lisp so that '+sbcl' is now the default_variant

comment:5 in reply to: ↑ 2 Changed 5 years ago by jrh@…

Replying to 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.

Changed 5 years ago by jrh@…

fixes to existing attachment

comment:6 Changed 5 years ago by easieste@…

  • Owner changed from macports-tickets@… to easieste@…
  • Status changed from new to assigned

Moving to close this out now that I have commit rights (yeah!)

comment:7 Changed 5 years ago by easieste@…

  • Status changed from assigned to closed
  • Resolution set to fixed

comment:8 Changed 4 years ago by anonymous

  • Milestone Port Enhancements deleted

Milestone Port Enhancements deleted

Note: See TracTickets for help on using tickets.