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

Re: Manual hunk edit mode + emacs + ^G == garbage

From
Drew Northup <drew.northup@maine.edu>
Date
Oct 13, 2010, 21:48 UTC
Message-ID
<1287006523.13553.4.camel@drew-northup.unet.maine.edu>
In-Reply-To
<39CB17A9-2717-491B-8E01-F3E855F90649@sb.org>
On Wed, 2010-10-13 at 14:37 -0700, Kevin Ballard wrote:
> I've been having a rather strange problem using manual hunk edit mode (`git add -p`, e) and emacs together. It seems every time I hit ^G inside of emacs in this one circumstance, the entire process instantly shuts down, both emacs and `git add`, and it doesn't even give emacs a chance to clean up the terminal, so I'm left with garbage across my display (the remains of the emacs window) and the terminal settings are screwed up enough that I have to close and reopen it (even `reset` doesn't fix everything). Has anybody else seen this, and if so, do you know what's going on? I cannot reproduce this with emacs outside of `git add -p`, and I cannot reproduce this with vim even inside of `git add -p`.

Is there some way to get a dump of the environment that emacs is seeing? If we have that it will be easier to tell if this is an emacs problem or a git problem.

-- 
-Drew Northup
________________________________________________
"As opposed to vegetable or mineral error?"
-John Pescatore, SANS NewsBites Vol. 12 Num. 59
Previous: Kevin BallardNext: Kevin Ballard
Message 2 of 10 in “Manual hunk edit mode + emacs + ^G == garbage”
  1. Kevin BallardOct 13, 2010
  2. Drew NorthupOct 13, 2010
  3. Kevin BallardOct 13, 2010
  4. Andreas SchwabOct 13, 2010
  5. Kevin BallardOct 13, 2010
  6. Ævar Arnfjörð BjarmasonOct 14, 2010
  7. Kevin BallardOct 14, 2010
  8. Miles BaderOct 14, 2010
  9. Kevin BallardOct 15, 2010
  10. Matt McClureFeb 22, 2012

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.