From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.devel Subject: Re: Organizing package.el a bit Date: Sat, 28 Mar 2015 17:50:34 +0000 Message-ID: References: <87lhihtbmv.fsf@gmail.com> Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c34a0ac4bf6f05125ce2bd X-Trace: ger.gmane.org 1427565063 8917 80.91.229.3 (28 Mar 2015 17:51:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 28 Mar 2015 17:51:03 +0000 (UTC) Cc: emacs-devel To: Oleh Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 28 18:50:59 2015 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 1Ybusl-0003Iz-53 for ged-emacs-devel@m.gmane.org; Sat, 28 Mar 2015 18:50:51 +0100 Original-Received: from localhost ([::1]:54808 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ybusk-0000Pz-LL for ged-emacs-devel@m.gmane.org; Sat, 28 Mar 2015 13:50:50 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbusW-0000Pu-5J for emacs-devel@gnu.org; Sat, 28 Mar 2015 13:50:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YbusV-0000xm-Cs for emacs-devel@gnu.org; Sat, 28 Mar 2015 13:50:36 -0400 Original-Received: from mail-lb0-x232.google.com ([2a00:1450:4010:c04::232]:34595) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YbusV-0000xN-4w for emacs-devel@gnu.org; Sat, 28 Mar 2015 13:50:35 -0400 Original-Received: by lboc7 with SMTP id c7so26114589lbo.1 for ; Sat, 28 Mar 2015 10:50:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=XDidsp3VK9u4NF/t9Lua2bK+WkRHFnJQ9UpczexrJ78=; b=uZAs5mdE/qBZjGsNLf1kfgLopN9TqQ3sSBCkcZGsIlvnQpUz+HowlNHyMa++I07vCD xFtjDsGGCrZHnbE/Gt/OQH4lwrhWFyQTZTNL3mTMCBMgX0Ae6e7PVuxOYcITCwnqXGOO H+43fmH9KrGJ/xc4HUG62+p8CiK0EBmkAQjpOhHVwqczxv5+WABTMU/qydXSxkoQkDZt 0dTdvo1mLPKJsNra6slzv24DJKQNKLoz5lwcC59+UmXYfYwvnsULd1gRrH45DKJRgotn CruXnRji/ioo1x7S5KW0jMkEM0ardrljBncvzid4nvgel1SqF8XHbXObFuaj438d9yTo fubw== X-Received: by 10.152.7.212 with SMTP id l20mr10085070laa.68.1427565034387; Sat, 28 Mar 2015 10:50:34 -0700 (PDT) Original-Received: by 10.112.207.225 with HTTP; Sat, 28 Mar 2015 10:50:34 -0700 (PDT) Original-Received: by 10.112.207.225 with HTTP; Sat, 28 Mar 2015 10:50:34 -0700 (PDT) In-Reply-To: <87lhihtbmv.fsf@gmail.com> X-Google-Sender-Auth: g0SguMtJBOZuvfQ9sRKA_QQy9bI X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::232 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:184474 Archived-At: --001a11c34a0ac4bf6f05125ce2bd Content-Type: text/plain; charset=UTF-8 > > On second thought. It would be much simpler and just as effective to > > move some functions around a bit and divide the file with a few more > > page breaks. > > I agree on this one. 3000 lines ins't a lot, especially when you compare > it to 25000 lines of org.el. But org.el is organized nicely with > outlines, instead of page breaks. Maybe you should consider outlines for > package.el as well. Outlines are easy to navigate, fold and narrow into. Yes, I'll add a comment outline to every page break (as is the usual style), as well as a short description. --001a11c34a0ac4bf6f05125ce2bd Content-Type: text/html; charset=UTF-8


> > On second thought. It would be much simpler and just as effective to
> > move some functions around a bit and divide the file with a few more
> > page breaks.
>
> I agree on this one. 3000 lines ins't a lot, especially when you compare
> it to 25000 lines of org.el. But org.el is organized nicely with
> outlines, instead of page breaks. Maybe you should consider outlines for
> package.el as well. Outlines are easy to navigate, fold and narrow into.

Yes, I'll add a comment outline to every page break (as is the usual style), as well as a short description.

--001a11c34a0ac4bf6f05125ce2bd--