unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Robert Pluim <rpluim@gmail.com>
To: Philip Kaludercic <philipk@posteo.net>
Cc: "Mattias Engdegård" <mattias.engdegard@gmail.com>,
	"Emacs Devel" <emacs-devel@gnu.org>,
	"Jim Porter" <jporterbugs@gmail.com>
Subject: Re: master ac797f60160 2/2: ; * lisp/net/shr.el (shr-image-zoom-levels): Fix wrong type.
Date: Wed, 10 Jul 2024 14:02:14 +0200	[thread overview]
Message-ID: <87y1698ng9.fsf@gmail.com> (raw)
In-Reply-To: <87r0c1h6ce.fsf@posteo.net> (Philip Kaludercic's message of "Wed,  10 Jul 2024 10:46:57 +0000")

>>>>> On Wed, 10 Jul 2024 10:46:57 +0000, Philip Kaludercic <philipk@posteo.net> said:

    Philip> Isn't that solved by adding a :greedy (see (widget) checklist).
    Philip> Arguably this should be enabled by default for `set' types.

That doesnʼt help. Hereʼs what the current type gets you:

    Hide Shr Image Zoom Levels:
    Set:
    [X] Fit to window size
    [X] Original size
    [ ] Full image size
    [X] Fill window height

All you can do is enable or disable each of the four entries. With my
suggestion, you get:

    Hide Shr Image Zoom Levels:
    Repeat:
    [INS] [DEL] Choice:
                (*) Fit to window size
                ( ) Original size
                ( ) Full image size
                ( ) Fill window height
    [INS] [DEL] Choice:
                ( ) Fit to window size
                (*) Original size
                ( ) Full image size
                ( ) Fill window height
    [INS] [DEL] Choice:
                ( ) Fit to window size
                ( ) Original size
                ( ) Full image size
                (*) Fill window height
    [INS]

So you can change the type of each entry, and add/delete entries.

If you do "(repeat (choice" you get this:

    Hide Shr Image Zoom Levels:
    Repeat:
    [INS] [DEL] Choice: [Value Menu] Fit to window size
    [INS] [DEL] Choice: [Value Menu] Original size
    [INS] [DEL] Choice: [Value Menu] Fill window height
    [INS]

which offers the same possibilities, but I prefer the 'radio' version.

Robert
-- 



  reply	other threads:[~2024-07-10 12:02 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <172054273136.24557.15429439759711990393@vcs2.savannah.gnu.org>
     [not found] ` <20240709163212.254C9C2BC9A@vcs2.savannah.gnu.org>
2024-07-09 16:48   ` master ac797f60160 2/2: ; * lisp/net/shr.el (shr-image-zoom-levels): Fix wrong type Robert Pluim
2024-07-10  8:46     ` Mattias Engdegård
2024-07-10  9:04       ` Robert Pluim
2024-07-10 10:46         ` Philip Kaludercic
2024-07-10 12:02           ` Robert Pluim [this message]
2024-07-10 17:24         ` Jim Porter
2024-07-11  7:37           ` Robert Pluim

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=87y1698ng9.fsf@gmail.com \
    --to=rpluim@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=jporterbugs@gmail.com \
    --cc=mattias.engdegard@gmail.com \
    --cc=philipk@posteo.net \
    /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).