unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7056: 24.0.50; Spurious vars in C-h v completion
@ 2010-09-17 16:04 Chong Yidong
  2010-09-25 21:16 ` Stefan Monnier
  2010-10-05  6:23 ` Leo
  0 siblings, 2 replies; 3+ messages in thread
From: Chong Yidong @ 2010-09-17 16:04 UTC (permalink / raw)
  To: 7056

I see this in Emacs 23.1 onwards, including latest bzr trunk.

emacs -Q
C-h v beg RET

This pops up a *Help* buffer with the contents

   beg is void as a variable.

   Documentation:
   Not documented as a variable.

Similar for `end', `v', and `val'.  I think `v' and `val' come from
let-bindings in describe-variable; not sure about `beg' and `end'.

The call to completing-read in describe-variable should do something to
filter out these false completions.


GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2010-09-16 on furry





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#7056: 24.0.50; Spurious vars in C-h v completion
  2010-09-17 16:04 bug#7056: 24.0.50; Spurious vars in C-h v completion Chong Yidong
@ 2010-09-25 21:16 ` Stefan Monnier
  2010-10-05  6:23 ` Leo
  1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2010-09-25 21:16 UTC (permalink / raw)
  To: Chong Yidong; +Cc: 7056

> I see this in Emacs 23.1 onwards, including latest bzr trunk.
> emacs -Q
> C-h v beg RET

> This pops up a *Help* buffer with the contents

>    beg is void as a variable.

>    Documentation:
>    Not documented as a variable.

> Similar for `end', `v', and `val'.  I think `v' and `val' come from
> let-bindings in describe-variable; not sure about `beg' and `end'.

> The call to completing-read in describe-variable should do something to
> filter out these false completions.

Yup.  We could wait for the lexbind branch to be merged, or we can switch
to using lexical-let in that code.


        Stefan





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#7056: 24.0.50; Spurious vars in C-h v completion
  2010-09-17 16:04 bug#7056: 24.0.50; Spurious vars in C-h v completion Chong Yidong
  2010-09-25 21:16 ` Stefan Monnier
@ 2010-10-05  6:23 ` Leo
  1 sibling, 0 replies; 3+ messages in thread
From: Leo @ 2010-10-05  6:23 UTC (permalink / raw)
  To: 7056

With the latest fix,  xs and val are still visible.





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-10-05  6:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-17 16:04 bug#7056: 24.0.50; Spurious vars in C-h v completion Chong Yidong
2010-09-25 21:16 ` Stefan Monnier
2010-10-05  6:23 ` Leo

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).