From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#60328: 30.0.50; [PATCH] Replace newsticker--lists-intersect-p. Date: Fri, 1 Sep 2023 21:55:39 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5768"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60328@debbugs.gnu.org, Ulf Jasper To: LdBeth Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 01 21:57:12 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 1qcAGV-0001Ei-0k for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 01 Sep 2023 21:57:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qcAGM-0007kl-F3; Fri, 01 Sep 2023 15:57:02 -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 1qcAGL-0007kH-Bs for bug-gnu-emacs@gnu.org; Fri, 01 Sep 2023 15:57:01 -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 1qcAGD-0006oF-4q for bug-gnu-emacs@gnu.org; Fri, 01 Sep 2023 15:56:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qcAGM-0004R3-E5 for bug-gnu-emacs@gnu.org; Fri, 01 Sep 2023 15:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Sep 2023 19:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60328 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 60328-submit@debbugs.gnu.org id=B60328.169359816916973 (code B ref 60328); Fri, 01 Sep 2023 19:57:02 +0000 Original-Received: (at 60328) by debbugs.gnu.org; 1 Sep 2023 19:56:09 +0000 Original-Received: from localhost ([127.0.0.1]:34029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcAFU-0004Pg-Ma for submit@debbugs.gnu.org; Fri, 01 Sep 2023 15:56:09 -0400 Original-Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]:56563) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcAFR-0004Oy-UH for 60328@debbugs.gnu.org; Fri, 01 Sep 2023 15:56:07 -0400 Original-Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-500a8b2b73eso4004050e87.0 for <60328@debbugs.gnu.org>; Fri, 01 Sep 2023 12:55:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693598151; x=1694202951; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ZUebC/2tJ65ku/lF2Pv+XZhCDarbA0f0lJZX2Y89qEo=; b=o72BAkv0ozsXB5Q3IacgEz8eh77xV+Y7SXZ8Jn2j1zxdpjbqCYuo9q7D+9NtLQ+OOh 8qrneuGPiilO12EBXNYedKHGaOhGPQXf894tYHRVXJzoRzuBlH7opj1CLg7AGO4nl44Y XjCuufi5zAvzXEHJVShUJ2uzsuHBPRPEhFGg8IQ7iu9Xf1yDyt7D/Y16gCTYKSZeapJm 4ij3dMqkMjzx7oqK7+6Z3GCLSNmcQ1R+b2PLdkJTyEu2VIG4fIqIv/C2xXhf4hMzq5Ow 3YQSVprxBQ31EhBZDh5VO1wopSS/dET+99gSsNKaXSOAyx1Cebiet3CsZI0fjsUJ6Pcq L4mQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693598151; x=1694202951; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZUebC/2tJ65ku/lF2Pv+XZhCDarbA0f0lJZX2Y89qEo=; b=i3UnSbz5rMxISRDUe8w/u/uZrHdwuGAFY+WmvazPiGN5FHEjo+z4ZaR4Y8BWtQ3ML9 3yabKCJQBDyzg8P3OnlHHMXRHNjXzaGxJ8Y4XVhhXOboMagzBTI1kbEqnQjZzSlM5F5H jrKBq1Xg2dn82DZFFuhDiYI2QYSqjpVKZasOXnw4txBlsd3T8GLEn150kUce57D/dt7g W7mJDIj50bhJ00T/cvcsoOD4KWz4F914otwt5044SdBsD2jv/SU6x2kYHM9K8+OqjGVb BUjB7asJdwJuSezUyqXrWzMC/27SSL46khsPuYQurTXk5Rgg4htpTEcLvtIe/LsmPess WmqA== X-Gm-Message-State: AOJu0YyMNHeWarm2Is+sltwrjou7caitEZmd2LCNOoaeNp04jg0IeSSM 7A6EqSEsUu/C6wJI1K6plVYKQrfbFbzVO/uDfsI= X-Google-Smtp-Source: AGHT+IE6qI5MkSJt+UVhgE+PtBxUQRU45NQ34ndiRMqLv4UkXk/mciz3KsUNJYdFxgycuxIXYYaL/BE2fDRqudUqeGQ= X-Received: by 2002:a05:6512:2087:b0:4fe:a2c:24b0 with SMTP id t7-20020a056512208700b004fe0a2c24b0mr2084758lfr.26.1693598150606; Fri, 01 Sep 2023 12:55:50 -0700 (PDT) In-Reply-To: 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:268916 Archived-At: LdBeth writes: > All the patterns that calls `newsticker--lists-intersect-p' in > lisp/net/newst-plainview.el like: > > (newsticker--lists-intersect-p > (get-text-property (point) 'invisible) > buffer-invisibility-spec) > > Can be replace by `(invisible-p (point))' accordingly to reduce > boilerplate. > > This patch would also remove the definition of > `newsticker--lists-intersect-p' from lisp/net/newst-backend.el > since is it not referenced elsewhere. Ulf, do you have any comments on this patch?