From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.bugs Subject: bug#66165: 30.0.50; Issue with process-get as a place Date: Sat, 23 Sep 2023 08:53:34 +0200 Message-ID: <87cyy9tm6p.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32608"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) To: 66165@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 23 08:55:15 2023 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 1qjwXr-0008Lx-1S for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Sep 2023 08:55:15 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjwXV-0007L5-IB; Sat, 23 Sep 2023 02:54:53 -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 1qjwXU-0007Kr-5k for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2023 02:54:52 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qjwXT-0003zt-TU for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2023 02:54:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qjwXe-0003Rn-Hb for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2023 02:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Augusto Stoffel Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Sep 2023 06:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 66165 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.169545204313162 (code B ref -1); Sat, 23 Sep 2023 06:55:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Sep 2023 06:54:03 +0000 Original-Received: from localhost ([127.0.0.1]:37671 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjwWg-0003QE-Qh for submit@debbugs.gnu.org; Sat, 23 Sep 2023 02:54:03 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:52868) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjwWe-0003Pc-TV for submit@debbugs.gnu.org; Sat, 23 Sep 2023 02:54:01 -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 1qjwWM-0007Gs-ED for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2023 02:53:42 -0400 Original-Received: from mail-lj1-x22e.google.com ([2a00:1450:4864:20::22e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qjwWK-0003U4-GV for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2023 02:53:42 -0400 Original-Received: by mail-lj1-x22e.google.com with SMTP id 38308e7fff4ca-2b9d07a8d84so54222541fa.3 for ; Fri, 22 Sep 2023 23:53:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1695452017; x=1696056817; darn=gnu.org; h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=Qe2wwvqR88B9gxMoSiIxCot5PhxJaOMTDcLYlPwX+Os=; b=Mvgt/0mlogbHAY+oepA5Nkn0lK804slqTsQxJlxFUlX+CgyCCd9c40cmyOFSgwf5LX DwegpFCo8D5LmmGDc7EYW2T1t06Yh9v+jHY3SaN83t4CIPn4RaXjwvqYJ+CFAXzrrpgt BuEb6eOo1RWge41W+Mj5gf/+YS2IF0KBvAVkOuzo0xcGXjciX0X9bgw0oq3rz4BiX3vw xGYJ+GANOquMmNza3H6WcLoPv5OCJvG64kCtIEiEGt44D6ybIGOG7M3gYTrqTsOjXOZi c9C2wWwhl2pY1xPeEtC92+xVXdJ8ZBiEao22J1OMR8DfFPxQkm2a+qoJNpFqmnGmgz/8 sTMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695452017; x=1696056817; h=mime-version:user-agent:message-id:date:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Qe2wwvqR88B9gxMoSiIxCot5PhxJaOMTDcLYlPwX+Os=; b=WmhM0RqWXGwz35Qe9ngJrjDNvart3g5RBmIME115C3fCTOW1ZK1tAy9b0rApWaS0ER 9Otf7g+AsFQXHYCxOCXdhNj4YW+w1+6WRdXh2enEhigmRpHrQWoVkIxxSHDiHKcBUE1p 8HAx+H2tLqdFO0msFQNG48qwt7G2LOELDjDWd7+3HAAWn8nPe8L/EH1GY/qUnrfpLSaR /A1Q4gsXBQo3DfmQ5n4WM1mraX+fmF5+FeVTRfx1AspcursWya93FTgerfwufekPi8gF 3RCjRdFcRJ7Td1hauQQj5KDqgX4wwGfGTlTVXX/ww2IsdFN0nJFysh03V/Wmhoa6RR+1 M7ig== X-Gm-Message-State: AOJu0YybpwLVCR3QNZ02ceTaZaO90iPJBEA0jq566epfUSG1BcYhzXI6 ZgsgcUCAx/O0Sr35EaR9JmxnbUfUbew= X-Google-Smtp-Source: AGHT+IGq94u+JiTLzoJ9QY3FRjTjl17KBvigiExyM0pWegf+pGwEJnn2tsYd8yqWIHNgMuFo51W1lA== X-Received: by 2002:a2e:9bcf:0:b0:2c0:26e1:275 with SMTP id w15-20020a2e9bcf000000b002c026e10275mr1160998ljj.21.1695452017173; Fri, 22 Sep 2023 23:53:37 -0700 (PDT) Original-Received: from ars3 (ip5f5ae941.dynamic.kabel-deutschland.de. [95.90.233.65]) by smtp.gmail.com with ESMTPSA id o16-20020a17090608d000b0098d2d219649sm3706288eje.174.2023.09.22.23.53.35 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Sep 2023 23:53:35 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::22e; envelope-from=arstoffel@gmail.com; helo=mail-lj1-x22e.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: 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:271135 Archived-At: In some buffer with a process, I get this result: (let ((proc (get-buffer-process (current-buffer)))) (process-put proc 'test 0) (cl-incf (process-get proc 'test)) ) => (test 1) I would expect of course to back just a number, as with a regular plist: (let ((place '(test 0))) (cl-incf (plist-get place 'test))) => 1 This happens because process-put doesn't follow the convention of returning VALUE. If it's too late to change that, perhaps process-get needs a special implementation as a generalized variable.