emacs-devel
[Top][All Lists]
Advanced

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

Re: Undocumented hyperlinks in doc strings.


From: Stefan Monnier
Subject: Re: Undocumented hyperlinks in doc strings.
Date: 20 Oct 2003 10:44:16 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>        I guess it might be feasible to make comment-region insert
>        three semicolons by default when commenting out code _inside_ a
>        function with semicolons at the margin (since with two semicolons
>        C-M-q would mess things up in this situation),
>    Want to try to do that?
> I will take a look at it.

The only way I can think of that won't make newcomment.el's code
even more complex (and significantly more ugly) is to accept
expressions (rather than just numbers) for comment-add.

Then the expression could use syntax-ppss or some such trick to
decide whther to evaluate to 1 or 2.


        Stefan




reply via email to

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