|
From: | Reuben Thomas |
Subject: | Re: [Bug-zile] Building Zile master head |
Date: | Sun, 29 Dec 2013 13:23:49 +0000 |
On Dec 26, 2013, at 1:08 PM, Reuben Thomas <address@hidden> wrote:> I have nowThat's actually a feature -- albeit not well explained at the moment. Suggestions welcome...
>
> alias zile=zmacs
>
> so the real fun begins. First up, the first line of my ~/.zmacs (copied verbatim from ~/.zile) is:
>
> (setq inhibit-splash-screen t)
>
> and yet it does nothing, and when I ask zmacs what inhibit-splash-screen's value is, it's nil.
The idea is that the zile.version module fills in the prog array with the details of the Zile
release it comes from (using PACKAGE_NAME, PACKAGE_VERSION etc) for editors based on Zile (such as
zmacs) to extend. By default, the shared zile.version sets prog.name to arg[0], so it can be
used by zmacs (which loads a file called `getenv("HOME") .. "." .. prog.name`) and the future
zi, zz, zee etc. Your alias effectively changes the prog.name entry back to "zile", and so it will
load ~/.zile not ~/.zmacs now.
> Secondly,(Assuming the missing 'l' was not deliberate)
>
> zmacs --hep
>
> gives no error message and an exit code of 0.
I suppose there's not really much alternative to repetition though, sadly.
[Prev in Thread] | Current Thread | [Next in Thread] |