From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: bug#30204: 27.0.50; Changing major mode resets non-default invisibility spec Date: Sun, 10 Oct 2021 12:06:49 -0400 Message-ID: References: <87lf55cxvj.fsf@gnus.org> <97574057-8212-4812-93CF-0C2EC7EA8B39@gmail.com> <87ilzfo13i.fsf@gnus.org> <83wnnvtlgn.fsf@gnu.org> <87zgsrmk75.fsf@gnus.org> <87o8825snj.fsf@gnus.org> <87lf34qxoq.fsf@gnus.org> <87bl3yv551.fsf@gmail.com> <87lf32pi66.fsf@gnus.org> <877demv48h.fsf@gmail.com> <87r1cuo2sy.fsf@gnus.org> <87v924uazv.fsf@gmail.com> 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="3664"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Lars Ingebrigtsen , p.stephani2@gmail.com, Richard Stallman , emacs-devel@gnu.org To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 10 18:07:59 2021 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 1mZbMk-0000ig-KY for ged-emacs-devel@m.gmane-mx.org; Sun, 10 Oct 2021 18:07:58 +0200 Original-Received: from localhost ([::1]:39160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mZbMi-0007He-OW for ged-emacs-devel@m.gmane-mx.org; Sun, 10 Oct 2021 12:07:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39282) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZbLm-0006UM-8w for emacs-devel@gnu.org; Sun, 10 Oct 2021 12:06:58 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:30821) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mZbLj-0000UG-28; Sun, 10 Oct 2021 12:06:56 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 5087710038B; Sun, 10 Oct 2021 12:06:51 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 242ED1000C9; Sun, 10 Oct 2021 12:06:50 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1633882010; bh=3nvZ5J1drncrEWqgF/1jJUM++k+o1SUYmDc5Zg7F+Lo=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=WQAg9iUvJKqFQ4XyDENw4sjCWF9+rQPJrKnQBP1Y5+y/mc6mm9uiTcxlLjKfc+sb7 I2IyuvabNv7R/bdi+D2bBiwUUfpez0+r55zNHJ3I97EIQFYiSsxwD5YGf0TbOpYYPj PjFBRCDBLi7A8bpcuuvLgm3+23gU4TluIRjeYFvhmRJDEgYC3ll2O7axyyqnIpsApc ppvx04Ty9TptLckbqhmjvzudBfDXUsxbvv0fM2RKYDRfwQfUtuI59UmiJzKwlp/pur DVorpPCGDsUvNcw/qkdYHyW1NC/1xEce9srVr2qgLYT+NgcveFwVfmD57n46q85hHE z9dsLzT6Iw9nQ== Original-Received: from pastel (unknown [45.72.241.23]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id CA0791201DA; Sun, 10 Oct 2021 12:06:49 -0400 (EDT) In-Reply-To: <87v924uazv.fsf@gmail.com> (Robert Pluim's message of "Sun, 10 Oct 2021 17:59:16 +0200") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, 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.23 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" Xref: news.gmane.io gmane.emacs.devel:276675 Archived-At: Robert Pluim [2021-10-10 17:59:16] wrote: > [redirecting to emacs-devel] >>>>>> On Sat, 09 Oct 2021 13:28:13 +0200, Lars Ingebrigtsen said: > Lars> Robert Pluim writes: > >> Doesn=CA=BCt `filter-buffer-substring' only work if I=CA=BCm yanki= ng from one > >> buffer to another? What if I=CA=BCm yanking the X selection? > Lars> Then you have... er... interprogram-paste-function and friend= s. :-/ > Hmm, they look kind of internal. I guess I could 'advice' them. Depending on what you want to do, you might prefer to add a method to `gui-backend-get-selection`. Stefan