[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Counting SLOC in Emacs
From: |
Leo Liu |
Subject: |
Re: Counting SLOC in Emacs |
Date: |
Wed, 03 Dec 2014 09:14:34 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (CentOS Linux 7 (Core)) |
On 2014-12-02 09:35 -0500, Ted Zlatanov wrote:
> This is useful.
>
> Could we have this added to `count-lines-region' with an optional
> parameter, or provided by `prog-mode' specifically? It even merits a
> modeline indicator that users can enable, I think.
>
> Ted
I had such need last year but only used it a few days and then totally
forgotten (never needed again). The code is still here
https://github.com/leoliu/sloc.el/blob/master/sloc.el
Leo