all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alex Kost <alezost@gmail.com>
To: ng0 <ng0@we.make.ritual.n0.is>
Cc: guix-devel@gnu.org
Subject: Re: guix emacs mode
Date: Fri, 28 Oct 2016 12:47:05 +0300	[thread overview]
Message-ID: <87h97wdcva.fsf@gmail.com> (raw)
In-Reply-To: <8737jgub8g.fsf_-_@we.make.ritual.n0.is> (ng0@we.make.ritual.n0.is's message of "Fri, 28 Oct 2016 08:30:23 +0000")

ng0 (2016-10-28 08:30 +0000) wrote:

> ng0 <ng0@we.make.ritual.n0.is> writes:
>
>> Efraim Flashner <efraim@flashner.co.il> writes:
>>
>>> [ Unknown signature status ]
>>> On Sat, Oct 22, 2016 at 09:31:33PM +0000, ng0 wrote:
>>>> Occasionally I use vim on systems to work on guix and other projects. As
>>>> far as I see it, there is nothing similar to .dir-locals.el (the per
>>>> directory local variables in emacs) for vim.
>>>> 
>>>> We should include modelines for every file to reflect what .dir-locals.el
>>>> does when you use emacs. It's probably an unpopular opinion, but I think
>>>> we should do this to be more open to people who do not use emacs.
>>>> Support for vim and emacs covers most editors which are there to
>>>> support.
>>>> 
>>>
>>> IMO there's too many files to go adding to the bottom of all the files.
>>> Something I've been thinking about is learning enough vimscript to write
>>> a guix.vim file that'll take care of formatting.
>>
>> I agree, this could be more useful. The best approach would be to move
>> this to a separate project, so that other systems can create packages
>> for this to install it.
>
> Different issue, but somehow related: Could we move the emacs
> specific settings into an emacs mode if emacs modes can detect
> some common structure or however we specify that the current file
> which is edited is guix and not guile/scm alone?

Sorry, I don't understand the question.  What does «move the emacs
specific settings into an emacs mode» mean?

Also there is no difference between some guix ".scm" file and a usual
guile ".scm" file.

-- 
Alex

  reply	other threads:[~2016-10-28  9:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-22 21:31 vim modelines for guix repository ng0
2016-10-23  5:14 ` Efraim Flashner
2016-10-23 16:20   ` ng0
2016-10-28  8:30     ` guix emacs mode (was: Re: vim modelines for guix repository) ng0
2016-10-28  9:47       ` Alex Kost [this message]
2016-10-28 10:19         ` guix emacs mode ng0
2016-10-29  9:07           ` Alex Kost

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h97wdcva.fsf@gmail.com \
    --to=alezost@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=ng0@we.make.ritual.n0.is \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.