From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Karl Voit Newsgroups: gmane.emacs.devel Subject: Proper English Title Capitalization Date: Sun, 24 May 2015 13:10:49 +0200 Organization: www.karl-voit.at Message-ID: <2015-05-24T13-06-14@devnull.Karl-Voit.at> Reply-To: Karl Voit NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1432465922 21913 80.91.229.3 (24 May 2015 11:12:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 24 May 2015 11:12:02 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun May 24 13:11:53 2015 Return-path: Envelope-to: ged-emacs-devel@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 1YwTou-0004Y2-Ob for ged-emacs-devel@m.gmane.org; Sun, 24 May 2015 13:11:52 +0200 Original-Received: from localhost ([::1]:39753 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwTou-0006Is-09 for ged-emacs-devel@m.gmane.org; Sun, 24 May 2015 07:11:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32796) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwToe-0006Hw-IG for emacs-devel@gnu.org; Sun, 24 May 2015 07:11:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YwToZ-0005c8-JC for emacs-devel@gnu.org; Sun, 24 May 2015 07:11:36 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:60575) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YwToZ-0005bv-CH for emacs-devel@gnu.org; Sun, 24 May 2015 07:11:31 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YwToW-0004Kp-Rs for emacs-devel@gnu.org; Sun, 24 May 2015 13:11:28 +0200 Original-Received: from friends.grml.info ([136.243.234.19]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 24 May 2015 13:11:28 +0200 Original-Received: from news1142 by friends.grml.info with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 24 May 2015 13:11:28 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: friends.grml.info X-GPG-Key: http://www.Karl-Voit.at/Karl_Voit_GnuPG_public_key.gpg X-Registered-Linux-User: 224337 X-Confession: Pastafarian http://www.venganza.org/ User-Agent: slrn/pre1.0.0-18 (Linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:186780 Archived-At: Hi! I was looking for a method to capitalize headings/titles according to [1]. I found ~s-titleise-s~ which simply capitalizes every word. However, I was looking for a method which turns stopwords into lower case and non-stopwords into capitalized words. Is there something out there? No, I don't know enough Elisp to code it by myself and I have no idea if there is a set of English stopwords stored in Emacs. [1] http://dougscripts.com/itunes/scripts/ss.php?sp=titlecaps I'm sure there are better resources as well. [2] https://github.com/magnars/s.el#s-titleize-s -- All in all, one of the most disturbing things today is the definitive fact that the NSA, GCHQ, and many more government organizations are massively terrorizing the freedom of us and the next generations. http://Karl-Voit.at