lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GOP2-4: add script for batch indenting Scheme files (issue 6450162)


From: John Mandereau
Subject: Re: GOP2-4: add script for batch indenting Scheme files (issue 6450162)
Date: Mon, 20 Aug 2012 12:35:40 +0200

Il giorno lun, 20/08/2012 alle 10.11 +0000, address@hidden ha scritto:
> http://codereview.appspot.com/6450162/diff/1/scripts/auxiliar/fixscm.sh
> File scripts/auxiliar/fixscm.sh (right):
> 
> http://codereview.appspot.com/6450162/diff/1/scripts/auxiliar/fixscm.sh#newcode15
> scripts/auxiliar/fixscm.sh:15: emacs -batch "$@" --eval
> "${elisp_expression}"
> Can you verify that emacs -batch indeed obeys directory-local variables?

My emacs install (24.1.1, Fedora 17) does:  with the .dir-locals.el from
this patch checked in,

emacs -batch Documentation/fr/notation/pitches.itely --eval '(progn 
(delete-trailing-whitespace) (fill-region (point-min) (point-max)) 
(save-buffer))

did refill paragraphs (most were filled at 72 characters per line) to
66.  (Off-topic note: Texinfo-mode-specific fill-region function screws
up @menu environments, so it's currently unusable for reformatting our
docs automatically).


>   Otherwise the above info is quite off

This info is off whether Emacs -batch obeys dir-local variables or not:
from your comment on -devel the directory-local settings you propose
(indent-tabs-mode in scheme-mode) is not used by this script.  I'm
resending a patch.

John




reply via email to

[Prev in Thread] Current Thread [Next in Thread]