emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [elpa] master 74818d5: Brief Mode v5.86 release.


From: Stefan Monnier
Subject: Re: [elpa] master 74818d5: Brief Mode v5.86 release.
Date: Sat, 20 Oct 2018 14:51:53 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]