From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: Temporary notes in Emacs buffers? Date: Fri, 27 Dec 2019 07:54:43 -0800 (PST) Message-ID: References: <87zhfecbpt.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="67316"; mail-complaints-to="usenet@blaine.gmane.org" To: Marcin Borkowski , Help Gnu Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 27 16:55:11 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 1ikrxG-000HAJ-F7 for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Dec 2019 16:55:10 +0100 Original-Received: from localhost ([::1]:36648 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ikrx9-0005pC-QG for geh-help-gnu-emacs@m.gmane.org; Fri, 27 Dec 2019 10:55:03 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57038) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ikrww-0005nT-62 for help-gnu-emacs@gnu.org; Fri, 27 Dec 2019 10:54:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ikrwu-0000l1-Ik for help-gnu-emacs@gnu.org; Fri, 27 Dec 2019 10:54:49 -0500 Original-Received: from userp2130.oracle.com ([156.151.31.86]:49210) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ikrwu-0000kF-9g for help-gnu-emacs@gnu.org; Fri, 27 Dec 2019 10:54:48 -0500 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id xBRFscFt104332; Fri, 27 Dec 2019 15:54:45 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2019-08-05; bh=8ZBeD0U5KPLL7G5nbaw0B8vZTNhkLaXaoAx0tuEGskU=; b=C9hNhlJyCwqzAlUHiwvHrXN6Z711ukdrpFBn4p2KbWBFyi5b1on8c1vAzzTYHzhC45eq BqLUdAZ7S23y0odnw3fXRMBj/UUbN+yoyeNcD5bz6MYFrNYoXqXuLRG+6zLvlX9vuIQ5 /HdFrc95HefkH0i1RDYfwFUyQ2tx+Ft0zIvOkB46W17Vq+Rwy1GjlfGXl5r6RmczgHFi 2cJD38s8ljP3va+MHqWInPUWclo+NSgQBDlUim2Sl8JtxBXIhEGen2zePVr19+QBlTC5 AA0lXyv8L21igFUuNiKwwIDrYk6Ea2NhD4inDYc/C1N4gJaPxLbHxROjgMSVU05CUM/Y 8g== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2130.oracle.com with ESMTP id 2x1attx5a2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 27 Dec 2019 15:54:45 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id xBRFnTbQ192121; Fri, 27 Dec 2019 15:54:45 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userp3020.oracle.com with ESMTP id 2x5a2gjpeh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 27 Dec 2019 15:54:45 +0000 Original-Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id xBRFshrJ008196; Fri, 27 Dec 2019 15:54:44 GMT In-Reply-To: <87zhfecbpt.fsf@mbork.pl> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4939.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9483 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-1912270134 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9483 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-1912270135 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] [fuzzy] X-Received-From: 156.151.31.86 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:122106 Archived-At: > 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. >=20 > 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. >=20 > At present, I use normal code comments, however, this is suboptimal, > since I cannot use them in certain modes (occur buffer, JSON). >=20 > 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. >=20 > 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. >=20 > I know bookmark+ has similar features, but I'd prefer something more > lightweight. >=20 > 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.