Code Monkey home page Code Monkey logo

ess-stata-mode's People

Contributors

brendanhalpin avatar haxney avatar izahn avatar jabranham avatar lionel- avatar mmaechler avatar rsparapa avatar sam-s avatar vspinu avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ess-stata-mode's Issues

Echoed input not responding to comint-process-echoes or ess-eval-visibly

Commands are duplicated in the output. Setting comint-process-echoes to t, or changing ess-eval-visibly seems to have no effect.

In an XFCE-terminal, Stata doesn't duplicate output. In an Emacs shell, it does, but it responds to comint-process-echoes. In ESS it duplicates but does not respond to comint-process-echoes.

iESS hangs after sending Stata code with C-<return>

Since updating to the latest ess version from MELPA (20210331.804), sending a line of code from a .do file to the iESS buffer causes it to hang. If I copy and paste a line, or manually type in a command, it seems to run fine.

obsolete font-lock-reference-face in ess-stata-lang.el

I had trouble rendering font colors in .do files.

Turns out the problem was ess-stata-lang.el, which defines font-lock-reference-face, which has been marked obsolete for awhile. When I replaced font-lock-reference-face with font-lock-constant-face, things started working again.

ess-synchronize-dirs causes error

ess-synchronize-dirs causes an error because (ess-command ess-getpwd-command) fails. That fails because Stata echoes the command in the *ess-get-words* buffer used by ess-command.

Two possibilities:
1: remove ess-synchronize-dirs from ess-idle-timer-functions and do without the functionality
2: edit ess-command to check comint-process-echoes and behave accordingly.

Option 1 is easy. Option 2 is better but more difficult, as the existing code seems to be written without taking the possibility of echoed input into account.

inferior-ess-prompt doesn't recognise prompt in for-loops

inferior-ess-prompt doesn't work in for-loops, where the prompt takes this form:

forvalues x=1/2 {
  2. 

Changing ess-stata-mode.el from

(inferior-ess-prompt           . "\\([.:>] \\|--more--\\)")

to

(inferior-ess-prompt           .  "\\( *[0-9]*[.:>] \\|--more--\\)")

resolves the problem (but I haven't tested much for unintended consequences).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.