Comments (14)
Thats because Alchemist use the comint library to implement a command
interpreter. We could realize a buffer clear function like @bbatsov showed
in this article http://emacsredux.com/blog/2015/01/18/clear-comint-buffers/
Leonardo Hahn [email protected] schrieb am So., 17. Mai 2015 21:34:
Inside the Alchemist-IEx buffer:
- the command clear is accepted by the buffer, but it does not clear
the screen. I am thinking that maybe it is an issue with shell or eshell?
here using clear on shell or eshell does not work, but using inside term
and ansi-term works fine.—
Reply to this email directly or view it on GitHub
#76.
from alchemist.el.
That very same function will be in Emacs 25.1, btw.
from alchemist.el.
Thats great to hear, did you contribute that? :)
Bozhidar Batsov [email protected] schrieb am So., 17. Mai 2015
21:43:
That very same function will be in Emacs 25.1, btw.
—
Reply to this email directly or view it on GitHub
#76 (comment).
from alchemist.el.
Yep. :-)
On 17 May 2015 at 22:44, Samuel Tonini [email protected] wrote:
Thats great to hear, did you contribute that? :)
Bozhidar Batsov [email protected] schrieb am So., 17. Mai 2015
21:43:That very same function will be in Emacs 25.1, btw.
—
Reply to this email directly or view it on GitHub
<#76 (comment)
.—
Reply to this email directly or view it on GitHub
#76 (comment).
Best Regards,
Bozhidar Batsov
from alchemist.el.
Congrats :) I'm too afraid to try contribute to emacs, I heard nightmare
stories about it :P
Bozhidar Batsov [email protected] schrieb am So., 17. Mai 2015
21:55:
Yep. :-)
On 17 May 2015 at 22:44, Samuel Tonini [email protected] wrote:
Thats great to hear, did you contribute that? :)
Bozhidar Batsov [email protected] schrieb am So., 17. Mai 2015
21:43:That very same function will be in Emacs 25.1, btw.
—
Reply to this email directly or view it on GitHub
<
#76 (comment)
.—
Reply to this email directly or view it on GitHub
<#76 (comment)
.Best Regards,
Bozhidar Batsov—
Reply to this email directly or view it on GitHub
#76 (comment).
from alchemist.el.
That's nice, thanks for the tip.
from alchemist.el.
@leohahn do you want to implement that for alchemist-iex
? :) Would be nice, otherwise I'll do it.
from alchemist.el.
@tonini If you are in no hurry I can try to do that. But it would maybe take some time because I have no experience in emacs lisp. But I would be glad to help.
from alchemist.el.
@leohahn Please go ahead :)
from alchemist.el.
@tonini from what I've seen, the function alchemist-iex-clear-buffer is already implemented, which is exactly the comint-clear-buffer. ^^
It just does not have a key binding attached to it.
from alchemist.el.
Oh! :-) maybe we should add the alchemist-mode in the iex buffdf to get all the other keybindings too
from alchemist.el.
Yeah, for me the mode is really nice right now with the clear-buffer command.
Maybe it would be nice to add a default key binding, something like "C-c a c" or something like it. I didn't do it because I feel that is kind of a design decision, haha
from alchemist.el.
I guess we should come up with kind of a minor mode for the alchemist-iex
buffer.
from alchemist.el.
I added a few useful keybindings to the alchemist-iex-mode
e3d98ff
/cc @pragdave maybe you find these also useful.
from alchemist.el.
Related Issues (20)
- Jump to definition functionality broken by multi-line aliasing
- Alchemist is using wrong version
- Switch to/scroll in help HOT 1
- Multiple instances of Iex repl
- alchemist-goto-definition-at-point crashes server when editing files with multiple import
- Eldoc support
- Changing alchemist-key-command-prefix not working HOT 4
- Compilation errors and warnings when running tests aren't clickable
- `alchemist-report-filter` fails to display relevant output HOT 2
- iex run current buffer
- How to run tests and jump the test output buffer?
- question about evaluation coming from lisp/slime HOT 1
- Alchemist Emacs menu is empty HOT 1
- Can't jumping to the definition of a function which is defined in a module imported by the __using__ macro.
- Spam on alchemist-elixir.org HOT 4
- mix.el - new Emacs package for Mix HOT 2
- Alchemist Resurrection HOT 21
- Hey there.
- `alchemist-iex-run` does not find `erl`
- Alchemist alternative
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.
from alchemist.el.