On Sun, Sep 19, 2010 at 14:48, Philip Jackson <[email protected]> wrote:
> At Sun, 19 Sep 2010 12:48:10 +0000,
> Ævar Arnfjörð Bjarmason wrote:
>
>> And maybe rebase-mode.el should be worked into magit core, does anyone
>> use it but me?
>
> I use it now and again but only because I feel I should :)
>
> You had some suggestions for it didn't you? Make read-only nil and
> setup some new bindings?

Well, it needs some work, I use this along with it:

    (eval-after-load 'rebase-mode
      '(progn
         (define-key rebase-mode-map (kbd "E") 'toggle-read-only)))

Which allows me to copy/paste in the buffer, but if you press one of
the special keys like "f" it won't emit a literal "f" there, so it
needs more work to work with that workflow.

Git 1.7.3 also just came out, and it supports a new "exec" command
which you can use to do e.g.:

    pick sha1 ...
    exec make test

It would probably be best to handle that by just moving the cursor one
space after "exec" when "e" is pressed and M-x toggle-read-only there,
allowing the user to type something in.

Reply via email to