From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Nick Helm Newsgroups: gmane.emacs.help Subject: Re: How can I change a buffer-local glyphless char table? Date: Thu, 07 Jun 2018 10:34:18 +1200 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1528324374 10359 195.159.176.226 (6 Jun 2018 22:32:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 6 Jun 2018 22:32:54 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (darwin) Cc: help-gnu-emacs@gnu.org To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 07 00:32:50 2018 Return-path: Envelope-to: geh-help-gnu-emacs@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 1fQgz3-0002aN-Kd for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Jun 2018 00:32:49 +0200 Original-Received: from localhost ([::1]:54914 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQh1A-0000yY-Q5 for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Jun 2018 18:35:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52194) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fQh0g-0000uG-8q for help-gnu-emacs@gnu.org; Wed, 06 Jun 2018 18:34:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fQh0d-00040L-70 for help-gnu-emacs@gnu.org; Wed, 06 Jun 2018 18:34:30 -0400 Original-Received: from mail-sy3aus01on0135.outbound.protection.outlook.com ([104.47.117.135]:23147 helo=AUS01-SY3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fQh0c-0003zR-Ko for help-gnu-emacs@gnu.org; Wed, 06 Jun 2018 18:34:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenpointcomms.onmicrosoft.com; s=selector1-tenpoint-co-nz; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=UbS2Nyy78JmPg2wO2idGqghEH2kmzX44F1PRFOhAlPE=; b=G92EKDmXCb5x+kftES4p7gs/SYw1iW6eMC4yKCibOuZzgaVcaZCZ97tQJh00HQfcYUO60/iEtle6Ck6rxrI+05VE1J7xfO0HmFbpQHmFGwXZObjHnqG6/qxyEqan8iHKDyySbE0Ja1UpnkoU1laDDH4jZLim9KOgzxiz4crg9D0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=nick@tenpoint.co.nz; Original-Received: from oberon.local (125.239.171.29) by ME2PR01MB2899.ausprd01.prod.outlook.com (2603:10c6:201:22::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.841.13; Wed, 6 Jun 2018 22:34:22 +0000 In-Reply-To: (Stefan Monnier's message of "Wed, 06 Jun 2018 13:45:29 -0400") X-Originating-IP: [125.239.171.29] X-ClientProxiedBy: SYAPR01CA0035.ausprd01.prod.outlook.com (2603:10c6:1:1::23) To ME2PR01MB2899.ausprd01.prod.outlook.com (2603:10c6:201:22::16) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(7021125)(4534165)(7022125)(4603075)(4627221)(201702281549075)(7048125)(7024125)(7027125)(7028125)(7023125)(5600026)(2017052603328)(7153060)(7193020); SRVR:ME2PR01MB2899; X-Microsoft-Exchange-Diagnostics: 1; ME2PR01MB2899; 3:J4niXn03yYMfxyRoN3MAJ/zW225t+pA4NairIwbWq7OxqfguX4gBdBwy9g/DAqZ18M42XHJtzLDNLSfOeyHSMXhoFPtzo32Vl0eZwC9hsYW6/23WxkU4jWNrsKxmUQrVVCs6XU4IgLgK02HvvVfXQ1M2lc4puRyshsujCKCiarbJPkr0JsWrNKItbw3LyfT8+O4uO+jSR1SWC0Uq82cDCR/2cF7c7QVAqKaNWe5U9kIEP/qfdIg2fwPJlNNVzSGX; 25:xRcm/h9k0dEoDMXRiFd94Saac+/BvS4Y9bhTv+3CqHfuqNhusbN16ARkXhfqMLD7Z654sUNIgbP/jkiXwxctKwnyG0hId8T7b/WS4qIb+JTZNcqX45EKVp1OFt8BIchSWaoSrT2byY88xn5LZFkLBcxOwqVQHxmVJPK6WLqdozeWVwE7nBfSeaZ22lYRLfHOTZK4cb/pGewEOb1VC/Wpgw4mj23VIX9E5jOGpZGUH1W+4YHtWngEo64M7LfgFywLKQXmZDJkOduCt6wHKVbmxd4oMrIbO6XKn8o4WilQ8UL9JrTNzZYD7Ii+MexcbsYi1MavBs6kKRxtij7dudyXnQ==; 31:UqsBg0uNycNi6eZqHQwMQ33qc74i2p/gBmgKCSMvQ/Bw+KDzOQqp6WS7d7lLjqKxx09gzLRV8I2GSb5nUzjIn3X8XhdZ4EhDlzf5EBMHe7PZ/q3vdRkVg/sFjBuiubLCgKPBmkxmJQxwy85Jf612pufJfh0AYFRONi81YVC6GnEqGPh1CfAk6pSFo3yc+9aKIoPo2Jlg0H+eJisKwIMJpOw/XM1ZC27oi+9Q89w+L X-MS-TrafficTypeDiagnostic: ME2PR01MB2899: X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(5005006)(8121501046)(3002001)(3231254)(944501410)(52105095)(10201501046)(93006095)(93001095)(149027)(150027)(6041310)(20161123564045)(20161123558120)(20161123560045)(20161123562045)(2016111802025)(6043046)(6072148)(201708071742011)(7699016); SRVR:ME2PR01MB2899; BCL:0; PCL:0; RULEID:; SRVR:ME2PR01MB2899; X-Microsoft-Exchange-Diagnostics: 1; ME2PR01MB2899; 4:fBOB0KPqaTM3mN61zbVvvI3K7Lf+QTg7LJK8VQeQDWJXTaWqCyUQqT634wzvHGTgtx03hXboLy5vcMrs7D5bZQ6ELUFIpvQTOH+Rp9CXQMzwx7Se54pRyPSJTEoK5LC7ufkhRyC3pDUJzQr0TilL+TMinZGEeu1KpBytuoyb1xjRB3MEux+I7G9XcwXmRBWbG4R/iBM3T5wPjZ/a/uNlLe7/hQUQwrz5TskBrxBz1dElZGmcUvgsAoSOrEKc4A8JxkXeb7wRjLsKf1RxpEiWOg== X-Forefront-PRVS: 06952FC175 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(346002)(366004)(39380400002)(376002)(39830400003)(396003)(189003)(199004)(36756003)(50466002)(5660300001)(6666003)(6916009)(97736004)(6246003)(3846002)(4326008)(2906002)(6116002)(48376002)(305945005)(7736002)(86362001)(186003)(16526019)(6506007)(386003)(59450400001)(76176011)(52116002)(51416003)(26005)(106356001)(81166006)(8676002)(8936002)(81156014)(68736007)(58126008)(6486002)(66066001)(486006)(229853002)(446003)(476003)(956004)(11346002)(2616005)(74482002)(53936002)(478600001)(105586002)(47776003)(16586007)(6512007)(25786009)(316002); DIR:OUT; SFP:1102; SCL:1; SRVR:ME2PR01MB2899; H:oberon.local; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: tenpoint.co.nz does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; ME2PR01MB2899; 23:YsNkuDAxnwph5Ls94XPrT2bR8eb0AiVlx/ByHvHd+?= =?us-ascii?Q?M6zcOR1vifpClKH1iOBqQr/YJL6D/64wue4oVbPO5TpNXsi7hDwBkATB9+D0?= =?us-ascii?Q?NiWpt2fTX2I7Q6teWupZvy1gy0xch+yzG7KTwJRE5TIbbZqlWxdV05JXC/tI?= =?us-ascii?Q?iDjq++vKktMAh/cNB5ZHL6+sqZQytvC89fgPqb/LnlsItoEEEU7BloFGqc+C?= =?us-ascii?Q?6iuJk/5GRlL5nKvH+bFWvzP89XQ7KfAXj3LNKdQhwjFhTYiO02KJf5v7IzCN?= =?us-ascii?Q?PTcSH62XvGFLyWYZXzPMoLQw9sPE5SlNaMGEn9luZox0HKMAtppetert1d8X?= =?us-ascii?Q?h5KRU2CG5HRRwiEi9EIEWqRQW2JDoYXrum8otok/geextm4LzstYFyQH+j+T?= =?us-ascii?Q?sRLLwr5+9MrJ5NgAE1Dj9zIOU9QgOZ3VPK9hFjDsdJMg386QFLjquX9L4sov?= =?us-ascii?Q?3c0E1NMrsYz16zyMYBm9/dVXKHz0o8DnErSh6kO2AHfyRZeaVkOJXMnsUAH6?= =?us-ascii?Q?w9XMnAflM3OrtD9GFhFQT4PRUNGMdGNF7IfFeU8LmGi3CFrzKA9n+V88mevW?= =?us-ascii?Q?MV6s7iXBbP3hLNu727fVfF9aT/U7m2vClLj9SSYsRXbOictLv9ZUnAiaBlq6?= =?us-ascii?Q?ZzC X-Microsoft-Antispam-Message-Info: qBzlq8OhdV28zCQh0zkd2wSDfnn1kPhe6F8Nxf4NfygDXqi+c035mhWAgxSxt8/uGPxt8iXRfjt7dtVfXf17EZFRssSMwsEhC0K6FQxgSOcWF1tf8sN458BGZxVjrtOvYclnN/YXLtRwStCJvti3vdsUyjVWdZ/j2LjXNM3liDC9f5ZoTfGtlcYm+AIS7DG1 X-Microsoft-Exchange-Diagnostics: 1; ME2PR01MB2899; 6:+IL//5UShgFSyJOZT4Y4O41b2E3Dfsodudu4U4DM5FQwWgJAd9CiWapzYx9b8hAx4jLeJ/lB7vFQNmCaaMCvvJOJd75Jae5amweqCrLPtUA0tLmhDQ46GC5lW85ZWgj/nD/fNk0aUc5A42BFT+qsGOj5iN6IVe9Ai9KziItOhlYwZJ6AcZ29xeFj4Q87xKz5ryVzwofWdUgDnrn0a+V4dVfJbSSqa0gQHorGW+89ZT7WJRTWYDYjxKN4HdIauB5Lw4NjqQ0vDQ0LD3OQYUxNvo5/0aTq291JFP7Sf754TXFjs1zvvXahpuZ1s3pm4NoA86PpWbT2zL+ctTaFxF0tWQAsMRk6HkhT7Hnsz4BePPnVGxWnZm2dgEqTz32bmKChu7V2II/9gvz1XR/k4cS32k6bQMiLXfetMWNrz8DreYrIH3cKWVu+xrCFeiObv/D2GDzTUdmdJ0EhkSHR67I85g==; 5:bD2ewjzwDSNBducIiYPsXcuSkfsQyszHWBuGrr9wC2UrmF8YtpUZcfQ8eHZm38gwOql2Gviheg0Dp8zYAWRq4e4MafDfLbDzlw/cgG/MP2LlCVvFx/5qt+9U7H/XOOyDjlyAYtpKi6fyELTSiK2RACJE1n0fBDCflYyqOBxDRIQ=; 24:fGBwiWj1XNpOcvC2mfyxwgdwmFG7r+v94RnzAOxNYogPTBNxTMqWiPz6B+pR5fp/y7+QbNkxxY3h5pV3RfoNbYhzajQ/Ln00TzJMA/Hyn0s= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; ME2PR01MB2899; 7:dcR1CpooZjjgOfV317EemEMv+u53hQTrnbpJkmJqAPFtC8nKX1KwJsif4FmJnbYrsrhDDuqo0rCCyYnHSVysw7KWcTyALFAELIkNdJ6zhLNyGM9aIyiDuxjR4Ux9LuXSOi6blYFH2WY/GXEPWL1+73dg7zsTNbhheUTTUbFVSBYNwZwCK0PGbkIx3Mz6unVlaRITtp4hX+dfXvhnD7q1tKlcT+Le82/YRN4li3NVs/X5vU5N8zEDPVQUJG78OTDb X-MS-Office365-Filtering-Correlation-Id: 5aa74264-afd5-41ec-3144-08d5cbfda6b5 X-OriginatorOrg: tenpoint.co.nz X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jun 2018 22:34:22.4088 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 5aa74264-afd5-41ec-3144-08d5cbfda6b5 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: ed686f26-19e8-407b-91d0-7364c1c6f5cf X-MS-Exchange-Transport-CrossTenantHeadersStamped: ME2PR01MB2899 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 104.47.117.135 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:117009 Archived-At: On Thu, 07 Jun 2018 at 05:45:29 +1200, Stefan Monnier wrote: >> (make-local-variable 'glyphless-char-display) > > This makes the variable buffer-local but its value is still the same > array object, so update-glyphless-char-display will still update the > same object shared by all buffers. Yes of course, I see now. Thanks. >> Any ideas how I can do this more easily? > > You might try > > (set (make-local-variable 'glyphless-char-display) > (copy-sequence glyphless-char-display)) Yes, this works well. Thanks again.