Stream

Join this community to post or comment
 
web-mode.el v11 is released
http://web-mode.org

* indentation: you can force attribute indentation inside html tag with web-mode-attr-indent-offset (by default, attributes are aligned on the first attr)
* indentation: lineup (function arguments, cascaded calls, string concatenations) can be disabled with (add-to-list 'web-mode-indentation-params '("lineup-args|calls|concats" . nil))
* indentation: better indentation for multi line tag attribute values
* indentation: avoid extra indentation due to control blocks with (setq web-mode-enable-control-block-indentation nil)
* indentation: web-mode better handles indent-tabs-mode (when this minor mode is detected, web-mode-use-tabs is called)
* indentation: default indent offsets inherit the var 'standard-indent (when it is bound)
* comments: for languages that accept alternative syntax for comments, you can use the var web-mode-comment-formats (e.g. (add-to-list 'web-mode-comment-formats '("php" . "//")))
* var: web-mode-enable-auto-quoting to add double quotes after a = inside a tag
* visual: less flickering while editing unclosed php block
* feature: web-mode-enable-engine-detection : you can put a line like -*- engine: ENGINE_NAME -*- in a comment at the beginning of the template
* expanders: typing d/s/ will expand to <div><span>|</span></div> (see web-mode-expanders). You can enable this feature with (setq web-mode-enable-auto-expanding t)
* engines: compatibility with elixir (Erlang), thymeleaf, cl-emb (Lisp, thx Matthew Carter), heist
* mako: compatibility with self-closed blocks (e.g. <%inherit file="base.html"/>)
* erb: compatibility with <%= javascript_tag do %> js blocks
* ejs: better compatibility
* freemarker: many fixes and optimizations
* helpers: web-mode-element-insert, web-mode-attribute-insert, web-mode-attribute-kill, web-mode-enable|disable (to enable/disable features like column highlighting, tag highlighting, space visualisation, etc.)
* javascript: backtick strings compatibility
* html: more html entities
4
1
François-Xavier Bois's profile photo
Add a comment...
 
Reposting here because it took me a while to find how to do it.

Upgrading Emacs ELPA packages:

0. backup ~/.emacs.d/elpa
1. M-x list-packages
2. Press U (S-u) to mark all upgradable packages for upgrade
3. Press x and hope for the best
5
1
Chris Holtz's profile photoAmardeep Singh's profile photoMichael Jacobson's profile photo
2 comments
 
There is also paradox-upgrade-packages if you use paradox.
Add a comment...
 
Monroe, Simple Clojure nREPL client for Emacs

if you are a Clojure programer and also a emacs lisp programer, you'd be interested in this.

“Monroe - Clojure nREPL client for Emacs” https://github.com/sanel/monroe

it is a SIMPLE nrepl for clojure in emacs.

here's a short explanation if you have no idea what it is.

    Clojure is a lang that runs on Java virtual machine (JVM), and comes with a basic “repl” tool, meaning, a command line interactive interface (aka shell).
    but the Clojure repl tool is “closed” tool. Meaning, other programs, such as emacs, cannot talk to it.
    So, “nREPL” is born. It is a Clojure library. “nREPL” stands for “networked” repl. Meaning, this program is a server & client that allows other programs to talk with Clojure thru network (⁖ network socket). This means, emacs or web based tools, can write programs to talk to Clojure. For example, emacs can have the ability to evaluate Clojure code while in emacs, or, run a Clojure shell inside emacs.

nREPL is written in Clojure. 〔➤ Clojure Tutorial: nREPL〕

Who uses nREPL?

    The Clojure build tool Leiningen uses it, which gives you a better clojure shell with extra features. 〔➤ Clojure Leiningen Tutorial〕
    The emacs Clojure mode, uses a emacs lisp package called CIDER to allow evaluation of Clojure code. CIDER itself, is a emacs lisp package that talks to nREPL. (CIDER requires Leiningen, which requires nREPL) CIDER gives you Clojure shell inside emacs. 〔➤ Emacs: Run Interactive Clojure Shell/REPL in Emacs: cider〕
    gorilla-repl, a web-based Clojure interface. Interactive Clojure Notebook: gorilla-repl

