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

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

bug#18643: 25.0.50; elisp--expect-function-p


From: Dmitry Gutov
Subject: bug#18643: 25.0.50; elisp--expect-function-p
Date: Sat, 11 Oct 2014 20:18:34 +0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2

On 10/11/2014 05:47 PM, Stefan Monnier wrote:

But by being a separate function, users can add/remove it at will,
depending on their preference.

Hmm, that's one option, yes.

I rather think the right solution would start with a stricter convention for
code snippets in docstrings.

That's a non-starter, because while we can apply this to our own code,
we can't enforce it on others's,

Then those others won't get Lisp completion is docstrings. Which is their choice, and not that big a deal.

The convention doesn't have to be complicated. For example, we can limit ourselves to considering blocks within comments or docstrings separated by newlines from the rest of the text, and only when each line starts with 2+ (or 4+?) spaces. As a plus, we'll be able to modify the indentation function to work in these blocks, too.





reply via email to

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