Re: [Vala] Emacs vala-mode

2012-08-23 Thread Evan Nemerson
On Thu, 2012-08-23 at 20:16 +0100, David Gomes wrote: > Ah, good point. Then how do you suggest we make it so that the user > configures it on init.el? Just using defvar instead of setq for indent-tabs-mode, c-basic-offset, and tab-width should be enough to prevent it from overriding an existing v

Re: [Vala] Emacs vala-mode

2012-08-23 Thread David Gomes
Ah, good point. Then how do you suggest we make it so that the user configures it on init.el? On Thu, Aug 23, 2012 at 8:16 PM, Stefan Risberg wrote: > Yes but with your patch it will *force* spaces. I myself like tabs for > indentation and spaces for aligment, but thats my preference. > > Ste

Re: [Vala] Emacs vala-mode

2012-08-23 Thread Stefan Risberg
Yes but with your patch it will *force* spaces. I myself like tabs for indentation and spaces for aligment, but thats my preference. Stefan On Thu, Aug 23, 2012 at 08:05:56PM +0100, David Gomes wrote: > (setq indent-tabs-mode nil) will *not* work on default vala-mode. Vala-mode > *forces* tab

Re: [Vala] Emacs vala-mode

2012-08-23 Thread David Gomes
(setq indent-tabs-mode nil) will *not* work on default vala-mode. Vala-mode *forces* tabs. On Thu, Aug 23, 2012 at 8:04 PM, Evan Nemerson wrote: > On Thu, 2012-08-23 at 19:19 +0100, David Gomes wrote: > > Vala's official indentation method is 4 spaces. However, vala-mode on > > [citation needed]

Re: [Vala] Emacs vala-mode

2012-08-23 Thread Evan Nemerson
On Thu, 2012-08-23 at 19:19 +0100, David Gomes wrote: > Vala's official indentation method is 4 spaces. However, vala-mode on [citation needed]. The closest thing to an official statement on the matter that I'm aware of is the valac source code, which uses tabs. > Vala's website is made it so th

[Vala] Emacs vala-mode

2012-08-23 Thread David Gomes
Vala's official indentation method is 4 spaces. However, vala-mode on Vala's website is made it so that Emacs indents with tabs. Attached is a fixed version of that vala-mode.el to make it indent with spaces. I think it should be replaced on Vala's (live.gnome) website. Thank you. vala-mode.el

[Vala] [emacs] vala-mode and marmalade-repo

2011-12-24 Thread Antono Vasiljev
Hi, All. It seems that vala-mode at marmalade-repo http://marmalade-repo.org/packages/vala-mode is older than https://live.gnome.org/Vala/Emacs Anyone knows is it possible to update package on marmalade? If uploader reads this list - please update the package :) -- Antono Vasiljev Red Brigad