From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#19576: write-file writes the wrong buffer Date: Tue, 24 Nov 2015 09:27:52 +0100 Message-ID: <56541F88.1060006@gmx.at> References: <564A3292.2050807@gmx.at> <87fv05phpw.fsf@mail.linkov.net> <20151117200204.GA5054@acm.fritz.box> <83lh9v9p7k.fsf@gnu.org> <20151118232304.GB1690@acm.fritz.box> <83mvua7z8k.fsf@gnu.org> <83k2pb4mc9.fsf@gnu.org> <5651A23A.3030907@gmx.at> <83ziy62gcw.fsf@gnu.org> <5651FF6B.90609@gmx.at> <83vb8szied.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1448353770 24863 80.91.229.3 (24 Nov 2015 08:29:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Nov 2015 08:29:30 +0000 (UTC) Cc: acm@muc.de, 19576@debbugs.gnu.org, andlind@gmail.com, juri@linkov.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 24 09:29:17 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a18yK-0002vi-6V for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Nov 2015 09:29:08 +0100 Original-Received: from localhost ([::1]:36900 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a18yL-0002OT-2x for geb-bug-gnu-emacs@m.gmane.org; Tue, 24 Nov 2015 03:29:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40905) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a18yH-0002O8-7o for bug-gnu-emacs@gnu.org; Tue, 24 Nov 2015 03:29:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a18yE-00021F-26 for bug-gnu-emacs@gnu.org; Tue, 24 Nov 2015 03:29:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60545) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a18yD-00021B-V2 for bug-gnu-emacs@gnu.org; Tue, 24 Nov 2015 03:29:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1a18yD-00054z-RY for bug-gnu-emacs@gnu.org; Tue, 24 Nov 2015 03:29:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 24 Nov 2015 08:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19576 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19576-submit@debbugs.gnu.org id=B19576.144835368319444 (code B ref 19576); Tue, 24 Nov 2015 08:29:01 +0000 Original-Received: (at 19576) by debbugs.gnu.org; 24 Nov 2015 08:28:03 +0000 Original-Received: from localhost ([127.0.0.1]:50250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a18xH-00053Y-IZ for submit@debbugs.gnu.org; Tue, 24 Nov 2015 03:28:03 -0500 Original-Received: from mout.gmx.net ([212.227.15.18]:59814) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a18xF-000531-IA for 19576@debbugs.gnu.org; Tue, 24 Nov 2015 03:28:02 -0500 Original-Received: from [192.168.1.100] ([213.162.68.65]) by mail.gmx.com (mrgmx003) with ESMTPSA (Nemesis) id 0M92ZJ-1aBL2901Xh-00CPuN; Tue, 24 Nov 2015 09:27:56 +0100 In-Reply-To: <83vb8sz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DkLtw/R+1p00YZ7mvCwg+iKSvLict0taRcZK3AWA X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:109174 Archived-At: >> A silly example with emacs -Q is >> >> (defvar fun 0) >> >> (defun fun (frame) >> "..." >> (message "\n%s\n" (setq fun (1+ fun))) (ding)) >> >> (add-hook 'window-size-change-functions 'fun) >> >> This gets me complete erratic behavior when moving point. > > Maybe I'm blind, but I don't see anything erratic. OK. Here the erratic behavior is caused by =E2=80=98eldoc-mode=E2=80=99.= In any case =E2=80=98window-size-change-functions=E2=80=99 is executed twice per redi= splay IIUC. > I see that, but does that mean we should remove the "once only" > promise? I'd just remove the qualifier "just". martin