unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Dan Jacobson <jidanni@dman.ddts.net>
Subject: Re: view-read-only causes read-write
Date: Mon, 21 Apr 2003 09:17:03 +0800	[thread overview]
Message-ID: <87y9241wfk.fsf@jidanni.org> (raw)
In-Reply-To: 3E9EE005.1040408@yahoo.com

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

  reply	other threads:[~2003-04-21  1:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4772.1050547956.21513.bug-gnu-emacs@gnu.org>
2003-04-17 17:10 ` view-read-only causes read-write Kevin Rodgers
2003-04-21  1:17   ` Dan Jacobson [this message]
     [not found]   ` <mailman.4998.1050903900.21513.bug-gnu-emacs@gnu.org>
2003-04-21 16:39     ` Kevin Rodgers
2003-04-17  1:59 Dan Jacobson

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=87y9241wfk.fsf@jidanni.org \
    --to=jidanni@dman.ddts.net \
    /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).