From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Emacs design and architecture (was: Shrinking the C core) Date: Thu, 12 Oct 2023 08:27:48 -0400 Message-ID: References: <87ledwx7sh.fsf@yahoo.com> <877cpfybhf.fsf@yahoo.com> <873503y66i.fsf@yahoo.com> <87fs3ur9u8.fsf@dataswamp.org> <875y4moiiq.fsf@dataswamp.org> <83r0n4rj78.fsf@gnu.org> <83cyynpmvd.fsf@gnu.org> <83cyyhgvjq.fsf@gnu.org> <83cyyecjza.fsf@gnu.org> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28605"; mail-complaints-to="usenet@ciao.gmane.io" Cc: owinebar@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 12 14:28:48 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 1qquo3-0007F1-SD for ged-emacs-devel@m.gmane-mx.org; Thu, 12 Oct 2023 14:28:48 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqunA-000585-6z; Thu, 12 Oct 2023 08:27:52 -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 1qqun8-00057M-CI for emacs-devel@gnu.org; Thu, 12 Oct 2023 08:27:50 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qqun8-0003z6-3U; Thu, 12 Oct 2023 08:27:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=2H7tKCz6eE+/TEpQT5GicuDrsKKIm39Nre5i9SMfN/o=; b=UdvtrqIU3mst q2HheyUks8gjRxNIDhMAMwwtCE6dIsi3ZR1AK6KyzEKhkvW1SLp9qOWoHp5YYTJUJQKpTXZcmSPxz QIjTRtBO5qJCWH6nNfjWNx5aLCrHrh/32bAw7LDJxLYVbJyxJcIBNt5f57b9AmOIB/ihRwtNd5I7J MbdUXkfJ0BnkxQQ25QD2gOoraCa5cIJGtymhdTJGGZLIDhs4y7oacAC7ggUCHgXartl9NSGP7cw/C 3oqbP1UgumwcWjJJuAuIwOAdUnRqLPQmiWv3KqF+UpsJ55bVdTmKupkQCATx3MramVow6iXr1W7Ic 21MChDj/IgpVyi41XDGW5Q==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1qqun6-0003lX-L6; Thu, 12 Oct 2023 08:27:48 -0400 In-Reply-To: <83cyyecjza.fsf@gnu.org> (message from Eli Zaretskii on Tue, 19 Sep 2023 17:31:53 +0300) 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:311419 Archived-At: [[[ 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. ]]] > > If we add a more powerful method of attaching non-text data to > > buffers, the design phase should include specifying precisely how they > > would behave when copying text between buffers and strings. > All this > because buffer text is a single unstructured string of bytes. If we > want to speed up redisplay in such situations, we must get some help > from the buffer text itself, so as not to have to redo all those > layout calculations each and every time we need to convert buffer > positions to screen coordinates or back. I think we are looking at the same sort of idea from two different angles. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)