[ESS] Indentation of continued statements

Kevin Ushey kevinushey at gmail.com
Tue Apr 29 19:48:40 CEST 2014


Hi everyone,

I've started work on some extra indentation rules at
https://github.com/emacs-ess/ESS/pull/90. Comments and improvements
appreciated!

Thanks,
Kevin

On Fri, Apr 25, 2014 at 11:22 AM, Vitalie Spinu <spinuvit at gmail.com> wrote:
>
> This is the link: https://github.com/emacs-ess/ESS/issues
>
> It would be nice if someone worked on any of those.
>
>  Vitalie
>
>  >>> Grant Rettke on Fri, 25 Apr 2014 13:14:01 -0500 wrote:
>
>  > Is there a way to create a link from the ESS homepage into gitub to
>  > list all of the "it would be really nice if someone worked on this"
>  > kind of entries?
>  > 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 12:46 PM, Vitalie Spinu <spinuvit at gmail.com> wrote:
>  >>
>  >> 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