From: "Francis Moreau" <francis.moro@gmail.com>
To: "Randal L. Schwartz" <merlyn@stonehenge.com>
Cc: git@vger.kernel.org
Subject: Re: emacs and git...
Date: Fri, 23 Mar 2007 08:29:17 +0100 [thread overview]
Message-ID: <38b2ab8a0703230029h7f3faa95u1e2ccb6a9ee4be5e@mail.gmail.com> (raw)
In-Reply-To: <86lkhpmftt.fsf@blue.stonehenge.com>
On 3/22/07, Randal L. Schwartz <merlyn@stonehenge.com> wrote:
>
> I use M-x shell on a regular basis, and have learned to add the following
> three items to my .emacs wherever I'm at:
>
> (setenv "PAGER" "/bin/cat")
> (setenv "EDITOR" "/opt/emacs/bin/emacsclient") ; `which emacsclient`
> (server-start)
>
> Unless you do the first line, programs that like to push things through "less"
> or "more" do some pretty nasty things.
the funny thing is that the following command in emacs' shell actually
do nothing.
$ PAGE=cat git diff HEAD^
$
> And those last two are nice, because
> you can use "git-commit" directly in the shell window, and it'll pop up an
> emacs buffer. Read up on emacs-server mode or you won't know how to get out
> of it though. :)
>
yep I already do that.
--
Francis
next prev parent reply other threads:[~2007-03-23 7:29 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-22 14:53 emacs and git Francis Moreau
2007-03-22 15:50 ` Matthieu Moy
2007-03-22 15:57 ` Randal L. Schwartz
2007-03-22 17:19 ` Bernt Hansen
2007-03-23 7:26 ` Francis Moreau
2007-03-23 7:29 ` Francis Moreau [this message]
2007-03-23 7:30 ` Randal L. Schwartz
2007-03-23 8:32 ` Francis Moreau
2007-03-23 9:07 ` Junio C Hamano
2007-03-23 9:54 ` Francis Moreau
2007-03-23 10:10 ` Junio C Hamano
2007-03-23 17:29 ` Francis Moreau
2007-03-24 9:55 ` Junio C Hamano
2007-03-24 15:10 ` Francis Moreau
2007-03-23 9:56 ` Francis Moreau
2007-03-24 9:56 ` Junio C Hamano
2007-03-24 15:12 ` Francis Moreau
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=38b2ab8a0703230029h7f3faa95u1e2ccb6a9ee4be5e@mail.gmail.com \
--to=francis.moro@gmail.com \
--cc=git@vger.kernel.org \
--cc=merlyn@stonehenge.com \
/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).