unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Referencing variables beginning with an asterisk in docstrings broken?
@ 2016-08-25 14:54 Nathanael Schweers
  2016-08-28  1:55 ` Stefan Monnier
  0 siblings, 1 reply; 8+ messages in thread
From: Nathanael Schweers @ 2016-08-25 14:54 UTC (permalink / raw)
  To: help-gnu-emacs

I wanted to include a reference to a global (dynamic) variable in one of
my docstrings.  According to the info page “(elisp) Documentation Tips”
one merely has to reference the variable in question between the
quotation marks ‘ and ’.

As far as I can tell so far, this works, as long as the variable does
not start with an asterisk.  I.e. ‘varname’ works, so does ‘varname*’,
yet not ‘*varname’.  Hence, ‘*varname*’ also does not work.

I’d like to adhere to the Common Lisp convention of naming special
variables in my elisp code, yet if I do so, I cannot seem to reference
them in docstrings.

Is this behaviour a bug?

Best Regards,
Nathanael Schweers
-- 



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

end of thread, other threads:[~2016-08-29  0:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-25 14:54 Referencing variables beginning with an asterisk in docstrings broken? Nathanael Schweers
2016-08-28  1:55 ` Stefan Monnier
2016-08-28 15:18   ` GDB GUD Variable Buffer Augusto Fraga Giachero
2016-08-28 15:53     ` Eli Zaretskii
2016-08-28 16:35       ` Augusto Fraga Giachero
2016-08-28 16:54         ` Eli Zaretskii
2016-08-28 23:32   ` Referencing variables beginning with an asterisk in docstrings broken? Nathanael Schweers
2016-08-29  0:32     ` Stefan Monnier

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