From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: ASCII-only startup message? Date: Mon, 28 Dec 2015 18:31:41 +0200 Message-ID: <83d1tqfsb6.fsf@gnu.org> References: <567ECD8C.1070408@cs.ucla.edu> <8360zlhy7x.fsf@gnu.org> <567EE043.9020109@cs.ucla.edu> <83y4chgh5q.fsf@gnu.org> <567EED47.1090700@cs.ucla.edu> <83si2pgci8.fsf@gnu.org> <567F22B1.9040702@cs.ucla.edu> <2dc99848-b6d5-4f53-b22c-66e29d15647c@default> <444c19cb-4687-41c4-8291-481f5b5a42a1@default> <9e93866e-c6a4-42e3-b8b2-70fd6185b25e@default> <568102D0.5030707@cs.ucla.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1451320259 6035 80.91.229.3 (28 Dec 2015 16:30:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Dec 2015 16:30:59 +0000 (UTC) Cc: per@starback.se, drew.adams@oracle.com, emacs-devel@gnu.org To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 28 17:30:59 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 1aDahG-0003iq-Pb for ged-emacs-devel@m.gmane.org; Mon, 28 Dec 2015 17:30:58 +0100 Original-Received: from localhost ([::1]:45033 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDahG-0005W9-1N for ged-emacs-devel@m.gmane.org; Mon, 28 Dec 2015 11:30:58 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDahC-0005W1-Uk for emacs-devel@gnu.org; Mon, 28 Dec 2015 11:30:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDah9-00005A-OY for emacs-devel@gnu.org; Mon, 28 Dec 2015 11:30:54 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:32933) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDah9-000056-Ku; Mon, 28 Dec 2015 11:30:51 -0500 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3894 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aDah8-0001yt-Cj; Mon, 28 Dec 2015 11:30:50 -0500 In-reply-to: <568102D0.5030707@cs.ucla.edu> (message from Paul Eggert on Mon, 28 Dec 2015 01:37:20 -0800) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:197013 Archived-At: > From: Paul Eggert > 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.