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: Temporary notes in Emacs buffers? Date: Fri, 27 Dec 2019 11:19:26 +0100 Message-ID: <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="267889"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: mu4e 1.1.0; emacs 27.0.50 To: Help Gnu Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 27 11:20:02 2019 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 1ikmiw-0017Uo-Bn for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Dec 2019 11:20:02 +0100 Original-Received: from localhost ([::1]:33178 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ikmiu-0002qT-9X for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Dec 2019 05:20:00 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45233) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ikmii-0002qN-Nd for help-gnu-emacs@gnu.org; Fri, 27 Dec 2019 05:19:49 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ikmih-0006g3-3N for help-gnu-emacs@gnu.org; Fri, 27 Dec 2019 05:19:48 -0500 Original-Received: from mail.mojserwer.eu ([195.110.48.8]:57152) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ikmig-0006QI-TD for help-gnu-emacs@gnu.org; Fri, 27 Dec 2019 05:19:47 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 4E147E6D77 for ; Fri, 27 Dec 2019 11:19:36 +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 j7nxnAD_d1Wn for ; Fri, 27 Dec 2019 11:19:31 +0100 (CET) Original-Received: from localhost (83.25.122.5.ipv4.supernova.orange.pl [83.25.122.5]) by mail.mojserwer.eu (Postfix) with ESMTPSA id CCB5AE6D70 for ; Fri, 27 Dec 2019 11:19:30 +0100 (CET) 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:122103 Archived-At: Hi all, 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.) TIA, -- Marcin Borkowski http://mbork.pl