unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Óscar Fuentes" <ofv@wanadoo.es>
To: help-gnu-emacs@gnu.org
Subject: Re: After (set-buffer-modified-p nil), the first undo command doesn't set the buffer modified flag to true.
Date: Thu, 25 Dec 2014 02:10:19 +0100	[thread overview]
Message-ID: <87egroa610.fsf@wanadoo.es> (raw)
In-Reply-To: 1699702769.1196222.1419450897931.JavaMail.yahoo@jws11113.mail.ir2.yahoo.com

asdjh asjdh <macrossssss@yahoo.es> writes:

> If I modify a buffer and then save it, the buffer modified flag resets
> and the subsequent undo commands set the buffer modified flag to
> true.However if I use (set-buffer-modified-p nil), the flag resets but
> then the first undo command doesn't set it to true.How can I get the
> first undo to set the buffer modified flag to true after
> (set-buffer-modified-p nil) ? 

I cannot replicate this problem starting with `emacs -Q' on

GNU Emacs 25.0.50.4 (x86_64-unknown-linux-gnu, X toolkit) of 2014-12-19

If you have a recipe for reproducing the problem starting with `emacs
-Q' or you can share the config that causes the problem, please file a
bug report with M-x report-emacs-bug




      reply	other threads:[~2014-12-25  1:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-24 19:54 After (set-buffer-modified-p nil), the first undo command doesn't set the buffer modified flag to true asdjh asjdh
2014-12-25  1:10 ` Óscar Fuentes [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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87egroa610.fsf@wanadoo.es \
    --to=ofv@wanadoo.es \
    --cc=help-gnu-emacs@gnu.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).