comp.lang.ada
 help / color / mirror / Atom feed
From: "G.B." <bauhaus@futureapps.invalid>
Subject: Re: a question of form
Date: Fri, 29 Aug 2014 13:55:20 +0200
Date: 2014-08-29T13:55:20+02:00	[thread overview]
Message-ID: <ltppn6$cjf$1@dont-email.me> (raw)
In-Reply-To: <lto0a9$c23$1@loke.gir.dk>

On 28.08.14 21:35, Randy Brukardt wrote:
> "Jeffrey Carter" <spam.jrcarter.not@spam.not.acm.org> 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.

      reply	other threads:[~2014-08-29 11:55 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-25 20:33 a question of form gdotone
2014-08-25 20:56 ` Simon Clubley
2014-08-25 22:08   ` Ludovic Brenta
2014-08-26  1:06     ` gdotone
2014-08-26  7:04 ` Nasser M. Abbasi
2014-08-26 17:31   ` Jeffrey Carter
2014-08-27  5:00     ` Randy Brukardt
2014-08-27  7:17       ` AdaMagica
2014-08-28 11:56         ` G.B.
2014-08-28 13:23           ` Simon Wright
2014-08-28 14:08             ` G.B.
2014-08-28 19:26             ` Randy Brukardt
2014-08-28 20:19               ` Simon Wright
2014-08-28 20:48                 ` Simon Wright
2014-08-28 18:28           ` Jeffrey Carter
2014-08-28 19:35             ` Randy Brukardt
2014-08-29 11:55               ` G.B. [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox