From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: miha@kamnitnik.top Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] lisp/bookmark.el: make bookmark-fontify nil by default Date: Tue, 14 Sep 2021 13:52:27 +0200 Message-ID: <87fsu71iis.fsf@miha-pc> References: <1df50c0d035675f851387d689030d588@purelymail.com> <87k0nw1qaq.fsf@red-bean.com> <878s4cf74z.fsf@gnus.org> <871r5semh0.fsf@gnus.org> <87v934tgi0.fsf@gmail.com> <87lf3zwgpi.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18960"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Karl Fogel , Eli Zaretskii , "Paul W. Rankin" , Stefan Kangas , "Paul W. Rankin via Emacs development discussions." To: Lars Ingebrigtsen , Matthias Meulien Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 14 14:57:47 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 1mQ80Q-0004eg-KV for ged-emacs-devel@m.gmane-mx.org; Tue, 14 Sep 2021 14:57:46 +0200 Original-Received: from localhost ([::1]:43486 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mQ80O-000278-G1 for ged-emacs-devel@m.gmane-mx.org; Tue, 14 Sep 2021 08:57:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44760) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQ6wH-0001lV-I2 for emacs-devel@gnu.org; Tue, 14 Sep 2021 07:49:25 -0400 Original-Received: from kamnitnik.top ([2001:19f0:5001:bf2:5400:2ff:fee0:2626]:36812 helo=mail.kamnitnik.top) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mQ6wF-0005H7-A8; Tue, 14 Sep 2021 07:49:25 -0400 Original-Received: from localhost (unknown [IPv6:2a00:ee2:e04:9300:e18:5d33:4bd1:d3a4]) by mail.kamnitnik.top (Postfix) with ESMTPSA id 082859C6F7; Tue, 14 Sep 2021 11:49:18 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kamnitnik.top; s=mail; t=1631620159; bh=CtePl1tr9zKWownF7ehz09myzK8r1FsoYTqlWpF/qmM=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=s8NTrwCnUzLS7+rZTVc022afZoYN1Sc5A/zcNMw98ViAf1sahuRyQVpZ+VeMW1uK1 UPfY4oyt4NcHQpv7X0FfeObwGpeeFGwy7DoMoeQVKYmrSkj8K0wj9RgYpMm93SYl53 hmlvXQyGHVZxBRjsh54ONi8184Z3eyIUvlyS9xxLV7/HEgdPb8Hh2g4cK9KFuhH1s2 jv5CzRVOIqRzPZ9Q/NZ9Ydt40j/1CpRobcftx3zzf36//3LOG39F9PF2DKXfN3H44t RUlcn7rD98SBmAURgWTt6wzJU7HfMXI37pYNsw8WXRqFfFLGpSG4Ai9PKW3QoQMuMI HSsemJdj/BAnA== In-Reply-To: <87lf3zwgpi.fsf@gnus.org> Received-SPF: pass client-ip=2001:19f0:5001:bf2:5400:2ff:fee0:2626; envelope-from=miha@kamnitnik.top; helo=mail.kamnitnik.top X-Spam_score_int: 4 X-Spam_score: 0.4 X-Spam_bar: / X-Spam_report: (0.4 / 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, FROM_SUSPICIOUS_NTLD=0.499, PDS_OTHER_BAD_TLD=1.999, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 14 Sep 2021 08:55:13 -0400 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:274695 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Lars Ingebrigtsen writes: > Matthias Meulien writes: > >> See the following attachment where two bookmark-fringe-mark are >> visible in the fringe (I just opened multiple bookmarks to *vc-dir* >> buffers where one bookmark doesn't point to the first line of the >> buffer): > > So the problem seems to be that a `revert-buffer' doesn't keep overlays > where they were, I guess? (Or remove the overlays, at least.) > > Do we have some machinery to handle overlays like this, or conventions > about what to do with overlays when doing a `revert-buffer' actions? IMO, the responsibility of code that creates overlays is to clean them up in change-major-mode-hook. > > --=20 > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJHBAEBCAAxFiEEmxVnesoT5rQXvVXnswkaGpIVmT8FAmFAjPsTHG1paGFAa2Ft bml0bmlrLnRvcAAKCRCzCRoakhWZPxGZEAC/Xk5d8Qzrd3m7XSNqRukjItXEyro2 wS25uxIxD+KD0p4W4YR/5nHiG372dE/qbAs/iX+1aR8sVxqUFs2uT7gXn2F6MLtg 8jcEVEK/Zi1iWrkfK5gUC7mPxKetv8PBYUe6zGJBeFTf44Lonn1YWZPhb1LK/Ski nKzF/YKN2OczIlUSSNVY50HRe+T2Oyya13iYG9v+VP8e0y4s5nrvvrKPKEGW3E80 iZ304NWgpcqJTOSV/eUXclDatR17d3BRl+C71cZdtwkbOA9dC9pzkqjI3T/Qzp2f eSNz9jTJzprLpB0rLxxUTWRS28VCpTRGj4DnDugJGUeAb+XL9BhQwdh1ZdpFixXw bSmO05991HyeRPJ8Q/FYPRJCi8ZbW5965FA/+I9eep6Qun64HUMGRZgX1WzrLuVS xGmR4Es1hhb7RukXHdVP+XxaOlQKaooDKiNPN//Z3KQGLGUXR1fSV+rtSBwyTA2p 2UV2D35iNL5OhGqhI37N9aOnF1aPXzcT0tQznbNKPgyAqujOVgJ7xQ3y7URB4o/P 7q2vtwUqBD77Y9Mf/s2+RspRTXt9CutrwwQgtwcOClBOyO37kdKknvyA9En9t480 TtGulWVtc10JRZdj8m8yk/ngWczboZEnT1F820MtjPSMkjK99W5nDDUR741GU6gr 0P8llM7FCsF3IA== =B0Ug -----END PGP SIGNATURE----- --=-=-=--