From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikolai Weibull Newsgroups: gmane.emacs.devel Subject: Re: Character literals for Unicode (control) characters Date: Tue, 15 Mar 2016 12:09:50 +0100 Message-ID: References: <87r3fsjenn.fsf@gnus.org> <56D8623F.6060806@cs.ucla.edu> <838u1vwqj9.fsf@gnu.org> <56DC7227.10708@cs.ucla.edu> <56DC7F18.8050103@cs.ucla.edu> <83si03v0c3.fsf@gnu.org> <56E7191A.60507@cs.ucla.edu> <83y49kby5o.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1458040217 27983 80.91.229.3 (15 Mar 2016 11:10:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Mar 2016 11:10:17 +0000 (UTC) Cc: p.stephani2@gmail.com, Paul Eggert , Lars Ingebrigtsen , johnw@gnu.org, Emacs Developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 15 12:10:07 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1afmrW-0006BW-He for ged-emacs-devel@m.gmane.org; Tue, 15 Mar 2016 12:10:06 +0100 Original-Received: from localhost ([::1]:47397 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afmrV-0001tb-WB for ged-emacs-devel@m.gmane.org; Tue, 15 Mar 2016 07:10:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50848) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afmrS-0001tU-0D for emacs-devel@gnu.org; Tue, 15 Mar 2016 07:10:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afmrR-0003RI-7o for emacs-devel@gnu.org; Tue, 15 Mar 2016 07:10:01 -0400 Original-Received: from disu.se ([71.19.156.204]:41906) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afmrK-0003PF-P5; Tue, 15 Mar 2016 07:09:54 -0400 Original-Received: from mail-lb0-f181.google.com (mail-lb0-f181.google.com [209.85.217.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by disu.se (Postfix) with ESMTPSA id B45EAC2B7; Tue, 15 Mar 2016 12:09:52 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=disu.se; s=mail; t=1458040193; bh=FhaI2QYkPmncITmrJl6HJOD+xfSC6aAmzOCh63Wsw0g=; l=548; h=In-Reply-To:References:Date:Subject:From:To:Cc:From; b=uvRT6n+ICwSIWwxvry+ifIIUj4SNAQ6hjHl5RdvGfUHDPZ7Syn1QDRvhXORJs+M1U Yy9qZyeiuu+Hf6AEwsRFvcCt+yYIDYWUyC7c8bpempH2doUD1FXpvsFfw7j3v/vhNm w9rnFSphgRbDmPD8fwcv4lbcl0sK0jdFF9jzp3Pk= Original-Received: by mail-lb0-f181.google.com with SMTP id oe12so17738555lbc.0; Tue, 15 Mar 2016 04:09:52 -0700 (PDT) X-Gm-Message-State: AD7BkJJ9Ds7S15OeDGToWGamvc75nq8X4WoMEOtTGKtqm4Ow25FgVns83ekFPXNS8TLGkUSF5mVsL+GbcHDYJA== X-Received: by 10.112.144.226 with SMTP id sp2mr9566297lbb.70.1458040191154; Tue, 15 Mar 2016 04:09:51 -0700 (PDT) Original-Received: by 10.25.4.4 with HTTP; Tue, 15 Mar 2016 04:09:50 -0700 (PDT) In-Reply-To: <83y49kby5o.fsf@gnu.org> X-Gmail-Original-Message-ID: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 71.19.156.204 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:201779 Archived-At: On Mon, Mar 14, 2016 at 9:30 PM, Eli Zaretskii wrote: >> From: Paul Eggert >> /* Bound on the length of a Unicode character name. >> As of Unicode 9.0.0 the maximum is 83, so this should be safe. */ >> enum { UNICODE_CHARACTER_NAME_LENGTH_BOUND = 199 }; >> ... >> char name[UNICODE_CHARACTER_NAME_LENGTH_BOUND + 1]; > > Perhaps we should ask on the Unicode mailing list, I somehow remember > seeing a mandatory limit on the length of a character's name. No such limit is mentioned in section 4.8.