From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Giraud Newsgroups: gmane.emacs.devel Subject: Re: Counting sentences in `count-words' Date: Mon, 23 May 2022 10:16:06 +0200 Message-ID: <87mtf8acl5.fsf@elite.giraud> References: <87o7zsiekm.fsf@elite.giraud> <83y1yv8cdp.fsf@gnu.org> <878rquizld.fsf@elite.giraud> <83czg694ft.fsf@gnu.org> <87y1ytd9if.fsf@elite.giraud> <87r14lh5lr.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="476"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (berkeley-unix) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon May 23 10:25:07 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nt3ND-000AR0-45 for ged-emacs-devel@m.gmane-mx.org; Mon, 23 May 2022 10:25:07 +0200 Original-Received: from localhost ([::1]:51510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nt3NB-0006GT-QP for ged-emacs-devel@m.gmane-mx.org; Mon, 23 May 2022 04:25:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50866) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nt3Ec-0008PW-IB for emacs-devel@gnu.org; Mon, 23 May 2022 04:16:15 -0400 Original-Received: from ledu-giraud.fr ([51.159.28.247]:18217) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nt3Ea-0003e8-0x; Mon, 23 May 2022 04:16:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=Rq3AvVSlV4R2/hXG CKGSicmiJ6BIuxEZ0TF6OQNwdpU=; h=in-reply-to:date:references:subject: cc:to:from; d=ledu-giraud.fr; b=aeesHftJuRjNh6wOu83UnUofZTy+VjjhUfuRNA Wc/6sQoIelBsBkNlNS7CN/+up8BnxERj1KjfXvKc3TtAELjiVURT9QmJNrhudxFO0BlDKs FLzei3IfJiQc0jyVHtlcb5S8HhUyldGZGUlW8RMcEHsX9jdel/SM7OHGtuIoQ4O3L9J8wZ GWbaLwNcjDPAWjUJSlAA4q6Jc4okA8i2Shgp54ega3a9ozy5edlNgI4OF5mBYbvBdS/ZCa Cxo2H7vakdFRknxXio6gOKgRjZKMR4jNzMCQnvADohiukabTzHCvhIFWUO8QekbIIj5kLS 0p3II9+9yajVrbHEcHaDrxZw== Original-Received: from elite.giraud ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 12e82811 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Mon, 23 May 2022 10:16:07 +0200 (CEST) In-Reply-To: <87r14lh5lr.fsf@gmail.com> (Visuwesh's message of "Sun, 22 May 2022 22:22:48 +0530") Received-SPF: pass client-ip=51.159.28.247; envelope-from=manuel@ledu-giraud.fr; helo=ledu-giraud.fr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:290135 Archived-At: Visuwesh writes: > Does it make sense to count sentences in prog-mode buffers? I think it > will needlessly increase the noise when the buffer isn't derived from > text-mode. You're right I could test on the derived mode. But then maybe someone wants to count sentences in a comment or a docstring. I don't know. -- Manuel Giraud