From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "G.B." Newsgroups: comp.lang.ada Subject: Re: a question of form Date: Fri, 29 Aug 2014 13:55:20 +0200 Organization: A noiseless patient Spider Message-ID: References: <8f4fc25e-2039-429c-a5d5-97c450b87078@googlegroups.com> <64f1912b-1a7f-4478-bb47-0e5ed054c1d1@googlegroups.com> Reply-To: nonlegitur@futureapps.de Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Fri, 29 Aug 2014 11:55:18 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="b96887e80893c84a90c3007226ca0d1c"; logging-data="12911"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1863Yzhq33Pfnes3/2z332+ZULREt5Dk+Y=" User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 In-Reply-To: Cancel-Lock: sha1:0cjpukdIHQX7SqWPh2FFU0DUtSs= Xref: news.eternal-september.org comp.lang.ada:21979 Date: 2014-08-29T13:55:20+02:00 List-Id: On 28.08.14 21:35, Randy Brukardt wrote: > "Jeffrey Carter" wrote in message > news:ltnsdb$jtn$2@dont-email.me... >> In /The Elements of Grammar/ by Margaret Shertzer: >> >> "Capitalize all principal words (that is, nouns, pronouns, adjectives, >> adverbs, >> verbs, and first words) in titles" >> >> The rule I learned is: Capitalize the first and last word of a title; >> capitalize >> all other words except articles and short conjunctions and prepositions. >> "Short" >> is usually defined as less than 4 letters. Thanks for the reference and list. > Anyway, here's the code that creates the list of words: > As far as a definitive list is concerned, I suspect that there always are > going to be grey areas where the choice is not obvious. That's why we stuck > to a minimal list. It turns out that projects using Emacs Ada mode may register a simple text file containing "partial words" such as those in your list; these would have small letters automatically. In addition, a conditional for excepting both the first and last word of an identifier was easy to add to the mode's source. The presence of this little patch or equivalent will, however, be a matter of demand, I guess.