Subject: Re: bug#58150: 29.0.50; parse_tool_bar_item should not usually upcase "and"

From: Lars Ingebrigtsen <[email-masked]>
Date: Thu, 29 Sep 2022 13:02:01 +0200

Sean Whitton <[email-masked]> writes:

> One possibility is a defcustom to only upcase the very first character.
> Maybe it should even be t by default: this will produce more correct
> results than the current scheme.

I think the upcasing should be removed, and the tool bar labels should
be capitalised properly to begin with.  That requires somebody to do a
review of this first, and fix the tool bar definitions, though.  Like:

    (define-key map [isearch-occur]
      (list 'menu-item "Show hits" 'isearch-occur
            :help "Show each search hit"
            :image '(isearch-tool-bar-image "index")))

Should be "Show Hits" etc.

Otherwise somebody could, of course, just write a function that
capitalises titles correctly according to one or other of the English
title capitalisation standards -- which isn't difficult, and would be
generally useful.