From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: CC Mode in MMM Mode(s). Date: Fri, 8 Dec 2017 01:43:18 +0200 Message-ID: References: <83y3mkzw1n.fsf@gnu.org> <83mv2zzv7z.fsf@gnu.org> <643908a3-bec8-3ac1-38f7-4e73611478ef@yandex.ru> <20171203185946.GC5531@ACM> <20171204155238.GA5101@ACM> <9beb1b6c-7c37-da28-3451-3c2a440f309b@yandex.ru> <20171205190141.GA4745@ACM> <20171206181948.GA4098@ACM> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1512690215 7784 195.159.176.226 (7 Dec 2017 23:43:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 7 Dec 2017 23:43:35 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Thunderbird/58.0 Cc: spinuvit@gmail.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca, acm@muc.de, eliz@gnu.org, tom@tromey.com To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 08 00:43:31 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eN5pB-0001uO-KE for ged-emacs-devel@m.gmane.org; Fri, 08 Dec 2017 00:43:29 +0100 Original-Received: from localhost ([::1]:34870 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eN5pI-00057t-Nd for ged-emacs-devel@m.gmane.org; Thu, 07 Dec 2017 18:43:36 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56170) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eN5pB-00057b-7r for emacs-devel@gnu.org; Thu, 07 Dec 2017 18:43:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eN5p6-0004rO-7k for emacs-devel@gnu.org; Thu, 07 Dec 2017 18:43:29 -0500 Original-Received: from mail-wm0-x22f.google.com ([2a00:1450:400c:c09::22f]:41310) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eN5p6-0004pe-0a; Thu, 07 Dec 2017 18:43:24 -0500 Original-Received: by mail-wm0-x22f.google.com with SMTP id g75so707135wme.0; Thu, 07 Dec 2017 15:43:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=ywSqWRaewidg9WkVjOzfNPJUaCcgQ02uqXv3upPI2lM=; b=hJnEJPXCrHg02FjY2DO4pVV8Oe7hc/Ddu9qvdcIBpqK6bwST7MnhQ1PO5LjyQR/CPY F81u3g10mtAbTcpDeTw63etrYMidKt8aw5c/s+wRs/RRJB1j1Sw3DODSvtirMr3bgbCw P9u63nA6oA5BsvuDFXiRqAjIpIRnYy8UaBbimS4HxIiXETb+iM14eZF6qZh6tojQHsCi vo44SCQn7x7VpThl/hady/SyZ3tz8lZcCqV4OgbhWWHqCXvCdNgygMWBhu9BlmYnNaoL EZYPmOMS50QBsCqXPuXs3fjFWJhqvKRw2PAayt4rOGlPnfYQXlmPhBru67GTYoOOznYI mVDw== 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:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=ywSqWRaewidg9WkVjOzfNPJUaCcgQ02uqXv3upPI2lM=; b=bEFAZW3EXf+5ak0FMRams2TH2PFa/9Ere0KmPjN2m0D1iEiS140QiWTg1D7EH//cts OlOiYLiB7VERVPCusMOOq7W3S5Mlom5M1H++CA94oxtG5Z0dQ3zKVVoZIK9AsiNEF+vy 6BjjEF50V/y/8AVg+ENiwH28GNTLz1WeGNR7n97fFRWW5x9YQnJEwq9tYyHu2XtEy/wY TwZB9dma2HqslOKMWUWQH6rsufDoGaq1nWQYndasa+EWN8ivQclIsmvwEtWDbwwRPWwM 3K3Zcq4Xmow91ScF1koQ4DhjdSVmXJxQRfJkIrEkXPKkpgG8vtsxb9q80P+djhgcZGus 6wAA== X-Gm-Message-State: AKGB3mLW919xxHBccmhIKCZWb1KGRPKXWl4/jtksH8MGL59lX6KAfqQj WqxV6VwYIRlv9/y6b1bTyVupmFoo X-Google-Smtp-Source: AGs4zMZ2sS6j5O3r+k8fVLQ+es7ARzz9vUlS1GjYotG5/tAR6wGmbTmBgN7caXOOvl2kO6VExRiooA== X-Received: by 10.28.126.201 with SMTP id z192mr1453579wmc.121.1512690202238; Thu, 07 Dec 2017 15:43:22 -0800 (PST) Original-Received: from [192.168.1.3] ([185.105.174.193]) by smtp.googlemail.com with ESMTPSA id j13sm7405579wre.55.2017.12.07.15.43.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 07 Dec 2017 15:43:20 -0800 (PST) In-Reply-To: Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::22f X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:220783 Archived-At: On 12/7/17 9:49 PM, Richard Stallman wrote: > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > Why does MMM use overlays, rather than text properties? - No need to worry about putting the buffer into a modified state. - Overlays expand when you insert some text inside. By default, mmm-mode doesn't re-parse the buffer into submode chunks automatically (probably because of performance concerns, more apparent back in the day), so that was probably useful. - Overlays have properties. It's a more meaningful data structure, I guess. Easier to build with.