From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michal Nazarewicz Newsgroups: gmane.emacs.bugs Subject: bug#18730: [PATCH] tildify.el: introduce a `tildify-space-string' variable Date: Mon, 03 Nov 2014 16:59:10 +0100 Organization: http://mina86.com/ Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1415030432 6999 80.91.229.3 (3 Nov 2014 16:00:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Nov 2014 16:00:32 +0000 (UTC) Cc: 18730@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 03 17:00:25 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 1XlK3M-0003yy-8i for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Nov 2014 17:00:24 +0100 Original-Received: from localhost ([::1]:35624 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlK3M-0004J2-07 for geb-bug-gnu-emacs@m.gmane.org; Mon, 03 Nov 2014 11:00:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42609) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlK3B-00047y-VO for bug-gnu-emacs@gnu.org; Mon, 03 Nov 2014 11:00:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XlK32-00019H-Mh for bug-gnu-emacs@gnu.org; Mon, 03 Nov 2014 11:00:13 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50508) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XlK32-00018b-Iz for bug-gnu-emacs@gnu.org; Mon, 03 Nov 2014 11:00:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XlK32-0002re-2L for bug-gnu-emacs@gnu.org; Mon, 03 Nov 2014 11:00:04 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Michal Nazarewicz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Nov 2014 16:00:03 +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.141503036310929 (code B ref 18730); Mon, 03 Nov 2014 16:00:03 +0000 Original-Received: (at 18730) by debbugs.gnu.org; 3 Nov 2014 15:59:23 +0000 Original-Received: from localhost ([127.0.0.1]:47721 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XlK2N-0002qC-07 for submit@debbugs.gnu.org; Mon, 03 Nov 2014 10:59:23 -0500 Original-Received: from mail-lb0-f177.google.com ([209.85.217.177]:42910) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XlK2K-0002px-JR for 18730@debbugs.gnu.org; Mon, 03 Nov 2014 10:59:21 -0500 Original-Received: by mail-lb0-f177.google.com with SMTP id z12so1112122lbi.36 for <18730@debbugs.gnu.org>; Mon, 03 Nov 2014 07:59:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:from:to:cc:subject:in-reply-to:organization:references :user-agent:face:date:message-id:mime-version:content-type :content-transfer-encoding; bh=tPGqsjPwiKc+mEOeR88gEcwiJpHfCmCH2ey9epiGemo=; b=PXwevbgcCbE/pYf3/Yul5EpFl3uvFOemMXqrctOzUMxrqvc91ds/Y9RxsdwlGLDI+9 ZRiW6yguvt2WtjeyIW75SLs+46JaxSBC+fs2fRxuvGSqFUpjEkUsmXPmRKwkmlxzWpUq x3LoZMxfv3nVANBdWpjrY/XxIt22wKVnGDxkgHpqL7bjtqIDEl9tRGlYB7TV1Vl68Fbc XpLyuG5Q8dZvwPmZ1whLzi5BlFjUhmWZhMoMysuAH9tcATKAhmuaemxeWVdvrA1VwWhT AXTu5SWHGjnTB3OHVGlH7fs1SxJTWYMny2vS2uPClFA4ZiJhQSqCzbAjQEUt1cZlv6UW 9tPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:in-reply-to :organization:references:user-agent:face:date:message-id :mime-version:content-type:content-transfer-encoding; bh=tPGqsjPwiKc+mEOeR88gEcwiJpHfCmCH2ey9epiGemo=; b=e2STcsVVwqEFRsGqGb3iDxWnTWbI6bIcA9qPE5JatrJ1PAlkzMjQNOnRPKPEyhFKS7 ecUT9CugsicHjN/HtFCX3He7YZTeNHMC2xHR5UcU+iktO3cD+Djm9LwcX76nk5kV8/I1 dN3opj9OexVQyTv+Cdj05Kz8O/7wjNJnzIdLSnfLhmVTwrRKKpb+QpRjlWcnPd5YvD94 q69sapLzUvayQQBlwmw1xNlgu/o0T6pGWZ57MQYDZQBJhUDn3JH6DOaqgjmY4z8wK5mp VWWLH77BYQB4PtmrjIWb1yNm0JK3RQIxpuALwf9nWxKcyeM7ik1JbkClqxvslXKPAvD9 7lbQ== X-Gm-Message-State: ALoCoQnldr6Z16ZfdAji8VdCtS7q2X2SjzXEtKXdPnYruURCO5oLt9pDDl9fphNGQ10tQvJgPLUY X-Received: by 10.112.219.3 with SMTP id pk3mr4495150lbc.18.1415030354027; Mon, 03 Nov 2014 07:59:14 -0800 (PST) Original-Received: from mpn-glaptop.roam.corp.google.com ([2620:0:105f:311:ec5d:c295:32b0:ceb]) by mx.google.com with ESMTPSA id ba19sm3749746lab.31.2014.11.03.07.59.12 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 03 Nov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HwkKTFHDWfPniR 4iw5vJaw2nzSjfq2zffcE/GDjRC2dn0J0XwPAbDL84TvaFCJEU4Oml9pRyEUhR3Cl2t01AoEjRbs0sYugp14/4X5n4pU4EHHnMAAAAAElFTkSuQmCC X-PGP: 50751FF4 X-PGP-FP: AC1F 5F5C D418 88F8 CC84 5858 2060 4012 5075 1FF4 X-Hashcash: 1:20:141103:monnier@iro.umontreal.ca::pOJIMWXtwveotL3b:00000000000000000000000000000000000002KnF X-Hashcash: 1:20:141103:18730@debbugs.gnu.org::k0IbDIABinASeT0H:00000000000000000000000000000000000000005SEb X-Hashcash: 1:20:141103:pdm@zamazal.org::OUwQp7v3OUu5u8Tr:004dGo 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:95429 >> +(defcustom tildify-space-string nil On Thu, Oct 30 2014, Stefan Monnier wrote: > I think you could use "=C2=A0" as the default value so you can assume the= var > only holds a string. I'm slightly afraid of using no-break space since it may confuse people who use incompatible encodings. Should I just go ahead with it anyway and have Emacs deal with encodings once user attempts to save the file? >> - (sgml-mode . " ") >> - (html-mode . sgml-mode) > > The new code uses " " for those instead. Is this change on purpose? 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. --=20 Best regards, _ _ .o. | Liege of Serenely Enlightened Majesty of o' \,=3D./ `o ..o | Computer Science, Micha=C5=82 =E2=80=9Cmina86=E2=80=9D Nazarewicz = (o o) ooo +------ooO--(_)--Ooo--