help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Referencing variables beginning with an asterisk in docstrings broke


From: Nathanael Schweers
Subject: Re: Referencing variables beginning with an asterisk in docstrings broken?
Date: Mon, 29 Aug 2016 01:32:41 +0200

Stefan Monnier <address@hidden> writes:

>> 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?
>
> Probably a bug, but do note that Elisp is not Common-Lisp, so I strongly
> recommend you follow the Elisp convention of using a "<pkg>-" prefix
> instead of using asterisks for global variables.
>
>
>         Stefan
>
>

I did both.  I also filed a bug, but it seems that this is because of
some heuristic to prevent too many false positives.  I guess I’ll either
change my naming, or just live with it.  Currently I use
*prefix/public-var*, but I guess prefix/*public-var* might be even
better.

Nathanael

-- 



reply via email to

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