[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding refactoring capabilities to Emacs
From: |
Stefan Monnier |
Subject: |
Re: Adding refactoring capabilities to Emacs |
Date: |
Fri, 08 Sep 2023 11:42:07 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
>> > C-c C-c is "go to place mentioned in this hunk". It must not apply
>> > anything,
>> > I have it most hardwired in my brain.
>> Really?
> Yes, really.
Curious: I always use RET instead. I'm actually having a hard time
remembering/imagining how/why we ended up binding `C-c C-c` to
`diff-goto-source` in `diff-mode`.
>> For me it's more like "finish this commit" or "send this email".
> That too of course. But these are other modes, no?
To me the "show diff during refactoring" is a different situation from
cases like `vc-diff` or `C-x C-f foo.diff`: it's more like showing you
all the details of your order before you confirm that you really want to
do it.
>> diff-apply-everything could work with "someone's patches" just as well.
>> That's actually a reason to just add it to diff-mode.
> I never said there wasn't. But don't touch C-c C-c please.
Maybe we should start by removing that `C-c C-c` binding from
`diff-mode` (users like you who really like it can re-add it easily).
Stefan
- Re: Adding refactoring capabilities to Emacs, (continued)
- Re: Adding refactoring capabilities to Emacs, Dmitry Gutov, 2023/09/07
- Re: Adding refactoring capabilities to Emacs, Eli Zaretskii, 2023/09/08
- Re: Adding refactoring capabilities to Emacs, Dmitry Gutov, 2023/09/08
- Re: Adding refactoring capabilities to Emacs, João Távora, 2023/09/08
- Re: Adding refactoring capabilities to Emacs, Dmitry Gutov, 2023/09/08
- Re: Adding refactoring capabilities to Emacs, João Távora, 2023/09/08
- Re: Adding refactoring capabilities to Emacs, Dmitry Gutov, 2023/09/08
- Re: Adding refactoring capabilities to Emacs, Eli Zaretskii, 2023/09/08
- Re: Adding refactoring capabilities to Emacs, João Távora, 2023/09/08
- Re: Adding refactoring capabilities to Emacs, João Távora, 2023/09/08
- Re: Adding refactoring capabilities to Emacs,
Stefan Monnier <=
- Re: Adding refactoring capabilities to Emacs, João Távora, 2023/09/08
- Re: Adding refactoring capabilities to Emacs, João Távora, 2023/09/08
- Re: Adding refactoring capabilities to Emacs, Dmitry Gutov, 2023/09/25
- Re: Adding refactoring capabilities to Emacs, Dmitry Gutov, 2023/09/25
- Re: Adding refactoring capabilities to Emacs, Alfred M. Szmidt, 2023/09/26
- Re: Adding refactoring capabilities to Emacs, João Távora, 2023/09/26
- Re: Adding refactoring capabilities to Emacs, Dmitry Gutov, 2023/09/26
- Re: Adding refactoring capabilities to Emacs, João Távora, 2023/09/26
- Re: Adding refactoring capabilities to Emacs, Alfred M. Szmidt, 2023/09/26
- Re: Adding refactoring capabilities to Emacs, Dmitry Gutov, 2023/09/26