From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: Adding refactoring capabilities to Emacs Date: Fri, 8 Sep 2023 17:20:08 +0100 Message-ID: References: <83fs4f36wi.fsf@gnu.org> <1b963d24-51b3-8128-ad14-e4af2c9f0c43@gutov.dev> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7698"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Dmitry Gutov , Eli Zaretskii , "Philip K." , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 08 18:21:30 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qeeEa-0001eV-GO for ged-emacs-devel@m.gmane-mx.org; Fri, 08 Sep 2023 18:21:28 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qeeDb-0006fH-HU; Fri, 08 Sep 2023 12:20:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qeeDY-0006e6-W5 for emacs-devel@gnu.org; Fri, 08 Sep 2023 12:20:25 -0400 Original-Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qeeDW-0005yi-GW; Fri, 08 Sep 2023 12:20:24 -0400 Original-Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-501bd164fbfso3606734e87.0; Fri, 08 Sep 2023 09:20:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694190020; x=1694794820; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=AXd/yF9M1EC4buib/JXDtJjKcU+AbH/z8wAXE4eMU5M=; b=c+di9cQrfEXxa9SbHcoO8UNx94SJ19Ammf2NENZP+1WINw72mTX+8PIJlA9Ue5kt7p fnkGzip/qk5njyRFN7I6v/I/kHMFX0Nngy0bghH0+QsVeYY+1TcBHJgli2TBBQ6Gpiq3 H3SbTUJ6gme3xy8LDMLaVfsG553QAZOaunsxAQwZ5JY7gcM4hAh1q2j9QkaTFd+1kskJ nvUQ6S6FKQUst4QaPd/tIKld9hP9lOj5Hc9rRIESIM7tDcO/caGsahhXuV+NvfVbd0Jw KvRmhDtwu0pG7Vv+5hgwLDcWIY8PKWo5NK7Kjp/UWZZs9DrSz3xBzS0x1VFUX4qgQNjf jcQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694190020; x=1694794820; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AXd/yF9M1EC4buib/JXDtJjKcU+AbH/z8wAXE4eMU5M=; b=vUthr6SKu6bUVLbZv9STSCeZzkJnbo8jVDAwuX/tKZAIyX2MWnCerHgxu7qX65Zbi2 K0VCwa8qZUgmDMgXpyuXCWzflBnCmviN+KsPuJy+eQiTZxiHh+xoSq8l5GjhMJNtG3rR tX6qiiMma0ZkioPI2Q+7q8LmWG5Mw6pKnC6FF9yTyuIzEffdU3KOPM3g7xQx1B7AlT+9 kmRKxN0cI+VEDIwGCDwtkKgdbrNP5ZeUIkhspe+0CyNCekHY7M9i6j/z8x7VLzpm3wdn LDwYDXSZUK55pP1BwBKPmTom3qraWBH4LP7B1ENcRAcX5DzP8ySStiGof3eEBHoIzgvN HnkQ== X-Gm-Message-State: AOJu0Yy+b8YDivuczvZ1cD+QVxgHq1UH94H/QFYQDxoeTTOsiceAIzWD 4MR8GfLGLA2z27xQOcnzuRdXS3leOKH0PuceMD0= X-Google-Smtp-Source: AGHT+IFbXFW41vTOa+c8uxx08nnSZoTivnh1Bwv5gOjmfhukBJ2YVTy18nMeY1GuGWgRrIAGxOmNx4glIKWQ6RrKjO8= X-Received: by 2002:ac2:4ac7:0:b0:4fe:3364:6c20 with SMTP id m7-20020ac24ac7000000b004fe33646c20mr2277818lfp.16.1694190020095; Fri, 08 Sep 2023 09:20:20 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::130; envelope-from=joaotavora@gmail.com; helo=mail-lf1-x130.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:310341 Archived-At: On Fri, Sep 8, 2023 at 5:05=E2=80=AFPM Jo=C3=A3o T=C3=A1vora wrote: > > On Fri, Sep 8, 2023 at 4:42=E2=80=AFPM Stefan Monnier wrote: > > > > >> > C-c C-c is "go to place mentioned in this hunk". It must not appl= y 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=C3=A3o