#36135: gnuplot enhancement to support emacs-app --------------------------+------------------------------------ Reporter: jrh@… | Owner: mojca.miklavec.lists@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: haspatch Port: gnuplot | --------------------------+------------------------------------ Comment (by jrh@…): Replying to [comment:8 mojca.miklavec.lists@…]:
A few hours ago a commit has been made upstream which removes those weird ancient info-look patches. That's good news as it means that patching won't be needed. The line {{{EMACS=`basename $EMACS`}}} is still there, but hopefully it was by accident and will be removed soon.
That's good news.
I suggest to postpone the patch to at least after 4.6.1 release (which
will happen very soon anyway), but the open question about Emacs PortGroup still stands.
What is the difference between *.elc files compiled by different
versions of emacs? I don't know exactly. I haven't been able to find a clear record of how the Emacs Lisp bytecode spec has changed over time. (I don't consider wading through bzr commit histories to be a *clear* record.) I'm sure it has evolved some, as my recently-built gnuplot.elc has this comment near the top: {{{ ;;; Compiled by root@<host> on Tue Sep 18 19:46:04 2012 ;;; from file <path>/gnuplot.el ;;; in Emacs version 24.2.1 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. ;;; This file does not contain utf-8 non-ASCII characters, ;;; and so can be loaded in Emacs versions earlier than 23. }}} So at the very least there were some compatibility breaks at 19.29 and 23. The [http://www.gnu.org/software/emacs/NEWS.23.1 23.1 release notes] have this to say: {{{ During byte-compilation, Emacs 23 uses `utf-8-emacs' to write files. As a result, byte-compiled files containing non-ASCII characters can't be read by earlier versions of Emacs. Files compiled by Emacs 20, 21, or 22 are loaded correctly as `emacs-mule' (whether or not they contain multibyte characters). This takes somewhat more time, so it may be worth recompiling existing .elc files which don't need to be shared with older Emacsen. }}} -- Ticket URL: <https://trac.macports.org/ticket/36135#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS