[ESS] Indentation of continued statements

Vitalie Spinu spinuvit at gmail.com
Fri Apr 25 19:46:22 CEST 2014


Github bug tracker is a good place for this. Once the issue is open it
will not be forgotten.

   Vitalie

 >>> Grant Rettke on Fri, 25 Apr 2014 10:31:24 -0500 wrote:

 > Vitalie is there an ESS wish-list out there for stuff like this that
 > people eager to hack on things would enjoy working on?
 > Grant Rettke | AAAS, ACM, ASA, FSF, IEEE, SIAM, Sigma Xi
 > grettke at acm.org | http://www.wisdomandwonder.com/“Wisdom begins in wonder.” --Socrates
 > ((λ (x) (x x)) (λ (x) (x x)))
 > “Life has become immeasurably better since I have been forced to stop
 > taking it seriously.” --Thompson

 > On Fri, Apr 25, 2014 at 1:32 AM, Kevin Ushey <kevinushey at gmail.com> wrote:
 >> Can I also throw in my hat for 'additional customization for
 >> indentation'? This is another thing I would love to see, as a new
 >> Emacs + ESS user.
 >> 
 >> Another thing: is it possible to modify indentation so that the
 >> closing parenthesis of a function call matches the function scope,
 >> e.g.
 >> 
 >> foo(
 >> a,
 >> b,
 >> c
 >> )
 >> 
 >> instead of
 >> 
 >> foo(
 >> a,
 >> b,
 >> c
 >> )
 >> 
 >> ? As a parallel, the c offsets give us 'arglist-close' for choosing
 >> indentation for this case; do we get something similar from ESS?
 >> 
 >> On Thu, Apr 24, 2014 at 8:17 AM, Steve Lianoglou
 >> <lianoglou.steve at gene.com> wrote:
 >>> Hi,
 >>> 
 >>> On Thursday, April 24, 2014, Andreas Leha <
 >>> andreas.leha at med.uni-goettingen.de> wrote:
 >>> 
 >>>> 
 >>>> My use cases are often ggplots with long continuations like:
 >>>> ggplot(data, aes(x=x, y=y)) +
 >>>> geom_boxplot() +
 >>>> facet_grid() +
 >>>> xlab() +
 >>>> theme()
 >>> 
 >>> 
 >>> This is precisely where this issue bites me as well :-) however I do
 >>> understand too that this isn't high priority so I just manually indent
 >>> those for now ...
 >>> 
 >>> 
 >>> 
 >>> 
 >>> --
 >>> Steve Lianoglou
 >>> Computational Biologist
 >>> Genentech
 >>> 
 >>> [[alternative HTML version deleted]]
 >>> 
 >>> ______________________________________________
 >>> ESS-help at r-project.org mailing list
 >>> https://stat.ethz.ch/mailman/listinfo/ess-help>
 >> ______________________________________________
 >> ESS-help at r-project.org mailing list
 >> https://stat.ethz.ch/mailman/listinfo/ess-help

 > ______________________________________________
 > ESS-help at r-project.org mailing list
 > https://stat.ethz.ch/mailman/listinfo/ess-help



More information about the ESS-help mailing list