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

Re: [StGit PATCH 1/3] stgit.el: Added undo command

From
David Kågedal <davidk@lysator.liu.se>
Date
Oct 30, 2008, 14:57 UTC
Message-ID
<87skqe9llp.fsf@krank.kagedal.org>
In-Reply-To
<20081030115716.GA19360@diana.vm.bytemark.co.uk>
Karl Hasselström <kha@treskal.com> writes:
Show 8 quoted lines
> On 2008-10-30 10:52:48 +0100, David Kågedal wrote:
>
>> Bound it to the two standard bindings C-/ and C-_.
>
>> +  (define-key stgit-mode-map [(control ?/)] 'stgit-undo)
>> +  (define-key stgit-mode-map "\C-_" 'stgit-undo))
>
> Hmm, why do you spell control in two different ways?

I usually use the "\C-x" syntax, but for some reason that didn't work with "\C-/", so I used another syntax. I'm not sure how compatible that is with XEmacs, though.

-- 
David Kågedal
Previous: Karl HasselströmNext: David Kågedal
Message 4 of 6 in “stgit.el patches”
  1. 0/3 stgit.el patchesDavid Kågedal, Oct 30, 2008
  2. 1/3 stgit.el: Added undo commandDavid Kågedal, Oct 30, 2008
  3. Karl HasselströmOct 30, 2008
  4. David KågedalOct 30, 2008
  5. 2/3 stgit.el: Added numeric prefix argument to push and pop commands.David Kågedal, Oct 30, 2008
  6. 3/3 stgit.el: Adapt to new output from stg series.David Kågedal, Oct 30, 2008

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.