all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: 路客 <luke.yx.lee@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>,
	Emacs developers <emacs-devel@gnu.org>
Subject: Re: [elpa] master 74818d5: Brief Mode v5.86 release.
Date: Sun, 21 Oct 2018 00:01:30 +0800	[thread overview]
Message-ID: <CAA=xLRNpy6eXjcmLpdsj7xf+d7oEkv=s3-SsJOacFRJ4oq5gtg@mail.gmail.com> (raw)
In-Reply-To: <jwvva5xsyn4.fsf-monnier+gmane.emacs.devel@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 2237 bytes --]

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

> (regarding other discussions about 'b'...)

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.

> > Yes, quite a few bash specific things.
> I find it difficult to find those, but I usually find it easy to change
> the code not to use them, so if you can point them out I can try and
> see if I can remove this dependency without making the code worse.

Mainly about the array things.  I would like to get rid of the
possibility that white space exists in some argument (like file name
or directory with white space) so bash arrays are more convenient to
me.  There must be 'sh' ways to achieve this but maybe later when
I have time.  Maybe 'b' need to be revised for github anyway.

> Are they likely to dig into the code of `b` to find that?  Or look for
> a b.el file in the package (e.g. if they installed it via package.el
> they may not even know where to look to find b.el)?
> ...
> Maybe you could advertise those in a different way, e.g. in the README,

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.

> I don't follow: the above definition already defines the
> `brief-auto-backup-mode` command which toggles.

Arg, you're right, will do that later.

Best regards,
Luke Lee

[-- Attachment #2: Type: text/html, Size: 2698 bytes --]

  reply	other threads:[~2018-10-20 16:01 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         ` 路客 [this message]
2018-10-20 18:51           ` Stefan Monnier
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

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

  git send-email \
    --in-reply-to='CAA=xLRNpy6eXjcmLpdsj7xf+d7oEkv=s3-SsJOacFRJ4oq5gtg@mail.gmail.com' \
    --to=luke.yx.lee@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.