Zile is the emacs clone that the disk-image comes with by default. J' On Sun, Jan 08, 2017 at 07:47:56PM +0100, Taylan Ulrich Bay??rl??/Kammer wrote: myglc2 <myg...@gmail.com> writes: > On 01/06/2017 at 21:50 John Darrington writes: > >> 3) install emacs? >> >> I would be reluctant to do that by default: >> >> Firstly it's a slippery slope. The next person will say "No! install vi! or nano, or ....". >> >> Secondly, I think the intended way for Guix to be configured is to have >> the system profile relatively sparse. Editors belong in the user >> profiles. > > I have tried it both ways. In practice the root user will want an > editor to edit the config. So it seems illogical to me not to include an > editor. The problem is that the editor will depend on the politics of > the system admin ;=) > > In my case I want emacs, so I put emacs in my system configs. There's a tiny emacs-like editor called mg. In terms of size/features, mg is to Emacs what vi is to Vim. If you ask me, every headless server or similar system should come with vi, mg, and nano; together they cover all bases and are all tiny so installing them by default doesn't hurt. Emacs, Vim, or another big editor can be installed at discretion of the user. The package 'nvi' provides classic vi under Guix. Nano and mg are their own packages. Here's their closure sizes: taylan@T420:~$ guix size mg store item total self /gnu/store/kxdvx4ks927537z4ndzca39q0bal81rj-mg-20050429 66.9 0.2 0.2% /gnu/store/xydfiifs9slq0wv6n8j6p26icn2ihn88-ncurses-6.0 66.7 5.7 8.6% /gnu/store/cdi08kw7r6r684w8mk0xq0dkgpjhfpmd-gcc-4.9.4-lib 61.0 22.7 34.0% /gnu/store/iwgi9001dmmihrjg4rqhd6pa6788prjw-glibc-2.24 38.3 36.8 55.1% /gnu/store/rvgmixpmsq5lqr9qflhkm70kg7a4rys2-bash-static-4.4.0 1.4 1.4 2.1% total: 66.9 MiB taylan@T420:~$ guix size nvi store item total self /gnu/store/bls7waxw1yfxgqzwbwa88r065hi45pvj-nvi-1.81.6 85.5 1.6 1.8% /gnu/store/xydfiifs9slq0wv6n8j6p26icn2ihn88-ncurses-6.0 66.7 5.7 6.7% /gnu/store/1pmfxq5amb2rngj1i6c6gi93sy0yrngx-bdb-6.2.23 65.8 4.8 5.6% /gnu/store/cdi08kw7r6r684w8mk0xq0dkgpjhfpmd-gcc-4.9.4-lib 61.0 22.7 26.6% /gnu/store/qkw4zrwfybxww8f56nkb6hggxambk89b-bash-4.4.0 50.7 5.4 6.4% /gnu/store/bm0gfw4jkw8gd0vpnnzrb6z0xncrbx3p-readline-7.0 45.3 1.3 1.5% /gnu/store/hdrli1v7q3107w842s7di8rid82xlfvl-ncurses-6.0 44.0 5.7 6.7% /gnu/store/iwgi9001dmmihrjg4rqhd6pa6788prjw-glibc-2.24 38.3 36.8 43.1% /gnu/store/rvgmixpmsq5lqr9qflhkm70kg7a4rys2-bash-static-4.4.0 1.4 1.4 1.7% total: 85.5 MiB taylan@T420:~$ guix size nano store item total self /gnu/store/q76f7ncp6yvmpj2yfqy336iqbqajk9z0-nano-2.7.2 72.7 1.7 2.4% /gnu/store/xydfiifs9slq0wv6n8j6p26icn2ihn88-ncurses-6.0 66.7 5.7 7.9% /gnu/store/06icf5h4z83mw5g17a58fy26z14dsj9z-file-5.28 65.3 4.3 5.9% /gnu/store/cdi08kw7r6r684w8mk0xq0dkgpjhfpmd-gcc-4.9.4-lib 61.0 22.7 31.3% /gnu/store/iwgi9001dmmihrjg4rqhd6pa6788prjw-glibc-2.24 38.3 36.8 50.6% /gnu/store/rvgmixpmsq5lqr9qflhkm70kg7a4rys2-bash-static-4.4.0 1.4 1.4 2.0% total: 72.7 MiB taylan@T420:~$ As you see, they don't depend on many (if any) libraries that aren't very likely to be installed as dependencies of something else anyway, and their own size adds up to a mere 3.5 MB. Taylan
-- Avoid eavesdropping. Send strong encrypted email. PGP Public key ID: 1024D/2DE827B3 fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3 See http://sks-keyservers.net or any PGP keyserver for public key.
signature.asc
Description: Digital signature