From: Kristopher Micinski <krismicinski@gmail.com>
To: Romain Bardou <romain.bardou@inria.fr>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Tuareg mode: Indentation of application arguments
Date: Sat, 22 Sep 2012 14:13:46 -0400 [thread overview]
Message-ID: <CAF1Sy-H_03zcCKcbqebq3XqSA6OdcjBEhhnnAMhgp_DX97NP4A@mail.gmail.com> (raw)
In-Reply-To: <505DBBB3.10105@inria.fr>
On Sat, Sep 22, 2012 at 9:22 AM, Romain Bardou <romain.bardou@inria.fr>
> Thank you for your input, Kristopher.
>
> One big issue I have with indent-buffer (and also with M-q, actually) is
> that it will reindent stuff I have indented by hand to bypass some rules of
> Tuareg I don't like.
>
> Even if I had an "indent correctly and instantly all files of my project"
> button, I still would not find the current indentation rule for application
> acceptable. I believe that good indentation rules should not rely on
> automation to actually be usable.
>
> I'm not fluent at all with elisp and that's not something I am really
> interested in learning.
>
> That's just personal taste really though.
>
> Cheers,
I completely understand that: indentation is something that requires
human intelligence (and good indentation is an art rather than
science).
For the same reasons I do not indent a whole buffer at once, usually..
FYI some open source projects have as part of their build process a
call to GNU indent, super annoying when indentation is not as you
describe..
That being said, if there is a part of tuareg mode that you need to
modify to accommodate your needs (the change of a variable name, as
you mention), hacking on the elisp might be preferable. And yes, I
understand emacs lisp is this somewhat scary and involved language,
more for reasons related to emacs (as an API) rather than anything
having to do with lisp.. :-/
kris
next prev parent reply other threads:[~2012-09-22 18:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-12 14:58 Romain Bardou
[not found] ` <20120917.222210.832076572642519350.Christophe.Troestler@umons.ac.be>
2012-09-18 3:08 ` [Caml-list] " Stefan Monnier
2012-09-21 13:42 ` [Caml-list] " Romain Bardou
2012-09-21 20:11 ` Kristopher Micinski
2012-09-22 13:22 ` Romain Bardou
2012-09-22 13:53 ` Dmitry Grebeniuk
2012-09-22 18:13 ` Kristopher Micinski [this message]
2012-09-23 0:27 ` Edgar Friendly
2012-09-23 1:18 ` Kristopher Micinski
2012-10-08 15:17 ` [Caml-list] " Stefan Monnier
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=CAF1Sy-H_03zcCKcbqebq3XqSA6OdcjBEhhnnAMhgp_DX97NP4A@mail.gmail.com \
--to=krismicinski@gmail.com \
--cc=caml-list@inria.fr \
--cc=romain.bardou@inria.fr \
/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