unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* 'origin' indentation rule.
@ 2015-09-10 21:26 Mathieu Lirzin
  2015-09-11 17:08 ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Mathieu Lirzin @ 2015-09-10 21:26 UTC (permalink / raw)
  To: guix-devel

Hi,

While reviewing patches I got confused when I discovered that
indentation for 'origin' is not consistent in package definitions.

Since commit 35ef3633001b05c25324c6e5a69d635ddc62cb6d, which add

   (eval . (put 'origin 'scheme-indent-function 0))

In .dir-locals.el, it seems that there has been quite a lot of commits
since then that don't use this rule.  Even in the manual the "suggested"
way is not clear since for example "doc/package-hello.scm" uses the rule,
but (info "(guix)Defining Packages") doesn't.

I failed to retrieve the post where this rule has been suggested (if
there is one), so I don't know the rationale behind it.  My personnal
opinion is that for the sake of simplicity and column saving we should
remove it. But Whatever the final decision is, I think it's important to be
consistent at least in the manual and the importers.

--
Mathieu Lirzin

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-09-11 20:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-09-10 21:26 'origin' indentation rule Mathieu Lirzin
2015-09-11 17:08 ` Ludovic Courtès
2015-09-11 17:09   ` Thompson, David
2015-09-11 19:12     ` Mathieu Lirzin
2015-09-11 19:35   ` Mathieu Lirzin
2015-09-11 20:57     ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

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

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).