From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#18730: [PATCH] tildify.el: introduce a `tildify-space-string' variable Date: Mon, 03 Nov 2014 12:00:44 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1415034177 8176 80.91.229.3 (3 Nov 2014 17:02:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Nov 2014 17:02:57 +0000 (UTC) Cc: 18730@debbugs.gnu.org To: Michal Nazarewicz Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 03 18:02:49 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1XlL1d-0005Ly-0d for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Nov 2014 18:02:41 +0100 Original-Received: from localhost ([::1]:36295 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlL1c-00080E-BP for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Nov 2014 12:02:40 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33432) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlL0A-0005Mb-7B for bug-gnu-emacs@gnu.org; Mon, 03 Nov 2014 12:01:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XlL02-0000U6-MR for bug-gnu-emacs@gnu.org; Mon, 03 Nov 2014 12:01:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50553) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlL02-0000Tz-KJ for bug-gnu-emacs@gnu.org; Mon, 03 Nov 2014 12:01:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XlL02-0004VJ-2q for bug-gnu-emacs@gnu.org; Mon, 03 Nov 2014 12:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Nov 2014 17:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18730 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 18730-submit@debbugs.gnu.org id=B18730.141503405317289 (code B ref 18730); Mon, 03 Nov 2014 17:01:02 +0000 Original-Received: (at 18730) by debbugs.gnu.org; 3 Nov 2014 17:00:53 +0000 Original-Received: from localhost ([127.0.0.1]:47766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XlKzs-0004Un-FX for submit@debbugs.gnu.org; Mon, 03 Nov 2014 12:00:52 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:10312) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XlKzr-0004UZ-D1 for 18730@debbugs.gnu.org; Mon, 03 Nov 2014 12:00:51 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Au4MAOatTlRFpY87/2dsb2JhbABcgw6DYoZ+y1MEAgKBHBcBAXyEAgEBAQECAVYjBQsLDgocEhQYDSSISwnLcgEBCAIBH5BVMweESwWLZI8rhAMRkGyCEYFvhBYfgnoBAQE X-IPAS-Result: Au4MAOatTlRFpY87/2dsb2JhbABcgw6DYoZ+y1MEAgKBHBcBAXyEAgEBAQECAVYjBQsLDgocEhQYDSSISwnLcgEBCAIBH5BVMweESwWLZI8rhAMRkGyCEYFvhBYfgnoBAQE X-IronPort-AV: E=Sophos;i="5.04,797,1406606400"; d="scan'208";a="95856146" Original-Received: from 69-165-143-59.dsl.teksavvy.com (HELO pastel.home) ([69.165.143.59]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 03 Nov 2014 12:00:45 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 377FA8597; Mon, 3 Nov 2014 12:00:45 -0500 (EST) In-Reply-To: (Michal Nazarewicz's message of "Mon, 03 Nov 2014 16:59:10 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:95435 >>> +(defcustom tildify-space-string nil > On Thu, Oct 30 2014, Stefan Monnier wrote: >> I think you could use "=A0" as the default value so you can assume the v= ar >> only holds a string. > I'm slightly afraid of using no-break space since it may confuse people > who use incompatible encodings. Such encodings are pretty rare, I think. > Should I just go ahead with it anyway and have Emacs deal with > encodings once user attempts to save the file? Yes. > Yes. This slightly changes observable behaviour but I feel that most > users won't even notice it since they will end up using \u00A0 and for > the rest it might prevent some subtle problems where   is not > defined in XML or XHTML. As an XHTML user, I'd prefer seeing   over some numerical constant, so if there's a way to auto-detect when it can be used, that's even better. But feel free to install your patch with   and keep the   for "maybe if I find the time later". Stefan