GNU bug report logs - #58150
29.0.50; parse_tool_bar_item should not usually upcase "and"

Previous Next

Package: emacs;

Reported by: Sean Whitton <spwhitton <at> spwhitton.name>

Date: Wed, 28 Sep 2022 20:03:01 UTC

Severity: normal

Found in version 29.0.50

Full log


Message #11 received at 58150 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Sean Whitton <spwhitton <at> spwhitton.name>
Cc: 58150 <at> debbugs.gnu.org
Subject: Re: bug#58150: 29.0.50; parse_tool_bar_item should not usually
 upcase "and"
Date: Thu, 29 Sep 2022 13:02:01 +0200
Sean Whitton <spwhitton <at> spwhitton.name> 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.




This bug report was last modified 2 years and 259 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.