From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: ASCII-only startup message? Date: Sat, 26 Dec 2015 09:25:32 -0800 Organization: UCLA Computer Science Department Message-ID: <567ECD8C.1070408@cs.ucla.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="------------090705020006030800030402" X-Trace: ger.gmane.org 1451150763 13494 80.91.229.3 (26 Dec 2015 17:26:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Dec 2015 17:26:03 +0000 (UTC) Cc: Emacs Development To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 26 18:25:54 2015 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 1aCsbK-0001gT-Bz for ged-emacs-devel@m.gmane.org; Sat, 26 Dec 2015 18:25:54 +0100 Original-Received: from localhost ([::1]:39359 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCsbJ-0005DB-Kv for ged-emacs-devel@m.gmane.org; Sat, 26 Dec 2015 12:25:53 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55596) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCsb4-0005D6-Rt for Emacs-devel@gnu.org; Sat, 26 Dec 2015 12:25:39 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aCsb1-0007S6-L7 for Emacs-devel@gnu.org; Sat, 26 Dec 2015 12:25:38 -0500 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:44664) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCsb1-0007Rn-FU; Sat, 26 Dec 2015 12:25:35 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 0E51C160CC0; Sat, 26 Dec 2015 09:25:34 -0800 (PST) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id 7uV7Fm8AhTbz; Sat, 26 Dec 2015 09:25:33 -0800 (PST) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 0ECF3160D77; Sat, 26 Dec 2015 09:25:33 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id Y9oxNRTvJg5L; Sat, 26 Dec 2015 09:25:32 -0800 (PST) Original-Received: from [192.168.1.9] (pool-100-32-155-148.lsanca.fios.verizon.net [100.32.155.148]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id E365E160CC0; Sat, 26 Dec 2015 09:25:32 -0800 (PST) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 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:196898 Archived-At: This is a multi-part message in MIME format. --------------090705020006030800030402 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit What bug did the attached patch fix? Emacs is supposed to display single quotes properly even in ASCII-only locales, and if there's a problem with that display it'd be better to fix the underlying problem than paper over the symptoms. --------------090705020006030800030402 Content-Type: text/x-diff; name="0001-Don-t-produce-non-ASCII-characters-in-scratch.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="0001-Don-t-produce-non-ASCII-characters-in-scratch.patch" >From 1490096652f405f6e2847a8b5e6842f80e2ec9f1 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 26 Dec 2015 18:58:04 +0200 Subject: [PATCH] Don't produce non-ASCII characters in *scratch* * lisp/startup.el (initial-scratch-message): Quote apostrophes to avoid producing non-ASCII characters in the *scratch* buffer's commentary. --- lisp/startup.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/startup.el b/lisp/startup.el index a31d355..0e36d35 100644 --- a/lisp/startup.el +++ b/lisp/startup.el @@ -1430,9 +1430,9 @@ x-apply-session-resources (put 'cursor 'face-modified t)))) (defcustom initial-scratch-message (purecopy "\ -;; This buffer is for notes you don't want to save, and for Lisp evaluation. +;; This buffer is for notes you don\\='t want to save, and for Lisp evaluation. ;; If you want to create a file, visit that file with \\[find-file], -;; then enter the text in that file's own buffer. +;; then enter the text in that file\\='s own buffer. ") "Initial documentation displayed in *scratch* buffer at startup. -- 2.5.0 --------------090705020006030800030402--