From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.help Subject: Counting SLOC in Emacs Date: Fri, 28 Nov 2014 12:23:28 +0100 Message-ID: <877fyfk1qn.fsf@wmi.amu.edu.pl> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1417173858 11755 80.91.229.3 (28 Nov 2014 11:24:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Nov 2014 11:24:18 +0000 (UTC) To: Help Gnu Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 28 12:24:13 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XuJen-0006Gf-7e for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Nov 2014 12:24:13 +0100 Original-Received: from localhost ([::1]:43646 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuJem-00036k-MV for geh-help-gnu-emacs@m.gmane.org; Fri, 28 Nov 2014 06:24:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53178) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuJeQ-00031T-9S for help-gnu-emacs@gnu.org; Fri, 28 Nov 2014 06:23:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XuJeK-0006Ad-Ke for help-gnu-emacs@gnu.org; Fri, 28 Nov 2014 06:23:50 -0500 Original-Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:56212) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuJeK-0006AQ-DU for help-gnu-emacs@gnu.org; Fri, 28 Nov 2014 06:23:44 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 012F84206E for ; Fri, 28 Nov 2014 12:23:40 +0100 (CET) Original-Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Gld6YYo9zMdj for ; Fri, 28 Nov 2014 12:23:39 +0100 (CET) Original-Received: from localhost (unknown [150.254.81.223]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id C74CB42062 for ; Fri, 28 Nov 2014 12:23:39 +0100 (CET) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:808:114:2::50 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101262 Archived-At: Hello, there is count-lines-region, but I'd like to exclude empty lines and lines with only comments. Is there anything like that? (If not, I'll try to hack it myself and share.) TIA, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University