From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Hallvard B Furuseth Newsgroups: gmane.emacs.bugs Subject: empty insert sets buffer-modified-p Date: Sun, 28 Nov 2004 20:18:24 +0100 Message-ID: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1101669539 4397 80.91.229.6 (28 Nov 2004 19:18:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 28 Nov 2004 19:18:59 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 28 20:18:55 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CYUZS-0001l6-00 for ; Sun, 28 Nov 2004 20:18:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CYUip-00068Q-5q for geb-bug-gnu-emacs@m.gmane.org; Sun, 28 Nov 2004 14:28:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CYUil-000687-PB for bug-gnu-emacs@gnu.org; Sun, 28 Nov 2004 14:28:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CYUil-00067n-4r for bug-gnu-emacs@gnu.org; Sun, 28 Nov 2004 14:28:31 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CYUik-00067c-Tv for bug-gnu-emacs@gnu.org; Sun, 28 Nov 2004 14:28:30 -0500 Original-Received: from [129.240.130.16] (helo=pat.uio.no) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CYUZ2-0004PE-Qb for bug-gnu-emacs@gnu.org; Sun, 28 Nov 2004 14:18:29 -0500 Original-Received: from mail-mx2.uio.no ([129.240.10.30]) by pat.uio.no with esmtp (Exim 4.34) id 1CYUZ0-0006CY-Qs for bug-gnu-emacs@gnu.org; Sun, 28 Nov 2004 20:18:26 +0100 Original-Received: from bombur2.uio.no ([129.240.186.24]) by smtp.uio.no with esmtp (Exim 4.34) id 1CYUYy-0002fT-Tq for bug-gnu-emacs@gnu.org; Sun, 28 Nov 2004 20:18:24 +0100 Original-Received: from hbf by bombur2.uio.no with local (Exim 4.30) id 1CYUYy-0007ou-KY for bug-gnu-emacs@gnu.org; Sun, 28 Nov 2004 20:18:24 +0100 Original-To: bug-gnu-emacs@gnu.org X-MailScanner-Information: This message has been scanned for viruses/spam. Contact postmaster@uio.no if you have questions about this scanning X-UiO-MailScanner: No virus found X-UiO-Spam-info: not spam, SpamAssassin (score=-5, required 12, UIO_MAIL_IS_INTERNAL -5.00) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:9852 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:9852 This bug report will be sent to the Free Software Foundation, not to your local site managers! Please write in English, because the Emacs maintainers do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. In GNU Emacs 21.3.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2004-05-21 on storeslem.uio.no configured using `configure --prefix=/local --with-local-prefix=/local --infodir=/local/share/info --mandir=/local/share/man --includedir=/local/include --libdir=/local/lib' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: no_NO value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil locale-coding-system: iso-latin-1 default-enable-multibyte-characters: t Please describe exactly what actions triggered the bug and the precise symptoms of the bug: Clear the buffer-modified flag, then insert an empty string: ESC ~ ESC : (insert "") This sets the buffer-modified flag. The same applies to e.g. insert-string, (insert-buffer-substring ), but not (insert-file-contents "/dev/null"). Recent input: ~ : ( i n s e r t SPC " " ) Recent messages: (emacs -q) Loading disp-table...done Loading tooltip...done For information about the GNU Project and its goals, type C-h C-p. Loading image...done Modification-flag cleared nil Loading emacsbug...done