unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: martin rudalics <rudalics@gmx.at>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: longlines-show-hard-newlines sets modified flag
Date: Tue, 27 Nov 2007 10:45:08 -0500	[thread overview]
Message-ID: <jwvsl2r7kxy.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <474C180E.9060303@gmx.at> (martin rudalics's message of "Tue, 27 Nov 2007 14:13:50 +0100")

>> I guess so, yes.  It avoids the `force-mode-line-update' that's implict
>> in set-buffer-modified-p.

> Then I'll rather leave them alone.  Better see the new
> line and coulmn numbers immediately ;-)

Indeed, if you do want to update the mode-line, then you might as well
use set-buffer-modified-p, but then please add a short comment about it,
like

  (set-buffer-modified-p mod)   ; and update the mode line.


-- Stefan

  reply	other threads:[~2007-11-27 15:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-26 17:24 longlines-show-hard-newlines sets modified flag martin rudalics
2007-11-26 19:22 ` Stefan Monnier
2007-11-26 19:31   ` martin rudalics
2007-11-26 20:25     ` Stefan Monnier
2007-11-27 13:13       ` martin rudalics
2007-11-27 15:45         ` Stefan Monnier [this message]
2007-11-27 17:30           ` martin rudalics

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=jwvsl2r7kxy.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=rudalics@gmx.at \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).