From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Vladimir Sedach Newsgroups: gmane.emacs.devel Subject: Re: next-error use cases Date: Thu, 21 May 2020 13:33:30 -0700 Message-ID: <87sgft110l.fsf@t510.orion.oneofus.la> References: <87zi2esn7l.fsf@mail.linkov.net> <87r2nknpaz.fsf@mail.linkov.net> <83y3hr5z35.fsf@gnu.org> <87d0z2anv8.fsf@mail.linkov.net> <871rnfbmll.fsf@mail.linkov.net> <69a40b7c-2a00-1c24-452f-b62d414e04bf@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="95850"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.3.10; emacs 26.2 Cc: emacs-devel@gnu.org, Juri Linkov To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 21 22:44:41 2020 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 1jbs3U-000Ooe-Vz for ged-emacs-devel@m.gmane-mx.org; Thu, 21 May 2020 22:44:40 +0200 Original-Received: from localhost ([::1]:35308 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jbs3T-00057C-OF for ged-emacs-devel@m.gmane-mx.org; Thu, 21 May 2020 16:44:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47296) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jbs2r-0003gp-EI for emacs-devel@gnu.org; Thu, 21 May 2020 16:44:01 -0400 Original-Received: from forward100j.mail.yandex.net ([5.45.198.240]:33244) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jbs2p-0000Mr-HJ for emacs-devel@gnu.org; Thu, 21 May 2020 16:44:00 -0400 Original-Received: from forward101q.mail.yandex.net (forward101q.mail.yandex.net [IPv6:2a02:6b8:c0e:4b:0:640:4012:bb98]) by forward100j.mail.yandex.net (Yandex) with ESMTP id 9A80750E1062; Thu, 21 May 2020 23:43:36 +0300 (MSK) Original-Received: from mxback5q.mail.yandex.net (mxback5q.mail.yandex.net [IPv6:2a02:6b8:c0e:1ba:0:640:b716:ad89]) by forward101q.mail.yandex.net (Yandex) with ESMTP id 9442DCF40004; Thu, 21 May 2020 23:43:36 +0300 (MSK) Original-Received: from vla3-5ed9a7202853.qloud-c.yandex.net (vla3-5ed9a7202853.qloud-c.yandex.net [2a02:6b8:c15:341d:0:640:5ed9:a720]) by mxback5q.mail.yandex.net (mxback/Yandex) with ESMTP id RpuWjnarkz-ha88rxs2; Thu, 21 May 2020 23:43:36 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oneofus.la; s=mail; t=1590093816; bh=DpCSNDMiq/p4NCxMnGkVPfUST0fEmVivIWZ1xiQSsog=; h=In-reply-to:Subject:Cc:From:To:Date:References:Message-ID; b=lgTrD2zX0QdXYNwJPWrp1D3YGaqIQSDGof2NBONTvdRCDubrdKp8XNat8oHLf4GwT FmutKS9V24QTmaMOt7gVze9QPD5Ln0BvbVnJi27t/3UBMSo4svylU9Zd4zYDH0qb4f K6hUsjp8kLLrXwleWpmA+aIqvyM3uvClmaVdqYvE= Authentication-Results: mxback5q.mail.yandex.net; dkim=pass header.i=@oneofus.la Original-Received: by vla3-5ed9a7202853.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id 8y92eAUb8a-hYXqsdii; Thu, 21 May 2020 23:43:35 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) In-reply-to: <69a40b7c-2a00-1c24-452f-b62d414e04bf@yandex.ru> Received-SPF: pass client-ip=5.45.198.240; envelope-from=vas@oneofus.la; helo=forward100j.mail.yandex.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/21 16:43:55 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.devel:251182 Archived-At: Dmitry Gutov writes: > In all this, I'm most concerned about the keybinding: 'C-c C-c' would > follow an existing example, but it's seems too valuable to take over > in all programming major modes. > > It calls comment-region in c-mode (and a few others), but that > duplicates an existing binding. > > In prolog-mode, ps-mode, sql-mode it invokes some unique commands, however. C-c C-c is also already used for the various Lisp language modes. Is there even a prog-mode that does not use C-c C-c for something? Why put this under the C-c prefix at all? C-c is for mode-specific-map. This is not specific to a major mode. There are next-error bindings already in M-g goto-map; that seems like the appropriate place, and it is not very busy right now. In the keymap, the binding itself should also be more mnemonic than C-c. -- Vladimir Sedach Software engineering services in Los Angeles https://oneofus.la