From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: Re: view-read-only causes read-write Date: Mon, 21 Apr 2003 09:17:03 +0800 Sender: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87y9241wfk.fsf@jidanni.org> References: <3E9EE005.1040408@yahoo.com> Reply-To: Dan Jacobson NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1050903906 26746 80.91.224.249 (21 Apr 2003 05:45:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Apr 2003 05:45:06 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 21 07:45:04 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 197U6y-0006xE-00 for ; Mon, 21 Apr 2003 07:45:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 197U6z-0002SV-02 for gnu-bug-gnu-emacs@m.gmane.org; Mon, 21 Apr 2003 01:45:05 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 197U6r-0002Pf-00 for bug-gnu-emacs@gnu.org; Mon, 21 Apr 2003 01:44:57 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 197U6p-0002MS-00 for bug-gnu-emacs@gnu.org; Mon, 21 Apr 2003 01:44:56 -0400 Original-Received: from main.gmane.org ([80.91.224.249]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 197U6p-0002MO-00 for bug-gnu-emacs@gnu.org; Mon, 21 Apr 2003 01:44:55 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 197U5w-0006ug-00 for ; Mon, 21 Apr 2003 07:44:00 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: bug-gnu-emacs@gnu.org Original-Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 197U5v-0006uV-00 for ; Mon, 21 Apr 2003 07:43:59 +0200 Original-Lines: 41 Original-X-Complaints-To: usenet@main.gmane.org User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-pc-linux-gnu) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: bug-gnu-emacs-bounces+gnu-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:4852 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:4852 K> No. You don't understand that the variable is read to indicate to the user K> that view mode is on, and that the view-mode function is used to invoke the K> mode. Ok, whatever. I thought >> view-read-only's docstring: "*Non-nil means buffers visiting files >> read-only, do it in view mode." (P.S. I assume the "*" means >> "Chef's choice".) meant that if we set it to t, then when we visit read-only buffers, we will visit them in view mode. No wonder. I thought the English in the docstring sounded a little funny, but assumed that it was written by one of those developers with international flair. Ok, maybe the docstring could be beefed up to reveal its actual pu >> OK, but what about read-only buffers not visiting files? Obviously >> you are over affecting those and at the same time not mentioning them. K> M-x pick-nit Well, you seem to say I had a minor point instead of being totally wrong. Therefore that minor point should be cleaned up at the same time, whatever it was. >> P.S. I am no lisp pro but above I had to use an "(and ...)" or else >> only one sexp was used, without any warning to the user. K> Of course. Symbolic expressions are well-defined: (function arg K> ...). In order to evaluate multiple sexps in sequence, use (progn K> ...) or multiple --eval command line options. Ok, then can't we sting the user with an error message like that then? Are we rude to at least inform them that there is crud at the end of their $ emacs -eval sequence that will not get eval'ed, or will they snap back "of course, I put that there on purpose!" (what propose?) -- http://jidanni.org/ Taiwan(04)25854780