[ESS-bugs] ess-mode 18.10.3snapshot [<unknown>]; Indenting in stata mode seems to call ess-indent-line in an infinite loop

Brendan Halpin brend@n@h@|p|n @end|ng |rom u|@|e
Wed Mar 13 23:11:46 CET 2019



-------------------------------------------------------
This bug report will be sent to the ESS bugs email list
Press C-c C-c when you are ready to send your message.
-------------------------------------------------------

(STA): ess-dialect=stata , buf=test.do 
(inf-ess 1): lang=STA, dialect=stata, tmp-dialect=stata, buf=test.do
(inf-ess 1.1): procname=stata temp-dialect=stata, buf-name=*stata* 
(inf-ess 2.0) Method #3 start=/tmp/ buf=*stata*
(inf-ess 2.1): ess-language=STA, ess-dialect=stata buf=*stata* 
(inferior-ess: waiting for process to start (before hook)
(inferior-ess 3): waiting for process after hook

I've tested this with emacs -q, running only the following
initialization code:

(package-initialize)
(require 'package)
(setq package-archives
      '(("melpa" . "https://melpa.org/packages/")
        ("gnu" . "https://elpa.gnu.org/packages/")
        ("org" . "https://orgmode.org/elpa/")))
(require 'ess)

I have installed ESS from elpa.

If I hit TAB at the start of a line in a Stata do-file buffer, I get
this error:
Lisp nesting exceeds ‘max-lisp-eval-depth’
If I debug, it seems ess-indent-line is calling itself.

Regards,

Brendan


Emacs  : GNU Emacs 26.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw scroll bars)
 of 2017-06-27
Package: ess-mode 18.10.3snapshot [<unknown>]

current state:
==============
(setq
 ess-language nil
 ess-dialect nil
 ess-ask-for-ess-directory t
 ess-ask-about-transfile nil
 default-directory "/tmp/"
 ess-keep-dump-files t
 ess-source-directory "/tmp/"
 ess-use-ido t
 ess-use-eldoc t
 ess-use-tracebug t
 ess-use-auto-complete t
 ess-use-company t
 ess-eval-visibly-p t
 ess-can-eval-in-background t
 ess-local-process-name nil
 )
-- 
Brendan Halpin, Department of Sociology, University of Limerick, Ireland
Tel: w +353-61-213147
Room CS2-028 x 3147
http://teaching.sociology.ul.ie/bhalpin/wordpress
twitter:@BrendanTHalpin
Papers online at: http://teaching.sociology.ul.ie/bhalpin/publications.html
ULSociology on Facebook: Sociology using Limerick twitter:@ULSociology



More information about the ESS-bugs mailing list