unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: TODO: insert-file should warn if the file is modified
Date: Mon, 22 Apr 2002 01:46:50 -0600 (MDT)	[thread overview]
Message-ID: <200204220746.g3M7ko901863@aztec.santafe.edu> (raw)
In-Reply-To: <m3znzy9r3c.fsf@Janik.cz> (Pavel@janik.cz)

It is very rare to have two buffers editing the same file, and you
usually have to work hard to make that happen.  People who do such a
peculiar thing had better know how to cope with it.  Therefore, what
insert-file does in that case is not very important.

We should not base any major decisions on what happens in that obscure
case.  Rather, we should do the right thing for the ordinary
reasonable case, then cope with the two-buffers-same-file case as
necessary.

       > KFS suggested offering to insert the buffer.  That is a good idea
       > provided the questions asked seem natural and not inconvenient.

    Which buffer? The first one we find is editing that file? There can be
    many of them...

Pick one of them.  It doesn't matter how.

      parent reply	other threads:[~2002-04-22  7:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-19 12:58 TODO: insert-file should warn if the file is modified Pavel Janík
2002-04-19 13:47 ` Eli Zaretskii
2002-04-19 14:33   ` Andreas Schwab
2002-04-19 15:08     ` Pavel Janík
2002-04-19 15:07   ` Pavel Janík
2002-04-19 14:16 ` Kim F. Storm
2002-04-19 14:53   ` Pavel Janík
2002-04-20 17:26 ` Richard Stallman
2002-04-20 18:12   ` Pavel Janík
2002-04-21 13:29     ` Kim F. Storm
2002-04-22  7:46     ` Richard Stallman [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=200204220746.g3M7ko901863@aztec.santafe.edu \
    --to=rms@gnu.org \
    --cc=emacs-devel@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.
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).