From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.help Subject:   and nXML mode Date: Mon, 9 Aug 2021 11:22:27 +0900 Message-ID: <31FB0752-BAB3-455A-B9F3-BA6948CE204A@traduction-libre.org> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16641"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 09 04:22:59 2021 Return-path: Envelope-to: geh-help-gnu-emacs@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 1mCuwM-00046k-4I for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 09 Aug 2021 04:22:58 +0200 Original-Received: from localhost ([::1]:49184 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCuwK-0007Mi-N1 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 08 Aug 2021 22:22:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44656) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCuw2-0007Ma-Ay for help-gnu-emacs@gnu.org; Sun, 08 Aug 2021 22:22:38 -0400 Original-Received: from relay2-d.mail.gandi.net ([217.70.183.194]:38825) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCuvz-0007DI-TS for help-gnu-emacs@gnu.org; Sun, 08 Aug 2021 22:22:38 -0400 Original-Received: (Authenticated sender: lists@traduction-libre.org) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 0944040002 for ; Mon, 9 Aug 2021 02:22:31 +0000 (UTC) X-Mailer: Apple Mail (2.3654.120.0.1.13) Received-SPF: pass client-ip=217.70.183.194; envelope-from=lists@traduction-libre.org; helo=relay2-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:132426 Archived-At: Is there a reason why nXML mode refuses to consider   entities as = legit in a document that starts with: --=20 Jean-Christophe Helary @brandelune https://mac4translators.blogspot.com https://sr.ht/~brandelune/omegat-as-a-book/ From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re:   and nXML mode Date: Mon, 9 Aug 2021 12:57:50 +0700 Message-ID: References: <31FB0752-BAB3-455A-B9F3-BA6948CE204A@traduction-libre.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17029"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs To: Jean-Christophe Helary Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 09 07:58:27 2021 Return-path: Envelope-to: geh-help-gnu-emacs@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 1mCyIt-0004Bn-5j for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 09 Aug 2021 07:58:27 +0200 Original-Received: from localhost ([::1]:54860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCyIr-00077d-Ec for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 09 Aug 2021 01:58:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40484) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCyIX-00077P-Jc for help-gnu-emacs@gnu.org; Mon, 09 Aug 2021 01:58:05 -0400 Original-Received: from mail-vk1-xa2e.google.com ([2607:f8b0:4864:20::a2e]:40817) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mCyIW-0000MK-0F for help-gnu-emacs@gnu.org; Mon, 09 Aug 2021 01:58:05 -0400 Original-Received: by mail-vk1-xa2e.google.com with SMTP id q75so3671355vkb.7 for ; Sun, 08 Aug 2021 22:58:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=8/vykpvqkAZJel5Ipftq1RCLBLmtT95zfcq1sJVXEY0=; b=ImHsxSgHZ0VsRGNk6SsbzaBjD6k4KbWI8OcNwA8PEMQJMBBhCTL8yq3eAy26iumaVB 0Wgc248uU1g3XUqhvPBFFtoKjA2+0mDsf7C1s+ulv9Sc/H91ect5OcAK+tjT5SMixLns sqVLtpgNj6lrYk0RCLW1Jifcc3vvXEGt3H9rSEo0Q3pnpg4o/MqdFzgvI7R2Wt4xAZJd 5Qy3Hs5sWTRvMWVubddW4nGWXywUTuE3AtSxTQwsh+RbPyojfdrA+aHpfjDmUwC1xweC qaDSIgKYncCNuGVCpfc+JqTdlVM5oUXxF7vc7m2CNhEs5gtKyrqC98mzkYu3jmoeUCpR KBdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=8/vykpvqkAZJel5Ipftq1RCLBLmtT95zfcq1sJVXEY0=; b=POp8QsX/ek7faM1De0UX6yEoXx8PpY9c5b5zZY12ug4b5bDSvoSUDO4e8/TtT82D5t aimBCmQaImg5moAMBmMAbQ1auYw7ZTkXIdKH4eQTq2ALf2mRFkInVYR0lHvFXuJPet5g oDt875evr0tLqgFG33DR7fVh9jVW+eZPSPhfSA7txKWy8IcZD0J5ToR/Y3OwJvtnu3vT vAmgkJtITqfuJ/ToDDjiwCvwAB2qmtsKcGjzxXIF7o2yAa7KczA6YHn9s5/AiFotRGTo Om9MhrWT1VSb2OCP6EF+6v91PoaTz4Yak2ISH+lfkYqeVv3RFp0r/fviRzM6X/04235C WO3A== X-Gm-Message-State: AOAM530h1U0REOlW9XtMxFtVs7Smu+Ud6ZLqUzXauv1Mbgl80uuVKKxl xZsZZa5rZcCUb3xcvFpfyE2qy5OgKRw6VjumHj8eaCog064CYg== X-Google-Smtp-Source: ABdhPJy3It8Ov1A2ERAxN4y8e5bVoznDAVfa1vuc4SI6wOenro1Orbpz5E5biP4gohY0/JGK0vzyseD+AkYIdAiE+Iw= X-Received: by 2002:a1f:a314:: with SMTP id m20mr13007648vke.14.1628488682329; Sun, 08 Aug 2021 22:58:02 -0700 (PDT) In-Reply-To: <31FB0752-BAB3-455A-B9F3-BA6948CE204A@traduction-libre.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::a2e; envelope-from=yurivkhan@gmail.com; helo=mail-vk1-xa2e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:132428 Archived-At: On Mon, 9 Aug 2021 at 09:22, Jean-Christophe Helary wrote: > Is there a reason why nXML mode refuses to consider   entities as le= git in a document that starts with: > > > If you view that as an XML document (which is what nXML deals with), without any preconceived knowledge of HTML5, there is nothing to suggest that   is legit. In XML, an entity can be defined inline within the doctype declaration: ]> or by reference to an external entity definition: (In the HTML5 spec, this is referred to as =E2=80=9Cobsolete permitted DOCT= YPE string=E2=80=9D, and the obsoletion is from the HTML5 point of view. I.e. i= f you use an HTML5-aware parser, is sufficient to declare an HTML5 document.) If you fetch that url, you will see that it references a number of modules, and if you chase references far enough, you will get to http://www.w3.org/MarkUp/DTD/xhtml-lat1.ent which contains this as its first significant line: and that=E2=80=99s what makes   a valid entity reference in an XHTML d= ocument. (XML processors normally have some shortcuts, such as DTD pre-cached in the so-called XML catalog, so that they don=E2=80=99t have to fetch them from the network each time. XML catalog is keyed by the PUBLIC and/or SYSTEM identifiers but not by the doctype root element name.) From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.help Subject: Re:   and nXML mode Date: Wed, 11 Aug 2021 09:41:03 +0900 Message-ID: <0EE17D49-3E90-4BDA-8D8D-0343B194A7FF@traduction-libre.org> References: <31FB0752-BAB3-455A-B9F3-BA6948CE204A@traduction-libre.org> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2285"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 11 02:41:39 2021 Return-path: Envelope-to: geh-help-gnu-emacs@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 1mDcJP-0000Nv-0q for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 11 Aug 2021 02:41:39 +0200 Original-Received: from localhost ([::1]:58788 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDcJN-0006if-0h for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 10 Aug 2021 20:41:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52014) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDcJ2-0006iV-GB for help-gnu-emacs@gnu.org; Tue, 10 Aug 2021 20:41:16 -0400 Original-Received: from relay9-d.mail.gandi.net ([217.70.183.199]:60999) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDcIz-0006jE-TM for help-gnu-emacs@gnu.org; Tue, 10 Aug 2021 20:41:16 -0400 Original-Received: (Authenticated sender: lists@traduction-libre.org) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 222B0FF802 for ; Wed, 11 Aug 2021 00:41:07 +0000 (UTC) In-Reply-To: X-Mailer: Apple Mail (2.3654.120.0.1.13) Received-SPF: pass client-ip=217.70.183.199; envelope-from=lists@traduction-libre.org; helo=relay9-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:132441 Archived-At: > On Aug 9, 2021, at 14:57, Yuri Khan wrote: >=20 > On Mon, 9 Aug 2021 at 09:22, Jean-Christophe Helary > wrote: >=20 >> Is there a reason why nXML mode refuses to consider   entities = as legit in a document that starts with: >>=20 >> >> >=20 > If you view that as an XML document (which is what nXML deals with), > without any preconceived knowledge of HTML5, there is nothing to > suggest that   is legit. >=20 > In XML, an entity can be defined inline within the doctype = declaration: >=20 > > ]> >=20 > or by reference to an external entity definition: >=20 > PUBLIC "-//W3C//DTD XHTML 1.1//EN" > SYSTEM "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> When I put that at the top of my file, nxml says "unexpected token". > (In the HTML5 spec, this is referred to as =E2=80=9Cobsolete permitted = DOCTYPE > string=E2=80=9D, and the obsoletion is from the HTML5 point of view. = I.e. if > you use an HTML5-aware parser, is sufficient to > declare an HTML5 document.) >=20 > If you fetch that url, you will see that it references a number of > modules, and if you chase references far enough, you will get to > http://www.w3.org/MarkUp/DTD/xhtml-lat1.ent which contains this as its > first significant line: >=20 > >=20 > and that=E2=80=99s what makes   a valid entity reference in an = XHTML document. >=20 > (XML processors normally have some shortcuts, such as DTD pre-cached > in the so-called XML catalog, so that they don=E2=80=99t have to fetch = them > from the network each time. XML catalog is keyed by the PUBLIC and/or > SYSTEM identifiers but not by the doctype root element name.) Thank you for explaining the process. I was not aware of how processors = handled the thing. But I guess trying to make nxml be aware all this goes well beyond the = scope of my work, so I'll just use html-mode. --=20 Jean-Christophe Helary @brandelune https://mac4translators.blogspot.com https://sr.ht/~brandelune/omegat-as-a-book/ From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via Users list for the GNU Emacs text editor Newsgroups: gmane.emacs.help Subject: Re:   and nXML mode Date: Wed, 11 Aug 2021 01:45:22 -0400 Message-ID: References: <31FB0752-BAB3-455A-B9F3-BA6948CE204A@traduction-libre.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7171"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: help-gnu-emacs@gnu.org Cancel-Lock: sha1:8aYC47UHHUNKwa8edEpDVUjSNTA= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 11 07:46:25 2021 Return-path: Envelope-to: geh-help-gnu-emacs@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 1mDh4L-0001jA-70 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 11 Aug 2021 07:46:25 +0200 Original-Received: from localhost ([::1]:59188 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDh4J-0001aB-QB for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 11 Aug 2021 01:46:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60056) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDh3X-0001a2-O3 for help-gnu-emacs@gnu.org; Wed, 11 Aug 2021 01:45:35 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]:56466) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDh3U-00012i-1l for help-gnu-emacs@gnu.org; Wed, 11 Aug 2021 01:45:35 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mDh3P-0000VC-Bh for help-gnu-emacs@gnu.org; Wed, 11 Aug 2021 07:45:27 +0200 X-Injected-Via-Gmane: http://gmane.org/ Received-SPF: pass client-ip=116.202.254.214; envelope-from=geh-help-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:132444 Archived-At: >> Is there a reason why nXML mode refuses to consider   entities as >> legit in a document that starts with: >> >> >> > > If you view that as an XML document (which is what nXML deals with), > without any preconceived knowledge of HTML5, there is nothing to > suggest that   is legit. > > In XML, an entity can be defined inline within the doctype declaration: > > > ]> My understanding is that XML wants to be "parsable" without knowing anything about the schema being used, and that this notion of parsing includes conversion of `&;` entities, so basically XML only allows the 4 or 5 predefined/builtin entities and that's it. > I thought the recommended way to "do &bnsp;" in XML is to use an actual NBSP character (because XML can use utf-8). Stefan From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re:   and nXML mode Date: Wed, 11 Aug 2021 13:19:04 +0700 Message-ID: References: <31FB0752-BAB3-455A-B9F3-BA6948CE204A@traduction-libre.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40575"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs To: Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 11 08:19:40 2021 Return-path: Envelope-to: geh-help-gnu-emacs@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 1mDhaW-000AKp-Jv for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 11 Aug 2021 08:19:40 +0200 Original-Received: from localhost ([::1]:50700 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDhaV-0008Ox-5r for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 11 Aug 2021 02:19:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36966) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDhaB-0008Oo-0A for help-gnu-emacs@gnu.org; Wed, 11 Aug 2021 02:19:19 -0400 Original-Received: from mail-ua1-x932.google.com ([2607:f8b0:4864:20::932]:38905) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mDha9-00048P-HD for help-gnu-emacs@gnu.org; Wed, 11 Aug 2021 02:19:18 -0400 Original-Received: by mail-ua1-x932.google.com with SMTP id ay13so711255uab.5 for ; Tue, 10 Aug 2021 23:19:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Vqv4IlFN9HMPaha4QoH39xx6K9rkCVgNG02H4sK/5TQ=; b=tPafgzH1px2hS3EQxuWcRTwZSDNO7SIey3DWuW1IJdYTvpO40biCzuzlBHkE/CLybo xbCSY38Eaa8g4R8bO8Kb2M7andURFk+e7uI7Nn2dTN6RutTNndopEY7wSkghQkWYSUm1 cQ6NxLMrZ5nQKtJeXzgPbi0U1yv5N4UHwOKA4kwPX+01qwrqEJTsQU56gD12MliQumSI jObUXUs7RcKk82me5VCV6xXDmmZS31QxCEPXltVa5QqmiouGwz2vMcHr3Xfu5Eu7wjMf XCIEUJAGKkNphPIwCL+gmLvgH7G1Q4/bBvYFna949n5CQYoVk9TNSKT2hew0lAPaBM4o D2Tg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Vqv4IlFN9HMPaha4QoH39xx6K9rkCVgNG02H4sK/5TQ=; b=ajNAeHZJ2OVJ9zB18KChjjP/Mjjv5rYZVaexo1mVaUD7z1U8mKD5QOAGOqDjRXRL/Y K9kgdzmDDxAceR45ejSjaamGbuEUU6URp2bhmMgUizOLceGpyCJ49PKWTtAmyvyOVFBC GnyZJeiK1d5XwlBQyIEgYrusqsXRAGz3sRUJlYsO3WID83oZnrXhLggTfvspS+pAvQ4L aIROu3dDCUHnIuPEeVRw8ttC9yQ5hnNf6cFkQgkr1Gnndzfyl5Kg0/QfPeOCJA04ljEc S5ugusoVLpwG712Vx5+mZVDTBx4I76IF6day2wd46UFrV3WlAlyr3A8+lprP6KRzlVb5 MFGQ== X-Gm-Message-State: AOAM5307qQ4OYUbvWYHjgYQ0KqilFIQV+TNXfWOYA62372MGyyqwnhcB AHkuXdnGEWjC//GpDd8itGImqJq5PCvWC4AVOA9fUo+iaFw= X-Google-Smtp-Source: ABdhPJx3DdDRv+6cciYBV37CKNd8ZrfICpCq0vrH+IInkjoaSicTfVDXft+3TTcxTTK9DJbdzZO5yzppIlam8pPl+YI= X-Received: by 2002:ab0:7814:: with SMTP id x20mr11288811uaq.79.1628662755270; Tue, 10 Aug 2021 23:19:15 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::932; envelope-from=yurivkhan@gmail.com; helo=mail-ua1-x932.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:132445 Archived-At: On Wed, 11 Aug 2021 at 12:46, Stefan Monnier via Users list for the GNU Emacs text editor wrote: > I thought the recommended way to "do &bnsp;" in XML is to use an > actual NBSP character (because XML can use utf-8). It can, but it might be desirable to have visible and typeable[*] representation for unusual space characters, especially if there=E2=80=99s = not much nbsp awareness among those who are going to collaborate on a document. [*]: I mean visibility and typeability by muggles, i.e. without relying on Emacs fontification, C-x 8 RET, or Xkb options. Otherwise: Co-worker: (sends you a patch) You: This space here should be non-breaking, we don=E2=80=99t want prepositions hanging on the previous line when the next word gets wrapped. Co-worker: What's a non-breaking space? You: (explain) Co-worker: But how do I type one? BTW I'm on Windows. You: (try to explain but don=E2=80=99t remember how to configure Windows keyboard layouts) Here, just copy one of those already in the text. Co-worker: But how do I tell which are which? They look exactly the same to= me.