>>>>> "Francis" == Francis Moreau <francis.moro@xxxxxxxxx> writes: Francis> Hi, Francis> I guess it's a dumb... Francis> I know that some of you work within emacs. I tried to use git iniside Francis> a emacs shell (M-x shell) and had a weid behaviour: Francis> $ git diff Francis> WARNING: terminal is not fully functional Francis> - (press RETURN) Francis> diff --git a/.lde/bin/cmd-version b/.lde/bin/cmd-version.[m Francis> index a6ce3f8..687112d 100755.[m Francis> --- a/.lde/bin/cmd-version.[m Francis> +++ b/.lde/bin/cmd-version.[m Francis> @@ -54,7 +54,7 @@ gdb_version () {.[m Francis> [snip] Francis> I'm not using diff color option. Francis> Can anybody shed some light ? 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. 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. :) -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <merlyn@xxxxxxxxxxxxxx> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html