GNU bug report logs - #75543
30.0.93; Turn remember mode into a minor mode

Previous Next

Package: emacs;

Reported by: Matthias Meulien <orontee <at> gmail.com>

Date: Mon, 13 Jan 2025 22:18:01 UTC

Severity: wishlist

Tags: patch

Found in version 30.0.93

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 75543 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Matthias Meulien <orontee <at> gmail.com>,
 Stefan Kangas <stefankangas <at> gmail.com>
Cc: 75543 <at> debbugs.gnu.org
Subject: Re: bug#75543: 30.0.93; Turn remember mode into a minor mode
Date: Sat, 25 Jan 2025 11:00:16 +0200
> From: Matthias Meulien <orontee <at> gmail.com>
> Date: Mon, 13 Jan 2025 23:16:48 +0100
> 
> Remember Mode is great but I encountered two limitations:
> 
> - The major mode to edit data to remember is hard-coded to `text-mode'
>   where one may want to use Enriched text, Markdown, etc. modes
> 
> - A possible workflow is to select the file to store the data
>   dynamically, after the data to remember has been edited
> 
> A patch is attached that turn `remember-mode' into a minor mode and
> define a customizable variable `remember-initial-major-mode' to select
> the major mode used to edit data to remember.
> 
> It also defines the `remember-append-in-data-directory' handler that
> covers the second limitation.
> 
> Finally, a prefix map is defined for the `remember',
> `remember-clipboard', and `remember-notes' commands.
> 
> I am using analogous modifications to maintain my personnal notes in
> Markdown format. I don't claim the patch is to be used as is, but I think it illustrate
> possible evolutions of the simple but great Remember mode. 
> 
> Are such changes acceptable and pertinent? Is it worth to fine tune the patch? Comments welcome!

I don't see why we won't want to extend Remember mode along these
lines.  Stefan, WDYT?

If Stefan agrees, please do finalize the patch and resubmit.  The few
minor issues I saw is that all the new defcustoms should have the
:version tag, and this needs a NEWS entry.




This bug report was last modified 70 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.