From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: with-current-buffer Date: Mon, 11 Nov 2019 12:09:26 +0100 Message-ID: <20191111110926.GC15847@tuxteam.de> References: <64fa1379-950d-2d3c-1104-c8097425ebe6@easy-emacs.de> <20191111090459.GB15847@tuxteam.de> <51efbc77-10e6-47c9-2a2e-12be42e65da9@easy-emacs.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KDt/GgjP6HVcx58l" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="220459"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.5.21 (2010-09-15) Cc: help-gnu-emacs@gnu.org To: Andreas =?utf-8?Q?R=C3=B6hler?= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Nov 11 12:09:44 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iU7Zn-000vDs-E6 for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Nov 2019 12:09:43 +0100 Original-Received: from localhost ([::1]:51074 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iU7Zl-0005pz-SV for geh-help-gnu-emacs@m.gmane.org; Mon, 11 Nov 2019 06:09:41 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55248) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iU7Za-0005pd-30 for help-gnu-emacs@gnu.org; Mon, 11 Nov 2019 06:09:31 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iU7ZZ-0005H7-1R for help-gnu-emacs@gnu.org; Mon, 11 Nov 2019 06:09:29 -0500 Original-Received: from mail.tuxteam.de ([5.199.139.25]:52890) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iU7ZY-0005Gd-Hv for help-gnu-emacs@gnu.org; Mon, 11 Nov 2019 06:09:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:Date; bh=83hc338qCVUQk2wx9CGMrXdT7JYfoo9TrZ6CnE3Oi10=; b=dheyqSaMaf8JH8LVh5vWMs7KTcz9qzKBdKfEkXMl4AuegxyxUtqajuynMODLcE8B5YPyJce/LbsEmZ23kDK2WMTh7rcWwpFcK79pra7SSiZmBDvxwKR1jMDqT1l10BBNt8+w5QQqsKBe/pzZQTzTLPUzcGVsn8KrKLZ4tUFnovegHBQJ+ysM6WagblVit4OrYZVH/YgUDFBt7i0b+zJAyB1DqySyKiofJrp5oqzT8UaEttV/Tfu9piGSO3J9YR1TZxlkMYpRF606q7tygwyhL3RiHSAdRl20XUNK03R+4bxYgyg9cXWMIJ/Yoe3c9q8BXPU2ZSzlo+JjFa4u/cwi8w==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1iU7ZW-0005Nk-JZ; Mon, 11 Nov 2019 12:09:26 +0100 Content-Disposition: inline In-Reply-To: <51efbc77-10e6-47c9-2a2e-12be42e65da9@easy-emacs.de> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 5.199.139.25 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:121823 Archived-At: --KDt/GgjP6HVcx58l Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Nov 11, 2019 at 11:58:43AM +0100, Andreas R=C3=B6hler wrote: [...] > thanks. So I have to write something like >=20 > (save-current-buffer > =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 (with-current-buffer buffer Hm. I'm far from an expert, but I think (save-current-buffer (with-current-buffer buffer ...)) should be equivalent to (with-current-buffer buffer ...) i.e. you can just drop the "outer" save-current-buffer. Still, if I were you I'd wait for more expert advise :-) Cheers -- t --KDt/GgjP6HVcx58l Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAl3JQWYACgkQBcgs9XrR2kYY1QCfYdC/jSxmZ4+pw5Ogrsb0OdOj 4/MAn3NBkeKEyVGQtvLEfkvochSVPfAK =aeop -----END PGP SIGNATURE----- --KDt/GgjP6HVcx58l--