From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Original-To: caml-list@sympa.inria.fr Delivered-To: caml-list@sympa.inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by sympa.inria.fr (Postfix) with ESMTPS id 9AA827ED7A for ; Sat, 22 Sep 2012 20:13:48 +0200 (CEST) Received-SPF: None (mail1-smtp-roc.national.inria.fr: no sender authenticity information available from domain of krismicinski@gmail.com) identity=pra; client-ip=209.85.220.182; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="krismicinski@gmail.com"; x-sender="krismicinski@gmail.com"; x-conformance=sidf_compatible Received-SPF: Pass (mail1-smtp-roc.national.inria.fr: domain of krismicinski@gmail.com designates 209.85.220.182 as permitted sender) identity=mailfrom; client-ip=209.85.220.182; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="krismicinski@gmail.com"; x-sender="krismicinski@gmail.com"; x-conformance=sidf_compatible; x-record-type="v=spf1" Received-SPF: None (mail1-smtp-roc.national.inria.fr: no sender authenticity information available from domain of postmaster@mail-vc0-f182.google.com) identity=helo; client-ip=209.85.220.182; receiver=mail1-smtp-roc.national.inria.fr; envelope-from="krismicinski@gmail.com"; x-sender="postmaster@mail-vc0-f182.google.com"; x-conformance=sidf_compatible X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgwCANL+XVDRVdy2mGdsb2JhbABFvSMEfggjAQEBAQEICQ0HFCeCIQEBBBICLAEbEQwBAwwGBQs7IgERAQUBHAYTCBqHUAEDD5obCQOMJoJ1hEwKGScNWYh0AQUMixA2hXQDlWWORBYphCM X-IronPort-AV: E=Sophos;i="4.80,468,1344204000"; d="scan'208";a="174233257" Received: from mail-vc0-f182.google.com ([209.85.220.182]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 22 Sep 2012 20:13:47 +0200 Received: by vcbfw7 with SMTP id fw7so8683498vcb.27 for ; Sat, 22 Sep 2012 11:13:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=CC107xwxic5RAC5KRoE/P5PKVeNI5S1M0bPkKuItCPs=; b=ogrQFxuPS88sFP8mW26BFLIZRTNSKpr/ew9y/CNONQxjFDe9qGXcaQEMU4QRpQFQaw ZWsAt5FJE1oPTWMab1VnOP20cmt7QNVRP705YPkD+CVboPFZGA7M/1feHkQxu2xeQN+V Lhf9dnXpzpa/kQvsGM0Th8Z2ZeQ0E2borssBbLDlvEPpHXLZoNlYNhWfjvBTJBhWGVfw 4sfOz0r3XwPY+HrXJPAp4O12wwRS9l+l+W+/bfYtR6zjoz0QTuxmAppU0JGdfETnMg+f O1dggKqSR1UThyWz7U3UTNpgcJWNeXzp3FnWkgxOaQA7uO7851ee+aq9JJ9ZAuoTVXKy 5Nhg== MIME-Version: 1.0 Received: by 10.221.10.81 with SMTP id oz17mr4848933vcb.67.1348337626917; Sat, 22 Sep 2012 11:13:46 -0700 (PDT) Received: by 10.58.95.104 with HTTP; Sat, 22 Sep 2012 11:13:46 -0700 (PDT) In-Reply-To: <505DBBB3.10105@inria.fr> References: <5050A32C.9090809@inria.fr> <20120917.222210.832076572642519350.Christophe.Troestler@umons.ac.be> <505C6EAF.5080301@inria.fr> <505DBBB3.10105@inria.fr> Date: Sat, 22 Sep 2012 14:13:46 -0400 Message-ID: From: Kristopher Micinski To: Romain Bardou Cc: caml-list@inria.fr Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [Caml-list] Tuareg mode: Indentation of application arguments On Sat, Sep 22, 2012 at 9:22 AM, Romain Bardou > 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