emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding refactoring capabilities to Emacs


From: João Távora
Subject: Re: Adding refactoring capabilities to Emacs
Date: Fri, 8 Sep 2023 17:20:08 +0100

On Fri, Sep 8, 2023 at 5:05 PM João Távora <joaotavora@gmail.com> wrote:
>
> On Fri, Sep 8, 2023 at 4:42 PM Stefan Monnier <monnier@iro.umontreal.ca> 
> wrote:
> >
> > >> > 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`.
>
> Seems some young hotshot added it back in the day

More realistically, the reason may have been that
diff-mode isn't necessarily a read-only mode, and
so you need a command such as this which doesn't
imply modifying the buffer (RET is no good here).
There is also M-o and M-RET but these were (and
most importantly probably still are) harder to hit or
bind on some terminals.

João



reply via email to

[Prev in Thread] Current Thread [Next in Thread]