From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: bug#10125: RFE: require and load-path-shadowing Date: Fri, 11 Jan 2013 20:53:00 +0100 Message-ID: <87bocvcx9f.fsf@Rainer.invalid> References: <87sj68eogm.fsf@Rainer.invalid> <87wqvjd7qa.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:38886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ttkft-0002wE-Sq for emacs-orgmode@gnu.org; Fri, 11 Jan 2013 14:54:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ttkfq-0005Ua-Lf for emacs-orgmode@gnu.org; Fri, 11 Jan 2013 14:53:57 -0500 In-Reply-To: <81pqgh90sp.fsf@gmail.com> Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-Message-ID: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: 10125@debbugs.gnu.org Stefan Monnier writes: >>> I guess we could fork Emacs early on and keep this second process >>> around as a "process from which to generate new clean slates". >> I've been thinking about something like this for a while… if it worked >> at least as well as starting a new Emacs instance on all platforms, I'd >> favor this approach. > > IIUC "fork" is not really an option for w32. For the intended application spawn should work as well? > Yes, this subroutine is never directly called from C, so placing an > advice should work just fine. OK, I'll give it a try. >> As long as the package is properly namespaced, why not allow for >> removing all definitions pertaining to that entire namespace (features, >> autoloads, definitions, …)? > > We could try that, as well, but it would only work for those packages > that are "properly namespaced" (and there's no way to detect that > AFAIK). True, but a package might indicate if it is "one of those" and get the appropriate treatment from package manager. > Along the same lines, we could try to use unload-feature. I thought this was potentially dangerous, but reading the docstring again maybe not. Let me try that as well. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Q+, Q and microQ: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds