From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.devel Subject: Re: immediate strings #2 Date: Tue, 29 Nov 2011 07:17:35 +0400 Message-ID: <4ED44ECF.7030808@yandex.ru> References: <4ED35057.8010103@yandex.ru> <4ED4089C.3050203@cs.ucla.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1322536648 18495 80.91.229.12 (29 Nov 2011 03:17:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 29 Nov 2011 03:17:28 +0000 (UTC) Cc: Paul Eggert , Stefan Monnier To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 29 04:17:24 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RVECB-0002II-Ff for ged-emacs-devel@m.gmane.org; Tue, 29 Nov 2011 04:17:23 +0100 Original-Received: from localhost ([::1]:34330 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVECA-0004xc-PD for ged-emacs-devel@m.gmane.org; Mon, 28 Nov 2011 22:17:22 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:35567) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVEC8-0004xQ-7e for emacs-devel@gnu.org; Mon, 28 Nov 2011 22:17:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RVEC6-0002tV-79 for emacs-devel@gnu.org; Mon, 28 Nov 2011 22:17:20 -0500 Original-Received: from mail-bw0-f41.google.com ([209.85.214.41]:54966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVEC6-0002tB-1J for emacs-devel@gnu.org; Mon, 28 Nov 2011 22:17:18 -0500 Original-Received: by bke17 with SMTP id 17so10677927bke.0 for ; Mon, 28 Nov 2011 19:17:16 -0800 (PST) Original-Received: by 10.204.154.1 with SMTP id m1mr48194240bkw.107.1322536636290; Mon, 28 Nov 2011 19:17:16 -0800 (PST) Original-Received: from [192.168.0.171] ([78.153.153.8]) by mx.google.com with ESMTPS id jf4sm28383868bkc.5.2011.11.28.19.17.14 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 28 Nov 2011 19:17:15 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111115 Thunderbird/8.0 In-Reply-To: <4ED4089C.3050203@cs.ucla.edu> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.41 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:146332 Archived-At: On 11/29/2011 02:18 AM, Paul Eggert wrote: > union Lisp_String > { > /* When IMMEDIATE.IMMEDIATE_BIT is 0. */ > struct Data_Lisp_String data; > > /* When IMMEDIATE.IMMEDIATE_BIT is 1. */ > struct Immediate_Lisp_String immediate; > }; This is possible, of course, but personally I don't like this for aesthetic reasons - Lisp_String is a basic type, and it should stays basic without too much data type bloating like Lisp_Misc. Dmitry