From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.bugs Subject: bug#16752: 24.3.50; pp-to-string deactivates mark Date: Fri, 14 Feb 2014 12:23:02 +0100 Message-ID: References: <83eh36c8bh.fsf@gnu.org> <83a9duc5b2.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1392377052 549 80.91.229.3 (14 Feb 2014 11:24:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Feb 2014 11:24:12 +0000 (UTC) Cc: 16752@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 14 12:24:19 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 1WEGsS-00008I-Eg for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Feb 2014 12:24:17 +0100 Original-Received: from localhost ([::1]:51181 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEGsS-0002Sp-1A for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Feb 2014 06:24:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEGsK-0002Sd-4Q for bug-gnu-emacs@gnu.org; Fri, 14 Feb 2014 06:24:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WEGsE-0006wm-AJ for bug-gnu-emacs@gnu.org; Fri, 14 Feb 2014 06:24:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50584) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WEGsE-0006wi-73 for bug-gnu-emacs@gnu.org; Fri, 14 Feb 2014 06:24:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WEGsD-0005Ug-Pv for bug-gnu-emacs@gnu.org; Fri, 14 Feb 2014 06:24:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Helmut Eller Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Feb 2014 11:24:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16752 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16752-submit@debbugs.gnu.org id=B16752.139237699221052 (code B ref 16752); Fri, 14 Feb 2014 11:24:01 +0000 Original-Received: (at 16752) by debbugs.gnu.org; 14 Feb 2014 11:23:12 +0000 Original-Received: from localhost ([127.0.0.1]:51766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WEGrQ-0005TU-4t for submit@debbugs.gnu.org; Fri, 14 Feb 2014 06:23:12 -0500 Original-Received: from mail-ea0-f175.google.com ([209.85.215.175]:45260) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WEGrO-0005TD-64 for 16752@debbugs.gnu.org; Fri, 14 Feb 2014 06:23:10 -0500 Original-Received: by mail-ea0-f175.google.com with SMTP id n15so2932284ead.20 for <16752@debbugs.gnu.org>; Fri, 14 Feb 2014 03:23:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=Q6DlY6CtdrQKsaSkM0pbng+E067e1rraftC9IuGwvd0=; b=zVVmMTlQ6Fz9Nf5eChYS7kRchxlFy6hgtm4MTVLdhF20R0rIu/ujx4hVxq8dQNByAT Lo9sYtcFNAGOKJ1VWCs18VK1DSYCAmEBw7tyjF7hvuyvmV7jm0wSl+7gcf0g6OgtCyhD yMXZuvkgoC6R7tZIvJB0wAyIGeVccEMdnTTJEkCP0nCI8XW6tmnY/SCLK9KLiwYqygmb CORLVnX5ckcpnaLbAFsP+zhZ5FwnPpXK3C4olmVoB3rKvW//CZDfKFQ3g19/mWXzHrbb qpWNIisYelr5YunN982kP4UPZdcOHGvnDCdfRV13q73SfC6ZfLfNUF0JHlAyBrG7eBpa wWmg== X-Received: by 10.14.211.71 with SMTP id v47mr8508652eeo.37.1392376984333; Fri, 14 Feb 2014 03:23:04 -0800 (PST) Original-Received: from ix ([212.46.176.45]) by mx.google.com with ESMTPSA id n41sm18655849eeg.16.2014.02.14.03.23.03 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 14 Feb 2014 03:23:03 -0800 (PST) Original-Received: from helmut by ix with local (Exim 4.80) (envelope-from ) id 1WEGrG-0000xB-0j; Fri, 14 Feb 2014 12:23:02 +0100 In-Reply-To: <83a9duc5b2.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 14 Feb 2014 13:16:49 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) 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:85560 Archived-At: On Fri, Feb 14 2014, Eli Zaretskii wrote: >> From: Helmut Eller >> Cc: 16752@debbugs.gnu.org >> Date: Fri, 14 Feb 2014 12:02:33 +0100 >> >> >> (list deactivate-mark >> >> (pp-to-string '1) >> >> deactivate-mark) >> >> >> >> returns (nil "1" t). Deactivating the mark is a surprising and >> >> unnecessary side effect. >> > >> > _Any_ change to _any_ buffer will set deactivate-mark, which is a >> > global variable. >> >> What has that do to with pp-to-string? I didn't ask for _any_ change to >> _any_ buffer. > > See pp-buffer, which is called by pp-string. You asked for pp-string, > which does its job using a temporary buffer. So you're saying that it's not a bug that pp-to-string modifies deactivate-mark? Helmut