Re: Apparently there's some dlang action in spacemacs

2016-10-15 Thread Andrei Alexandrescu via Digitalmars-d

On 10/14/2016 02:23 AM, Martin Tschierschke wrote:

On Thursday, 13 October 2016 at 14:07:20 UTC, Vladimir Panteleev wrote:

On Thursday, 13 October 2016 at 13:32:42 UTC, Andrei Alexandrescu wrote:

https://github.com/syl20bnr/spacemacs/issues/7374

Anyone familiar with the editor? -- Andrei


The author posted here before, e.g.
http://forum.dlang.org/post/kmlorniwvjyivjyjn...@forum.dlang.org

BTW, Russel has given me commit access to the d-mode package a few
days ago, and I've been doing some hacking on it. Among other things
I'm pleased to say that test coverage is up to 90% (from 30%) :)
https://coveralls.io/github/Emacs-D-Mode-Maintainers/Emacs-D-Mode?branch=master



Great!

Is there a good (emacs) mode for editing the vibe.d diet templates?

Regards

mt.


Would also love modes for .dd and .ddoc files. -- Andrei


Re: Apparently there's some dlang action in spacemacs

2016-10-14 Thread Martin Tschierschke via Digitalmars-d
On Friday, 14 October 2016 at 06:26:45 UTC, Vladimir Panteleev 
wrote:
On Friday, 14 October 2016 at 06:23:15 UTC, Martin Tschierschke 
wrote:
Is there a good (emacs) mode for editing the vibe.d diet 
templates?


Not that I know of, but you could try your luck with 
https://github.com/brianc/jade-mode or 
https://github.com/ananthakumaran/jade-mode.


I tried around a while ago, but I ended with this in my .emacs,
I am not a lisp expert, to say it polite.

;; initial window
(setq initial-frame-alist
  '(
(width . 122) ; character
(height . 54) ; lines
))

(add-to-list 'load-path "~/elisp")

(add-to-list 'load-path "~/.emacs.d/vendor/jade-mode")

(require 'sws-mode)
(require 'jade-mode)
(add-to-list 'auto-mode-alist '("\\.dt\\'" . sws-mode))
(autoload 'sws-mode "sws-mode" "Major mode for editing jade 
code." t)


(autoload 'php-mode "php-mode" "Major mode for editing php code." 
t)

(add-to-list 'auto-mode-alist '("\\.php$" . php-mode))
(add-to-list 'auto-mode-alist '("\\.inc$" . php-mode))
(add-to-list 'auto-mode-alist '("\\.d$" . d-mode))
(add-to-list 'auto-mode-alist '("\\.dt$" . d-mode))
(add-to-list 'auto-mode-alist '("\\.dt$" . whitespace-mode))

(setq-default tab-width 4)

So a real diet-mode would be cool :-)

Regards mt.


Re: Apparently there's some dlang action in spacemacs

2016-10-14 Thread Vladimir Panteleev via Digitalmars-d
On Friday, 14 October 2016 at 06:23:15 UTC, Martin Tschierschke 
wrote:
Is there a good (emacs) mode for editing the vibe.d diet 
templates?


Not that I know of, but you could try your luck with 
https://github.com/brianc/jade-mode or 
https://github.com/ananthakumaran/jade-mode.




Re: Apparently there's some dlang action in spacemacs

2016-10-14 Thread Martin Tschierschke via Digitalmars-d
On Thursday, 13 October 2016 at 14:07:20 UTC, Vladimir Panteleev 
wrote:
On Thursday, 13 October 2016 at 13:32:42 UTC, Andrei 
Alexandrescu wrote:

https://github.com/syl20bnr/spacemacs/issues/7374

Anyone familiar with the editor? -- Andrei


The author posted here before, e.g.
http://forum.dlang.org/post/kmlorniwvjyivjyjn...@forum.dlang.org

BTW, Russel has given me commit access to the d-mode package a 
few days ago, and I've been doing some hacking on it. Among 
other things I'm pleased to say that test coverage is up to 90% 
(from 30%) :) 
https://coveralls.io/github/Emacs-D-Mode-Maintainers/Emacs-D-Mode?branch=master


Great!

Is there a good (emacs) mode for editing the vibe.d diet 
templates?


Regards

mt.


Re: Apparently there's some dlang action in spacemacs

2016-10-13 Thread Sergei Nosov via Digitalmars-d
On Thursday, 13 October 2016 at 13:32:42 UTC, Andrei Alexandrescu 
wrote:

https://github.com/syl20bnr/spacemacs/issues/7374

Anyone familiar with the editor?


It's basically a sophisticated "config file" for GNU Emacs that 
aims to provide a "modern text editor" experience out-of-the-box 
within Emacs (the vanilla Emacs looks pretty alien to a 
newcomer/come-by-er).


As far as I can tell, the thing is pretty popular within Emacs 
community (my guess is ~10,000 users - based on the "number of 
downloads" jump after one of my packages was included into 
spacemacs). The project is also well-documented and 
well-maintained, communication with maintainers is always a 
pleasure.





Re: Apparently there's some dlang action in spacemacs

2016-10-13 Thread Vladimir Panteleev via Digitalmars-d
On Thursday, 13 October 2016 at 13:32:42 UTC, Andrei Alexandrescu 
wrote:

https://github.com/syl20bnr/spacemacs/issues/7374

Anyone familiar with the editor? -- Andrei


The author posted here before, e.g.
http://forum.dlang.org/post/kmlorniwvjyivjyjn...@forum.dlang.org

BTW, Russel has given me commit access to the d-mode package a 
few days ago, and I've been doing some hacking on it. Among other 
things I'm pleased to say that test coverage is up to 90% (from 
30%) :) 
https://coveralls.io/github/Emacs-D-Mode-Maintainers/Emacs-D-Mode?branch=master




Apparently there's some dlang action in spacemacs

2016-10-13 Thread Andrei Alexandrescu via Digitalmars-d

https://github.com/syl20bnr/spacemacs/issues/7374

Anyone familiar with the editor? -- Andrei