unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: 路客 <luke.yx.lee@gmail.com>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: [elpa] master 74818d5: Brief Mode v5.86 release.
Date: Sat, 20 Oct 2018 14:51:53 -0400	[thread overview]
Message-ID: <jwvefckqwvf.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <CAA=xLRNpy6eXjcmLpdsj7xf+d7oEkv=s3-SsJOacFRJ4oq5gtg@mail.gmail.com> ("路客"'s message of "Sun, 21 Oct 2018 00:01:30 +0800")

>> 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



  reply	other threads:[~2018-10-20 18:51 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20181018141131.22680.53035@vcs0.savannah.gnu.org>
     [not found] ` <20181018141132.6E8BA208EC@vcs0.savannah.gnu.org>
2018-10-18 15:43   ` [elpa] master 74818d5: Brief Mode v5.86 release Stefan Monnier
2018-10-19 15:35     ` Stefan Monnier
2018-10-19 15:41       ` Stefan Monnier
2018-10-19 15:47     ` 路客
2018-10-19 16:47       ` Stefan Monnier
2018-10-20 16:01         ` 路客
2018-10-20 18:51           ` Stefan Monnier [this message]
2018-10-21  3:40             ` 路客
2018-10-21 14:23               ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvefckqwvf.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=luke.yx.lee@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).