From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Mattie Newsgroups: gmane.emacs.devel Subject: Re: user-controlled load-path extension: load-dir Date: Wed, 9 Mar 2011 15:44:39 -0800 Message-ID: <20110309234433.GA2209@event-horizon.homenet> References: <87ei6mz24h.fsf@lifelogs.com> <20110306072147.GA11067@event-horizon.homenet> <871v2i525h.fsf@lifelogs.com> <87oc5lx607.fsf@lifelogs.com> <20110309060329.GA2042@event-horizon.homenet> <4D772A51.6060406@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; boundary="envbJBWh7q8WU6mo" X-Trace: dough.gmane.org 1299714298 9094 80.91.229.12 (9 Mar 2011 23:44:58 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Mar 2011 23:44:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Jan D." Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 10 00:44:54 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PxT3j-000175-Hc for ged-emacs-devel@m.gmane.org; Thu, 10 Mar 2011 00:44:51 +0100 Original-Received: from localhost ([127.0.0.1]:51125 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxT3j-0000uU-71 for ged-emacs-devel@m.gmane.org; Wed, 09 Mar 2011 18:44:51 -0500 Original-Received: from [140.186.70.92] (port=60530 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxT3e-0000uF-O1 for emacs-devel@gnu.org; Wed, 09 Mar 2011 18:44:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxT3d-0000hR-L0 for emacs-devel@gnu.org; Wed, 09 Mar 2011 18:44:46 -0500 Original-Received: from mail-qy0-f176.google.com ([209.85.216.176]:33432) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PxT3d-0000hL-Fz for emacs-devel@gnu.org; Wed, 09 Mar 2011 18:44:45 -0500 Original-Received: by qyk30 with SMTP id 30so1044915qyk.0 for ; Wed, 09 Mar 2011 15:44:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=+rDNHd494BKq9c2tRBMKA4DaqJqRxNlzjj18A+RZ1Lo=; b=GuNF95jjwYQ2GZ6cxbcvH78ZK1kt8LXWsULR0oGnIUCpo1G/SDZmJb9kvi29007EiZ UTvTLbOVveejkJISze12RrUqpdPp98y2FT0E1Xb33dzvLTet28M2V6PgppXPo+Y1usT4 pn8zjbuhxCxis8hN5pLMWsup49agNaZO2IsKY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=nF9l/WwT5hAEd0F9IeOv369uf4i5Ftast4Y7xiTLTx+zUn1Gteh7ezSC6rwpyg9MzA 12iGNKsMpg1ysufQRXotjbvLVT8uvDdSBmdOPY/1OZE18nX3U2NsEmvJ7tAsYryDQ5ZZ fcR1eWIRCEoHlmZKDZE13wzSYg7qcV23+AyTY= Original-Received: by 10.224.29.18 with SMTP id o18mr3824473qac.300.1299714284664; Wed, 09 Mar 2011 15:44:44 -0800 (PST) Original-Received: from event-horizon.homenet (156.sub-75-196-11.myvzw.com [75.196.11.156]) by mx.google.com with ESMTPS id g26sm1503098qco.30.2011.03.09.15.44.42 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 09 Mar 2011 15:44:43 -0800 (PST) Content-Disposition: inline In-Reply-To: <4D772A51.6060406@swipnet.se> User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.216.176 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:137010 Archived-At: --envbJBWh7q8WU6mo Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 09, 2011 at 08:20:49AM +0100, Jan D. wrote: > Mike Mattie skrev 2011-03-09 07:03: >=20 > > I have thought alot about your proposal for automatic loading so that it > > is not necessary to edit anything, just drop a file in. There is some > > real appeal for that kind of a feature ... but it is hard to implement. > > > > By hard to implement I mean really hard. Just because a file is opened > > and written to, it is not necessarily ready to load. I hit C-x s alot > > when tweaking files ... > > > > Even if I hacked some kind of inotify support to watch a directory for > > IO activity I would never know when to actually load it. > > > > If you can somehow signal when a collection is ready for re-scanning > > I can see an implementation ... > > >=20 > It can't be hard, there are tons of programs that already have this=20 > feature. Some have inotify style loading, other just load at startup.=20 > I would expect load at startup and then with a command (M-x=20 > load-load-dir or some such). That I can do. >=20 > Jan D. >=20 >=20 >=20 --envbJBWh7q8WU6mo Content-Type: application/pgp-signature Content-Disposition: inline --envbJBWh7q8WU6mo--