Re: Emacs d-mode indentation, 2 spaces to 4?

2017-10-05 Thread John Gabriele via Digitalmars-d-learn
On Thursday, 5 October 2017 at 05:22:16 UTC, Ali Çehreli wrote: On 10/04/2017 09:57 PM, John Gabriele wrote: I'm using Emacs 25.2.2 with d-mode-20161022.717 on Debian Testing, and by default this mode indents by 2 spaces. Is there an easy way to configure it to use 4 spaces instead? I

Re: Emacs d-mode indentation, 2 spaces to 4?

2017-10-05 Thread John Gabriele via Digitalmars-d-learn
On Thursday, 5 October 2017 at 08:49:30 UTC, Aravinda VK wrote: On Thursday, 5 October 2017 at 04:57:09 UTC, John Gabriele wrote: I'm using Emacs 25.2.2 with d-mode-20161022.717 on Debian Testing, and by default this mode indents by 2 spaces. Is there an easy way to configure it to use 4

Re: Emacs d-mode indentation, 2 spaces to 4?

2017-10-05 Thread Aravinda VK via Digitalmars-d-learn
On Thursday, 5 October 2017 at 04:57:09 UTC, John Gabriele wrote: I'm using Emacs 25.2.2 with d-mode-20161022.717 on Debian Testing, and by default this mode indents by 2 spaces. Is there an easy way to configure it to use 4 spaces instead? Add below snippet to your .emacs file (add-hook

Re: Emacs d-mode indentation, 2 spaces to 4?

2017-10-04 Thread Ali Çehreli via Digitalmars-d-learn
On 10/04/2017 09:57 PM, John Gabriele wrote: I'm using Emacs 25.2.2 with d-mode-20161022.717 on Debian Testing, and by default this mode indents by 2 spaces. Is there an easy way to configure it to use 4 spaces instead? I can't imagine it has its own tab width. d-mode is based on cc-mode.

Emacs d-mode indentation, 2 spaces to 4?

2017-10-04 Thread John Gabriele via Digitalmars-d-learn
I'm using Emacs 25.2.2 with d-mode-20161022.717 on Debian Testing, and by default this mode indents by 2 spaces. Is there an easy way to configure it to use 4 spaces instead?