From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: bidi-string-strip-control-characters Date: Thu, 20 Jan 2022 13:19:58 +0200 Message-ID: <835yqer6w1.fsf@gnu.org> References: <83ee52rcar.fsf@gnu.org> <8735li69hl.fsf@gnus.org> <87pmom1xdy.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25650"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, emacs-devel@gnu.org To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jan 20 13:25:02 2022 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 1nAWUu-0006M8-Tq for ged-emacs-devel@m.gmane-mx.org; Thu, 20 Jan 2022 13:25:01 +0100 Original-Received: from localhost ([::1]:55154 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nAWUt-0005RY-KB for ged-emacs-devel@m.gmane-mx.org; Thu, 20 Jan 2022 07:24:59 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50736) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAVU7-0008Mn-Fh for emacs-devel@gnu.org; Thu, 20 Jan 2022 06:20:07 -0500 Original-Received: from [2001:470:142:3::e] (port=39038 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAVU0-0004V8-Ju; Thu, 20 Jan 2022 06:20:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=le6acHHto2UGNiD5lP8f2HU/AjfCdwvhopko0w36jdU=; b=MRGvsiXvwB3u uxHVklxF32xIenLCV24TXxC8VE7Ta22iVPmy+aOALzrsNykr8oyjivPpECtiiHC9WEsuoKT8v3qoS 6qH92Poae00AJhsaDwwSO5XmLMYWdyR4c179acYaPYWgINCOP/MJWRxqY/zpkyUE3SSH0X0MqbVkz BuLirujYafWU7hJ0xXN/RFFpLQJHFLaLYJE1Rm6laYphLgLDdN9aql93BmrL0loMQ8VJYhuewST6o 97Lln6JGtbeUAjGi/rRHlVLtzViaKXGIhuimU/gSbGgYF3XqEt/U+DVIQ8xIcOXCu1dibUTy6J8r1 MICNe4MCbaTTC1p8cSqUrA==; Original-Received: from [87.69.77.57] (port=4149 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAVU0-0004se-ID; Thu, 20 Jan 2022 06:20:01 -0500 In-Reply-To: <87pmom1xdy.fsf@yahoo.com> (message from Po Lu on Thu, 20 Jan 2022 19:04:25 +0800) 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" Xref: news.gmane.io gmane.emacs.devel:285036 Archived-At: > From: Po Lu > Cc: Eli Zaretskii , emacs-devel@gnu.org > Date: Thu, 20 Jan 2022 19:04:25 +0800 > > Lars Ingebrigtsen writes: > > > The display is identical to the one we have now, though: > > > > "Disallowed character: `' (#x202e, RIGHT-TO-LEFT OVERRIDE)" > > I think the best thing in this case would be to get rid of the quotation > marks entirely, and just display: > > "Disallowed character: #x202e, RIGHT-TO-LEFT OVERRIDE" What is "this case" in this context? IOW, under what conditions do you suggest to omit the character itself? And in any case, the question about the function is more general. Unless you suggest to remove it, that is.