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 23:25:23 +1000 Message-ID: References: <09C04C7E-B175-45A5-A4E1-4E5AC14B4B66@gmail.com> 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="189360"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: mu4e 1.0; emacs 26.2 Cc: help-gnu-emacs To: Jean-Christophe Helary Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 21 15:26:01 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 1hICTp-000n5k-Ig for geh-help-gnu-emacs@m.gmane.org; Sun, 21 Apr 2019 15:26:01 +0200 Original-Received: from localhost ([127.0.0.1]:53249 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hICTo-0004T9-BD for geh-help-gnu-emacs@m.gmane.org; Sun, 21 Apr 2019 09:26:00 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:57481) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hICTP-0004T3-5N for help-gnu-emacs@gnu.org; Sun, 21 Apr 2019 09:25:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hICTO-0006d2-48 for help-gnu-emacs@gnu.org; Sun, 21 Apr 2019 09:25:35 -0400 Original-Received: from out3-smtp.messagingengine.com ([66.111.4.27]:46859) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hICTM-0006b9-PD for help-gnu-emacs@gnu.org; Sun, 21 Apr 2019 09:25:33 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id E1837210DB; Sun, 21 Apr 2019 09:25:30 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sun, 21 Apr 2019 09:25:30 -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=hYPeJK694ExoGPpP2r+gqxt6P7 31KaK0TCYViVPWdQY=; b=B3AZ6WEKQXpilKCLVYrrF2jsOuMMOrE+ecZ9oWhjlw TSldOEoltFDfGv13yClSx6968rXwXExsEm40+CV7X8p2x5Ur3HA4DTsWbyaOf+ld hH7dq+bEUOFZrQf162kszJE0AvwvDmszWkXX2MBW0im0F8YndOi1SiYnwSFex8Qf yUBUtc+x2laSIR0klsI/C4zZzK6A45pbxW/w0smmT5gDCHWI0aiSEsTkrgEzXi3W OXRT8yrH07rXs9b89FKAScYTv5iiZmfTpY6ym5pqkuLBooW09sT4WO5nTNeowi4I vUvK5CiFnDOci5p7dhAZq2oTe2jT7XiKlaS8XNvVxn6Q== 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=hYPeJK 694ExoGPpP2r+gqxt6P731KaK0TCYViVPWdQY=; b=6iHEkLIQuivZt4M2DSTtzO YarwkcbcsOIov8AvkYjT9PSYm7W6OQQppRuKdfNmjC2+LFlKViu9zfkveQcT01QZ rLsiwXIUqBcv2DrnJsrpdfFZw2XubbncI0DA30tOfNY9NYxpuOEkbEHyjOR4gPv9 PALtyiySo+ja87wU6brnxqk2ufhITHU+9ZxTfpQS8N8UXJiSXLt3vJ49f1+OA5GB 9o+yiKES9Xt9CGO1WT0qGrjqNHQ7IukIgFh7ddDPkbAv87odcZFm++EKyyeGBT4m XTuk/0xcZ+CD5wLI2ViQ3WTBWLeRaTS1b1azrBYlfELJPOauZX4ZyUzA11oC5yXw == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrgeeggdeghecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepfhgfhffvufgjfffkgggtsehttdertd dtredtnecuhfhrohhmpedfrfgruhhlucghrdcutfgrnhhkihhnfdcuoehhvghllhhosehp rghulhifrhgrnhhkihhnrdgtohhmqeenucffohhmrghinhepfihikhhiphgvughirgdroh hrghdpphgruhhlfihrrghnkhhinhdrtghomhenucfkphepuddvtddrvddvrddutdekrddu feelnecurfgrrhgrmhepmhgrihhlfhhrohhmpehhvghllhhosehprghulhifrhgrnhhkih hnrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Original-Received: from localhost (unknown [120.22.108.139]) by mail.messagingengine.com (Postfix) with ESMTPA id 31F40E415C; Sun, 21 Apr 2019 09:25:28 -0400 (EDT) In-reply-to: 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:120014 Archived-At: On Sun, Apr 21 2019, Jean-Christophe Helary wrote: >> This seems a little redundant to me if title case is an English-only >> thing. > > *That*, we don't know. I'm pretty sure title case is an English-only thing. I did some cursory digging and found this on the holy Wikipedia: > In other languages, such as the Romance languages, only the first word > and proper names are capitalized.[1] Seems like title case comes in two flavours: English and other. > And even if it's an English only thing, it's better to identify the > thing the strings have in common. They are not just arbitrary short > strings. Within this scope, they're just all minor words. Apart from that, I'd say they are just arbitrary strings... Emacs doesn't care what language strings it's upcasing or downcasing. [1]: https://en.wikipedia.org/wiki/Capitalization#Titles -- https://www.paulwrankin.com