unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Caio Henrique <caiohcs0@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Caio Henrique <caiohcs0@gmail.com>, emacs-devel@gnu.org
Subject: Re: [PATCH] remove save and undo text on tool-bar for gtk version
Date: Wed, 30 Sep 2020 14:30:22 -0300	[thread overview]
Message-ID: <871rijtbo1.fsf@gmail.com> (raw)
In-Reply-To: <83d023i4ib.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 30 Sep 2020 20:00:28 +0300")

Eli Zaretskii <eliz@gnu.org> writes:

> What about Lucid?
I never used the Lucid version before, but I could try it later when I
have some free time. I suppose that running configure with
"--with-x-toolkit=lucid" would allow me to build it, is that right?

I said that it only affects GTK because the documentation of
tool-bar-style says that "This variable only affects the GTK+ toolkit
version of Emacs.".

> Can you elaborate on the rationale for each change?  I don't think I
> have a clear idea of the reasons.
>
> Thanks.
These changes try to make the tool-bar more consistent since as it is
now, every other tool-bar item (new, open, close, cut, copy etc) on GTK
shows only the image [1], whereas the items "undo" and "save"" show both
the image and the text horizontally. Also, if I change the value of
tool-bar-style from nil to text-image-horiz, it doesn't do what it is
supposed to do, i.e. show bow the text and the image horizontally for
all items. All items that have :vertonly aren't affected by text-image-horiz.

This also saves horizontal space on the tool-bar, so we could add other
things like a "redo" buttom.

[1] I'm talking about the tool-bar items of fundamental-mode and
elisp-mode. The tool-bar for other modes like the GNUS tool-bar are also
inconsistent, here on GTK they show only the image for some items like
"previous unread", whereas other items like "next unread" show both the
icon and the text. IOW, the GNUS tool-bar doesn't even fit on the
default size of an Emacs frame. In other modes they behave differently,
e.g. here the tool-bar of custom mode show both the image and the text
horizontally for all the items, but they fit on the emacs frame unlike
the GNUS tool-bar. Option 1, making the default value 'image, would
solve all inconsistencies and every item would use only the
images. Thus, I think that option 1 is the better choice.



      reply	other threads:[~2020-09-30 17:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-30 16:48 [PATCH] remove save and undo text on tool-bar for gtk version Caio Henrique
2020-09-30 16:58 ` Robert Pluim
2020-09-30 17:32   ` Caio Henrique
2020-09-30 17:00 ` Eli Zaretskii
2020-09-30 17:30   ` Caio Henrique [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871rijtbo1.fsf@gmail.com \
    --to=caiohcs0@gmail.com \
    --cc=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).