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 #13 received at 75543 <at> debbugs.gnu.org (full text, mbox):

From: Matthias Meulien <orontee <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Stefan Kangas <stefankangas <at> gmail.com>, 75543 <at> debbugs.gnu.org
Subject: Re: bug#75543: 30.0.93; Turn remember mode into a minor mode
Date: Sun, 23 Feb 2025 11:53:02 +0100
[Message part 1 (text/plain, inline)]
Since people started working on a major mode for Markdown, these minor
changes may have gained some interest...

I attach an updated patch.

Le sam. 25 janv. 2025 à 10:00, Eli Zaretskii <eliz <at> gnu.org> a écrit :

> > 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.
>


-- 
Matthias
[Message part 2 (text/html, inline)]
[0001-Turn-remember-mode-into-a-minor-mode.patch (text/x-patch, attachment)]

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.