From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jean-Christophe Helary Newsgroups: gmane.emacs.help Subject: Re: title-case function Date: Sun, 21 Apr 2019 21:59:07 +0900 Message-ID: References: <09C04C7E-B175-45A5-A4E1-4E5AC14B4B66@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="71195"; mail-complaints-to="usenet@blaine.gmane.org" To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 21 14:59:30 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 1hIC49-000IOW-Os for geh-help-gnu-emacs@m.gmane.org; Sun, 21 Apr 2019 14:59:29 +0200 Original-Received: from localhost ([127.0.0.1]:52968 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIC48-0000t4-MR for geh-help-gnu-emacs@m.gmane.org; Sun, 21 Apr 2019 08:59:28 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52665) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hIC3x-0000st-Cu for help-gnu-emacs@gnu.org; Sun, 21 Apr 2019 08:59:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hIC3v-0000uo-Np for help-gnu-emacs@gnu.org; Sun, 21 Apr 2019 08:59:17 -0400 Original-Received: from mail-pf1-x42c.google.com ([2607:f8b0:4864:20::42c]:37438) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hIC3u-0000qR-IO for help-gnu-emacs@gnu.org; Sun, 21 Apr 2019 08:59:15 -0400 Original-Received: by mail-pf1-x42c.google.com with SMTP id 8so4486546pfr.4 for ; Sun, 21 Apr 2019 05:59:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:date:references:to:in-reply-to:message-id; bh=nr0P/2Novo/Sh/xXlclmQ00VUqQ1PlGIk5Wy93MxqRI=; b=LoOPyeQ36YOXHZLUU3ZGR9OgyFzgGId6HicN2+Cn+IZIZNraTBmv5UAhUEeMJTUrHw DQlt0DmJml5xANAcIQYuMGsuGKEv+pPsxmG+JGZOU14qp8qtnLliK6zUsB7ajPbcxjpw Pa+FLEloLMbhzXaAskAkXlfcvVDw69HrZ3h4t8bump8qOEVEu79bIZuwU9NEAGlBQDPh i9n6vVOSxJJoXRAYj+6par5VxRypM0zw+ZJiYRLmWSdh/4H5JfFdLvy1mCOFLSpsFTj3 IjQgBCfhrpms/hgXR70IWB+epUJotGyNK8djkESA+uGkoAMeT0mQxaN1QMNX1nAIwxdf KEzw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:date:references:to :in-reply-to:message-id; bh=nr0P/2Novo/Sh/xXlclmQ00VUqQ1PlGIk5Wy93MxqRI=; b=nE1Atg55uvSruZE4y2HrwgFiT6hJxTXl2sbCx2YmOxZSoyqHeSvZnG6D62QuAR9MKJ W+ltU14r2xr2pKPCWIISiQsDhGRWzIFzMnUc8MPptAOUAqpxqIw1wrh9cCtGJzAgpdHi ZjwBdoAX4sOfsgb1ZiirwqWU3DeHxgb7Bu2U+s6Jj0RXl7RF5gYlPV6vREoF5C5i6ZxH F+a/zzxZuvPhgU8mYqNKU7ge6AIgpbkBBpx8tuybjpPAWAkE1oUmidkNk+kL68d5GhJ5 o1ytngtMV7ftaSlu0SCNlqLxLkxAdBxF9ohOOkv4BDU5SfAnPiM30NLRnULIBxCkKi2i RCHQ== X-Gm-Message-State: APjAAAXLZh0OV39yL0vFtGMav0sdeIMzvsUk+4plKswscgbn+I/sDTGW pKaWSB48smCCKrsAkOfSM6o62icR X-Google-Smtp-Source: APXvYqyoPPVqvcYn5dCDkCpTBPoakLQacq625TesxzjbrwQfASYv38qFN7ORS0iS+qoTO+yQSg9BIg== X-Received: by 2002:a63:f843:: with SMTP id v3mr9931755pgj.69.1555851552109; Sun, 21 Apr 2019 05:59:12 -0700 (PDT) Original-Received: from [10.79.173.236] (117.102.194.204.static.zoot.jp. [117.102.194.204]) by smtp.gmail.com with ESMTPSA id k65sm18562279pfb.68.2019.04.21.05.59.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 21 Apr 2019 05:59:11 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3445.104.8) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::42c X-Content-Filtered-By: Mailman/MimeDel 2.1.21 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:120013 Archived-At: > On Apr 21, 2019, at 21:45, Paul W. Rankin = wrote: >=20 >=20 > On Sun, Apr 21 2019, Jean-Christophe Helary wrote: >> I'm not aware that we have title-case needs in French, or in any = other language I know, but just as a precaution I renamed = "title-case-minor-words" to "title-case-minor-english-words". >=20 > This seems a little redundant to me if title case is an English-only = thing. *That*, we don't know. 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. > But also it's a defcustom, so the user is free to make the words any = other language (which would then make the name quite silly). No, if would make the user conscious that the list is for English and = instead of just adding a string to the list, she would create a = defcustom for her language and modify the rest of the code, thus = introducing her to simple elisp code modifications. And the next step could be for her to imagine a way to identify the = contents of a given string to know which defcustom she should use, etc. > That said, anyone pasting this into their init file is more than = welcome to rename the option whatever they like! Definitely, but you asked for suggestions... And honestly, the fact that developers generally don't consider english = strings as exceptions in the world of symbolic expressions is the main = reason why emacs's internationalization lags so far behind other = projects. So why not start where it is easy to start ? Jean-Christophe Helary ----------------------------------------------- http://mac4translators.blogspot.com @brandelune