On Fri, Dec 20, 2013 at 3:35 AM, Cedric BAIL <cedric.b...@free.fr> wrote:
> On Fri, Dec 20, 2013 at 2:05 PM, Michael Blumenkrantz
> <michael.blumenkra...@gmail.com> wrote:
>> okay, it's been a couple years now where I've asked nicely, I've shamed you 
>> in IRC, and I've even talked to you about it in person, but it seems there's 
>> no way to resolve this.
>
> And as I have always answered, I have no idea what you are talking about.
>
>> FIX YOUR EDITOR'S INDENT SETTINGS
>
> I follow the rules defined in our coding style here :
> https://phab.enlightenment.org/w/ecoding/emacs/ which is I things the
> definition of our coding style. If it is not our official coding
> style, then I have been misleading.
>
>> seriously. I go back to code that I USED to be able to read when I wrote it, 
>> and now it's impossible because YOUR EDITOR USES TABS AND NOBODY ELSE DOES.
>
> I don't see any, really.

that's one common problem. To see the tabs and other whitespaces:


(defun whitespace-toggle-verbose ()
  "Toggle verbosity of whitespace-mode"
  (interactive)
  (whitespace-toggle-options '(spaces newlines space-mark newline-mark)))

that will mark all kinds of whitespace as people often use in VIM, you
can toggle it with this function.

For the record my c-mode is identical to that one in wiki, but I have
it to be applied automatically... maybe you fail to apply it? I use:


(defun e-c-mode-hooks ()
  (let ((path (buffer-file-name)))
    (cond
     ((string-match "/git/e" path) (c-set-style "e")
                                   (whitespace-toggle-verbose))
     )
    )
  )
(add-hook 'c-mode-common-hook 'e-c-mode-hooks)

That will apply it to all projects that have "/git/e" in their path.

-- 
Gustavo Sverzut Barbieri
--------------------------------------
Mobile: +55 (19) 9225-2202
Contact: http://www.gustavobarbieri.com.br/contact

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to