From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [elpa] master 74818d5: Brief Mode v5.86 release. Date: Sat, 20 Oct 2018 14:51:53 -0400 Message-ID: References: <20181018141131.22680.53035@vcs0.savannah.gnu.org> <20181018141132.6E8BA208EC@vcs0.savannah.gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1540061440 7859 195.159.176.226 (20 Oct 2018 18:50:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 20 Oct 2018 18:50:40 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Emacs developers To: =?utf-8?B?6Lev5a6i?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 20 20:50:36 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gDwKY-0001wu-6D for ged-emacs-devel@m.gmane.org; Sat, 20 Oct 2018 20:50:34 +0200 Original-Received: from localhost ([::1]:56258 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDwMe-0008Be-D1 for ged-emacs-devel@m.gmane.org; Sat, 20 Oct 2018 14:52:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41765) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDwLx-0008BX-4f for emacs-devel@gnu.org; Sat, 20 Oct 2018 14:52:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gDwLt-0004te-45 for emacs-devel@gnu.org; Sat, 20 Oct 2018 14:52:01 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:55928) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gDwLs-0004sN-Uz for emacs-devel@gnu.org; Sat, 20 Oct 2018 14:51:57 -0400 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id w9KIpsI5007003; Sat, 20 Oct 2018 14:51:54 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 078A9AE143; Sat, 20 Oct 2018 14:51:54 -0400 (EDT) In-Reply-To: (=?utf-8?B?Iui3r+WuoiIncw==?= message of "Sun, 21 Oct 2018 00:01:30 +0800") X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 2 Rules triggered EDT_SA_DN_PASS=0, RV6400=0 X-NAI-Spam-Version: 2.3.0.9418 : core <6400> : inlines <6936> : streams <1801880> : uri <2734504> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:230530 Archived-At: >> Not sure what you mean exactly, here: `b` is a script that's part of the >> `brief` GNU ELPA package. So to get this script, they've had to >> "install" (at the very least download and unpack) that package already. >> The easiest way to install it is with `M-x package-install RET`, AFAIK > > In EmacsWiki page (or "README.org") I suggest this command line: > > $ emacs -Q -eval "(progn (package-initialize) (package-refresh-contents) \ > (package-install 'brief) (save-buffers-kill-emacs))" > > so basically a new user only need to copy&paste this command... But that's also the "normal" package.el installation, so there's no need to search for brief.el: after the above command, Emacs will know where to find brief.el and `b` could just fire `emacs -f brief-mode` and be done with it. > However I am facing another more basic problem that I can't make > either 'b' or 'README.org' packed into brief package. I read thru all > the multi-file related info but they seems only applies to .el files. > I am still trying, if I still can't even pack 'b' or README.org I will just > put them in github and modify EmacsWiki and README.org about the above > command line without even using package. Of course the 'b' would need > to be modified accordingly. IIUC you found the answer in the mean time: the package header needed a `Package-Type: multi`. > Once users find the behavior of launching 'b' and of Emacs+briefpkg > differs, they will findout in the 'b' script. Surely better be in > README.org. That's also why I suggested introducing another function (like `brief-mode-full`) which would call brief plus setup those (h)scroll vars. Stefan