From: Arun Isaac <arunisaac@systemreboot.net>
To: help-guix@gnu.org
Subject: Enable guix-devel-mode only in guix source files
Date: Fri, 17 Aug 2018 21:44:36 +0530 [thread overview]
Message-ID: <cu7o9e16kcz.fsf@systemreboot.net> (raw)
How do I enable guix-devel-mode only in guix source files? The suggested
method in the manual (shown below) enables guix-devel-mode in all
scheme-mode buffers.
(add-hook 'scheme-mode-hook 'guix-devel-mode)
I know I can write some elisp to find the buffer-file-name, find if it
is in my guix source folder and enable or not enable guix-devel-mode
accordingly. But, I am wondering whether there is any easier way. What
do people here normally do?
next reply other threads:[~2018-08-17 16:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-17 16:14 Arun Isaac [this message]
2018-08-17 16:44 ` Enable guix-devel-mode only in guix source files Pierre Neidhardt
2018-08-17 19:46 ` Alex Kost
2018-08-19 18:08 ` Arun Isaac
2018-08-20 19:57 ` Alex Kost
2018-08-20 22:18 ` Pierre Neidhardt
2018-08-21 15:15 ` Alex Kost
2018-08-21 15:23 ` Pierre Neidhardt
2018-08-21 17:12 ` Oleg Pykhalov
2018-08-22 8:06 ` Alex Kost
2018-08-24 22:30 ` Ludovic Courtès
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cu7o9e16kcz.fsf@systemreboot.net \
--to=arunisaac@systemreboot.net \
--cc=help-guix@gnu.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).