From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anders Lindgren Newsgroups: gmane.emacs.bugs Subject: bug#16576: Binding `standard-output' to a function doesn't work -- function sometimes called with garbage Date: Tue, 28 Jan 2014 23:00:32 +0100 Message-ID: References: <83ob2w85d3.fsf@gnu.org> <834n4n97lo.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c33676fff73e04f10ef3f7 X-Trace: ger.gmane.org 1390946472 28957 80.91.229.3 (28 Jan 2014 22:01:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Jan 2014 22:01:12 +0000 (UTC) Cc: 16576@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 28 23:01:18 2014 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 1W8Gic-0007AB-Pp for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Jan 2014 23:01:18 +0100 Original-Received: from localhost ([::1]:39678 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8Gic-00066B-FD for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Jan 2014 17:01:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8GiS-000660-RA for bug-gnu-emacs@gnu.org; Tue, 28 Jan 2014 17:01:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W8GiM-0006Ta-MD for bug-gnu-emacs@gnu.org; Tue, 28 Jan 2014 17:01:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W8GiM-0006TS-JD for bug-gnu-emacs@gnu.org; Tue, 28 Jan 2014 17:01:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W8GiM-0006fB-66 for bug-gnu-emacs@gnu.org; Tue, 28 Jan 2014 17:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Anders Lindgren Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Jan 2014 22:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16576 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16576-submit@debbugs.gnu.org id=B16576.139094643525579 (code B ref 16576); Tue, 28 Jan 2014 22:01:02 +0000 Original-Received: (at 16576) by debbugs.gnu.org; 28 Jan 2014 22:00:35 +0000 Original-Received: from localhost ([127.0.0.1]:39613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W8Ghv-0006eV-A6 for submit@debbugs.gnu.org; Tue, 28 Jan 2014 17:00:35 -0500 Original-Received: from mail-oa0-f54.google.com ([209.85.219.54]:53494) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W8Ght-0006eN-83 for 16576@debbugs.gnu.org; Tue, 28 Jan 2014 17:00:33 -0500 Original-Received: by mail-oa0-f54.google.com with SMTP id i4so1144407oah.13 for <16576@debbugs.gnu.org>; Tue, 28 Jan 2014 14:00:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=devYTFyz8bR5wEpkG+NMapwsJqwY435rJs7HTOLO+Uw=; b=ifhn7lTm+ckZIhIs9Yf03uQHQJXVuDWb0uNdSpg7GRIXoBp56PW6N2kp8HStpNQcJD MQEWQgMabF5dfbIAmoZfw4duhXDuxI784JUB/OyOzAVnuqIb3ZGy1cRGqIRVgM2Eb8LS Ly3MbRcWN0WlQ9tNmtL+lnK0OZn1AZ2aGrpFJjXXciXCVv+gnnB2YZ7fXw0hGxGmJiq5 +XEptciFkkqI1cGUNl5ByuKkPNfAoRTL3N/XvzkeqktwRinCs4I4IOJIEEvdqbL5Aekn MgBsm1nl7q4lCaxZeCm/vVFIZdMqb4o1877ovQZDMgWskJ5Cnw8EirVFKG2zaq0f6SQ+ 6pgQ== X-Received: by 10.182.230.135 with SMTP id sy7mr3009565obc.24.1390946432315; Tue, 28 Jan 2014 14:00:32 -0800 (PST) Original-Received: by 10.182.114.199 with HTTP; Tue, 28 Jan 2014 14:00:32 -0800 (PST) In-Reply-To: <834n4n97lo.fsf@gnu.org> 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: 140.186.70.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:84193 Archived-At: --001a11c33676fff73e04f10ef3f7 Content-Type: text/plain; charset=ISO-8859-1 Hi! > If it wouldn't have been correct -- why would it return the correct > > value *most* of the time? > > Because strings are relocated from time to time, I think. > Well, the main issue here is if this is a real bug or not. You originally thought this was simply a mistake in the example I provided -- do you still think so? -- Anders --001a11c33676fff73e04f10ef3f7 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi!

> If it wouldn&#= 39;t have been correct -- why would it return the correct
> value *most* of the time?

Because strings are relocated from time to time, I think.

Well, the main issue here is if this is a real bug= or not. You originally thought this was simply a mistake in the example I = provided -- do you still think so?

=A0 =A0 -- Anders
=A0

--001a11c33676fff73e04f10ef3f7--