[ESS] Help with SAS commenting

Ista Zahn istazahn at gmail.com
Tue Mar 26 17:10:07 CET 2013


On Tue, Mar 26, 2013 at 11:44 AM, Star Ying <starying at outlook.com> wrote:
> So I have tried in -q and the problem persists. Here is an example that is more specific.
>
> /********************/
> /* comment box*/
> /********************/
>
>      ods listing;
>
> The tab indentation moves the statement to the next level. Maybe this happens to you as well?

Yes, I do get the same weird indenting with this example.

>
> On Mar 25, 2013, at 6:46 AM, "Vitalie Spinu" <spinuvit at gmail.com> wrote:
>
>>
>> Hi,
>>
>> I can confirm that this works as expected in current version of ESS.
>>
>>    Vitalie
>>
>>>> Star Ying <starying at outlook.com>
>>>> on Mon, 25 Mar 2013 06:32:28 -0400 wrote:
>>
>>> I am using Emacs 24.2.1 and ESS version 12.09-2. If I do emacs -q, ess doesn't
>>> load so I can't test if that is the issue. Don't know if this helps, but I found
>>> this only happens in editing SAS code. Commenting in R works the way it should.
>>
>>>> From: istazahn at gmail.com
>>>> Date: Thu, 21 Mar 2013 16:04:36 -0400
>>>> Subject: Re: [ESS] Help with SAS commenting
>>>> To: starying at outlook.com
>>>> CC: ess-help at r-project.org
>>>>
>>>> Hi,
>>>>
>>>> On Thu, Mar 21, 2013 at 9:02 AM, Star Ying <starying at outlook.com> wrote:
>>>>> I am having a little trouble with SAS commenting in ess. If I comment out a
>>>>> line above the current line, auto indentation wants to indent the current
>>>>> line to the next level. For example, the auto indentation makes the code do
>>>>> this:
>>>>>
>>>>> /* some code here; */
>>>>>     other code here;
>>>>
>>>> I don't see this behavior.
>>>>
>>>>>
>>>>> Instead of this:
>>>>>
>>>>> /* some code here; */
>>>>> other code here;
>>>>
>>>> This is what I get by default. What versions of emacs and ESS are you
>>>> using? Do you still get this if you start emacs with 'emacs -q' ?
>>>>
>>>> Best,
>>>> Ista
>>>>
>>>>
>>>>>
>>>>> Is this by design and is there a way to switch it to the second style. The current way makes parsing code more difficult.
>>>>> ______________________________________________
>>>>> ESS-help at r-project.org mailing list
>>>>> https://stat.ethz.ch/mailman/listinfo/ess-help
>>
>>>    [[alternative HTML version deleted]]
>>
>>> ______________________________________________
>>> ESS-help at r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/ess-help



More information about the ESS-help mailing list