[Geany-Users] Auto-indenting R code

Frank Harrell f.harrell at xxxxx
Mon Nov 4 12:36:40 UTC 2013


By "right" I mean the Emacs ESS approach, e.g.
if(TRUE) {
   x <- 1 # auto indented
   if(FALSE) {
     y <- 1 # auto indented
   } # auto de-indented
} # auto de-indented

Frank



On 11/03/2013 04:34 PM, Lex Trotman wrote:
>
>
>
> On 4 November 2013 02:28, Frank Harrell <f.harrell at vanderbilt.edu
> <mailto:f.harrell at vanderbilt.edu>> wrote:
>
>     I have been unable to get geany to auto-indent to the right level
>     after a previous line ends with {, and to get geany to auto-unindent
>     to the right level after the previous line ends with }.  Any
>     pointers appreciated.
>
>
> You need to define "right", your right may be anothers "wrong".
>
> Cheers
> Lex
>
>
>     Frank Harrell
>
>     _________________________________________________
>     Users mailing list
>     Users at lists.geany.org <mailto:Users at lists.geany.org>
>     https://lists.geany.org/cgi-__bin/mailman/listinfo/users
>     <https://lists.geany.org/cgi-bin/mailman/listinfo/users>
>
>

-- 
Frank E Harrell Jr Professor and Chairman      School of Medicine
                    Department of Biostatistics Vanderbilt University



More information about the Users mailing list