[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] emacs: Enable 'guix-build-log-minor-mode' in shell buffers.
From: |
Alex Kost |
Subject: |
[PATCH] emacs: Enable 'guix-build-log-minor-mode' in shell buffers. |
Date: |
Sat, 31 Oct 2015 23:42:55 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Ludovic Courtès (2015-10-30 19:51 +0300) wrote:
> Alex Kost <address@hidden> skribis:
>
[...]
>> + (add-hook 'shell-mode-hook 'guix-build-log-minor-mode)
>
> I wonder if we should do that automatically by default. That way
> everyone would get the cool features, even those who didn’t bother to
> read all the manual.
>
> WDYT?
Not sure if it's really worth, but this can be done the same way as with
enabling 'guix-devel-mode' (as in the attached patch). So it can be
disabled by:
(setq guix-build-log-minor-mode-activate nil)
But then why don't we enable 'guix-prettify-mode' by default? As for
me, I don't think all these features should be automatically enabled,
dunno what is considered to be a good default: "full-featured" or "as
simple as possible".
0001-emacs-Enable-guix-build-log-minor-mode-in-shell-buff.patch
Description: Text Data