[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Referencing variables beginning with an asterisk in docstrings broke
Re: Referencing variables beginning with an asterisk in docstrings broken?
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.
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