So, nREPL is a essential tool for Clojure.

And, for emacs, CIDER is the other essential tool, because it is thru CIDER (which talks to nREPL) that allows Clojure mode to eval Clojure code, as well as having a Clojure shell inside emacs.

But, here's the thing. CIDER is annoying in that it prints “hacker quotes” messages whever you start it. Also, it is large, some 7k lines. It's more than just a emacs client to nREPL.

Here's what “Monroe - Clojure nREPL client for Emacs” comes in.

i haven't tried it yet.

Xah Clojure Tutorial
http://xahlee.info/clojure/clojure_index.html
monroe - Clojure nREPL client for Emacs
3
1
Yu-Fu Wu's profile photo
Add a comment...

Andrew Hyatt
owner

Packages  - 
 
My review of ace-jump-mode.  I think lots of us already use this awesome package, but I'm sure there's a few who don't know about it, and this review is for them.
After using emacs for decades, the thought never crossed my mind that there could be radically better ways of navigating…
24
5
matthew mcdonald's profile photoGuanghui Qu's profile photoMingsheng Hong's profile photoAndreas K's profile photo
3 comments
 
ace-jump-mode is pretty cool, I fully agree. Recently I discovered ace-isearch-mode, which takes the idea one step further.

If you hit C-s and type just one letter, ace-jump-mode is triggered, if you type up to 6 letters, a normal isearch is performed and with more than 6 letters helm-swoop is activated.

I'm using it constantly now. Thanks a lot to whoever pointed me to this. Maybe Sacha's evil plan is bearing fruit, you never know.
Add a comment...
 
I released ace-isearch as v0.1.0.
This provides a minor mode which combines isearch, ace-jump-mode and helm-swoop.

I really appreciate the maintainers and contributors of ace-jump-mode and helm-swoop.

https://github.com/tam17aki/ace-isearch/releases/tag/v0.1.0.
5
Add a comment...
 
Hi communiti!

I am learn lisp, anyone could recomend a good package ( something basic, well written and documented)
For learn technics and ideas.
5
Marcelo Muñóz's profile photoMarc Jr's profile photo
9 comments
Marc Jr
+
1
2
1
 
This guide from bin chen is gold
Add a comment...

Andrew Hyatt
owner

Packages  - 
 
My first package review is up!  I've started with one of the big, important packages: evil-mode.

https://medium.com/@andrewhyatt/review-of-evil-mode-for-emacs-16ab071d292

As I previously wrote in my poll, I'm going to attempt to do this every week.  What did you like or not like in this review?  How can I improve the reviews? 
9
1
Mark Hepburn's profile photobin chen's profile photoSylvain Benner's profile photo
4 comments
 
try evil-escape from +Sylvain Benner , I really like it. press "fd" to escape. better experience than vim.

I take full advantage of text-object selection and `M-x evil-jump-items`  in visual-mode, then `M-x eval-region`. It's kind of more effective than emacs key bindings. I assigne ",ee" to "M-x eval-region" by using evil-leader

evil-leader is really great plugin. I suggest at least assigning more than 100  evil-leader hotkeys. For example, I match ",mx" to "M-x smex"

My plugin evil-matchit is extremely useful, at least for me. It's my most frequently use package based on my data collected by keyfreq. I can assure you it's much more powerful than the vim's matchit (I've studied the matchit's code before start this plugin).
Add a comment...
 
Release of Overseer - Ert-runner Integration Into Emacs

https://github.com/tonini/overseer.el

#emacs   #ert   #ert -runner
overseer.el - Ert-runner Integration Into Emacs
4
nicolas lamirault's profile photo
 
absolutely perfect ! Thanks 
Add a comment...
 

Elixir-Mode v2.1.0 Is OUT Indentation and Syntax Highlighting Enhancements

https://github.com/elixir-lang/emacs-elixir/releases/tag/v2.1.0

#emacs   #elixirlang  
4
Thomas Regner's profile photoSamuel Tonini's profile photo
2 comments
 
