Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion temacs
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
suvayu ali  
View profile  
 More options Jun 27 2012, 10:44 am
Newsgroups: gnu.emacs.help
From: suvayu ali <fatkasuvayu+li...@gmail.com>
Date: Wed, 27 Jun 2012 16:44:18 +0200
Local: Wed, Jun 27 2012 10:44 am
Subject: Re: temacs
Hi Jambunathan,

On Wed, Jun 27, 2012 at 11:23 AM, Jambunathan K <kjambunat...@gmail.com> wrote:
> For git commits, rebases etc I use jemacs as EDITOR.  Can I use temacs
> for such simple editing jobs?

I just tried it, compared with emacs -Q it is quite a bit slow.

$ time /path/to/temacs -Q -f kill-emacs

real    0m4.106s
user    0m3.825s
sys     0m0.090s

$ time emacs -f kill-emacs

real    0m5.056s
user    0m2.894s
sys     0m0.182s

$ time emacs -q -f kill-emacs

real    0m1.508s
user    0m0.453s
sys     0m0.078s

$ time emacs -Q -f kill-emacs

real    0m0.990s
user    0m0.242s
sys     0m0.045s

This is what I use for git commits:

$ git config --get core.editor
emacs -nw -Q -l ~/.emacs.d/minimal-commit.el

$ time emacs -nw -Q -l ~/.emacs.d/minimal-commit.el -f kill-emacs

real    0m0.665s
user    0m0.270s
sys     0m0.021s

You can find minimal-commit.el here:

<https://github.com/suvayu/.emacs.d/blob/master/minimal-commit.el>

HTH

--
Suvayu

Open source is the future. It sets us free.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.