From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: "Paul W. Rankin" Newsgroups: gmane.emacs.help Subject: Re: title-case function Date: Sun, 21 Apr 2019 16:45:16 +1000 Message-ID: References: <83lg03aojc.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="109711"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: mu4e 1.0; emacs 26.2 Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 21 08:45:45 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hI6ET-000SQm-9K for geh-help-gnu-emacs@m.gmane.org; Sun, 21 Apr 2019 08:45:45 +0200 Original-Received: from localhost ([127.0.0.1]:49676 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hI6ES-0008W2-71 for geh-help-gnu-emacs@m.gmane.org; Sun, 21 Apr 2019 02:45:44 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hI6EE-0008Tv-VT for help-gnu-emacs@gnu.org; Sun, 21 Apr 2019 02:45:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hI6ED-0001wa-2U for help-gnu-emacs@gnu.org; Sun, 21 Apr 2019 02:45:30 -0400 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:42139) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hI6E8-0001sp-IV; Sun, 21 Apr 2019 02:45:24 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 4C70A2129D; Sun, 21 Apr 2019 02:45:24 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sun, 21 Apr 2019 02:45:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=paulwrankin.com; h=references:from:to:cc:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm3; bh=B8w8CGolmLGB4vtTOKn/hNjRXj bt0ZGTyQKLeg5KpKg=; b=CrJYtvNa2VMNRyx59EgU7ftCGVv5l+1bJTL6rPiwUi SzFznV+f8ixcjriBiWFsUQw0Fhuhz0ssGgWGPOecMxjoMZ5pgWxDfxo5pBgtTSIx NbeaO05H8HavdvOef9S6Yd0l9IZ0LQbeMtzMXS+xPdEnKXLA4isMhga/TUE2mYe4 UEK0Qz14SgLqnu897bgu/7Xu3gMJu3/HOs+8HpbSbKFVOsOU0AZTYcz09Cbma63n pB/DzoCLA3tlA226BOqBwWl9TEdUXE9kFPUgo9IxLYXbY33bMHD1WoO+2JTfa8uk atVj+fk8VPWsXHyMjTNtKgl7FgOZt2yEFh14WECe4Gug== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=B8w8CG olmLGB4vtTOKn/hNjRXjbt0ZGTyQKLeg5KpKg=; b=TXM4XqJlSQOdXNVMUSSz4F BX7PoNp+VMJDfu5XHMQDb1GeXNP3p0dIT+j48JyFcC0pv0gfSotW5r/qAmRCJxvD INjSVBdvbT9m5BWiDjskTb5Q9Gn2ac/Obyxg5jEN1/UQTO9pcb+arKarozCVo5yv BoH3/7gS5Pqzu7VY7QF+AM0sHIqFASr4J5oYMAK463f2nRmA7022qRLTq4/U2OfM Nkiy4g2sabG25vqdK5w0tNsbFgqJdoUHxzI/Et3HuJ6DWko1G7JXLngSyMDV8pSb JmXIItqF/h+vJ9KGCy/WZOI7GSO7jCzC7yN6hKQAoVpQdNUG1rGqalvMg4s8cU6Q == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrgeefgddtlecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpehffgfhvffujgffkfggtgesthdtredttdertdenucfhrhhomhepfdfrrghulhcu hgdrucftrghnkhhinhdfuceohhgvlhhlohesphgruhhlfihrrghnkhhinhdrtghomheqne cuffhomhgrihhnpehprghulhifrhgrnhhkihhnrdgtohhmnecukfhppeduvddtrddvvddr uddtkedrudefleenucfrrghrrghmpehmrghilhhfrhhomhephhgvlhhlohesphgruhhlfi hrrghnkhhinhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Original-Received: from localhost (unknown [120.22.108.139]) by mail.messagingengine.com (Postfix) with ESMTPA id 5B559E42C9; Sun, 21 Apr 2019 02:45:21 -0400 (EDT) In-reply-to: <83lg03aojc.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.27 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:120006 Archived-At: On Sun, Apr 21 2019, Eli Zaretskii wrote: > Doesn't upcase-initials do that already? English has conventions for keeping "minor words" in titles as lowercase (which I understand is different to European language). (upcase-initials "an introduction to programming in emacs lisp") => "An Introduction To Programming In Emacs Lisp" "an introduction to programming in emacs lisp" (title-case-region) => "An Introduction to Programming in Emacs Lisp" -- https://www.paulwrankin.com