emacs-humanities
[Top][All Lists]
Advanced

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

Re: [emacs-humanities] Extending Emacs Bookmarks to Work with EWW


From: Karl Fogel
Subject: Re: [emacs-humanities] Extending Emacs Bookmarks to Work with EWW
Date: Wed, 03 Feb 2021 22:36:22 -0600
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

On 03 Feb 2021, Oliver Taylor wrote:
In both Ibuffer and Dired you mark items for deletion with ‘d’ and kill the buffers/files with ‘x’ -- you then have to confirm the deletion with ‘y’ or cancel it with ’n'. I think it would be nice if bookmarks asked for the same confirmation.

Ah, got it, thanks.

This is the sort of thing that some people will like and other people will definitely not like, of course. Neither side is right or wrong -- just different people dealing with different tradeoffs.

So my thought is: a new variable `bookmark-menu-confirm-deletion', defaulting to `t' (that is, confirmation would be the new default behavior), to control whether confirmation happens. Those who don't want confirmation -- i.e., those who want the old behavior -- would have to set that variable to nil.

Confirmation would only happen in Bookmark Menu mode, of course. If someone does `M-x bookmark-delete' and supplies a bookmark name explicitly, then the named bookmark will just be deleted as before.

If all this sounds right to you, then we can float it on emacs-devel next and then (assuming people like it) implement it.

Now, I'd be happy to do the implementation. However, if you have been wanting to write Elisp, then I'm also happy to serve as reviewer for a change that you make! (Or as guide and reviewer, depending on your level of skill/experience.) It would be normal for there to be several iterations of such a patch, and I'm fine to work with you until we're satisfied. Once the change is ready, I'll commit it, but (assuming we do the 'git-format-patch' dance right) you would be the author.

(There might be a one-time step in which you need to submit some paperwork to the Free Software Foundation, for copyright assignment, but that would only be true for this first substantive commit -- thereafter, you would be on file.)

Thoughts?

Best regards,
-Karl



reply via email to

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