<div dir="ltr"><div>I've tried using semantic mode but it gives me ""#<buffer jiffies.h> - Arithmetic error"*" all the time. I've also tried a ctags aproach, but it is quite slow on big projects, then I tried irony-mode which uses clang to parse sources. <br><br></div><div>I never used autocompletion before but I'm having to deal with a code that came from a microcontroller and Have.Crasy.StrucsNamed.Like.This.With.ALot.Of.Useless.Members.Inside, so I got lines wrapping twice and lots of useless members, I never could remember the members names and the definition is less readable than the use so I really needed autocompletion to navigate<br></div><div>that mess. Clang parsing seems fast to me, I've tried to avoid it but, well, it worked fine... <br></div><div><br></div>Regards,<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-01-14 12:26 GMT-02:00 Geyslan G. Bem <span dir="ltr"><<a href="mailto:geyslan@gmail.com" target="_blank">geyslan@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">2016-01-14 10:06 GMT-03:00 Daniel. <<a href="mailto:danielhilst@gmail.com">danielhilst@gmail.com</a>>:<br>
</span><span class="">> Thanks for the tip, I've past the last month trying vim again, but I'll keep<br>
> with emacs anyway. I have so much code writen in elisp and my firgers are<br>
> adicted to Ctrl keystrokes, so ... I could achieve autocomplete with company<br>
> + irony + clang.<br>
<br>
</span>Why clang?<br>
<div class="HOEnZb"><div class="h5">><br>
> Best regards,<br>
><br>
> 2016-01-13 22:37 GMT-02:00 Geyslan G. Bem <<a href="mailto:geyslan@gmail.com">geyslan@gmail.com</a>>:<br>
>><br>
>> 2016-01-13 21:23 GMT-03:00 Ismael Luceno <<a href="mailto:ismael.luceno@gmail.com">ismael.luceno@gmail.com</a>>:<br>
>> > On Thu, Dec 24, 2015 at 11:57:32AM -0200, Daniel. wrote:<br>
>> >> I had heard about emacs server, but never tried it.. This should fix<br>
>> >> the<br>
>> >> starting time, but not the learning curve :)<br>
>> ><br>
>> > You can wrap emacsclient to automatically start emacs --daemon with a<br>
>> > script like this:<br>
>> ><br>
>> > #!/bin/sh<br>
>> > exec emacsclient -a '' -c "$@"<br>
>> ><br>
>> > You may also want to pre-compile your elisp files.<br>
>><br>
>> Themes may not load correctly when using emacs as daemon. But you can<br>
>> fix (tweak) it with<br>
>><br>
>> ;; theme<br>
>> (defvar my:theme 'distinguished)<br>
>> (defvar my:theme-window-loaded nil)<br>
>> (defvar my:theme-terminal-loaded nil)<br>
>><br>
>> (if (daemonp)<br>
>> (add-hook 'after-make-frame-functions(lambda (frame)<br>
>> (select-frame frame)<br>
>> (if (window-system frame)<br>
>> (unless my:theme-window-loaded<br>
>> (if my:theme-terminal-loaded<br>
>> (enable-theme my:theme)<br>
>> (load-theme my:theme t))<br>
>> (setq my:theme-window-loaded t))<br>
>> (unless my:theme-terminal-loaded<br>
>> (if my:theme-window-loaded<br>
>> (enable-theme my:theme)<br>
>> (load-theme my:theme t))<br>
>> (setq my:theme-terminal-loaded t)))))<br>
>> (progn<br>
>> (load-theme my:theme t)<br>
>> (if (display-graphic-p)<br>
>> (setq my:theme-window-loaded t)<br>
>> (setq my:theme-terminal-loaded t))))<br>
>><br>
>> > _______________________________________________<br>
>> > Kernelnewbies mailing list<br>
>> > <a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
>> > <a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" rel="noreferrer" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
>><br>
>><br>
>><br>
>> --<br>
>> Regards,<br>
>><br>
>> Geyslan G. Bem<br>
>> <a href="http://hackingbits.com" rel="noreferrer" target="_blank">hackingbits.com</a><br>
><br>
><br>
><br>
><br>
> --<br>
> "Do or do not. There is no try"<br>
> Yoda Master<br>
<br>
<br>
<br>
--<br>
Regards,<br>
<br>
Geyslan G. Bem<br>
<a href="http://hackingbits.com" rel="noreferrer" target="_blank">hackingbits.com</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div style="text-align:right"><i>"Do or do not. There is no try"</i><br><i> </i><i><b>Yoda Master</b></i><br></div></div>
</div>