emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

doc strings of variable-at-point and find-variable


From: Drew Adams
Subject: doc strings of variable-at-point and find-variable
Date: Fri, 8 Dec 2006 10:08:48 -0800

These doc strings don't describe the position of the variable well:
The variable-at-point doc string mentions nothing about using a
variable near point - it says only "around point", which suggests that
only a variable at point is used.  The find-variable doc string
mentions using a variable near point, but this suggests that the
nearest variable will be used, which is not always the case.

The actual variable used seems to be the one before or at point, even
if there is a closer one after point. I didn't check all cases, but
perhaps it would be more correct to say at or before point for both
doc strings.  Perhaps something also needs to be said about the
possible distance before point.


In GNU Emacs 22.0.50.1 (i386-msvc-nt5.1.2600)
 of 2006-07-19 on BOS-CTHEWLAP2
X server distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-msvc (12.00)'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  locale-coding-system: cp1252
  default-enable-multibyte-characters: t






reply via email to

[Prev in Thread] Current Thread [Next in Thread]