From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#48179: [External] : bug#48179: bookmark-fontify [PATCH] Date: Sat, 8 May 2021 00:25:40 +0000 Message-ID: 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> <87a6p8fdrq.fsf@yandex.com> <87o8do1bs2.fsf@gnus.org> <20210506102416.u2ykzjtwffbfveis@E15-2016.optimum.net> <87tungdtr2.fsf@yandex.com> <8735uyvldl.fsf@gnus.org> <87mtt6slam.fsf@yandex.com> <87im3us7lu.fsf@yandex.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="830"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Bastien , Lars Ingebrigtsen , Boruch Baum , "48179@debbugs.gnu.org" <48179@debbugs.gnu.org> To: Colin Baxter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat May 08 02:26:16 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 1lfAnQ-00005x-B9 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 08 May 2021 02:26:16 +0200 Original-Received: from localhost ([::1]:40242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lfAnO-0006LB-EG for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 May 2021 20:26:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59172) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lfAnC-0006Kj-Gd for bug-gnu-emacs@gnu.org; Fri, 07 May 2021 20:26:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35197) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lfAnC-0002ix-8R for bug-gnu-emacs@gnu.org; Fri, 07 May 2021 20:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lfAnC-0005K0-4x for bug-gnu-emacs@gnu.org; Fri, 07 May 2021 20:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 May 2021 00:26: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.162043355620450 (code B ref 48179); Sat, 08 May 2021 00:26:02 +0000 Original-Received: (at 48179) by debbugs.gnu.org; 8 May 2021 00:25:56 +0000 Original-Received: from localhost ([127.0.0.1]:46742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfAn5-0005Jm-LF for submit@debbugs.gnu.org; Fri, 07 May 2021 20:25:55 -0400 Original-Received: from userp2130.oracle.com ([156.151.31.86]:50494) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lfAn0-0005Je-Dn for 48179@debbugs.gnu.org; Fri, 07 May 2021 20:25:54 -0400 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 1480K61d004964; Sat, 8 May 2021 00:25:44 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2020-01-29; bh=l7Y9TkGxSk6tNQjuwzQPR0W65o5b+jSBWG+5hAylzy0=; b=Bl+h7xcrgk/+cgr6i+5TyUG/L+n/04xdCHW1RvqZ6PHC2xBeY2GlyWTc3xTcj5YzRw8D mpHO/LcYyO3Vpyf77YLMMNsWiOzldJDT6dadSqZDZQU8MhP5+7HezxVI5HX6yx/vSKY5 g8+US7aRklZu/44FD4J8eSRm0ICygG03+e7CJBzeaINRpXZPkpxOH+Gcxwt/jS2V5pH0 uY5GoYCQRB7KjCe+OvWCsW3E3ZLzvpBiB9IiU44fiNEFg1O3zsgqS49h1fkgGeStURRF P4+kuMT4McKSG0TiuGNdOX36mxfmUW68o627/IzjGd3bktU6jeaIF0Dstgs5fhrKyBFv mQ== Original-Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by userp2130.oracle.com with ESMTP id 38ctd8b24v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 08 May 2021 00:25:44 +0000 Original-Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 1480Lbl6148216; Sat, 8 May 2021 00:25:44 GMT Original-Received: from nam02-bl2-obe.outbound.protection.outlook.com (mail-bl2nam02lp2052.outbound.protection.outlook.com [104.47.38.52]) by userp3030.oracle.com with ESMTP id 38dfrrgee9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 08 May 2021 00:25:43 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=b7WILomQdYrJPc5svo32m5XXNKD+jyfB+6f8u3w1MMK4sEFSGP6Dwu/GU7D/QUkrocKcaZYcWCYN2KhgZvTx/NIQU9rljpsYnZFG7jXQu00IbPzCTJn1A3xe0Cpy0uQR0s8rn9PwvJrEeX6bGr8JNQa4NvS+fNmTFHcWVY3V4+sI0SprVZT/UOPPNj5yBvcf1PP0gFVtFRjqGK64EMc1lcvOTF8aZ8oMGVPp7QbY0eyxmd7HW1hZZex4x5c9XyZfNk400Pfitu45biOjk82X48CG/fMaI5mb9LepmrCf7JGfnBKm/6H8iAkqUZ54TDahvvodkBPP5IKwcbqJjfjatA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=l7Y9TkGxSk6tNQjuwzQPR0W65o5b+jSBWG+5hAylzy0=; b=mdNX3IEkkwwLlnswIgX8JVyPpKgRTnFhM991fnaE2LbJxOpVBJQLoW72MaEpW8uQq1IbFYcx2rXAkNZURebhX+nZrvJmH0K/4YHvxbVaU2jSkaFyAXXnbsKBr5D2311iF7kFvyzAaK4uAXV8TSzaGir9mKWYib5EaVLGxxbdjgrn4LuQOgP7/Z3C+4hjj8kNFbnpEhvipZcs7kbEcdRuonMF3CWt8YGGYkwj4AUL7Tdj9ipbSrHuSEERyR5ejm01Tg+XQIX1ny12Bydkdul8Lm+V5gaaIvdHU19jk6kx0C55D5Pp+MQQF7ur2/cctL82irCnyqYcHp8EkeaQw4Ps9g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=l7Y9TkGxSk6tNQjuwzQPR0W65o5b+jSBWG+5hAylzy0=; b=jwstnWXzWjOTwzBDUYjU2hr+vvJHsXAeIxnwyPO1kVIC0pM9NmSHvEMsrRUZIFfDQMZzgv1wxDDv54B9SmPdSnD4MS/RP48SFrLk3ShLdNxx5rn8c2lLKbU6LoVJxz3ahDqtkmZxGZVcCbJ7WMwh5u3Fi87z2vabWMx++3ChbjU= Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com (2603:10b6:806:11b::15) by SN6PR10MB2639.namprd10.prod.outlook.com (2603:10b6:805:40::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.27; Sat, 8 May 2021 00:25:40 +0000 Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::2109:9725:fd4a:6494]) by SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::2109:9725:fd4a:6494%6]) with mapi id 15.20.4087.044; Sat, 8 May 2021 00:25:40 +0000 Thread-Topic: [External] : bug#48179: bookmark-fontify [PATCH] Thread-Index: AQHXQ3GRomYyqQOV2EqYXtYd30AHsKrYrhsQ In-Reply-To: <87im3us7lu.fsf@yandex.com> Accept-Language: en-US Content-Language: en-US authentication-results: yandex.com; dkim=none (message not signed) header.d=none;yandex.com; dmarc=none action=none header.from=oracle.com; x-originating-ip: [73.170.83.28] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 12bbfef3-95f4-4fdf-d9de-08d911b7cf7e x-ms-traffictypediagnostic: SN6PR10MB2639: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: yzCpNKQpAN73mIJJa4gYmyoTb9VJRI9+ENGVj2B7WM5DnxljylBNW9BF61D/CXNkxp/4ZbDrQrde9q7x9Y2/EsJRXS7pAagxybMcnkQOLrRSRKhyOJQhUSGHsMTUQDy5doTKeGrZiGZ08QIR1ia3F+z+KvgIOJA9PMsbdzz30Gf2RmPqXiAThT00Dciq9Ow6xXkvQ4YqEqw3FM55279jZe0Nv6MQGwN2XkVHwcjh2Zfh0AKRtqlI2ihANq6hiaXn8ONX0nBXYRoqCgFL1G9Xo5ZV1CkmUqq4pIO43VcfFMkoFuvq60u3963WPsS/zt4JJcvw/vRME9NZ+9ZxAeOH0Sgz7VIOuSUpCyrX+Bzn13G7BmnFwLFOHUGr0zFrnU08zbZ8HTfD9ievA6pUx3BSbtEhaFJ1obVBmM3iFiYCpaPODRa9kWzewVPiX2N20MBTf4p04h0fHVPaYPxMm3eHkV4fDGo7APOJYheA6Yj3mV4N2/g9e5iYVnkHuOUxnxlxOEJQTYnX8A/mMSj3LnfKFzfo/uF2fJxhMevOJjNidIf12vAPo/7cHzU/ALfbjOlOI7DmNPrqluKVmT1rnWwIS/WIic9+xa2kHegbjzE2l1I= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA2PR10MB4474.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(39860400002)(366004)(346002)(396003)(136003)(376002)(83380400001)(33656002)(316002)(44832011)(5660300002)(64756008)(7696005)(71200400001)(76116006)(52536014)(66946007)(66556008)(66446008)(66476007)(86362001)(26005)(54906003)(6916009)(2906002)(186003)(4326008)(122000001)(478600001)(8936002)(8676002)(38100700002)(55016002)(9686003)(6506007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: j5AGNZUq637VDkyRFFT8qANgyiXIiuRXfQ23JpPAMHEEfq/V2PrdCbiAI2zUNSk4N9R7awHaMQkc8527dYlYYaHLnznJXPOOfvk27Rm7KOMnfrjjaPeZ0+VXPfidect4EdAVKPZIyENvs9W7H9TrxrVzQLK41m1Gq+KB74xdvoklr3nEyL25VcYQnJiEx8q2lDO5CWQEXKbnYz/X+cOVtk3jBk0I8m/bcpI6cM2jvrOrbIHevC9xeT/19C8llyq8hn+fJc/OyFy6L4k6Qr1kEG+H1orE0qIV/3CGvG5UiAxtYiZQ4UFHSMwVpGR9zYma+LhduDhYTNBke+R7i1v77+8clK9IGEOM7/jFbZpbFo+Pg7OKxHSLQvb2+N/5pPLr384hXzYZNta+ow2q2KwER1epv53zVbAA80MgFJ0/ShCwNE7B9ruMpGwaLDMO72vOLjTz4HmFpM8mM1q1b94Id2Q2RZGRXRuB80KVniKQxhN8SPy2Y8oLNuYnzv13Y1ugFxPpC45kLL7/IBbfNqCsWjjRiHHgaXkylxu5QCCjN+ugctAS7+XLKciiSYpoOrGBD67oCRoItyJRE5V+bJxnIwySFC9RbAzDYK+A+CyLPsmlupT02MzZt/lBodGjiLNgQwQp+Nz+IrdZ/vcyBDHznN1AexE/idulAKIBU23+XL4WXBWc+GkIu4/3rsgOrIV91TANbnZTRiVZMr4OuEose/AFC9WVmTh7I65QnXwIS7DshZEzu6frQqdsgIrM h1xznoO5tqjc2aRNjSADqAwSrfeBdZWIBf2ziJc6fObcu66hsANu4tqiOEQTNscvSwY3dTL+qurjrsXYDzxvW45I1zR/50ZeEQ x-ms-exchange-transport-forked: True X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA2PR10MB4474.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 12bbfef3-95f4-4fdf-d9de-08d911b7cf7e X-MS-Exchange-CrossTenant-originalarrivaltime: 08 May 2021 00:25:40.6255 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: WUZlsLzvP/87JbXmQvrWkO0yxMns8MAwaqc0kf56WkPXgDjBSVqSW/sgsdC23oQ1GYAObVUYDq5JdnpUHHiT+w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR10MB2639 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9977 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 phishscore=0 adultscore=0 bulkscore=0 mlxscore=0 suspectscore=0 malwarescore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2105080000 X-Proofpoint-GUID: B0rg4zm66HOsOxPvP5ieToitBqQUpyjg X-Proofpoint-ORIG-GUID: B0rg4zm66HOsOxPvP5ieToitBqQUpyjg X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=9977 signatures=668683 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 mlxscore=0 adultscore=0 clxscore=1015 spamscore=0 mlxlogscore=999 priorityscore=1501 lowpriorityscore=0 phishscore=0 suspectscore=0 impostorscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2105080000 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:205967 Archived-At: > >> It seems to me that all the bookmarks, bm, built-in (including > >> emacs-28), bookmark+, have disadvantages. Personally, I would use > >> bookmark+ if were not for the fact that it writes unprompted to > >> ~/.emacs. >=20 > > I don't know what you mean by that. Could you elaborate? >=20 > > 1. It never writes to ~/.emacs, unless you've defined that as the > > bookmark file you want to write to. >=20 > Well I can only say what I saw, and bookmark+ did indeed write to > custom-set-variables. It may be that something in ~/.emacs triggered it, > but I don't intend to pursue the matter further. (I mistakenly thought you meant that it writes your _bookmarks_ to your init file.) But I think I know what you might be referring to. And it's a good point. When your bookmarks are saved, if option `bmkp-last-as-first-bookmark-file' is non-nil then its value is updated to the current bookmark file. Likewise, when you load a bookmark file with overwriting (i.e. you switch bookmark files), if that option is non-nil then it's updated to reflect the new bookmark file. You can customize that option, but it's also updated when you save bookmarks or switch bookmark files. So it's a particular kind of user option. The doc string tells you about this unusual behavior (in the "NOTE" part): `bmkp-last-as-first-bookmark-file': Whether to use the last-used bookmark file as the first used. If nil then Emacs always uses the value of `bookmark-default-file' as the initial bookmark file, in any given session. If non-nil, Emacs uses the last bookmark file you used, in the=20 last Emacs session. If none was recorded then it uses `bookmark-default-file'. The particular non-nil value must be an absolute file name (possibly containing `~') - it is not expanded). NOTE: A non-nil option value is overwritten by Bookmark+, so that ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ it becomes the last-used bookmark file. A nil value is never overwritten. You can customize this variable. This is a feature (i.e., by design), not a bug. But if you customize it to nil then Bookmark+ should never update your init file with its new value. ___ [It's really unrelated, but I recommend using a separate `custom-file', and thus not letting Customize (or code like what I just mentioned) fiddle with your init file. Code written by code is better off relegated to a different file from one you write code in.]