[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Temporary notes in Emacs buffers?

From: Marcin Borkowski
Subject: Re: Temporary notes in Emacs buffers?
Date: Thu, 02 Jan 2020 18:48:47 +0100
User-agent: mu4e 1.1.0; emacs 27.0.50

On 2020-01-01, at 05:45, Drew Adams <address@hidden> wrote:

>> I also considered to implement something like that several times.
>> We could use overlays to assign the positions and overlay properties to
>> store note texts and metadata.  When a buffer is edited, the overlay
>> begin and end marker positions are updated by Emacs on the fly.  I
>> would use after-save-hook or so to make Emacs save that stuff 
>> automatically for every file save.  Where it is saved would be (file 
>> locally) configurable: in a file local variable, in a directory local 
>> variable, or in a configurable central place.
>> When you open a file, a minor-mode-hook would arrange that everything
>> is restored.
>> There would also be a variant for dired buffers to attach notes to
>> whole files.
> FWIW: Marcin said he wasn't interested, but
> Bookmark+ really does offer all of that already.

I know that, but it is very big and thus daunting to me.


Marcin Borkowski

reply via email to

[Prev in Thread] Current Thread [Next in Thread]