From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ben Key Newsgroups: gmane.emacs.devel Subject: Re: user-controlled load-path extension: load-dir Date: Sat, 19 Mar 2011 12:07:28 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=0015175cd8d2818e7d049ed818ee X-Trace: dough.gmane.org 1300550888 15959 80.91.229.12 (19 Mar 2011 16:08:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 19 Mar 2011 16:08:08 +0000 (UTC) Cc: tzz@lifelogs.com, Emacs-devel@gnu.org To: Juanma Barranquero Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 19 17:08:04 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 1Q0yh9-0000ti-Nu for ged-emacs-devel@m.gmane.org; Sat, 19 Mar 2011 17:08:04 +0100 Original-Received: from localhost ([127.0.0.1]:56440 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0yh8-0005P2-SO for ged-emacs-devel@m.gmane.org; Sat, 19 Mar 2011 12:08:02 -0400 Original-Received: from [140.186.70.92] (port=47853 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0ygw-0005L9-Mi for Emacs-devel@gnu.org; Sat, 19 Mar 2011 12:07:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q0ygv-0003Of-M7 for Emacs-devel@gnu.org; Sat, 19 Mar 2011 12:07:50 -0400 Original-Received: from mail-bw0-f41.google.com ([209.85.214.41]:58397) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q0ygv-0003OZ-CZ for Emacs-devel@gnu.org; Sat, 19 Mar 2011 12:07:49 -0400 Original-Received: by bwz17 with SMTP id 17so4595316bwz.0 for ; Sat, 19 Mar 2011 09:07:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=LAP9Y+XSvr73stNLsdoQ/DNSlBoYToOAiHIgL9chNkc=; b=THVx74twB7EGc5m0CQQl7Ia5wHzFKavkhEGb2rCdI/YN6vSrwtbiWNVOwNXLbAFGPW Juv06pTOGtt21EzxSSFYiGhr/oOLG7FtFoX++0xlIxwcE7+ICbeQCjdyfP3TCgEQG6/x wj4hlzVcx+uG5VaBbWB+izibPCwHfvXbZ2ec4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=FfroSAolSBliFdLlpj29AXYL4kQ4TBfvGQdoYyyK1OffOKi4mUqAVvT7E6eDpV3v67 GIFETf9bLQwakC+bKkfQZaJDPd5ddTPB7z1btaU2T3Fwr6/D99TrSEhzYW3FjpANa8GI w+aXAVhkw8OQTleDyuV3jzr3eFlQP9L4mefhQ= Original-Received: by 10.204.136.217 with SMTP id s25mr2050508bkt.13.1300550868110; Sat, 19 Mar 2011 09:07:48 -0700 (PDT) Original-Received: by 10.204.130.65 with HTTP; Sat, 19 Mar 2011 09:07:28 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.41 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:137422 Archived-At: --0015175cd8d2818e7d049ed818ee Content-Type: multipart/alternative; boundary=0015175cd8d2818e75049ed818ec --0015175cd8d2818e75049ed818ec Content-Type: text/plain; charset=ISO-8859-1 On Sat, Mar 19, 2011 at 9:29 AM, Juanma Barranquero wrote: > > (defcustom load-dir-recursive nil > "List of directories to load." > :group 'load-dir > :require 'load-dir > :type 'boolean) > > That docstring can't possibly be right :-) > > You are absolutely correct. That was not one of the lines I changed though. The attached file fixes this docstring. --0015175cd8d2818e75049ed818ec Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sat, Mar 19, 2011 at 9:29 AM, Juanma Barranquero <lekktu@gmail.com>= ; wrote:

(defcustom load-dir-recursive nil
=A0"List of directories to load."
=A0:group 'load-dir
=A0:require 'load-dir
=A0:type 'boolean)

That docstring can't possibly be right :-)



You are abso= lutely correct.=A0 That was not one of the lines I changed though.=A0 The a= ttached file fixes this docstring.

--0015175cd8d2818e75049ed818ec-- --0015175cd8d2818e7d049ed818ee Content-Type: application/octet-stream; name="load-dir.el" Content-Disposition: attachment; filename="load-dir.el" Content-Transfer-Encoding: base64 X-Attachment-Id: f_glgqcdd80 Ozs7IGxvYWQtZGlyLmVsIC0tLSBsb2FkIGFsbCBFbWFjcyBMaXNwIGZpbGVzIGluIGdpdmVuIGRp cmVjdG9yaWVzCgo7OyBDb3B5cmlnaHQgKEMpIDIwMTEgRnJlZSBTb2Z0d2FyZSBGb3VuZGF0aW9u LCBJbmMKCjs7IEF1dGhvcnM6IFRlb2RvciBabGF0YW5vdiA8dHp6QGxpZmVsb2dzLmNvbT4sCjs7 ICAgICAgICAgIEJlbiBLZXkgPGJrZXk3NkBnbWFpbC5jb20+Cjs7IFdpdGgtSGVscC1Gcm9tOiBF dmFucyBXaW5uZXIgPGVnbzExMUBnbWFpbC5jb20+LCBQSiBXZWlzYmVyZyA8cGpAaXJyZWd1bGFy ZXhwcmVzc2lvbnMubmV0Pgo7OyBWZXJzaW9uOiAwLjAuMQo7OyBLZXl3b3JkczogbGlzcCwgZmls ZXMsIGNvbnZlb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