From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Howard Newsgroups: gmane.emacs.devel Subject: Re: [External] : Re: Bookmarks in registers Date: Thu, 8 Jun 2023 07:41:26 -0800 Message-ID: References: <87a5xalag4.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9298"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Philip Kaludercic , "emacs-devel@gnu.org" To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jun 08 17:42:35 2023 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 1q7HmU-0002Cv-TB for ged-emacs-devel@m.gmane-mx.org; Thu, 08 Jun 2023 17:42:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q7Hlf-0004AU-UH; Thu, 08 Jun 2023 11:41:44 -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 1q7Hla-0004A8-PP for emacs-devel@gnu.org; Thu, 08 Jun 2023 11:41:38 -0400 Original-Received: from mx.kolabnow.com ([212.103.80.155]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q7HlY-0005Sp-JR for emacs-devel@gnu.org; Thu, 08 Jun 2023 11:41:38 -0400 Original-Received: from localhost (unknown [127.0.0.1]) by mx.kolabnow.com (Postfix) with ESMTP id 1D677E45; Thu, 8 Jun 2023 17:41:34 +0200 (CEST) Authentication-Results: ext-mx-out001.mykolab.com (amavisd-new); dkim=pass (4096-bit key) reason="pass (just generated, assumed good)" header.d=kolabnow.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kolabnow.com; h= in-reply-to:content-transfer-encoding:content-disposition :content-type:content-type:mime-version:references:message-id :subject:subject:from:from:date:date:received:received:received; s=dkim20160331; t=1686238893; x=1688053294; bh=h4dhEU7lF3Ryco4O LUi4BoYxBd/Lu48okA1Q2I1skAs=; b=xKH5yfN4iIY+k30luAcT9rwIKaiHC+f/ okqzJHWyzu7iulF6C5q5UekC0pu+PqWCUTs4J2hUgMG5AkOIdQ9Q0XVDoxflXv+y k965jAAlibhoRPgXYoD+8t4Xi1N9VHy7HdAI9sNs8Lcq8LQCZrXmHQIEx23ZwZBH K5/YUncw70/kQG0YA3PSoVCVgDyHkoGYNt9GP5EZkhIkgM8jMvUvJrarzWzos0bJ xmUel3hD6d9utnZwN+VdR/cIjexJ7cXUyRlO49TXGlFZBc+o9LKkiGTMZLuEeo5w 68wAVWDoi0PfgP/y3jL+BwZ8L8Uqtd1M1rtN6qgO5OB+tqSmnNMB5YdB8g441o92 t1C7rPzL6dlHmOY+HW52ho6fKC7KadbIvfWv9HSHQu3yVzlaLHTnpxmqJ38S4wkJ Jk8xkFTBJNKOgUpDq0VdKLrNfxGU6wphYhZvoPTcFa9nyJnUfIJV8j4eDBvBnHES CIIiHzQ491W6dxoQhNND0zmAyk2fBh1Mni8Lhldw0id6H X-Virus-Scanned: amavisd-new at mykolab.com Original-Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out001.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x-4ZTdnf8fC7; Thu, 8 Jun 2023 17:41:33 +0200 (CEST) Original-Received: from int-mx002.mykolab.com (unknown [10.9.13.2]) by mx.kolabnow.com (Postfix) with ESMTPS id 6BDB7A7E; Thu, 8 Jun 2023 17:41:31 +0200 (CEST) Original-Received: from ext-subm003.mykolab.com (unknown [10.9.6.3]) by int-mx002.mykolab.com (Postfix) with ESMTPS id 892572655; Thu, 8 Jun 2023 17:41:31 +0200 (CEST) Content-Disposition: inline In-Reply-To: Autocrypt: addr=christopher@librehacker.com; prefer-encrypt=mutual; keydata= mDMEZEqk5BYJKwYBBAHaRw8BAQdAE/Dh4NUrMO5mxlZwV1H0X6DKaISWC/G5ws7voqpK6Xa0MEN ocmlzdG9waGVyIEhvd2FyZCA8Y2hyaXN0b3BoZXJAbGlicmVoYWNrZXIuY29tPoiQBBMWCAA4Fi EEMeL/OZnSMyOqPiAnGsX8bo2P8gwFAmRKpOQCGwMFCwkIBwIGFQoJCAsCBBYCAwECHgECF4AAC gkQGsX8bo2P8gxyYgEA/ioHjyd0Bm3+YyW/vOLJZkDg1xx//zN9803Oayahz/gBAKwtHu69sqFZ /upw6mmyeP7ZndriTijMBZwfzcqDQWIMuDgEZEqk5RIKKwYBBAGXVQEFAQEHQO2aMfukvGwfyK7 f6DUkayD6h+RO+n6LGg0c0StFhF1CAwEIB4h4BBgWCAAgFiEEMeL/OZnSMyOqPiAnGsX8bo2P8g wFAmRKpOUCGwwACgkQGsX8bo2P8gxD6AEAncJh7NhGGBlNG43b5rMeeyrYVewJirj4hk2qk1iL3 KgA/301OIl9HuuM1hBLPOSTftjwKJUWDbzBFqbyGUFWaCUB Received-SPF: none client-ip=212.103.80.155; envelope-from=christopher@librehacker.com; helo=mx.kolabnow.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:306701 Archived-At: On Thu, Jun 08, 2023 at 02:13:23PM +0000, Drew Adams wrote: > "you can just use a regular bookmark instead, but then you must name the bookmark, and then the bookmark clutters up your list of bookmarks. What I want is to be able to store an anonymous bookmark in a register, which is handy if you only need a bookmark for a little while." > > FWIW, Bookmark+ autonamed bookmarks take care of not needing to provide bookmark names etc. And bookmarks can be temporary. Thank you. I think, looking bookmark+ over, I would still rather use the solution I've already coded, which seems slightly more convenient. With bookmark+, you would not need to confirm a bookmark name, but you would still need later to figure out what was the correct bookmark name to jump to, as opposed to just remembering "I always put that last bookmark I need in register 1". It does look like bookmark+ has a temporary bookmark functionality, but you either have to consciousless enable it / disable it for individual bookmarks, or go into a special mode. That being said, if I hadn't already coded the register functions that work great for me, I think I would explore bookmark+ a little more. I certainly don't mean to create a ton of work for other people — my thought was just that if it was pretty easy for me to figure out how to store a bookmark in a register, then maybe an emacs dev with all the knowledge of patch-making and proper naming and such could add the functionality easily. Due to my life time-constraints, I don't think I'd be able to dive more deeply into for another four or five months at least. One part that I also was unsure about was creating the proper CL method so that `list-registers' properly displays the register value when a bookmark is stored in it — maybe that is something that would be trivial to somebody else. -- Christopher Howard