From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ian Dunn Newsgroups: gmane.emacs.devel Subject: Re: [ELPA] New package: Auto Capitalize Mode Date: Tue, 29 Aug 2017 20:35:59 -0400 Message-ID: <877exlsxhs.fsf@escafil> References: <87d17hdmnm.fsf@escafil> <87fucapnci.fsf@mat.ucm.es> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1504053409 19780 195.159.176.226 (30 Aug 2017 00:36:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 30 Aug 2017 00:36:49 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: Uwe Brauer Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 30 02:36:40 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dmqzm-0004XP-5m for ged-emacs-devel@m.gmane.org; Wed, 30 Aug 2017 02:36:38 +0200 Original-Received: from localhost ([::1]:47538 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dmqzr-0007AM-Hk for ged-emacs-devel@m.gmane.org; Tue, 29 Aug 2017 20:36:43 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33392) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dmqzl-0007AH-6I for emacs-devel@gnu.org; Tue, 29 Aug 2017 20:36:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dmqzk-00053B-3U for emacs-devel@gnu.org; Tue, 29 Aug 2017 20:36:37 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56034) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dmqzj-000535-W1; Tue, 29 Aug 2017 20:36:36 -0400 Original-Received: from [2604:6000:1010:176:da4d:3352:bae5:f50e] (port=54182 helo=escafil) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dmqzj-0002Ck-H0; Tue, 29 Aug 2017 20:36:35 -0400 In-Reply-To: <87fucapnci.fsf@mat.ucm.es> (Uwe Brauer's message of "Tue, 29 Aug 2017 12:31:09 +0000") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:217884 Archived-At: >>>>> "Uwe" == Uwe Brauer writes: Uwe> Are you aware of auto-capitalize-mode by Kevin Rodgers, it is Uwe> more than 10 years old and very sophisticated. Maybe you have a Uwe> look, since you might reinvent the wheel. I am aware of it. I tried it before writing my version, but I can't remember what issues I encountered with it that made me not like it. After a brief trial, the big difference I see is it not handling *This* or /This/ in Org mode sentences, which is a big deal to me. I use the same formatting in my custom writing mode, so when writing internal dialogue (for which I use italics), I want the dialogue to be capitalized. One feature of mine that's absent in that one is the ability for a user to specify a sentence start function. I've found this exceedingly helpful in every mode. I can specify a function to check for a comment in programming modes, the start of a list or heading in Org mode, and the start of the input line in chat modes. The way Rodgers's version is implemented, such a feature isn't possible. -- Ian Dunn