all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Juanma Barranquero'" <lekktu@gmail.com>
Cc: 'Dan Nicolaescu' <dann@ics.uci.edu>,
	'Lennart Borgman' <lennart.borgman@gmail.com>,
	emacs-devel@gnu.org
Subject: RE: make-variable-buffer-local change
Date: Fri, 25 Sep 2009 11:06:15 -0700	[thread overview]
Message-ID: <A7238141A7C04D10998748AA373C8A73@us.oracle.com> (raw)
In-Reply-To: <f7ccd24b0909251041m301155cfk7ec7e73bfeb4c28c@mail.gmail.com>

> > Interesting that the doc string would say that Dired uses 
> > this. It does not, AFAICT - it _sets_ this var, so that
> > others, such as buff-menu can use it. The
> > same thing holds for shell, AFAICT.
> >
> > "Use" here should mean uses the variable to display its 
> > value in a buffer listing (as the first part of the doc
> > string suggests).
> >
> > IOW, the only modes the doc string mentions as examples of 
> > using this variable do not in fact use it - they do not
> > display buffer listings at all. Instead, they merely set the
> > value so that others can use it.
> 
> I'd say "use" covers both kinds of use, but I'll defer to natives.

It's not a question of native speakers. "Use" here refers to what the string is
_for_; what it is used for. It is used in a buffer listing, as a substitute for
a file name.

"Use" is use for users (including users of Lisp). Users generally don't know or
care which code sets the variable. What's interesting to them is what it is for,
how it is used, what its effect is.

> > Please correct the doc string accordingly.
> 
> Don't hesitate to send a patch and I'll commit it ASAP.

Just get rid of "Dired, shell and other modes use this variable."

We typically do not say where a function variable might be used (a fortiori,
might be set/bound), anyway.





  reply	other threads:[~2009-09-25 18:06 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-25 16:09 make-variable-buffer-local change Dan Nicolaescu
2009-09-25 16:32 ` Juanma Barranquero
2009-09-25 16:50   ` Lennart Borgman
2009-09-25 16:57     ` Juanma Barranquero
2009-09-25 17:35       ` Drew Adams
2009-09-25 17:41         ` Juanma Barranquero
2009-09-25 18:06           ` Drew Adams [this message]
2009-09-25 19:09             ` Eli Zaretskii
2009-09-25 20:10               ` Drew Adams
2009-09-26  9:10                 ` Eli Zaretskii
2009-09-25 21:04               ` Stefan Monnier
2009-09-25 22:10                 ` Drew Adams
2009-09-26  1:30                   ` Stefan Monnier
2009-09-26  1:42                     ` Juanma Barranquero
2009-09-26  9:03                 ` Eli Zaretskii
2009-09-25 17:07   ` Dan Nicolaescu
2009-09-25 17:31     ` Juanma Barranquero
2009-09-25 19:46       ` Dan Nicolaescu
2009-09-25 20:16         ` Juanma Barranquero
2009-09-25 20:51           ` Dan Nicolaescu
2009-09-25 21:21             ` Juanma Barranquero
2009-09-25 21:13         ` Tom Tromey
2009-09-25 19:49     ` Stefan Monnier
2009-09-25 21:07       ` Stefan Monnier
2009-09-25 21:25         ` Dan Nicolaescu
2009-09-25 21:44           ` Tom Tromey
2009-09-25 19:50 ` Stefan Monnier

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=A7238141A7C04D10998748AA373C8A73@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    --cc=lekktu@gmail.com \
    --cc=lennart.borgman@gmail.com \
    /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.