From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: scame via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#47454: plist-put should have a version which accepts multiple properties Date: Sun, 28 Mar 2021 17:34:45 +0000 Message-ID: Reply-To: scame 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="22909"; mail-complaints-to="usenet@ciao.gmane.io" To: 47454@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Mar 28 19:35:18 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1lQZJm-0005pm-0y for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 28 Mar 2021 19:35:18 +0200 Original-Received: from localhost ([::1]:58774 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQZJk-00030O-Qv for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 28 Mar 2021 13:35:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45030) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQZJW-0002yb-BM for bug-gnu-emacs@gnu.org; Sun, 28 Mar 2021 13:35:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35467) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lQZJW-0004Fe-1l for bug-gnu-emacs@gnu.org; Sun, 28 Mar 2021 13:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lQZJV-0004jv-Tw for bug-gnu-emacs@gnu.org; Sun, 28 Mar 2021 13:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: scame Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 28 Mar 2021 17:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 47454 X-GNU-PR-Package: emacs X-Debbugs-Original-To: "scame via Bug reports for GNU Emacs, the Swiss army knife of text editors" Original-Received: via spool by submit@debbugs.gnu.org id=B.161695290018205 (code B ref -1); Sun, 28 Mar 2021 17:35:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Mar 2021 17:35:00 +0000 Original-Received: from localhost ([127.0.0.1]:47013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQZJT-0004jZ-TR for submit@debbugs.gnu.org; Sun, 28 Mar 2021 13:35:00 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:60056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQZJR-0004jQ-HU for submit@debbugs.gnu.org; Sun, 28 Mar 2021 13:34:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44998) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQZJR-0002q7-8n for bug-gnu-emacs@gnu.org; Sun, 28 Mar 2021 13:34:57 -0400 Original-Received: from mail-40138.protonmail.ch ([185.70.40.138]:12582) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lQZJO-00049p-Fh for bug-gnu-emacs@gnu.org; Sun, 28 Mar 2021 13:34:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1616952889; bh=FJUn5847SvQ2YSLUSkAbdTIwqcWS6DzrXuLROenBqOw=; h=Date:To:From:Reply-To:Subject:From; b=eyGkBugs91c498eqw62muxWG7A7pRd33grnnKJ5HtYhglu5m71TnNMdTAQwVNxims USift8nq8dQ/HtkcGvMQrKFWU548jF25yhUZVHYAS3S+nmWw40suhJtwFEsWYPKqYN timELTjb4BzlNXzBuo7RiH6rwo6VJMQssQC6FRWk= Received-SPF: pass client-ip=185.70.40.138; envelope-from=laszlomail@protonmail.com; helo=mail-40138.protonmail.ch 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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" X-ACL-Warn: , scame Xref: news.gmane.io gmane.emacs.bugs:203197 Archived-At: Modifying plists could be much easier if multiple properties were also accepted. E.g. (plist-put PLIST PROP VAL ... ) or (plist-put PLIST (PROP VAL ....) ) Others also find this problematic: https://emacs.stackexchange.com/questions/39473/how-to-modify-multiple-keys= -in-a-plist and the suggessted solutions are clumsy: (setq org-format-latex-options (plist-put org-format-latex-options :scale= 1.5)) (setq org-format-latex-options (plist-put org-format-latex-options :foreg= round 'auto)) or (setq org-format-latex-options (plist-put (plist-put org-format-latex-options :scale 1.5) :foreground 'auto)) Making plist-put smarter to accept multiple values or adding an other function which accepts them (e.g. plist-put-multiple) could make using plists much more convenient.