all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: Re: doc string of `local-variable-if-set-p'
Date: Wed, 13 Oct 2004 12:53:56 -0500 (CDT)	[thread overview]
Message-ID: <200410131753.i9DHru529221@raven.dms.auburn.edu> (raw)
In-Reply-To: <20041014.022254.179728295.jet@gyve.org> (message from Masatake YAMATO on Thu, 14 Oct 2004 02:22:54 +0900 (JST))

Masatake YAMATO wrote:

   I thought this should be

   (2) Non-nil if VARIABLE will be local in buffer BUFFER *and* if it is set there.
       BUFFER defaults to the current buffer. 

   or 

   (3) Non-nil if VARIABLE will be local in buffer BUFFER and if VARIABLE is set in BUFFER.
       BUFFER defaults to the current buffer. 

   If you think (1) is ok as English, please ignore me; and I'll go back
   to an English class room in a junior high school.

I believe you are misunderstanding what the function does:

ELISP> (make-variable-buffer-local 'var)
var
ELISP> (local-variable-p 'var)
nil
ELISP> (local-variable-if-set-p 'var)
t

That said, the first line is 70 characters and the maximum allowed is
67.  English is not my native language, but I believe that the "double
if" is not invalid English.  It is probably not great style either.  I
believe that the following new first line fixes both length and style:

   Non-nil if VARIABLE will be local in buffer BUFFER when set there.

That is 66 characters.  I will commit this change if there are no
objections.

Sincerely,

Luc.

  parent reply	other threads:[~2004-10-13 17:53 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-13 16:48 doc string of `local-variable-if-set-p' Masatake YAMATO
2004-10-13 17:13 ` Stefan
2004-10-13 17:22   ` Masatake YAMATO
2004-10-13 17:35     ` Stefan
2004-10-13 17:57       ` David Kastrup
2004-10-13 18:25         ` Luc Teirlinck
2004-10-13 18:23       ` Andreas Schwab
2004-10-15  0:26         ` Richard Stallman
2004-10-15  0:53           ` Miles Bader
2004-10-15  1:52           ` Luc Teirlinck
2004-10-15  2:12             ` Daniel Brockman
2004-10-15  2:40               ` Luc Teirlinck
2004-10-15  3:12                 ` Daniel Brockman
2004-10-15  4:12                   ` Luc Teirlinck
2004-10-15  5:01                     ` Daniel Brockman
2004-10-16  3:30                       ` Luc Teirlinck
2004-10-13 17:53     ` Luc Teirlinck [this message]
2004-10-13 22:24       ` Masatake YAMATO
2004-10-14  0:33         ` Luc Teirlinck
2004-10-15  0:26   ` Richard Stallman

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

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

  git send-email \
    --in-reply-to=200410131753.i9DHru529221@raven.dms.auburn.edu \
    --to=teirllm@dms.auburn.edu \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.