From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.help Subject: Re: Temporary notes in Emacs buffers? Date: Thu, 02 Jan 2020 18:49:38 +0100 Message-ID: <87v9ptbvf1.fsf@mbork.pl> References: <87zhfecbpt.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="57106"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: mu4e 1.1.0; emacs 27.0.50 Cc: Help Gnu Emacs mailing list To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 02 18:50:01 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1in4bg-000EgJ-CX for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Jan 2020 18:50:00 +0100 Original-Received: from localhost ([::1]:43588 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1in4bf-0006mT-AA for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Jan 2020 12:49:59 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38284) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1in4bR-0006mN-9d for help-gnu-emacs@gnu.org; Thu, 02 Jan 2020 12:49:46 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1in4bQ-0002lu-4f for help-gnu-emacs@gnu.org; Thu, 02 Jan 2020 12:49:45 -0500 Original-Received: from mail.mojserwer.eu ([195.110.48.8]:33722) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1in4bP-0002ln-OG for help-gnu-emacs@gnu.org; Thu, 02 Jan 2020 12:49:44 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 06F61E6D83; Thu, 2 Jan 2020 18:49:43 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EJCP1w8KNI6o; Thu, 2 Jan 2020 18:49:39 +0100 (CET) Original-Received: from localhost (jeden09-dwa27.echostar.pl [213.156.109.227]) by mail.mojserwer.eu (Postfix) with ESMTPSA id DD0DDE6694; Thu, 2 Jan 2020 18:49:38 +0100 (CET) In-reply-to: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.110.48.8 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:122138 Archived-At: On 2019-12-27, at 16:54, Drew Adams wrote: >> I've been wondering if there is some package which could let me make >> "temporary notes" in Emacs buffers, similar to (but different than) the >> "yellow notes" in some pdf viewers. >> >> My use case is that I'm making a sweeping change across a pretty large >> codebase, and I'd like to make some notes in places I've already >> visited >> / ones I need to change / etc. >> >> At present, I use normal code comments, however, this is suboptimal, >> since I cannot use them in certain modes (occur buffer, JSON). >> >> Ideally, a place with a comment would have that comment highlighted >> somehow, and I should be able to go to the next/previous comment, and >> list all comments in a file or in the project (think Git repo, >> Projectile project or a directory tree). Also, mass inserting such >> comments from an occur/multi-occur/projectile-ag/counsel-rg/etc. >> buffers >> would be great. >> >> What I /don't/ want is modifying the files - the comments might persist >> in some /other/, .gitignore-d file, or just disappear on exiting Emacs. >> >> I know bookmark+ has similar features, but I'd prefer something more >> lightweight. >> >> Does there exist something like that? Am I the only one interested in >> such a feature? (I'd be happy to code it myself, though it would take >> time, of course.) > > Vanilla Emacs bookmarks provide the ability to annotate. > Bookmark+ enhances annotating (e.g. to use Org and > indirection), but the annotation provided by vanilla > Emacs bookmarking does what you requested. Thanks, I'll check it out. -- Marcin Borkowski http://mbork.pl