GNU bug report logs - #65864
[PATCH] Add option to save a buffer without running save hooks

Previous Next

Package: emacs;

Reported by: Daniel Martín <mardani29 <at> yahoo.es>

Date: Mon, 11 Sep 2023 10:28:02 UTC

Severity: wishlist

Tags: patch

Full log


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

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Juri Linkov <juri <at> linkov.net>, 65864 <at> debbugs.gnu.org
Cc: eliz <at> gnu.org, monnier <at> iro.umontreal.ca, mardani29 <at> yahoo.es
Subject: Re: bug#65864: [PATCH] Add option to save a buffer without running
 save hooks
Date: Wed, 13 Sep 2023 10:17:02 -0700
Juri Linkov <juri <at> linkov.net> writes:

> I confirm that 'C-u - C-x C-s' will save me from trouble that I have with
>
>   (add-hook 'before-save-hook 'time-stamp nil t)
>
> because often I don't need to update the timestamp for a small fix.
> It takes too much time to revisit the file with M-x find-file-literally,
> then manually restore the previous timestamp (to not commit unnecessary change),
> and save the file again.  Your patch will help substantially, thanks for this.

Same here, FWIW.




This bug report was last modified 122 days ago.

Previous Next


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