From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.help Subject: Re: Is Elisp really that slow? Date: Wed, 15 May 2019 19:05:43 +0300 Message-ID: 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> <87lfz7sqb9.fsf@telefonica.net> <874l5vsokw.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="3870"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 To: =?UTF-8?Q?=c3=93scar_Fuentes?= , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 15 18:06:21 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 1hQwQ9-0000sG-Ev for geh-help-gnu-emacs@m.gmane.org; Wed, 15 May 2019 18:06:21 +0200 Original-Received: from localhost ([127.0.0.1]:39315 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQwQ8-0000Ts-EF for geh-help-gnu-emacs@m.gmane.org; Wed, 15 May 2019 12:06:20 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54116) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hQwPk-0000LP-2e for help-gnu-emacs@gnu.org; Wed, 15 May 2019 12:05:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hQwPj-0004OR-4G for help-gnu-emacs@gnu.org; Wed, 15 May 2019 12:05:56 -0400 Original-Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:53067) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hQwPi-0004NH-QL for help-gnu-emacs@gnu.org; Wed, 15 May 2019 12:05:55 -0400 Original-Received: by mail-wm1-x331.google.com with SMTP id y3so602623wmm.2 for ; Wed, 15 May 2019 09:05:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=C+2VF0SzDefmSufRcndZSFznmRXDhWBDilRIitDvr8k=; b=duSdxV93wOGpNFgoWQUsPvS/jgDziZaOgEBIX9uy9hES9aWe7bvhvqY0SLlGljRlmw W3tHBIQPYfv2woI57x0D4vuXsYyEcKWICkMqO3xsIID/32S8DI5MS9QHlC2ALE7LiMVr roG7vBehaRgowc0OIuAVFuDVgNh0AT3b93rhg5YEPo/vBZaFF3hHRYbcjSPumkLUA1Av D0T1455xpHCvcK9uSljnmqBEjHV8SS7h0XSHX1LVZSj5v2lmP9aNknthQlUGuaUhOgRK WJJ4Fb/HLPA/m7KD/ttodzr65NSxv/6EzdZcql3VNtfeurh+JHcXDkB8xD+07cyUwdWs WGDg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=C+2VF0SzDefmSufRcndZSFznmRXDhWBDilRIitDvr8k=; b=A1VEVx1xLJpZBf2lPdQtVYO70ZsJTfeTBbcFpo5a4I1jrauY4Vk3fWpiNlvWStSxnW vm8IOGGFQ3FvXtkGGKNk5C4Q4be6BF4CSAxAKrENsnvCKNC9rlfuENWd9c58qGD1Z3Gi MKi3M97P1rwEz/ubmNQ2HOCg62gPHxuo93xFpDJUkg5ayjjT/EfvrPve+kkwTSBo52B4 1kIDE51ILw5getZTFiouCENIXKzO42WKA1b4bCqfMaZyGpPf9rgDbeKu4LuahVpPnwuE 6EbLQx2m+NsuBObYLMRARjt2XiKaLmuq09fxGOdIfFJqf4ZdJUkmAn8TRoxFzQAHqZXy m2HQ== X-Gm-Message-State: APjAAAUkTXEhsATmV5uiMe0ezqnqwM6RAfXykDprKA4kZAmfK1ySYyAS NVzcEZbDVDJswRl5wYvvDZRWI7ol X-Google-Smtp-Source: APXvYqzAjcJS4KvH1/XXQ54HQSpZYTPSUXTkptfyYQ9TdDdfcUHsBSDW863Ugy2fCREqFBJaXe94Dg== X-Received: by 2002:a1c:7dd6:: with SMTP id y205mr20051118wmc.90.1557936353155; Wed, 15 May 2019 09:05:53 -0700 (PDT) Original-Received: from [192.168.0.195] ([109.110.245.170]) by smtp.googlemail.com with ESMTPSA id m8sm4023883wrg.18.2019.05.15.09.05.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 May 2019 09:05:47 -0700 (PDT) In-Reply-To: <874l5vsokw.fsf@telefonica.net> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::331 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:120399 Archived-At: On 15.05.2019 18:51, Óscar Fuentes wrote: > AFAIK, modes where C-c C-c does something do not support the concept of > commenting regions. elisp-mode, for instance. If you meant ielm (elisp-mode has no C-c C-c), then C-; works there and even does something. REPLs can have multiline inputs too. >>> And, as already mentioned, comment-dwim is not an alternative to >>> comment-region. They do different things. >> >> You ignore, like, half the things I write. I am out of this discussion. > > I do not understand your frustration. Because, even with the paragraph below, you haven't addressed my response on that subject. And it was a one-line response, FFS. Anyway, Stefan has written a more expanded message on the same subject. > The heuristics of comment-dwim not always gives the desired results. If > I know that I want to comment or uncomment a region, I prefer a method > that will do precisely that instead of something that tries to guess my > intention and can end doing the opposite thing depending on the presence > of commented-out text somewhere on the region. I don't see you arguing for adding a comment-region binding in other major modes.