<div dir="ltr"><div><div>You may need to install irony and company from melpa, checkout this: <a href="https://github.com/Sarcasm/irony-mode" target="_blank">https://github.com/Sarcasm/irony-mode</a><br></div>Also you need to install clang with your package manager or compiling it by your self... About the window moving system, that buffer-move is nice, for moving with window I'm just searching for a better keybind. Maybe creating an sparse keymap and making it active with some avaible keystroke, swithing window and desabling the keymap when first unknown key is pressed, but I didn't have time to research on that yet :)<br><br></div>Cheers,<br></div><div class="gmail_extra"><br><div class="gmail_quote">2016-01-14 14:28 GMT-02:00 Daniel. <span dir="ltr"><<a href="mailto:danielhilst@gmail.com" target="_blank">danielhilst@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>ops, forget the link:<br><a href="http://pastebin.com/uQkErV46" target="_blank">http://pastebin.com/uQkErV46</a><br><br></div>Cheers,<br><br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2016-01-14 14:28 GMT-02:00 Daniel. <span dir="ltr"><<a href="mailto:danielhilst@gmail.com" target="_blank">danielhilst@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>clang is used only for parsing, nothing to do with compilation :)<br><br></div>Here it is :)<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">2016-01-14 13:35 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>2016-01-14 12:23 GMT-03:00 Daniel. <<a href="mailto:danielhilst@gmail.com" target="_blank">danielhilst@gmail.com</a>>:<br>
> I've tried using semantic mode but it gives me ""#<buffer jiffies.h> -<br>
> Arithmetic error"*" all the time. I've also tried a ctags aproach, but it is<br>
> quite slow on big projects, then I tried irony-mode which uses clang to<br>
> parse sources.<br>
</span>Hmmm. I'm having this issue too using gtags.<br>
<span><br>
><br>
> I never used autocompletion before but I'm having to deal with a code that<br>
> came from a microcontroller and<br>
> Have.Crasy.StrucsNamed.Like.This.With.ALot.Of.Useless.Members.Inside, so I<br>
> got lines wrapping twice and lots of useless members, I never could remember<br>
> the members names and the definition is less readable than the use so I<br>
> really needed autocompletion to navigate<br>
> that mess. Clang parsing seems fast to me, I've tried to avoid it but, well,<br>
> it worked fine...<br>
<br>
</span>Nice. Could you share your .el? So the clang is used only for compile<br>
warnings? If yes it may differ from gcc that is what kernel uses. Let<br>
me know more. :-)<br>
<br>
I'm using gtags following these recipes:<br>
<a href="http://tuhdo.github.io/c-ide.html" rel="noreferrer" target="_blank">http://tuhdo.github.io/c-ide.html</a><br>
<div><div><br>
><br>
> Regards,<br>
><br>
> 2016-01-14 12:26 GMT-02:00 Geyslan G. Bem <<a href="mailto:geyslan@gmail.com" target="_blank">geyslan@gmail.com</a>>:<br>
>><br>
>> 2016-01-14 10:06 GMT-03:00 Daniel. <<a href="mailto:danielhilst@gmail.com" target="_blank">danielhilst@gmail.com</a>>:<br>
>> > Thanks for the tip, I've past the last month trying vim again, but I'll<br>
>> > keep<br>
>> > with emacs anyway. I have so much code writen in elisp and my firgers<br>
>> > are<br>
>> > adicted to Ctrl keystrokes, so ... I could achieve autocomplete with<br>
>> > company<br>
>> > + irony + clang.<br>
>><br>
>> Why clang?<br>
>> ><br>
>> > Best regards,<br>
>> ><br>
>> > 2016-01-13 22:37 GMT-02:00 Geyslan G. Bem <<a href="mailto:geyslan@gmail.com" target="_blank">geyslan@gmail.com</a>>:<br>
>> >><br>
>> >> 2016-01-13 21:23 GMT-03:00 Ismael Luceno <<a href="mailto:ismael.luceno@gmail.com" target="_blank">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" target="_blank">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>
><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><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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div><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>
</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>