From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r108762: Replace eshell-defgroup with plain defgroup Date: Wed, 27 Jun 2012 12:24:14 -0400 Message-ID: <59a9zou3ip.fsf@fencepost.gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1340814277 4331 80.91.229.3 (27 Jun 2012 16:24:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 27 Jun 2012 16:24:37 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 27 18:24:35 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Sjv2Y-0005Jm-VF for ged-emacs-devel@m.gmane.org; Wed, 27 Jun 2012 18:24:27 +0200 Original-Received: from localhost ([::1]:39573 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sjv2Y-0007wB-UR for ged-emacs-devel@m.gmane.org; Wed, 27 Jun 2012 12:24:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:37986) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sjv2S-0007ee-6F for emacs-devel@gnu.org; Wed, 27 Jun 2012 12:24:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sjv2N-0000Vh-GU for emacs-devel@gnu.org; Wed, 27 Jun 2012 12:24:19 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:40818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sjv2N-0000VQ-DD for emacs-devel@gnu.org; Wed, 27 Jun 2012 12:24:15 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Sjv2M-0000Yb-BA; Wed, 27 Jun 2012 12:24:14 -0400 X-Spook: number key Cohiba enigma electronic surveillance North X-Ran: bW3<[Ye:)z\d|J9F(dF(qmye9>.fxZ*-~JpG4<>1bLRzD\W^Z{\/Y}LN]!/ZR""`i("7`S X-Hue: yellow X-Attribution: GM User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:151224 Archived-At: Stefan Monnier wrote: >> Borrowing a trick from vc-sccs.el, wrap the defgroup in a progn >> so that the whole thing ends up in the generated autoload file, >> esh-groups.el. > > Curious: why do we need that? Why does the whole thing need to be in esh-groups? IIRC, because of the way esh-module.el uses that file. Browsing the eshell-module group is supposed to show you all the other related groups you can customize and their full descriptions, without having to load the associated file.