From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: Enable guix-devel-mode only in guix source files Date: Tue, 21 Aug 2018 17:23:47 +0200 Message-ID: <874lfnagl8.fsf@gmail.com> References: <87ftzd3pts.fsf@gmail.com> <87y3d4wzcg.fsf@gmail.com> <87r2isvmja.fsf@gmail.com> <87ftz83co1.fsf@gmail.com> <874lfnsqc8.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54220) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fs8g7-0000LN-I9 for help-guix@gnu.org; Tue, 21 Aug 2018 11:34:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fs8Vb-0002US-19 for help-guix@gnu.org; Tue, 21 Aug 2018 11:23:59 -0400 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:38619) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fs8Va-0002Tf-Qy for help-guix@gnu.org; Tue, 21 Aug 2018 11:23:50 -0400 Received: by mail-wm0-x232.google.com with SMTP id t25-v6so3201968wmi.3 for ; Tue, 21 Aug 2018 08:23:50 -0700 (PDT) In-reply-to: <874lfnsqc8.fsf@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Alex Kost Cc: help-guix@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable > Ah, that's what you meant. I think this is horrible :-) Why? > And a user is not forced to use Emacs-Guix, so calling 'guix-devel-mode' = will > simply fail if Emacs-Guix is not installed. I don't know the innards of .dir-locals.el, but if we can somehow check if = the mode is defined, that would solve this issue. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAlt8LoMACgkQm9z0l6S7 zH/fGgf+IHJ7s3RmOxewNOlGxlHIzLevqg1WQ0LqY7UpQf1eED/29FugfeZ28dPA 42tPB7QKNf+kuIexJX6lq1m3VE1o06+aocbUeXCrnybDV8VRlicIvUlRPyGbqm3F 1ZkQiftzcC80qntbq7wAg2efyeJckmCys81+GbdyShgc4LZ7obPJxX7UrT+u8jot RP2cVZknUzL7oXO/cOl5O6IUaC3JvNXHXosNURlou9eEjC1xw13J6hw8msvPz1/D 1moauy+Scj1Dg4hoJ34H+OL8WM5hjX0XwiQ5D43krubcXXjpBsE+VoTvR7TryL3y HFG5VyJ5cH+XAMKBygDrUZ1Gb9FrwQ== =PBI8 -----END PGP SIGNATURE----- --=-=-=--