unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: Emacs-devel@gnu.org
Subject: Re: ASCII-only startup message?
Date: Sat, 26 Dec 2015 21:10:25 +0200	[thread overview]
Message-ID: <83y4chgh5q.fsf@gnu.org> (raw)
In-Reply-To: <567EE043.9020109@cs.ucla.edu> (message from Paul Eggert on Sat,  26 Dec 2015 10:45:23 -0800)

> Cc: Emacs-devel@gnu.org
> From: Paul Eggert <eggert@cs.ucla.edu>
> Date: Sat, 26 Dec 2015 10:45:23 -0800
> 
> Eli Zaretskii wrote:
> > That text is a comment we insert into *scratch*; it's not a doc
> > string.
> 
> Sure, but the same considerations apply to it that would apply to any text in 
> commentary and documentation. The text should use good English style.

We have agreed to make these changes in documentation and in
messages.  I don't think we have agreed to do this in any other text
that just happens to be run through substitute-command-keys for
whatever reasons.

> > We shouldn't
> > produce non-ASCII characters in comments, it's a user prerogative.
> 
> This is Emacs's comment, one that Emacs creates and inserts, so user prerogative 
> does not apply here.

Exactly!  So Emacs should do that.

> > The adverse effect of inserting non-ASCII characters shows when your
> > locale's codeset is not UTF-8: if you want to save that buffer or any
> > part of it that includes this comment, you get annoyed by the request
> > to specify a suitable encoding (because*scratch*  correctly starts
> > with the locale's default encoding).
> 
> This sort of thing is far more likely to happen with *Help* and *Info* buffers 
> than with the *scratch* buffer. If it is a problem, it needs to be fixed in 
> general, so that any far-more-likely scenario is fixed. Changing the startup 
> string is likely to paper over any real problem, and so is counterproductive.

I don't want to restart old longish threads.  What we do in *Help*
buffers was already decided, and I don't want to open that decision.

The *scratch* buffer is different.  We explicitly say that it is for
notes.  Users might want to save some of those notes.  The *scratch*
buffer is correctly created in the user locale's encoding, so we
should not put there characters that cannot be encoded in that
encoding.  Unlike with display, inserting locale-dependent text in
this case sounds like not a good idea (think uniformity).  Changing
the encoding of that buffer doesn't sound correct, either: the user
should be able to type there anything in their locale's language, and
be able to save that in the locale's encoding.  So I simply quoted
these apostrophes.  I really don't see what's the big deal, we never
agreed to have these curved quotes in *scratch*, not even discussed
that, AFAIR.  It's an unintended side effect, as far as I'm concerned.
So I fixed it.  The change doesn't modify the startup string, on the
contrary: it returns it to what it has been for eons.



  reply	other threads:[~2015-12-26 19:10 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-26 17:25 ASCII-only startup message? Paul Eggert
2015-12-26 18:16 ` Eli Zaretskii
2015-12-26 18:41   ` Random832
2015-12-26 18:50     ` Paul Eggert
2015-12-26 19:11       ` Eli Zaretskii
2015-12-26 19:01     ` Eli Zaretskii
2015-12-26 18:45   ` Paul Eggert
2015-12-26 19:10     ` Eli Zaretskii [this message]
2015-12-26 19:40       ` Paul Eggert
2015-12-26 20:50         ` Eli Zaretskii
2015-12-26 23:28           ` Paul Eggert
2015-12-27  0:17             ` Drew Adams
2015-12-27  1:03               ` Clément Pit--Claudel
2015-12-27  2:51                 ` Drew Adams
2015-12-27  1:09               ` Paul Eggert
2015-12-27 15:56                 ` Eli Zaretskii
2015-12-27 18:45                   ` Paul Eggert
2015-12-27  6:58               ` Random832
2015-12-27 14:17                 ` Per Starbäck
2015-12-27 14:55                   ` Drew Adams
2015-12-27 16:35                     ` Per Starbäck
2015-12-27 17:42                       ` Drew Adams
2015-12-27 19:27                         ` Per Starbäck
2015-12-27 22:47                           ` Drew Adams
2015-12-27 23:45                             ` Per Starbäck
2015-12-28  2:01                               ` Drew Adams
2015-12-28  5:51                                 ` Random832
2015-12-28 10:09                                   ` Drew Adams
2015-12-28  6:05                                 ` Per Starbäck
2015-12-28 10:13                                   ` Drew Adams
2015-12-28  9:12                                 ` Nikolai Weibull
2015-12-28 10:15                                   ` Drew Adams
2015-12-28 14:59                                     ` Nikolai Weibull
2015-12-28 18:39                                       ` Drew Adams
2015-12-28  9:37                             ` Paul Eggert
2015-12-28 10:16                               ` Drew Adams
2015-12-29  7:05                                 ` Random832
2015-12-29  8:01                                   ` Yuri Khan
2015-12-29 14:38                                     ` Random832
2015-12-29 15:58                                     ` Eli Zaretskii
2015-12-29 17:05                                     ` Paul Eggert
2015-12-29 18:00                                       ` Drew Adams
2015-12-29 18:16                                       ` Eli Zaretskii
2015-12-29 19:24                                         ` Paul Eggert
2015-12-29 15:55                                   ` Eli Zaretskii
2015-12-29 17:40                                   ` Drew Adams
2015-12-28 16:31                               ` Eli Zaretskii
2015-12-27  3:44             ` Eli Zaretskii
2015-12-27  8:12               ` Nikolai Weibull
2015-12-28 20:04               ` John Wiegley
2015-12-29  6:50                 ` Richard Stallman
2015-12-29 16:55                   ` John Wiegley
2015-12-29 17:30                     ` Paul Eggert
2015-12-29 18:18                       ` Drew Adams
2016-01-01 13:29                       ` Marcin Borkowski
2016-01-01 17:48                         ` John Wiegley
2016-01-01 17:50                           ` John Wiegley
2016-01-02  8:14                           ` Paul Eggert
2015-12-29 15:05                 ` Random832
2015-12-29 16:49                   ` John Wiegley
     [not found]                 ` <<n5u7gn$6vh$1@ger.gmane.org>
2015-12-29 17:46                   ` Drew Adams
     [not found] <<567ECD8C.1070408@cs.ucla.edu>

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83y4chgh5q.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=Emacs-devel@gnu.org \
    --cc=eggert@cs.ucla.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).