From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Colin Baxter Newsgroups: gmane.emacs.bugs Subject: bug#48179: bookmark-fontify [PATCH] Date: Thu, 06 May 2021 11:12:17 +0100 Message-ID: <87y2csdvcu.fsf@yandex.com> References: <20210503001358.mjafsjlumdamrlvh@E15-2016.optimum.net> <87zgxcdzh3.fsf@gnus.org> <20210503091204.qhc2tda76wh6345w@E15-2016.optimum.net> <87im40cgxz.fsf@gnus.org> <20210503095828.66mcqkxyznb2vdja@E15-2016.optimum.net> <87v97yan85.fsf@gnus.org> <87pmy5io91.fsf@bzg.fr> <20210505172508.doggiqhzlyibqhom@E15-2016.optimum.net> <8735v0w5fv.fsf@bzg.fr> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27222"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cc: , Lars Ingebrigtsen , Boruch Baum , 48179@debbugs.gnu.org To: Bastien Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu May 06 12:13:31 2021 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 1leb0c-0006vu-Rh for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 May 2021 12:13:30 +0200 Original-Received: from localhost ([::1]:45762 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1leb0b-0002FP-SE for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 May 2021 06:13:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51674) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1leb0G-0002D6-Ja for bug-gnu-emacs@gnu.org; Thu, 06 May 2021 06:13:10 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53891) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1leb0B-0000Z4-0W for bug-gnu-emacs@gnu.org; Thu, 06 May 2021 06:13:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1leb0A-0003zB-Rm for bug-gnu-emacs@gnu.org; Thu, 06 May 2021 06:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Colin Baxter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 May 2021 10:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48179 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch fixed Original-Received: via spool by 48179-submit@debbugs.gnu.org id=B48179.162029594915294 (code B ref 48179); Thu, 06 May 2021 10:13:02 +0000 Original-Received: (at 48179) by debbugs.gnu.org; 6 May 2021 10:12:29 +0000 Original-Received: from localhost ([127.0.0.1]:37202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leazd-0003yc-6M for submit@debbugs.gnu.org; Thu, 06 May 2021 06:12:29 -0400 Original-Received: from forward102o.mail.yandex.net ([37.140.190.182]:40486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1leaza-0003yW-N2 for 48179@debbugs.gnu.org; Thu, 06 May 2021 06:12:28 -0400 Original-Received: from iva7-b0912e7c43b6.qloud-c.yandex.net (iva7-b0912e7c43b6.qloud-c.yandex.net [IPv6:2a02:6b8:c0c:2e8e:0:640:b091:2e7c]) by forward102o.mail.yandex.net (Yandex) with ESMTP id 1B2B36681F1E; Thu, 6 May 2021 13:12:20 +0300 (MSK) Original-Received: from iva1-bc1861525829.qloud-c.yandex.net (iva1-bc1861525829.qloud-c.yandex.net [2a02:6b8:c0c:a0e:0:640:bc18:6152]) by iva7-b0912e7c43b6.qloud-c.yandex.net (mxback/Yandex) with ESMTP id M1iuznuDfr-CJJadlO9; Thu, 06 May 2021 13:12:20 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1620295940; bh=fG1dZs1De+3ox7BzoC+RZ5nqqr7NDDlqY8XIFNFtF44=; h=In-Reply-To:Subject:To:From:Message-ID:Cc:Cc:Date:References; b=H7GwXmYoN7hJzMEWWfClxjtS0Hwa/mqa2h5hvOXQxckYFP2JEIqTzZOQhlO59B6in W3wl8SQmtGHRoNnQlRymOaI2nJO95CIeNmf6haobjIeiSRenRTCKb9CUximS9DTbRx YGNkspkKKbuU0EbtgWRD154q12vtEF/3b8pZhOPs= Authentication-Results: iva7-b0912e7c43b6.qloud-c.yandex.net; dkim=pass header.i=@yandex.com Original-Received: by iva1-bc1861525829.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id N4ONTs1MfX-CILWYtGG; Thu, 06 May 2021 13:12:19 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) X-Face: BHjiJOg/Qmj'BQgsAKL@])L)e62P)C"Y=6T In-Reply-To: <8735v0w5fv.fsf@bzg.fr> (Bastien's message of "Thu, 06 May 2021 11:57:08 +0200") Face: iVBORw0KGgoAAAANSUhEUgAAAGQAAAAeBAMAAAAodabAAAAAB3RJTUUH1wQdAAY04/L8hgAA AAlwSFlzAAAewQAAHsEBw2lUUwAAAARnQU1BAACxjwv8YQUAAAASUExURc7OzpwAAAAAAP////8A AGNj/2aqqTQAAAA8SURBVHjaYzA2NnEBAmdj01D8wNgYpM7F2JiBgYFREAgEGJiU8AMGBpA6QaCG UVtGbRm1ZdSWUVsGjS0Aq20lJnMawnkAAAAASUVORK5CYII= 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" Xref: news.gmane.io gmane.emacs.bugs:205797 Archived-At: >>>>> Bastien writes: > Boruch Baum writes: >> What are the steps to reproduce this? I don't use those org >> features, so I would be starting at square one. > 1. C-x C-f test.org RET 2. C-c [ (to include test.org in the > agenda files) 3. Add this contents to the buffer: > * A headline to refile > * A headline where to refile it > 4. Put the point at the beginning of "A headline to refile" 5. C-c > C-w (or M-x org-refile RET) 6. Select "* A headline where to > refile it" > Now the refiled headline is fontified with bookmark-face because > Org adds a bookmark to help you go back to the refile location. >>> There is also dired and, of course, normal bookmarked files: I >>> guess some users may be really confused--at least those who >>> don't know to M-x customize-face RET at point to guess what this >>> is all about. >> >> I don't understand the confusion scenario. The scenario I imagine >> is: >> >> a) User navigates POINT to location of desired bookmark > I would say that the confusion arises because > 1. The user does not do anything regarding bookmarking > 2. The buffer get fontified but he does not know why > 3. The user cannot guess why it has been fontified because he does > not know to M-x customize-face RET >> I understand the current emacs policy is not to surprise anyone >> with new behavior, so I expect Eli Zaretskii would insist it be >> off by default. > I don't insist on anything. > I'm open to turning org-capture-bookmark to nil by default in Org > to solve the issue for Org. > But again, this is not just Org. I think many people have > bookmarks they don't even remember, e.g. in dired buffers. If > they see such a fontified file in dired, they will just wonder > what happened. > My suggestion would be to interactively ask the user to customize > bookmarks-fontify on the first C-x r m hit, so that he knows > what's in there for him. Good idea +1. Colin