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: per@starback.se, drew.adams@oracle.com, emacs-devel@gnu.org
Subject: Re: ASCII-only startup message?
Date: Mon, 28 Dec 2015 18:31:41 +0200	[thread overview]
Message-ID: <83d1tqfsb6.fsf@gnu.org> (raw)
In-Reply-To: <568102D0.5030707@cs.ucla.edu> (message from Paul Eggert on Mon,  28 Dec 2015 01:37:20 -0800)

> From: Paul Eggert <eggert@cs.ucla.edu>
> Date: Mon, 28 Dec 2015 01:37:20 -0800
> 
>        (insert ";; אבגדה\n")
>     ...
>     Emacs already behaves slightly differently in major modes that
>     derive from prog-mode,
> 
> Sure, if one includes the characters that delimit a comment, as in that example. But characters within a comment are generally treated as text by Emacs, and this is a good thing. Users should not need to learn different rules for text-within-a-comment as opposed to other text.

I've obviously failed to drive the point home, because I thought I've
shown an example when _characters_ in a comment are treated by Emacs
not-exactly-like-any-text: we bend the UBA rules for characters in
program comments, but not for characters in text modes.  That is not
triggered by the comment delimiters, it's triggered by the major mode
in effect.  (The same will happen with strings in a program source.)

As for users having to learn different rules: they don't, not wrt
using quote characters.  Users are free to use whatever characters
they feel like in the comments they write.  It's what Emacs does that
we have been talking about, not users.



  parent reply	other threads:[~2015-12-28 16:31 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
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 [this message]
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=83d1tqfsb6.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=drew.adams@oracle.com \
    --cc=eggert@cs.ucla.edu \
    --cc=emacs-devel@gnu.org \
    --cc=per@starback.se \
    /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).