[ESS-bugs] ess-mode 16.10 [elpa: 16.10]; File local-variables error

Martin Maechler maechler at stat.math.ethz.ch
Thu Feb 9 11:57:23 CET 2017


>>>>> Kynn Jones <kynnjo at gmail.com>
>>>>>     on Wed, 8 Feb 2017 21:07:05 -0500 writes:

    > I have provided explicit instructions to elicit the bug.  

"of course" they don't trigger the bug.

If I do your '1.' and '3.'  without '2.'
then I do get the error message  that 'r-mode' is not available
.. which makes sense as  ess-site and its dependencies have all
not been loaded.

However, after '2.'
Emacs actually does know that 'r-mode is an alias of 'R-mode
and everything works fine when doing '3.'.


    > Please try them
    > out yourself, and draw your own conclusions.

    > Best,

    > kj


    > On Sat, Feb 4, 2017 at 10:51 AM, Martin Maechler <maechler at stat.math.ethz.ch
    >> wrote:

    >> >>>>> Kynn Jones <kynnjo at gmail.com>
    >> >>>>>     on Fri, 3 Feb 2017 12:29:16 -0500 writes:
    >> 
    >> > To elicit the error:
    >> > 1. ensure that `load-path` is set appropriately to find `ess`
    >> package;
    >> > 2. evaluate `(require 'ess-site)`
    >> > 3. open a file whose first line is
    >> 
    >> > # -*- mode: R -*-
    >> 
    >> 
    >> > -------------------------------------------------------
    >> 
    >> > The full error message is
    >> 
    >> > File local-variables error: (error Variable binding depth exceeds
    >> > max-specpdl-size)
    >> 
    >> > -------------------------------------------------------
    >> 
    >> > The problem seems to have something to do with the following
    >> 
    >> > 1. `set-auto-mode` (in files.el) downcases;
    >> > 2. Emacs continues to search for `r-mode`, failing to resolve this
    >> > name to `R-mode`.
    >> 
    >> That (downcasing) seems very wrong to me.
    >> 
    >> Could this be a bug in your configuration of emacs, or the fact
    >> that you use an unreleased version of emacs ?
    >> 
    >> Or is there to be a (big!) change in emacs that things like
    >> R-mode and r-mode *must* be the same?
    >> 
    >> 
    >> > -------------------------------------------------------
    >> 
    >> > The rest of this message is the content automatically generated
    >> > in response to `M-x ess-submit-bug-report`.
    >> 
    >> > -------------------------------------------------------
    >> > 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.
    >> > -------------------------------------------------------
    >> 
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> > Finished setting up ESS-mode.
    >> 
    >> 
    >> > Emacs  : GNU Emacs 25.1.50.1 (x86_64-unknown-linux-gnu, GTK+ Version
    >> > 2.24.25)
    >> > of 2016-08-06
    >> > Package: ess-mode 16.10 [elpa: 16.10]
    >> 
    >> > current state:
    >> > ==============
    >> > (setq
    >> > ess-language nil
    >> > ess-dialect nil
    >> > ess-ask-for-ess-directory t
    >> > ess-ask-about-transfile nil
    >> > ess-directory nil
    >> > ess-keep-dump-files "always"
    >> > 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
    >> > )
    >> 
    >> > [[alternative HTML version deleted]]
    >> 
    >> > _______________________________________________
    >> > ESS-bugs ESS-bugs at r-project.org
    >> > https://stat.ethz.ch/mailman/listinfo/ess-bugs
    >> 
    >> > _______________________________________________
    >> > ESS-core list: https://stat.ethz.ch/mailman/listinfo/ess-core
    >> 

    > [[alternative HTML version deleted]]



More information about the ESS-bugs mailing list