git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git refuses to work with gvim

From
Shawn O. Pearce <spearce@spearce.org>
Date
Oct 12, 2009, 14:25 UTC
Message-ID
<20091012142523.GH9261@spearce.org>
In-Reply-To
<94a0d4530910120720pccaa920n7ab407494473ac7b@mail.gmail.com>
Felipe Contreras <felipe.contreras@gmail.com> wrote:
Show 6 quoted lines
> On Mon, Oct 12, 2009 at 5:13 PM, Shawn O. Pearce <spearce@spearce.org> wrote:
> >
> > Someone needs to whack gvim upside the head and fix that program
> > to behave correctly.
> 
> Huh? What is wrong about 'gvim --nofork'?

The fact that its a command line option that isn't the default. gvim's UI here is as bad as pre 0.99 git.

People do:
	export EDITOR=gvim

and things work OK for a while, as they always open a new editor, work with the file, and then close it, killing the only running gvim session. Since gvim waits if its the only gvim process running, things seem fine. But days later when you leave a file open, suddenly the command calling $EDITOR starts failing.

I've seen it happen to a lot of people. They just start complaining about how one day "git commit" is fine, and the next day its not working. But its been weeks since they selected gvim as their $EDITOR and they can't connect the open editor window as the problem with that Goddamn Idiotic Truckload of s**t they are forced to use.

-- 
Shawn.
Previous: Felipe ContrerasNext: Felipe Contreras
Message 5 of 8 in “git refuses to work with gvim”
  1. sebastian@coli.uni-sb.deOct 12, 2009
  2. Matthieu MoyOct 12, 2009
  3. Shawn O. PearceOct 12, 2009
  4. Felipe ContrerasOct 12, 2009
  5. Shawn O. PearceOct 12, 2009
  6. Felipe ContrerasOct 12, 2009
  7. Joshua RoysOct 12, 2009
  8. Markus HeidelbergOct 12, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.