unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Possible defvar bug
@ 2013-02-18 14:40 Tassilo Horn
  2013-02-18 14:47 ` Jambunathan K
  2013-02-19  1:40 ` Glenn Morris
  0 siblings, 2 replies; 20+ messages in thread
From: Tassilo Horn @ 2013-02-18 14:40 UTC (permalink / raw)
  To: emacs-devel

Hi all,

I have a problem in AUCTeX where I get some void-variable error although
I require the file defining the variable.  After some experimenting,
I've isolated the problem to this minimal example:

    (let ((crm-separator ","))
      (require 'crm))

crm.el defines `crm-separator' with some default value.  However, when
evaluating that snipped, I get:

,----[ C-h v crm-separator ]
| crm-separator is a variable defined in `crm.el'.
| It is void as a variable.
| 
| Documentation:
| Separator regexp used for separating strings in `completing-read-multiple'.
| It should be a regexp that does not match the list of completion candidates.
| Modify this value to make `completing-read-multiple' use a separator other
| than `crm-default-separator'.
`----

I understand that defvar doesn't override a variable's value if the
variable is already defined, but is that TRT with dynamic bindings, too?

Bye,
Tassilo



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

end of thread, other threads:[~2013-02-20 21:36 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-18 14:40 Possible defvar bug Tassilo Horn
2013-02-18 14:47 ` Jambunathan K
2013-02-18 14:58   ` Tassilo Horn
2013-02-18 15:00   ` Didier Verna
2013-02-18 15:09     ` Alan Mackenzie
2013-02-18 15:41       ` Thierry Volpiatto
2013-02-18 16:15         ` Drew Adams
2013-02-18 16:26           ` Thierry Volpiatto
2013-02-18 16:40             ` Drew Adams
2013-02-18 16:29           ` Lawrence Mitchell
2013-02-18 15:42       ` Tassilo Horn
2013-02-18 16:19       ` Didier Verna
2013-02-19  1:40 ` Glenn Morris
2013-02-19 15:25   ` Richard Stallman
2013-02-19 17:28     ` Stefan Monnier
2013-02-19 23:29       ` Richard Stallman
2013-02-20  0:08         ` Stefan Monnier
2013-02-20  8:09           ` Tassilo Horn
2013-02-20 14:05             ` Stefan Monnier
2013-02-20 21:36           ` Richard Stallman

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