From: danielhilst@gmail.com (Daniel.)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Developing environments used for kernel development
Date: Thu, 14 Jan 2016 11:06:05 -0200 [thread overview]
Message-ID: <CAF3SDA4PwL9xTHqfU91sgY7Z8F+4qviQf0v6G4grqXO3aDAs+Q@mail.gmail.com> (raw)
In-Reply-To: <CAGG-pUT+4cGsfuC5GZT34Jau=yAvFw6q1o9dgjj2Dbia_6QN5Q@mail.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.
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 at 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*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20160114/6acc4220/attachment.html
next prev parent reply other threads:[~2016-01-14 13:06 UTC|newest]
Thread overview: 40+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-22 19:27 Developing environments used for kernel development Daniel.
[not found] ` <CAJX_Q+2AOXLM=XWsSYzUbpG=MKH+p2D1Xf2k7xGFrQdn=_zPTQ@mail.gmail.com>
2015-12-22 21:26 ` Daniel.
2015-12-22 21:43 ` Lucas Tanure
2015-12-22 22:41 ` Daniel.
2015-12-22 22:15 ` Clemens Gruber
2015-12-23 0:06 ` Daniel.
2015-12-24 11:59 ` Andrey Skvortsov
2015-12-24 13:57 ` Daniel.
2016-01-14 0:23 ` Ismael Luceno
2016-01-14 0:37 ` Geyslan G. Bem
2016-01-14 13:06 ` Daniel. [this message]
2016-01-14 13:53 ` Geyslan G. Bem
2016-01-14 14:26 ` Geyslan G. Bem
2016-01-14 15:23 ` Daniel.
2016-01-14 15:35 ` Geyslan G. Bem
2016-01-14 16:28 ` Daniel.
2016-01-14 16:28 ` Daniel.
2016-01-14 16:36 ` Geyslan G. Bem
2016-01-14 16:52 ` Daniel.
2016-01-14 16:58 ` Geyslan G. Bem
2015-12-24 15:41 ` Ruben Safir
2015-12-24 17:33 ` Daniel.
2015-12-24 18:43 ` Valdis.Kletnieks at vt.edu
2015-12-24 20:13 ` Manuel Pégourié-Gonnard
2015-12-25 0:29 ` Ruben Safir
2015-12-25 0:52 ` Valdis.Kletnieks at vt.edu
2015-12-25 1:42 ` Ruben Safir
[not found] ` <4E5779AD88B2F040B8A7E83ECF544D1A64AC5F@SJCPEX01CL03.citrite.net>
2015-12-23 1:18 ` Daniel.
2015-12-23 13:30 ` Daniel.
2015-12-23 14:45 ` amit mehta
2015-12-23 17:20 ` Daniel.
2016-01-14 19:19 ` Geyslan G. Bem
2016-01-14 20:08 ` Daniel.
2015-12-25 17:14 ` Raymond Jennings
2015-12-28 12:28 ` Daniel.
2015-12-28 12:57 ` Manuel Pégourié-Gonnard
2015-12-28 14:05 ` Fernando Apesteguía
2015-12-28 19:11 ` Daniel.
2015-12-29 5:10 ` Daniel.
2015-12-29 9:50 ` Manuel Pégourié-Gonnard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAF3SDA4PwL9xTHqfU91sgY7Z8F+4qviQf0v6G4grqXO3aDAs+Q@mail.gmail.com \
--to=danielhilst@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).