> 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.
Aside from the major purpose of 'b' for new users, there is a minor
purpose of 'b' -- a quick convenient shortcut for experienced users,
a pure & clean Emacs+Brief environment. Just like the "-q" or "-Q"
argument is for Emacs. You might notice by default I add "-q" in 'b'
and gave an "-nq" to reverse it. I would like 'b' to behave just like
"emacs -q" or "emacs -Q", but, with BriefMode as it's default keymap.
For myself, I from time to time need to launch a clean emacs env (to
bypass my lengthy .emacs init seq) for some quick editing, sometimes
emacsclient is just not adequate, therefore the "emacs -q" was
supposed to be good enough for that but just lack of the brief keymap.
Therefore with "-q" so I can't just fire it with "-f brief-mode" and
therefore it came along with the version/path things.
If you have a better way to launch Emacs with -q while being able to do
similar things like "-f brief-mode", *please definitively let me know*.
I myself don't like those default version things but I got no better
way. For a personal script I don't have that locally; but when it
extended for other users or new users, with Brief as an installed
Emacs package, I can't find a faster way to direct access
"~/.emacs.d/elpa/brief-XXX" without any searching. As I mentioned
in my earlier reply I can make things more complicated by things like
a 'find ~/.emacs.d/elpa -name b' but then I will need to sort
"by versions" if there are several versions returned (which involves
*version format* comparison like: v5.100 > v5.90). Of course, this
won't happen immediately as currently there is only v5.86. But once
there are more other versions installed it suppose to slow down things.
> That's also why I suggested introducing another function (like
> `brief-mode-full`) which would call brief plus setup those
> (h)scroll vars.
Yap, that's a good idea and I can get rid of those default settings
in 'b' altogether. I will do that in my next release.
Best regards,
Luke Lee