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


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Kangas <stefankangas <at> gmail.com>
Cc: orontee <at> gmail.com, 75543 <at> debbugs.gnu.org
Subject: bug#75543: 30.0.93; Turn remember mode into a minor mode
Date: Thu, 06 Mar 2025 15:55:34 +0200
> From: Stefan Kangas <stefankangas <at> gmail.com>
> Date: Sat, 1 Mar 2025 20:05:39 -0800
> Cc: Matthias Meulien <orontee <at> gmail.com>, 75543 <at> debbugs.gnu.org
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> >> 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.
> 
> Sorry for the late reply here.
> 
> Fully agreed, and thanks for working on this.

So Matthias, please finalize the patch and resubmit it.




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.