From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: vc-revert-buffer restores modification time from CVS
Date: Wed, 25 Jan 2006 15:31:40 -0700 [thread overview]
Message-ID: <dr8u8f$2ne$1@sea.gmane.org> (raw)
In-Reply-To: <ops3vswzwkrnrgo1@gale>
Steve Pitchers wrote:
> With Emacs 21, the behaviour of vc-revert-buffer has changed, such that
> the original modification time of the revision from CVS is restored.
> This is very clever, but "make" now does not know that the file has
> changed and the build process fails or creates an executable that does
> not represent the source shown in the Emacs buffer!
>
> What can be done to correct this? Emacs 20 did not have this problem.
(defadvice vc-revert-buffer (after touch activate)
"Reset the visited file's modification time to the current time."
(shell-command (format "touch %s" buffer-file-name)))
--
Kevin Rodgers
prev parent reply other threads:[~2006-01-25 22:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-01-24 11:59 (no subject) Steve Pitchers
2006-01-25 22:31 ` Kevin Rodgers [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='dr8u8f$2ne$1@sea.gmane.org' \
--to=ihs_4664@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.