Haha thanks, youre welcome :) there are still issues which has to be fixed! Looking forward to hunt them down in my free time over xmas :p
Add a comment...
 
I released anzu 0.51. anzu.el provides Emacs 25 enhanced history feature(M-p, M-n) in placement commands from this version. Both Emacs 24 and Emacs 25(development version) users can use this feature.

You can upgrade anzu from MELPA or MELPA-stable.

Thanks.

See also
http://endlessparentheses.com/new-in-emacs-25-1-query-replace-history-is-enhanced-.html
4
1
Alexander Petrov's profile photo
Add a comment...

Haojun Bao

Packages  - 
 
The Bit Bang Completion, or bbyac, is now available in melpa.

BBYAC stands for type a Bit, and Bang! You Are Completed. It's also Yet Another Completion method😺.

You can check out the project at github: https://github.com/baohaojun/bbyac/
4
Add a comment...
 
I released evil-anzu.el 0.01. This package provides anzu for evil users. Showing search information(current position and total matches) when you search. And evil-anzu.el provides own 'n'(search-forward) and 'N' command(search-backward) for using anzu.

Please see README.md about configuration.
https://github.com/syohex/emacs-evil-anzu

Please report me if you have any problems or suggestion.
(I'm not evil user and I don't know evil well).
6
Syohei Yoshida's profile photo
 
I released evil-anzu.el 0.02. Code becomes more simple and supports other search command like '*' and configuration is no longer necesarry. You can use evil-anzu only loading it. Thanks Fredrik Bergroth.
Add a comment...

Boy Wang

Packages  - 
 
Interesting prompting plugin with Dash (Mac)
https://github.com/stanaka/dash-at-point
3
Yu-Fu Wu's profile photoBoy Wang's profile photo
3 comments
 
`helm-dash`!!! Gotta check it out.
Add a comment...

Andrew Hyatt
owner

Packages  - 
 
My next package review is about perpsective, and persp-mode: two packages for organizing buffers into workspaces.
10
1
Marc Paul Rubin's profile photoYuriy Pitometsu's profile photoSylvain Benner's profile photo
2 comments
Add a comment...
 
Just released a lightweight and alternative history utility for code navigation. You can install it from MELPA package server. Here's the website and manual, enjoy~
https://github.com/boyw165/history
5
Boy Wang's profile photo
7 comments
 
+Sylvain Benner +Mark Hepburn Just add a new feature, `history-switch-buffer-history' to let you add history automatically when switching buffer (a switch).
Add a comment...
 
Vimtutor for Emacs+Evil
Available in Spacemacs by pressing `SPC h T`

https://github.com/syl20bnr/evil-tutor
https://github.com/syl20bnr/spacemacs
evil-tutor - Vimtutor adapted to Evil and wrapped in a major mode.
6
1
Jérémy Barbay's profile photoSylvain Benner's profile photoGuanghui Qu's profile photo
2 comments
 
Thank you for the typo! I'll do a pass on the tutorial tomorrow to fix it and also make it more Evil friendly (there are still a lot of Vim references).
Add a comment...
 
I just released Elixir-Mode v2.2.0 

Happy new year to all lovely emacs users out there <3

https://github.com/elixir-lang/emacs-elixir/releases/tag/v2.2.0
13
Gaurav Verma's profile photoSylvain Benner's profile photo
2 comments
 
Happy new year !
Add a comment...
 
Two months ago, I listed a few big things I was looking forward to for Emacs 25. I knew I was being unrealistically optimistic to mention concurrency in Elisp, but there was a point behind it. It bothered me a lot that I had to get up and go for a coffee whenever I upgraded more than a few packages, and asynchronous upgrades were the only way I saw of fixing that.
This Christmas, as promised and well ahead of schedule, I've implemented asynchronous execution into Paradox, thanks to the fantastic async library.
7
Add a comment...
7
Vangelis Mouhtsis's profile photoSamuel Tonini's profile photo
2 comments
 
Hi, please have a look https://github.com/tonini/alchemist.el#installation If you need help, please call me in #elixir-lang IRC channel on Freenode. my nick is: tonini
Add a comment...