|
From: | Juergen Sauermann |
Subject: | Re: [Bug-apl] Emacs lib loaded automatically |
Date: | Sat, 17 May 2014 12:21:30 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5 |
Hi Elias,
my proposal would be this: 1. we give the --emacs command line option an argument. So apl would be started like: apl --emacs emacs_arg 2. the libemacs library provides a function emacs_start() with two char * arguments: void emacs_start(const char * emacs_arg, const char * lib_path); This function would replace the function_mux(), get_signature(), and eval_XXX() functions. lib_path is the absolute path to the libemacs library, which is normally /usr/lib/apl/libemacs.so but can be different. GNU APL calls this function once on startup. Regarding library locations, I believe we should avoid a situation where every package installs its own library at their own place, leading to a scattered set of libraries. If a component needs additional libraries then it should install them in a standard place like /usr/lib/apl or /usr/local/lib/apl as determined by ./configure. I am also working on installing supporting workspaces (wslib3, 4, and 5) there. /// Jürgen On 05/16/2014 06:28 PM, Elias Mårtenson wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |