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

emacs mode nitpicks

From
Han-Wen Nienhuys <hanwen@xs4all.nl>
Date
Oct 31, 2006, 12:58 UTC
Message-ID
<45474883.3040809@xs4all.nl>
Hello,

I'm getting used to a GIT working environment, and part of that is the emacs mode.

I have a couple of nitpicks:
  - the "o" (open in other window, also available in 
cvs-mode/darcsum/bufferlist) doesn't work in git-status
  - it would be cool to have the return key function like in darcsum.

In darcsum, "enter" toggles showing of a diff of said file. When the diff is shown, the file is automatically marked for inclusion in the commit. Inside the diff, I can jump to the exact line with C-c.

In darcsum, I can select files for commit using only enter and arrow keys. In git-mode, I need the 'm', 'u', '=' keys.

(darcsum is at http://chneukirchen.org/repos/darcsum/ ; while Darcs does it have its issues, the Emacs mode is really very neat.)

  - When pressing 'c' for commit, the my cursor is at the "Author:" 
line. Moving to end of buffer  is just a single extra keystroke,  but 
it's completely superfluous and therefore: highly irritating keystroke.

I tried adding a (end-of-buffer) to the function definition, but it didn't work, and I'm not enough of an elisp guru to understand why it doesn't work.

-- 
  Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen
Message 1 of 1 in “emacs mode nitpicks”
  1. Han-Wen NienhuysOct 31, 2006

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.