From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.help Subject: Re: Is Elisp really that slow? Date: Wed, 15 May 2019 17:14:18 +0200 Message-ID: <87lfz7sqb9.fsf@telefonica.net> References: <20190514235412.kncazq45szlum2gr@Ergus> <46f308ff-5a70-8ccc-310b-48167088ff5a@yandex.ru> <87woirsvdb.fsf@telefonica.net> <87sgtfsswd.fsf@telefonica.net> <76f6370c-e8b7-bc59-634c-c48ea7af7f70@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="87756"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 15 17:24:37 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hQvlj-000Mg7-SF for geh-help-gnu-emacs@m.gmane.org; Wed, 15 May 2019 17:24:35 +0200 Original-Received: from localhost ([127.0.0.1]:38613 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQvli-0002z2-Rq for geh-help-gnu-emacs@m.gmane.org; Wed, 15 May 2019 11:24:34 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44075) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQvkm-0002Gm-CI for help-gnu-emacs@gnu.org; Wed, 15 May 2019 11:23:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQvbu-000563-Bv for help-gnu-emacs@gnu.org; Wed, 15 May 2019 11:14:27 -0400 Original-Received: from [195.159.176.226] (port=40950 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hQvbu-00053g-4l for help-gnu-emacs@gnu.org; Wed, 15 May 2019 11:14:26 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1hQvbr-000Aw6-RB for help-gnu-emacs@gnu.org; Wed, 15 May 2019 17:14:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ Cancel-Lock: sha1:Xay/Ta5aYnbZW0+6QKwknDrqv9s= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:120388 Archived-At: Dmitry Gutov writes: >> I think I already explained the issue, but I'll put it this way: what >> you would do about C-c C-c on C-Mode and how that would help their >> users? > > Pretty much what you suggested. Remove the binding and mention that in > NEWS, together with the existing alternative. You forgot to mention how removing C-c C-c would help CC-Mode users. And, as already mentioned, comment-dwim is not an alternative to comment-region. They do different things. > Some users might be upset, most won't care, and some will be educated > about the better alternative. The binding would also be freed for some > feature in the future, like C-REPL maybe. So we have certain downsides in exchange for hypothetical future advantages. Different modes have different requirements and it is natural that the same bindings do specific things on each case. Following your logic, as we have some modes where C-c C-c sends text to a terminal and others where it is used to indicate that the current edition has ended (and others where it interrupts current execution, as in Eshell) we should decide that the binding will do one and only one thing, and remove it from all other modes where that thing does not exists. At the end, we deplete the available bindings from each mode just for the cause of coherence. Doesn't look like an improvement to me.