all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>, Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: emacs-devel@gnu.org
Subject: RE: [Emacs-diffs] emacs-25 6bd9d69: Fix documentation of 'global-disable-point-adjustment'
Date: Mon, 22 Feb 2016 23:10:39 -0800 (PST)	[thread overview]
Message-ID: <15a3b6c8-29ac-4b80-918a-f921e7b3a0d6@default> (raw)
In-Reply-To: <<83fuwkjecd.fsf@gnu.org>>

> > >> Why did you replace "sets" with "binds"?
> > > Because that's how I tend to think about the act of giving a value to
> > > a variable in Emacs Lisp.
> >
> > OK.  To me, the fact that disable-point-adjustment needs to be setq'd by
> > the command rather than let-bound is an important point (I'd expect this
> > to surprise many coders since the usual way for a command to affect the
> > behavior of Emacs "for this command only" is to let-bind a variable), so
> > I find the new wording to encourage confusion rather than trying to
> > avoid it.
> 
> If this is confusing, I will changing it back.  What do others think?

I agree with Stefan here.  Generally use "set" for assignment 
(regardless of whether the symbol has already been bound in any
way).  Use "bind" for a `let' binding.

It's true that we also speak of a symbol being unbound or bound
depending on whether its value cell is void.  But most of the
uses of "bound" and "bind" for symbols in Emacs have to do with
`let' bindings.

However, if it is important in this particular context to make
clear that "disable-point-adjustment needs to be setq'd by the
command rather than let-bound" then I'd say that, to remove any
ambiguity.



  parent reply	other threads:[~2016-02-23  7:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20160222173059.20603.67344@vcs.savannah.gnu.org>
     [not found] ` <E1aXuK3-0005Mz-Ua@vcs.savannah.gnu.org>
2016-02-22 18:50   ` [Emacs-diffs] emacs-25 6bd9d69: Fix documentation of 'global-disable-point-adjustment' Stefan Monnier
2016-02-22 19:30     ` Eli Zaretskii
2016-02-22 20:45       ` Stefan Monnier
2016-02-22 20:53         ` Eli Zaretskii
2016-02-22 21:13           ` Stefan Monnier
2016-02-23  3:27             ` Eli Zaretskii
2016-02-23  3:40               ` Lars Ingebrigtsen
2016-02-23  4:16                 ` Kaushal Modi
     [not found]             ` <<83fuwkjecd.fsf@gnu.org>
2016-02-23  7:10               ` Drew Adams [this message]
2016-02-23 17:37                 ` Eli Zaretskii

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=15a3b6c8-29ac-4b80-918a-f921e7b3a0d6@default \
    --to=drew.adams@oracle.com \
    --cc=eliz@gnu.org \
    --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.