jeremiejuste m@iii@g oii gm@ii@com
2018-Jul-26 17:55 UTC
[R] ESS issue: lines moved right 40 spaces
Hello, I'm not sure I understand your question correctly but? I'll give it a try anyway. Do you use single # or double hash ## when you comment? as far as i know there are 3 types of comment indentation on ESS. # ## ### In principle comment with # get centered. Best regardsOn 26 Jul 2018 19:22, Rich Shepard <rshepard at appl-ecosys.com> wrote:> > ?? I used to be subscribed to the ess SIG, but cannot find any saved messages > from that list and I cannot find it in the list of mail lists on the r-project > web site. So I'll ask here. > > ?? Running ess-5.14 on emacs-25.3 I'm seeing a different behavior when I > write scripts than I had seen in the past. I would like to learn how to fix > this issue. I invoke ess using M-x R when I start emacs. > > ?? When typing comments and pressing [Enter] at the end of the line to start > a new line, the row just left is inset to column 40 from column 0. Annoying > behavior, to be sure. This does not happen when I write a bash shell or > python script using emacs so it seems to be specific to R. > > ?? All thoughts, ideas, and suggestions are welcome. > > Rich > > ______________________________________________ > R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
On Thu, 26 Jul 2018, jeremiejuste at gmail.com wrote:> Do you use single # or double hash ## when you comment? as far as i know > there are 3 types of comment indentation on ESS. > > # > ## > ### > In principle comment with # get centered.Jeremie, I was not aware of this I've always used a single # for comment everywhere that's the correct symbol. I'll try two of 'em. Thanks, Rich
On Thu, 26 Jul 2018, Rich Shepard wrote:> I was not aware of this I've always used a single # for comment > everywhere that's the correct symbol. I'll try two of 'em.Reading the 17.11 user guide I see what #, ##, and ### do. I also put the suggested line to remove the fancy comments in ~/.emacs but it didn't seem to help when I restarted emacs. The SBo ess package maintainer found the build problem: the script puts the info file in the wrong directory (it changed from 5.14). He'll have a working script done in a day or two. My thanks to all! Rich