ess-stata-mode's People
ess-stata-mode's Issues
blocks inside curly braces do not auto indent
in a conditional or for loop inside braces { } , do not automatically indent as they used to
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.
One-line comment highlighting not terminating
Comments starting with "^// " correctly cause font-lock-comment-face to be applied, but it doesn't terminate at EOL. That is, comment-face continues until it hits " */" (or to EOB).
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.