From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel 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 Message-ID: <87y1698ng9.fsf@gmail.com> References: <172054273136.24557.15429439759711990393@vcs2.savannah.gnu.org> <20240709163212.254C9C2BC9A@vcs2.savannah.gnu.org> <877cdua4ur.fsf@gmail.com> <811B0DE0-5514-436F-9D95-8F6294FB4909@gmail.com> <8734ohaa9m.fsf@gmail.com> <87r0c1h6ce.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20654"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Mattias =?utf-8?Q?Engdeg=C3=A5rd?= , Emacs Devel , Jim Porter To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Jul 10 14:03:08 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sRW2O-000557-03 for ged-emacs-devel@m.gmane-mx.org; Wed, 10 Jul 2024 14:03:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sRW1e-0002Hx-Ll; Wed, 10 Jul 2024 08:02:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sRW1b-0002HY-Qf for emacs-devel@gnu.org; Wed, 10 Jul 2024 08:02:20 -0400 Original-Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sRW1a-0004V1-22 for emacs-devel@gnu.org; Wed, 10 Jul 2024 08:02:19 -0400 Original-Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-52ea33671ffso5780009e87.3 for ; Wed, 10 Jul 2024 05:02:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720612936; x=1721217736; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date :gmane-reply-to-list:references:in-reply-to:subject:cc:to:from:from :to:cc:subject:date:message-id:reply-to; bh=Yk1wERwUqY/lZGGEeKna2jnH+8ErEYUbCykY6WYiQ/c=; b=g7esE4/hA/itSGE3dHQ1uApy6OcHHgfc3xeAFSvLfZ2HuWyQjQJGoi+Bb0BrZNSQIc jYpy1R/Wupzs4pYqsfJK8byWtls90dq3pssbtc8WzlmyQSaxHgBAfEfZ8zBn5kdGgVaV lWN6pDBfCVBZSjdyIddDmpKcnRGwQRnVMMfLBOqs+t0sZk9urjQT96zYojJ2wlpqxmOL 3D+dqRoQ6wQPMj3ykzqniUH6VSgMso4oE7s8TzRc8LhSNK9BCd1/+jfQrVwLw1G7VXwH HVdTTjo+JSmgCDkWOKlweDjSowjDELxXKvWNG3E0lmSPwa2E+Qy1U2LnRBxXPz+SfiBD 4XTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720612936; x=1721217736; h=content-transfer-encoding:mime-version:message-id:date :gmane-reply-to-list:references:in-reply-to:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Yk1wERwUqY/lZGGEeKna2jnH+8ErEYUbCykY6WYiQ/c=; b=wAEHBVqvJWn4GB9sRLS/m/VdZ2u81pYVhMq4lCyfmb/a5GAH/TtKrKIxfLw5NRI1k6 ZTT6ywUHwtPw/NW6EIG4Itrfg1jvIg2vKM4c1+WfChelNZTtl/qg0K9Kclc/mAuIo2bA FaQHnAAx4SAIIGOtbvZ15mmNBcJwMQp/w+YBMB+I0C/sKNV3crJMI1dN6frX5Z4Qe2b1 g7bcKh1Fu9y5PB3wet8R1nK8gJ8EBRO1nM5vViUaKkAGe+Mz4Z781afH5aQwlTUobCSq idRqUjFdGTFH0R3+UdEG7b3o5T477y6eJompL56BAHTkFPXNzVmpYBTRoawAODxgp7i2 QYAg== X-Forwarded-Encrypted: i=1; AJvYcCVPPe/AXUWmoKoof/vYNTGqV0hUAKn+fqvXDTqrYlLeJuJB+8euaPjwIpriY2PHxOLN6LSfAH/2vasvaQNhB4stLVba X-Gm-Message-State: AOJu0YzxRgM5h+LLJnk578bbmYjU8j28DZW7xm9gIIcyLAI55KBQZfsW wi/NUH19g7GmpfveTg4cPPJOv7RnXtRAZ0EvG+uztDclOKhj1Siw X-Google-Smtp-Source: AGHT+IF17J8CRmvpGKzc5I58q3cGBVXzhnD+zfekRMMOPIDGoHBXG1dgg6k+FWSiik2y4Mbvz3KfoA== X-Received: by 2002:a05:6512:31ce:b0:52e:98f6:c21f with SMTP id 2adb3069b0e04-52eb9999d9dmr3831330e87.16.1720612935902; Wed, 10 Jul 2024 05:02:15 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-426725597bdsm39505415e9.0.2024.07.10.05.02.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Jul 2024 05:02:15 -0700 (PDT) In-Reply-To: <87r0c1h6ce.fsf@posteo.net> (Philip Kaludercic's message of "Wed, 10 Jul 2024 10:46:57 +0000") Gmane-Reply-To-List: yes Received-SPF: pass client-ip=2a00:1450:4864:20::130; envelope-from=rpluim@gmail.com; helo=mail-lf1-x130.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:321576 Archived-At: >>>>> On Wed, 10 Jul 2024 10:46:57 +0000, Philip Kaludercic 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=CA=BCt help. Here=CA=BCs 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 --=20