Re: Developing environments used for kernel development
Hey Lucas, thanks for the reply. Did you use gdb inside eclipse? It works fine? For code browsing I use cscope. Best Regards, -dhs Em 22/12/2015 19:04, "Lucas Tanure" <tanurelinux@gmail.com> escreveu:
I use eclipse, but I had to expand my RAM, 24GB added. I tried Kdevelop, but doesn't work for big projects. Tried a few LLVM code browsers but none was good enough. Vim for minor modifications.
Thanks
On Tue, Dec 22, 2015 at 5:27 PM, Daniel. <danielhilst@gmail.com> wrote:
My boss came to my desk today raiging that I should use more productive tools for developing. Well I don't want to begin an editor war but, yes, I use emacs. I used to use vim before but the integration of emacs and gdb has caught my attention.
To be clear, as "more productive tools" he understands graphical eye candy tools. My argument to use an "simple editor plus makefiles" was, it just works and thats it. So before to downloading eclipse just to make my boss's eyes happy I've decided to make a little research.
What you guys are using today to develope kenrel code?
Best Regards, - dhs
-- *"Do or do not. There is no try"* *Yoda Master*
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Hi, No, I don't use gdb inside eclipse. I rarely use gdb. On Tue, Dec 22, 2015 at 7:26 PM, Daniel. <danielhilst@gmail.com> wrote:
Hey Lucas, thanks for the reply. Did you use gdb inside eclipse? It works fine? For code browsing I use cscope.
Best Regards, -dhs Em 22/12/2015 19:04, "Lucas Tanure" <tanurelinux@gmail.com> escreveu:
I use eclipse, but I had to expand my RAM, 24GB added. I tried Kdevelop, but doesn't work for big projects. Tried a few LLVM code browsers but none was good enough. Vim for minor modifications.
Thanks
On Tue, Dec 22, 2015 at 5:27 PM, Daniel. <danielhilst@gmail.com> wrote:
My boss came to my desk today raiging that I should use more productive tools for developing. Well I don't want to begin an editor war but, yes, I use emacs. I used to use vim before but the integration of emacs and gdb has caught my attention.
To be clear, as "more productive tools" he understands graphical eye candy tools. My argument to use an "simple editor plus makefiles" was, it just works and thats it. So before to downloading eclipse just to make my boss's eyes happy I've decided to make a little research.
What you guys are using today to develope kenrel code?
Best Regards, - dhs
-- *"Do or do not. There is no try"* *Yoda Master*
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
I rarely use it too, but some times its worth, when you get something that simply crash, I do a bt to get an starting point :) Em 22/12/2015 19:43, "Lucas Tanure" <tanure@linux.com> escreveu:
Hi,
No, I don't use gdb inside eclipse. I rarely use gdb.
On Tue, Dec 22, 2015 at 7:26 PM, Daniel. <danielhilst@gmail.com> wrote:
Hey Lucas, thanks for the reply. Did you use gdb inside eclipse? It works fine? For code browsing I use cscope.
Best Regards, -dhs Em 22/12/2015 19:04, "Lucas Tanure" <tanurelinux@gmail.com> escreveu:
I use eclipse, but I had to expand my RAM, 24GB added. I tried Kdevelop, but doesn't work for big projects. Tried a few LLVM code browsers but none was good enough. Vim for minor modifications.
Thanks
On Tue, Dec 22, 2015 at 5:27 PM, Daniel. <danielhilst@gmail.com> wrote:
My boss came to my desk today raiging that I should use more productive tools for developing. Well I don't want to begin an editor war but, yes, I use emacs. I used to use vim before but the integration of emacs and gdb has caught my attention.
To be clear, as "more productive tools" he understands graphical eye candy tools. My argument to use an "simple editor plus makefiles" was, it just works and thats it. So before to downloading eclipse just to make my boss's eyes happy I've decided to make a little research.
What you guys are using today to develope kenrel code?
Best Regards, - dhs
-- *"Do or do not. There is no try"* *Yoda Master*
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Hi Daniel,
My boss came to my desk today raiging that I should use more productive tools for developing. Well I don't want to begin an editor war but, yes, I use emacs. I used to use vim before but the integration of emacs and gdb has caught my attention.
emacs and vim are both very powerful editors, each with their own pros and cons, but both very suitable for developing code! I don't think it's a good idea for a boss to force his devs into using some GUI IDE like Eclipse. Personally, I don't like it because it is slow (Hi Java!) and does too much stuff which I do not need when writing and debugging non-Java code. If you are already used to Emacs and gdb mode, that's great. Recently I am more and more using (g)vim and discovered a nice vim plugin: NERDTree https://github.com/scrooloose/nerdtree (A tree explorer plugin) Oh and there is also cgdb: https://github.com/cgdb/cgdb Cheers, Clemens
I was thinking about back to vim, it starts so fast and has everything you need in tree letters, and the completion works out of box. I never get the completion really working with emacs. I remember that was coding with Lua headers and the completion crashed :( I just give up on it, who needs auto completion.. I'll give vim a second chance :) Regards Em 22/12/2015 20:15, "Clemens Gruber" <clemens.gruber@pqgruber.com> escreveu:
Hi Daniel,
My boss came to my desk today raiging that I should use more productive tools for developing. Well I don't want to begin an editor war but, yes, I use emacs. I used to use vim before but the integration of emacs and gdb has caught my attention.
emacs and vim are both very powerful editors, each with their own pros and cons, but both very suitable for developing code! I don't think it's a good idea for a boss to force his devs into using some GUI IDE like Eclipse. Personally, I don't like it because it is slow (Hi Java!) and does too much stuff which I do not need when writing and debugging non-Java code.
If you are already used to Emacs and gdb mode, that's great.
Recently I am more and more using (g)vim and discovered a nice vim plugin: NERDTree https://github.com/scrooloose/nerdtree (A tree explorer plugin)
Oh and there is also cgdb: https://github.com/cgdb/cgdb
Cheers, Clemens
On 22 Dec, Daniel. wrote:
I was thinking about back to vim, it starts so fast and has everything you need in tree letters, and the completion works out of box. If you are bothered by slow start of emacs, you can look at emacsdaemon. You start emacs only once, afterwards just connect to started emacs session.
I never get the completion really working with emacs. I remember that was coding with Lua headers and the completion crashed :( I just give up on it, who needs auto completion..
I'll give vim a second chance :)
Regards Em 22/12/2015 20:15, "Clemens Gruber" <clemens.gruber@pqgruber.com> escreveu:
Hi Daniel,
My boss came to my desk today raiging that I should use more productive tools for developing. Well I don't want to begin an editor war but, yes, I use emacs. I used to use vim before but the integration of emacs and gdb has caught my attention.
emacs and vim are both very powerful editors, each with their own pros and cons, but both very suitable for developing code! I don't think it's a good idea for a boss to force his devs into using some GUI IDE like Eclipse. Personally, I don't like it because it is slow (Hi Java!) and does too much stuff which I do not need when writing and debugging non-Java code.
If you are already used to Emacs and gdb mode, that's great.
Recently I am more and more using (g)vim and discovered a nice vim plugin: NERDTree https://github.com/scrooloose/nerdtree (A tree explorer plugin)
Oh and there is also cgdb: https://github.com/cgdb/cgdb
Cheers, Clemens
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Best regards, Andrey Skvortsov Secure eMail with gnupg: See http://www.gnupg.org/ PGP Key ID: 0x57A3AEAD
I had heard about emacs server, but never tried it.. This should fix the starting time, but not the learning curve :) Regards, Em 24/12/2015 09:59, "Andrey Skvortsov" <andrej.skvortzov@gmail.com> escreveu:
On 22 Dec, Daniel. wrote:
I was thinking about back to vim, it starts so fast and has everything you need in tree letters, and the completion works out of box. If you are bothered by slow start of emacs, you can look at emacsdaemon. You start emacs only once, afterwards just connect to started emacs session.
I never get the completion really working with emacs. I remember that was coding with Lua headers and the completion crashed :( I just give up on it, who needs auto completion..
I'll give vim a second chance :)
Regards Em 22/12/2015 20:15, "Clemens Gruber" <clemens.gruber@pqgruber.com> escreveu:
Hi Daniel,
My boss came to my desk today raiging that I should use more productive tools for developing. Well I don't want to begin an editor war but, yes, I use emacs. I used to use vim before but the integration of emacs and gdb has caught my attention.
emacs and vim are both very powerful editors, each with their own pros and cons, but both very suitable for developing code! I don't think it's a good idea for a boss to force his devs into using some GUI IDE like Eclipse. Personally, I don't like it because it is slow (Hi Java!) and does too much stuff which I do not need when writing and debugging non-Java code.
If you are already used to Emacs and gdb mode, that's great.
Recently I am more and more using (g)vim and discovered a nice vim plugin: NERDTree https://github.com/scrooloose/nerdtree (A tree explorer plugin)
Oh and there is also cgdb: https://github.com/cgdb/cgdb
Cheers, Clemens
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Best regards, Andrey Skvortsov
Secure eMail with gnupg: See http://www.gnupg.org/ PGP Key ID: 0x57A3AEAD
On Thu, Dec 24, 2015 at 11:57:32AM -0200, Daniel. wrote:
I had heard about emacs server, but never tried it.. This should fix the starting time, but not the learning curve :)
You can wrap emacsclient to automatically start emacs --daemon with a script like this: #!/bin/sh exec emacsclient -a '' -c "$@" You may also want to pre-compile your elisp files.
2016-01-13 21:23 GMT-03:00 Ismael Luceno <ismael.luceno@gmail.com>:
On Thu, Dec 24, 2015 at 11:57:32AM -0200, Daniel. wrote:
I had heard about emacs server, but never tried it.. This should fix the starting time, but not the learning curve :)
You can wrap emacsclient to automatically start emacs --daemon with a script like this:
#!/bin/sh exec emacsclient -a '' -c "$@"
You may also want to pre-compile your elisp files.
Themes may not load correctly when using emacs as daemon. But you can fix (tweak) it with ;; theme (defvar my:theme 'distinguished) (defvar my:theme-window-loaded nil) (defvar my:theme-terminal-loaded nil) (if (daemonp) (add-hook 'after-make-frame-functions(lambda (frame) (select-frame frame) (if (window-system frame) (unless my:theme-window-loaded (if my:theme-terminal-loaded (enable-theme my:theme) (load-theme my:theme t)) (setq my:theme-window-loaded t)) (unless my:theme-terminal-loaded (if my:theme-window-loaded (enable-theme my:theme) (load-theme my:theme t)) (setq my:theme-terminal-loaded t))))) (progn (load-theme my:theme t) (if (display-graphic-p) (setq my:theme-window-loaded t) (setq my:theme-terminal-loaded t))))
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Regards, Geyslan G. Bem hackingbits.com
Thanks for the tip, I've past the last month trying vim again, but I'll keep with emacs anyway. I have so much code writen in elisp and my firgers are adicted to Ctrl keystrokes, so ... I could achieve autocomplete with company + irony + clang. One thing that realy sucks at emacs in its default is navigating through windows. While in vim you have C-w <direction> in emacs you have `C-x o' to go to next window and `C-u C-x o' to go to the previous window. I bind C-M-<direction> to navigate through windows like vim, being <direction> one of 'p, n, b, f', but this way I lose the backward-sexp bind (C-M-b), so I'm loking for more alternatives. Best regards, 2016-01-13 22:37 GMT-02:00 Geyslan G. Bem <geyslan@gmail.com>:
2016-01-13 21:23 GMT-03:00 Ismael Luceno <ismael.luceno@gmail.com>:
On Thu, Dec 24, 2015 at 11:57:32AM -0200, Daniel. wrote:
I had heard about emacs server, but never tried it.. This should fix the starting time, but not the learning curve :)
You can wrap emacsclient to automatically start emacs --daemon with a script like this:
#!/bin/sh exec emacsclient -a '' -c "$@"
You may also want to pre-compile your elisp files.
Themes may not load correctly when using emacs as daemon. But you can fix (tweak) it with
;; theme (defvar my:theme 'distinguished) (defvar my:theme-window-loaded nil) (defvar my:theme-terminal-loaded nil)
(if (daemonp) (add-hook 'after-make-frame-functions(lambda (frame) (select-frame frame) (if (window-system frame) (unless my:theme-window-loaded (if my:theme-terminal-loaded (enable-theme my:theme) (load-theme my:theme t)) (setq my:theme-window-loaded t)) (unless my:theme-terminal-loaded (if my:theme-window-loaded (enable-theme my:theme) (load-theme my:theme t)) (setq my:theme-terminal-loaded t))))) (progn (load-theme my:theme t) (if (display-graphic-p) (setq my:theme-window-loaded t) (setq my:theme-terminal-loaded t))))
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Regards,
Geyslan G. Bem hackingbits.com
-- *"Do or do not. There is no try"* *Yoda Master*
2016-01-14 10:06 GMT-03:00 Daniel. <danielhilst@gmail.com>:
Thanks for the tip, I've past the last month trying vim again, but I'll keep with emacs anyway. I have so much code writen in elisp and my firgers are adicted to Ctrl keystrokes, so ... I could achieve autocomplete with company + irony + clang. One thing that realy sucks at emacs in its default is navigating through windows. While in vim you have C-w <direction> in emacs you have `C-x o' to go to next window and `C-u C-x o' to go to the previous window. I bind C-M-<direction> to navigate through windows like vim, being <direction> one of 'p, n, b, f', but this way I lose the backward-sexp bind (C-M-b), so I'm loking for more alternatives.
I think these packages can help you. https://github.com/dimitri/switch-window https://github.com/lukhas/buffer-move https://github.com/nschum/window-numbering.el Right now I'm improving the CodingStyle elisp suggestion for a better emacs experience.
Best regards,
2016-01-13 22:37 GMT-02:00 Geyslan G. Bem <geyslan@gmail.com>:
2016-01-13 21:23 GMT-03:00 Ismael Luceno <ismael.luceno@gmail.com>:
On Thu, Dec 24, 2015 at 11:57:32AM -0200, Daniel. wrote:
I had heard about emacs server, but never tried it.. This should fix the starting time, but not the learning curve :)
You can wrap emacsclient to automatically start emacs --daemon with a script like this:
#!/bin/sh exec emacsclient -a '' -c "$@"
You may also want to pre-compile your elisp files.
Themes may not load correctly when using emacs as daemon. But you can fix (tweak) it with
;; theme (defvar my:theme 'distinguished) (defvar my:theme-window-loaded nil) (defvar my:theme-terminal-loaded nil)
(if (daemonp) (add-hook 'after-make-frame-functions(lambda (frame) (select-frame frame) (if (window-system frame) (unless my:theme-window-loaded (if my:theme-terminal-loaded (enable-theme my:theme) (load-theme my:theme t)) (setq my:theme-window-loaded t)) (unless my:theme-terminal-loaded (if my:theme-window-loaded (enable-theme my:theme) (load-theme my:theme t)) (setq my:theme-terminal-loaded t))))) (progn (load-theme my:theme t) (if (display-graphic-p) (setq my:theme-window-loaded t) (setq my:theme-terminal-loaded t))))
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Regards,
Geyslan G. Bem hackingbits.com
-- "Do or do not. There is no try" Yoda Master
-- Regards, Geyslan G. Bem hackingbits.com
2016-01-14 10:06 GMT-03:00 Daniel. <danielhilst@gmail.com>:
Thanks for the tip, I've past the last month trying vim again, but I'll keep with emacs anyway. I have so much code writen in elisp and my firgers are adicted to Ctrl keystrokes, so ... I could achieve autocomplete with company + irony + clang.
Why clang?
Best regards,
2016-01-13 22:37 GMT-02:00 Geyslan G. Bem <geyslan@gmail.com>:
2016-01-13 21:23 GMT-03:00 Ismael Luceno <ismael.luceno@gmail.com>:
On Thu, Dec 24, 2015 at 11:57:32AM -0200, Daniel. wrote:
I had heard about emacs server, but never tried it.. This should fix the starting time, but not the learning curve :)
You can wrap emacsclient to automatically start emacs --daemon with a script like this:
#!/bin/sh exec emacsclient -a '' -c "$@"
You may also want to pre-compile your elisp files.
Themes may not load correctly when using emacs as daemon. But you can fix (tweak) it with
;; theme (defvar my:theme 'distinguished) (defvar my:theme-window-loaded nil) (defvar my:theme-terminal-loaded nil)
(if (daemonp) (add-hook 'after-make-frame-functions(lambda (frame) (select-frame frame) (if (window-system frame) (unless my:theme-window-loaded (if my:theme-terminal-loaded (enable-theme my:theme) (load-theme my:theme t)) (setq my:theme-window-loaded t)) (unless my:theme-terminal-loaded (if my:theme-window-loaded (enable-theme my:theme) (load-theme my:theme t)) (setq my:theme-terminal-loaded t))))) (progn (load-theme my:theme t) (if (display-graphic-p) (setq my:theme-window-loaded t) (setq my:theme-terminal-loaded t))))
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Regards,
Geyslan G. Bem hackingbits.com
-- "Do or do not. There is no try" Yoda Master
-- Regards, Geyslan G. Bem hackingbits.com
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. 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 that mess. Clang parsing seems fast to me, I've tried to avoid it but, well, it worked fine... Regards, 2016-01-14 12:26 GMT-02:00 Geyslan G. Bem <geyslan@gmail.com>:
2016-01-14 10:06 GMT-03:00 Daniel. <danielhilst@gmail.com>:
Thanks for the tip, I've past the last month trying vim again, but I'll keep with emacs anyway. I have so much code writen in elisp and my firgers are adicted to Ctrl keystrokes, so ... I could achieve autocomplete with company + irony + clang.
Why clang?
Best regards,
2016-01-13 22:37 GMT-02:00 Geyslan G. Bem <geyslan@gmail.com>:
2016-01-13 21:23 GMT-03:00 Ismael Luceno <ismael.luceno@gmail.com>:
On Thu, Dec 24, 2015 at 11:57:32AM -0200, Daniel. wrote:
I had heard about emacs server, but never tried it.. This should fix the starting time, but not the learning curve :)
You can wrap emacsclient to automatically start emacs --daemon with a script like this:
#!/bin/sh exec emacsclient -a '' -c "$@"
You may also want to pre-compile your elisp files.
Themes may not load correctly when using emacs as daemon. But you can fix (tweak) it with
;; theme (defvar my:theme 'distinguished) (defvar my:theme-window-loaded nil) (defvar my:theme-terminal-loaded nil)
(if (daemonp) (add-hook 'after-make-frame-functions(lambda (frame) (select-frame frame) (if (window-system frame) (unless my:theme-window-loaded (if my:theme-terminal-loaded (enable-theme my:theme) (load-theme my:theme t)) (setq my:theme-window-loaded t)) (unless my:theme-terminal-loaded (if my:theme-window-loaded (enable-theme my:theme) (load-theme my:theme t)) (setq my:theme-terminal-loaded t))))) (progn (load-theme my:theme t) (if (display-graphic-p) (setq my:theme-window-loaded t) (setq my:theme-terminal-loaded t))))
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Regards,
Geyslan G. Bem hackingbits.com
-- "Do or do not. There is no try" Yoda Master
-- Regards,
Geyslan G. Bem hackingbits.com
-- *"Do or do not. There is no try"* *Yoda Master*
2016-01-14 12:23 GMT-03:00 Daniel. <danielhilst@gmail.com>:
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. Hmmm. I'm having this issue too using gtags.
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 that mess. Clang parsing seems fast to me, I've tried to avoid it but, well, it worked fine...
Nice. Could you share your .el? So the clang is used only for compile warnings? If yes it may differ from gcc that is what kernel uses. Let me know more. :-) I'm using gtags following these recipes: http://tuhdo.github.io/c-ide.html
Regards,
2016-01-14 12:26 GMT-02:00 Geyslan G. Bem <geyslan@gmail.com>:
2016-01-14 10:06 GMT-03:00 Daniel. <danielhilst@gmail.com>:
Thanks for the tip, I've past the last month trying vim again, but I'll keep with emacs anyway. I have so much code writen in elisp and my firgers are adicted to Ctrl keystrokes, so ... I could achieve autocomplete with company + irony + clang.
Why clang?
Best regards,
2016-01-13 22:37 GMT-02:00 Geyslan G. Bem <geyslan@gmail.com>:
2016-01-13 21:23 GMT-03:00 Ismael Luceno <ismael.luceno@gmail.com>:
On Thu, Dec 24, 2015 at 11:57:32AM -0200, Daniel. wrote:
I had heard about emacs server, but never tried it.. This should fix the starting time, but not the learning curve :)
You can wrap emacsclient to automatically start emacs --daemon with a script like this:
#!/bin/sh exec emacsclient -a '' -c "$@"
You may also want to pre-compile your elisp files.
Themes may not load correctly when using emacs as daemon. But you can fix (tweak) it with
;; theme (defvar my:theme 'distinguished) (defvar my:theme-window-loaded nil) (defvar my:theme-terminal-loaded nil)
(if (daemonp) (add-hook 'after-make-frame-functions(lambda (frame) (select-frame frame) (if (window-system frame) (unless my:theme-window-loaded (if my:theme-terminal-loaded (enable-theme my:theme) (load-theme my:theme t)) (setq my:theme-window-loaded t)) (unless my:theme-terminal-loaded (if my:theme-window-loaded (enable-theme my:theme) (load-theme my:theme t)) (setq my:theme-terminal-loaded t))))) (progn (load-theme my:theme t) (if (display-graphic-p) (setq my:theme-window-loaded t) (setq my:theme-terminal-loaded t))))
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Regards,
Geyslan G. Bem hackingbits.com
-- "Do or do not. There is no try" Yoda Master
-- Regards,
Geyslan G. Bem hackingbits.com
-- "Do or do not. There is no try" Yoda Master
-- Regards, Geyslan G. Bem hackingbits.com
clang is used only for parsing, nothing to do with compilation :) Here it is :) 2016-01-14 13:35 GMT-02:00 Geyslan G. Bem <geyslan@gmail.com>:
2016-01-14 12:23 GMT-03:00 Daniel. <danielhilst@gmail.com>:
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. Hmmm. I'm having this issue too using gtags.
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 that mess. Clang parsing seems fast to me, I've tried to avoid it but, well, it worked fine...
Nice. Could you share your .el? So the clang is used only for compile warnings? If yes it may differ from gcc that is what kernel uses. Let me know more. :-)
I'm using gtags following these recipes: http://tuhdo.github.io/c-ide.html
Regards,
2016-01-14 12:26 GMT-02:00 Geyslan G. Bem <geyslan@gmail.com>:
2016-01-14 10:06 GMT-03:00 Daniel. <danielhilst@gmail.com>:
Thanks for the tip, I've past the last month trying vim again, but
I'll
keep with emacs anyway. I have so much code writen in elisp and my firgers are adicted to Ctrl keystrokes, so ... I could achieve autocomplete with company + irony + clang.
Why clang?
Best regards,
2016-01-13 22:37 GMT-02:00 Geyslan G. Bem <geyslan@gmail.com>:
2016-01-13 21:23 GMT-03:00 Ismael Luceno <ismael.luceno@gmail.com>:
On Thu, Dec 24, 2015 at 11:57:32AM -0200, Daniel. wrote:
I had heard about emacs server, but never tried it.. This should
fix
the starting time, but not the learning curve :)
You can wrap emacsclient to automatically start emacs --daemon with a script like this:
#!/bin/sh exec emacsclient -a '' -c "$@"
You may also want to pre-compile your elisp files.
Themes may not load correctly when using emacs as daemon. But you can fix (tweak) it with
;; theme (defvar my:theme 'distinguished) (defvar my:theme-window-loaded nil) (defvar my:theme-terminal-loaded nil)
(if (daemonp) (add-hook 'after-make-frame-functions(lambda (frame) (select-frame frame) (if (window-system frame) (unless my:theme-window-loaded (if my:theme-terminal-loaded (enable-theme my:theme) (load-theme my:theme t)) (setq my:theme-window-loaded t)) (unless my:theme-terminal-loaded (if my:theme-window-loaded (enable-theme my:theme) (load-theme my:theme t)) (setq my:theme-terminal-loaded t))))) (progn (load-theme my:theme t) (if (display-graphic-p) (setq my:theme-window-loaded t) (setq my:theme-terminal-loaded t))))
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Regards,
Geyslan G. Bem hackingbits.com
-- "Do or do not. There is no try" Yoda Master
-- Regards,
Geyslan G. Bem hackingbits.com
-- "Do or do not. There is no try" Yoda Master
-- Regards,
Geyslan G. Bem hackingbits.com
-- *"Do or do not. There is no try"* *Yoda Master*
ops, forget the link: http://pastebin.com/uQkErV46 Cheers, 2016-01-14 14:28 GMT-02:00 Daniel. <danielhilst@gmail.com>:
clang is used only for parsing, nothing to do with compilation :)
Here it is :)
2016-01-14 13:35 GMT-02:00 Geyslan G. Bem <geyslan@gmail.com>:
2016-01-14 12:23 GMT-03:00 Daniel. <danielhilst@gmail.com>:
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. Hmmm. I'm having this issue too using gtags.
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 that mess. Clang parsing seems fast to me, I've tried to avoid it but, well, it worked fine...
Nice. Could you share your .el? So the clang is used only for compile warnings? If yes it may differ from gcc that is what kernel uses. Let me know more. :-)
I'm using gtags following these recipes: http://tuhdo.github.io/c-ide.html
Regards,
2016-01-14 12:26 GMT-02:00 Geyslan G. Bem <geyslan@gmail.com>:
2016-01-14 10:06 GMT-03:00 Daniel. <danielhilst@gmail.com>:
Thanks for the tip, I've past the last month trying vim again, but
I'll
keep with emacs anyway. I have so much code writen in elisp and my firgers are adicted to Ctrl keystrokes, so ... I could achieve autocomplete with company + irony + clang.
Why clang?
Best regards,
2016-01-13 22:37 GMT-02:00 Geyslan G. Bem <geyslan@gmail.com>:
2016-01-13 21:23 GMT-03:00 Ismael Luceno <ismael.luceno@gmail.com>:
On Thu, Dec 24, 2015 at 11:57:32AM -0200, Daniel. wrote:
I had heard about emacs server, but never tried it.. This should
fix
the starting time, but not the learning curve :)
You can wrap emacsclient to automatically start emacs --daemon with a script like this:
#!/bin/sh exec emacsclient -a '' -c "$@"
You may also want to pre-compile your elisp files.
Themes may not load correctly when using emacs as daemon. But you can fix (tweak) it with
;; theme (defvar my:theme 'distinguished) (defvar my:theme-window-loaded nil) (defvar my:theme-terminal-loaded nil)
(if (daemonp) (add-hook 'after-make-frame-functions(lambda (frame) (select-frame frame) (if (window-system frame) (unless my:theme-window-loaded (if my:theme-terminal-loaded (enable-theme my:theme) (load-theme my:theme t)) (setq my:theme-window-loaded t)) (unless my:theme-terminal-loaded (if my:theme-window-loaded (enable-theme my:theme) (load-theme my:theme t)) (setq my:theme-terminal-loaded t))))) (progn (load-theme my:theme t) (if (display-graphic-p) (setq my:theme-window-loaded t) (setq my:theme-terminal-loaded t))))
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Regards,
Geyslan G. Bem hackingbits.com
-- "Do or do not. There is no try" Yoda Master
-- Regards,
Geyslan G. Bem hackingbits.com
-- "Do or do not. There is no try" Yoda Master
-- Regards,
Geyslan G. Bem hackingbits.com
-- *"Do or do not. There is no try"* *Yoda Master*
-- *"Do or do not. There is no try"* *Yoda Master*
2016-01-14 13:28 GMT-03:00 Daniel. <danielhilst@gmail.com>:
ops, forget the link: http://pastebin.com/uQkErV46
Tks.
Cheers,
2016-01-14 14:28 GMT-02:00 Daniel. <danielhilst@gmail.com>:
clang is used only for parsing, nothing to do with compilation :)
I see. So the problems are over?
Here it is :)
2016-01-14 13:35 GMT-02:00 Geyslan G. Bem <geyslan@gmail.com>:
2016-01-14 12:23 GMT-03:00 Daniel. <danielhilst@gmail.com>:
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. Hmmm. I'm having this issue too using gtags.
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 that mess. Clang parsing seems fast to me, I've tried to avoid it but, well, it worked fine...
Nice. Could you share your .el? So the clang is used only for compile warnings? If yes it may differ from gcc that is what kernel uses. Let me know more. :-)
I'm using gtags following these recipes: http://tuhdo.github.io/c-ide.html
Regards,
2016-01-14 12:26 GMT-02:00 Geyslan G. Bem <geyslan@gmail.com>:
2016-01-14 10:06 GMT-03:00 Daniel. <danielhilst@gmail.com>:
Thanks for the tip, I've past the last month trying vim again, but I'll keep with emacs anyway. I have so much code writen in elisp and my firgers are adicted to Ctrl keystrokes, so ... I could achieve autocomplete with company + irony + clang.
Why clang?
Best regards,
2016-01-13 22:37 GMT-02:00 Geyslan G. Bem <geyslan@gmail.com>:
2016-01-13 21:23 GMT-03:00 Ismael Luceno <ismael.luceno@gmail.com>:
On Thu, Dec 24, 2015 at 11:57:32AM -0200, Daniel. wrote:
I had heard about emacs server, but never tried it.. This should fix the starting time, but not the learning curve :)
You can wrap emacsclient to automatically start emacs --daemon with a script like this:
#!/bin/sh exec emacsclient -a '' -c "$@"
You may also want to pre-compile your elisp files.
Themes may not load correctly when using emacs as daemon. But you can fix (tweak) it with
;; theme (defvar my:theme 'distinguished) (defvar my:theme-window-loaded nil) (defvar my:theme-terminal-loaded nil)
(if (daemonp) (add-hook 'after-make-frame-functions(lambda (frame) (select-frame frame) (if (window-system frame) (unless my:theme-window-loaded (if my:theme-terminal-loaded (enable-theme my:theme) (load-theme my:theme t)) (setq my:theme-window-loaded t)) (unless my:theme-terminal-loaded (if my:theme-window-loaded (enable-theme my:theme) (load-theme my:theme t)) (setq my:theme-terminal-loaded t))))) (progn (load-theme my:theme t) (if (display-graphic-p) (setq my:theme-window-loaded t) (setq my:theme-terminal-loaded t))))
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Regards,
Geyslan G. Bem hackingbits.com
-- "Do or do not. There is no try" Yoda Master
-- Regards,
Geyslan G. Bem hackingbits.com
-- "Do or do not. There is no try" Yoda Master
-- Regards,
Geyslan G. Bem hackingbits.com
-- "Do or do not. There is no try" Yoda Master
-- "Do or do not. There is no try" Yoda Master
-- Regards, Geyslan G. Bem hackingbits.com
You may need to install irony and company from melpa, checkout this: https://github.com/Sarcasm/irony-mode 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 :) Cheers, 2016-01-14 14:28 GMT-02:00 Daniel. <danielhilst@gmail.com>:
ops, forget the link: http://pastebin.com/uQkErV46
Cheers,
2016-01-14 14:28 GMT-02:00 Daniel. <danielhilst@gmail.com>:
clang is used only for parsing, nothing to do with compilation :)
Here it is :)
2016-01-14 13:35 GMT-02:00 Geyslan G. Bem <geyslan@gmail.com>:
2016-01-14 12:23 GMT-03:00 Daniel. <danielhilst@gmail.com>:
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. Hmmm. I'm having this issue too using gtags.
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 that mess. Clang parsing seems fast to me, I've tried to avoid it but, well, it worked fine...
Nice. Could you share your .el? So the clang is used only for compile warnings? If yes it may differ from gcc that is what kernel uses. Let me know more. :-)
I'm using gtags following these recipes: http://tuhdo.github.io/c-ide.html
Regards,
2016-01-14 12:26 GMT-02:00 Geyslan G. Bem <geyslan@gmail.com>:
2016-01-14 10:06 GMT-03:00 Daniel. <danielhilst@gmail.com>:
Thanks for the tip, I've past the last month trying vim again, but
I'll
keep with emacs anyway. I have so much code writen in elisp and my firgers are adicted to Ctrl keystrokes, so ... I could achieve autocomplete with company + irony + clang.
Why clang?
Best regards,
2016-01-13 22:37 GMT-02:00 Geyslan G. Bem <geyslan@gmail.com>:
2016-01-13 21:23 GMT-03:00 Ismael Luceno <ismael.luceno@gmail.com
:
On Thu, Dec 24, 2015 at 11:57:32AM -0200, Daniel. wrote:
I had heard about emacs server, but never tried it.. This should fix the starting time, but not the learning curve :)
You can wrap emacsclient to automatically start emacs --daemon with a script like this:
#!/bin/sh exec emacsclient -a '' -c "$@"
You may also want to pre-compile your elisp files.
Themes may not load correctly when using emacs as daemon. But you can fix (tweak) it with
;; theme (defvar my:theme 'distinguished) (defvar my:theme-window-loaded nil) (defvar my:theme-terminal-loaded nil)
(if (daemonp) (add-hook 'after-make-frame-functions(lambda (frame) (select-frame frame) (if (window-system frame) (unless my:theme-window-loaded (if my:theme-terminal-loaded (enable-theme my:theme) (load-theme my:theme t)) (setq my:theme-window-loaded t)) (unless my:theme-terminal-loaded (if my:theme-window-loaded (enable-theme my:theme) (load-theme my:theme t)) (setq my:theme-terminal-loaded t))))) (progn (load-theme my:theme t) (if (display-graphic-p) (setq my:theme-window-loaded t) (setq my:theme-terminal-loaded t))))
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Regards,
Geyslan G. Bem hackingbits.com
-- "Do or do not. There is no try" Yoda Master
-- Regards,
Geyslan G. Bem hackingbits.com
-- "Do or do not. There is no try" Yoda Master
-- Regards,
Geyslan G. Bem hackingbits.com
-- *"Do or do not. There is no try"* *Yoda Master*
-- *"Do or do not. There is no try"* *Yoda Master*
-- *"Do or do not. There is no try"* *Yoda Master*
2016-01-14 13:52 GMT-03:00 Daniel. <danielhilst@gmail.com>:
You may need to install irony and company from melpa, checkout this: https://github.com/Sarcasm/irony-mode Tks.
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 :)
May you like it. ;; window move (global-set-key (kbd "C-s-j") 'windmove-left) (global-set-key (kbd "C-s-;") 'windmove-right) (global-set-key (kbd "C-s-l") 'windmove-up) (global-set-key (kbd "C-s-k") 'windmove-down) ;; buffer-move (global-set-key (kbd "M-s-j") 'buf-move-left) (global-set-key (kbd "M-s-;") 'buf-move-right) (global-set-key (kbd "M-s-l") 'buf-move-up) (global-set-key (kbd "M-s-k") 'buf-move-down) ;; window resize (global-set-key (kbd "C-s-S-j") 'shrink-window-horizontally) (global-set-key (kbd "C-s-:") 'enlarge-window-horizontally) (global-set-key (kbd "C-s-S-l") 'shrink-window) (global-set-key (kbd "C-s-S-k") 'enlarge-window)
Cheers,
2016-01-14 14:28 GMT-02:00 Daniel. <danielhilst@gmail.com>:
ops, forget the link: http://pastebin.com/uQkErV46
Cheers,
2016-01-14 14:28 GMT-02:00 Daniel. <danielhilst@gmail.com>:
clang is used only for parsing, nothing to do with compilation :)
Here it is :)
2016-01-14 13:35 GMT-02:00 Geyslan G. Bem <geyslan@gmail.com>:
2016-01-14 12:23 GMT-03:00 Daniel. <danielhilst@gmail.com>:
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. Hmmm. I'm having this issue too using gtags.
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 that mess. Clang parsing seems fast to me, I've tried to avoid it but, well, it worked fine...
Nice. Could you share your .el? So the clang is used only for compile warnings? If yes it may differ from gcc that is what kernel uses. Let me know more. :-)
I'm using gtags following these recipes: http://tuhdo.github.io/c-ide.html
Regards,
2016-01-14 12:26 GMT-02:00 Geyslan G. Bem <geyslan@gmail.com>:
2016-01-14 10:06 GMT-03:00 Daniel. <danielhilst@gmail.com>:
Thanks for the tip, I've past the last month trying vim again, but I'll keep with emacs anyway. I have so much code writen in elisp and my firgers are adicted to Ctrl keystrokes, so ... I could achieve autocomplete with company + irony + clang.
Why clang?
Best regards,
2016-01-13 22:37 GMT-02:00 Geyslan G. Bem <geyslan@gmail.com>:
2016-01-13 21:23 GMT-03:00 Ismael Luceno <ismael.luceno@gmail.com>:
On Thu, Dec 24, 2015 at 11:57:32AM -0200, Daniel. wrote:
I had heard about emacs server, but never tried it.. This should fix the starting time, but not the learning curve :)
You can wrap emacsclient to automatically start emacs --daemon with a script like this:
#!/bin/sh exec emacsclient -a '' -c "$@"
You may also want to pre-compile your elisp files.
Themes may not load correctly when using emacs as daemon. But you can fix (tweak) it with
;; theme (defvar my:theme 'distinguished) (defvar my:theme-window-loaded nil) (defvar my:theme-terminal-loaded nil)
(if (daemonp) (add-hook 'after-make-frame-functions(lambda (frame) (select-frame frame) (if (window-system frame) (unless my:theme-window-loaded (if my:theme-terminal-loaded (enable-theme my:theme) (load-theme my:theme t)) (setq my:theme-window-loaded t)) (unless my:theme-terminal-loaded (if my:theme-window-loaded (enable-theme my:theme) (load-theme my:theme t)) (setq my:theme-terminal-loaded t))))) (progn (load-theme my:theme t) (if (display-graphic-p) (setq my:theme-window-loaded t) (setq my:theme-terminal-loaded t))))
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Regards,
Geyslan G. Bem hackingbits.com
-- "Do or do not. There is no try" Yoda Master
-- Regards,
Geyslan G. Bem hackingbits.com
-- "Do or do not. There is no try" Yoda Master
-- Regards,
Geyslan G. Bem hackingbits.com
-- "Do or do not. There is no try" Yoda Master
-- "Do or do not. There is no try" Yoda Master
-- "Do or do not. There is no try" Yoda Master
-- Regards, Geyslan G. Bem hackingbits.com
EMACs might work better if they took LISP out of it and adopted it for a QWERTY keyboard.... Not that we should have an VI EMAC war. Ruben On Thu, Dec 24, 2015 at 02:59:13PM +0300, Andrey Skvortsov wrote:
On 22 Dec, Daniel. wrote:
I was thinking about back to vim, it starts so fast and has everything you need in tree letters, and the completion works out of box. If you are bothered by slow start of emacs, you can look at emacsdaemon. You start emacs only once, afterwards just connect to started emacs session.
I never get the completion really working with emacs. I remember that was coding with Lua headers and the completion crashed :( I just give up on it, who needs auto completion..
I'll give vim a second chance :)
Regards Em 22/12/2015 20:15, "Clemens Gruber" <clemens.gruber@pqgruber.com> escreveu:
Hi Daniel,
My boss came to my desk today raiging that I should use more productive tools for developing. Well I don't want to begin an editor war but, yes, I use emacs. I used to use vim before but the integration of emacs and gdb has caught my attention.
emacs and vim are both very powerful editors, each with their own pros and cons, but both very suitable for developing code! I don't think it's a good idea for a boss to force his devs into using some GUI IDE like Eclipse. Personally, I don't like it because it is slow (Hi Java!) and does too much stuff which I do not need when writing and debugging non-Java code.
If you are already used to Emacs and gdb mode, that's great.
Recently I am more and more using (g)vim and discovered a nice vim plugin: NERDTree https://github.com/scrooloose/nerdtree (A tree explorer plugin)
Oh and there is also cgdb: https://github.com/cgdb/cgdb
Cheers, Clemens
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Best regards, Andrey Skvortsov
Secure eMail with gnupg: See http://www.gnupg.org/ PGP Key ID: 0x57A3AEAD
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 http://www.nylxs.com - Leadership Development in Free Software http://www2.mrbrklyn.com/resources - Unpublished Archive http://www.coinhangout.com - coins! http://www.brooklyn-living.com Being so tracked is for FARM ANIMALS and and extermination camps, but incompatible with living as a free human being. -RI Safir 2013
Not a war at all, I agree that elisp is more bad than good, and is seems a little slow to me.. Em 24/12/2015 13:41, "Ruben Safir" <ruben@mrbrklyn.com> escreveu:
EMACs might work better if they took LISP out of it and adopted it for a QWERTY keyboard....
Not that we should have an VI EMAC war.
Ruben
On Thu, Dec 24, 2015 at 02:59:13PM +0300, Andrey Skvortsov wrote:
On 22 Dec, Daniel. wrote:
I was thinking about back to vim, it starts so fast and has everything you need in tree letters, and the completion works out of box. If you are bothered by slow start of emacs, you can look at emacsdaemon. You start emacs only once, afterwards just connect to started emacs session.
I never get the completion really working with emacs. I remember that was coding with Lua headers and the completion crashed :( I just give up on it, who needs auto completion..
I'll give vim a second chance :)
Regards Em 22/12/2015 20:15, "Clemens Gruber" <clemens.gruber@pqgruber.com> escreveu:
Hi Daniel,
My boss came to my desk today raiging that I should use more productive tools for developing. Well I don't want to begin an editor war but, yes, I use emacs. I used to use vim before but the integration of emacs and gdb has caught my attention.
emacs and vim are both very powerful editors, each with their own pros and cons, but both very suitable for developing code! I don't think it's a good idea for a boss to force his devs into using some GUI IDE like Eclipse. Personally, I don't like it because it is slow (Hi Java!) and does too much stuff which I do not need when writing and debugging non-Java code.
If you are already used to Emacs and gdb mode, that's great.
Recently I am more and more using (g)vim and discovered a nice vim plugin: NERDTree https://github.com/scrooloose/nerdtree (A tree explorer plugin)
Oh and there is also cgdb: https://github.com/cgdb/cgdb
Cheers, Clemens
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Best regards, Andrey Skvortsov
Secure eMail with gnupg: See http://www.gnupg.org/ PGP Key ID: 0x57A3AEAD
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com
DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 http://www.nylxs.com - Leadership Development in Free Software http://www2.mrbrklyn.com/resources - Unpublished Archive http://www.coinhangout.com - coins! http://www.brooklyn-living.com
Being so tracked is for FARM ANIMALS and and extermination camps, but incompatible with living as a free human being. -RI Safir 2013
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
On Thu, 24 Dec 2015 10:41:36 -0500, Ruben Safir said:
EMACs might work better if they took LISP out of it and adopted it for a QWERTY keyboard....
Doing something about the keymappings would probably help, as currently a lot of the most common sequences require use of weaker fingers (in particular, control-anything beats on your left pinky on most keyboards). The problem is that there's no good keys to remap *to* where the first and second fingers of either hand can easily reach it (Sorry, F5-F8 are too much of a stretch on most hardware). The only *real* fix is to go to a non-querty keyboard. Here's one that looks promising - the "key-cluster" module gives you 3 keys that will sit at a convenient place for your left thumb... https://www.crowdsupply.com/ugl/ultimate-hacking-keyboard/updates/1929 (Note - I haven't actually bought into that one, just an example of what would be needed. There's a lot of even more extreme ergonomic keyboards that would also be plausible. But few people want to drop $250-$400 just to make Emacs more usable.) As far as taking elisp out - Nope. Complete non-starter, because the reason that Emacs is powerful is because you can use elisp to configure, and more importantly extend, the editor. For instance, look at this collection of Emacs interfaces to Git: http://www.emacswiki.org/emacs/Git and remember that *all* of those are almost certainly written in 100% elisp.
On 24/12/2015 19:43, Valdis.Kletnieks@vt.edu wrote:
Doing something about the keymappings would probably help, as currently a lot of the most common sequences require use of weaker fingers (in particular, control-anything beats on your left pinky on most keyboards). The problem is that there's no good keys to remap *to* where the first and second fingers of either hand can easily reach it (Sorry, F5-F8 are too much of a stretch on most hardware).
I remapped caps lock to control and find it very convenient to have a control key so close to the resting position of my left pinky. OTOH, I'm using vim, so I'm probably not using ctrl as intensively as a Emacs user. Manuel.
On 12/24/2015 01:43 PM, Valdis.Kletnieks@vt.edu wrote:
The only *real* fix is to go to a non-querty keyboard.
No, retraining and reprogramming the user is not a solution. -- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 http://www.nylxs.com - Leadership Development in Free Software http://www2.mrbrklyn.com/resources - Unpublished Archive http://www.coinhangout.com - coins! http://www.brooklyn-living.com Being so tracked is for FARM ANIMALS and and extermination camps, but incompatible with living as a free human being. -RI Safir 2013
On Thu, 24 Dec 2015 19:29:11 -0500, Ruben Safir said:
On 12/24/2015 01:43 PM, Valdis.Kletnieks@vt.edu wrote:
The only *real* fix is to go to a non-querty keyboard.
No, retraining and reprogramming the user is not a solution.
Then you're stuck with a control key where it's difficult for the left pinky to get to. Feel free to suggest remappings that are easy for an index or second finger to reach on a querty keyboard (and which don't grab a commonly used key like 'h' or '6' :), or some other *real* fix that isn't a partial hack and doesn't fall into your "retraining and reprogramming" category.
On 12/24/2015 07:52 PM, Valdis.Kletnieks@vt.edu wrote:
On Thu, 24 Dec 2015 19:29:11 -0500, Ruben Safir said:
On 12/24/2015 01:43 PM, Valdis.Kletnieks@vt.edu wrote:
The only *real* fix is to go to a non-querty keyboard.
No, retraining and reprogramming the user is not a solution.
Then you're stuck with a control key where it's difficult for the left pinky to get to.
As a practicle matter, if you wanted to use EMACs caps lock is turned off all my system. But that is just the beginning of the problem. EMACS is really designed fro a DVORK keyboard.
Feel free to suggest remappings that are easy for an index or second finger to reach on a querty keyboard (and which don't grab a commonly used key like 'h' or '6' :), or some other *real* fix that isn't a partial hack and doesn't fall into your "retraining and reprogramming" category.
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- So many immigrant groups have swept through our town that Brooklyn, like Atlantis, reaches mythological proportions in the mind of the world - RI Safir 1998 http://www.mrbrklyn.com DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002 http://www.nylxs.com - Leadership Development in Free Software http://www2.mrbrklyn.com/resources - Unpublished Archive http://www.coinhangout.com - coins! http://www.brooklyn-living.com Being so tracked is for FARM ANIMALS and and extermination camps, but incompatible with living as a free human being. -RI Safir 2013
participants (9)
-
Andrey Skvortsov -
Clemens Gruber -
Daniel. -
Geyslan G. Bem -
Ismael Luceno -
Lucas Tanure -
Manuel Pégourié-Gonnard -
Ruben Safir -
Valdis.Kletnieks@vt.edu