From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: MPS: is_mps is gone Date: Sat, 29 Jun 2024 18:54:44 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5743"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Helmut Eller , Eli Zaretskii To: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jun 29 18:55:45 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 1sNbMX-0001PW-L1 for ged-emacs-devel@m.gmane-mx.org; Sat, 29 Jun 2024 18:55:45 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sNbLe-0006Di-J6; Sat, 29 Jun 2024 12:54:50 -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 1sNbLd-0006DU-Hd for emacs-devel@gnu.org; Sat, 29 Jun 2024 12:54:49 -0400 Original-Received: from mail-ej1-x633.google.com ([2a00:1450:4864:20::633]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sNbLb-0001mD-Uz; Sat, 29 Jun 2024 12:54:49 -0400 Original-Received: by mail-ej1-x633.google.com with SMTP id a640c23a62f3a-a724598cfe3so193833666b.1; Sat, 29 Jun 2024 09:54:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719680086; x=1720284886; darn=gnu.org; h=mime-version:user-agent:message-id:date:subject:cc:to:from:from:to :cc:subject:date:message-id:reply-to; bh=3RLnOEWj/ATMifu0+wEzr7GQP7Nz22AKWJafFT4w3xc=; b=X7MlrnB/YB3jW4PZ6fU2WZA30t4pzdYmnx1m2/ahQPIAdZKXRbJz8P5d7/yvdYvJpg 7nrplb7L/1dcE8a/ShRnh760yfOWmtGiWIEbA2mqYSUjwuCpbH/i+wGVKBYp5TWMW94Q OXDne4n8v6IB2HAL7F4fEAP4oYzt/2xD5bjwg/feowWZcVYnDtxYBZw5onff4MDp5Y2d oCIPhBeoZsg1PvfC4oNkc5GwO4NxoocqQlolJf3QrAyTfyiHD91aCXh+5DCmPBcbb/by haDeH+HGTK6B68zSHQZfbl+Mwh+gqDEmQJrAK+oW/aOwRnMt7t9SaJWWb7X0gmZH6adc UxzA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719680086; x=1720284886; h=mime-version:user-agent:message-id:date:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=3RLnOEWj/ATMifu0+wEzr7GQP7Nz22AKWJafFT4w3xc=; b=S2MX7vf3MZcunaRVHvJgugHdeN6Pe7MJUaaQ3W1AXjMBO51e847vZGkVXCik5oV4Jq AWJvxQ+8KgPcj6ZR419zYUjA38MWGCKpbtyEx0t0Hnq09z5c+HenQUzl+lTUz08ZFH5D TmlbjumPVD8+kiHti+n0U1Zc01hbdI1YHyoztOb+Yj+FCptgG4COGhrq/lONOj0Ebz2E f/LttVa7qJcUZJ1+DIAtffzs4sQwBnIdtyDaEwDDDbWZv3ttC1yCKfvMdo8APRPQHWNQ o5PjrR4XTV/aWx/veS9gg2o+P0VAllDoryq6SubSag0GHiIwzssqTHMcMTwEjYbYflqx SzWQ== X-Forwarded-Encrypted: i=1; AJvYcCUzNCtbcHkQ1nVDsjZt2cdM+7r4euNcDUQzJSUFU+Taz6LGBxwZfiqyH+yJXT15W5MGn3vfxW2NNqT7EFc= X-Gm-Message-State: AOJu0Yyragub+s3eyzKSMfEJB4IlB2GXjra/XslR8AHycstFRqN62PDa 3Ztv7QxVNlx5UhrA7lDDZ+gd22KwMlOUSfcUj/YY3OacO69O0XyN9CKOJg== X-Google-Smtp-Source: AGHT+IG+x5at8AKhH8J1pNYRtbUSJ5tSAUksk1g7kgaSnfjb32gfIeKZf0pxYFU3Pv/NCQp9UYZAAg== X-Received: by 2002:a17:906:ae58:b0:a6f:ddb3:bf2b with SMTP id a640c23a62f3a-a751449f19bmr97192366b.41.1719680085617; Sat, 29 Jun 2024 09:54:45 -0700 (PDT) Original-Received: from pro2.fritz.box (pd9e36598.dip0.t-ipconnect.de. [217.227.101.152]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a73e52c2cb5sm83870266b.16.2024.06.29.09.54.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Jun 2024 09:54:45 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::633; envelope-from=gerd.moellmann@gmail.com; helo=mail-ej1-x633.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:320866 Archived-At: I've just made a pretty basic change, so if you encounter new problems it could be this: igc.c used to have a function is_mps that returned true if an address was in MPS. But, this was an ugly approximationm - it could return false positives because the MPS API functioh for that was too expensive for where is_mps was used. I've now replaced this with a function has_header which returns true if a client object has an igc_header, which is considered to be the case if it isn't a built-in object in the data segment. And telling if something is a built-in object is exact, no false positives.