From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel Subject: bug#25132: 26.0.50; emacs hangs when loading org file with python source blocks Date: Thu, 19 Jan 2017 21:22:34 -0500 Message-ID: <4674bf9b-38f0-8839-fadb-e9a719faf163__41723.5538400293$1484879092$gmane$org@gmail.com> References: <4aa23451-b6cd-88b0-369e-99f6fe5f2175@gmail.com> <87y3yn2x4j.fsf@users.sourceforge.net> <87eg0e36un.fsf@users.sourceforge.net> <878tq6wo1p.fsf@users.sourceforge.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="ND11SXd8L74xovr6IGHHGWRxMO42BCQ9I" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:56547) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cUOs1-0007TV-VF for emacs-orgmode@gnu.org; Thu, 19 Jan 2017 21:24:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cUOry-0004n6-N3 for emacs-orgmode@gnu.org; Thu, 19 Jan 2017 21:24:05 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <878tq6wo1p.fsf@users.sourceforge.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: npostavs@users.sourceforge.net, Dmitry Gutov Cc: David Dynerman , 25132@debbugs.gnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --ND11SXd8L74xovr6IGHHGWRxMO42BCQ9I Content-Type: multipart/mixed; boundary="fbOq5XRIe5xhBIUDb8oGoripiU7B8CMo0"; protected-headers="v1" From: =?UTF-8?Q?Cl=c3=a9ment_Pit--Claudel?= To: npostavs@users.sourceforge.net, Dmitry Gutov Cc: David Dynerman , 25132@debbugs.gnu.org Message-ID: <4674bf9b-38f0-8839-fadb-e9a719faf163@gmail.com> Subject: Re: bug#25132: 26.0.50; emacs hangs when loading org file with python source blocks References: <4aa23451-b6cd-88b0-369e-99f6fe5f2175@gmail.com> <87y3yn2x4j.fsf@users.sourceforge.net> <87eg0e36un.fsf@users.sourceforge.net> <878tq6wo1p.fsf@users.sourceforge.net> In-Reply-To: <878tq6wo1p.fsf@users.sourceforge.net> --fbOq5XRIe5xhBIUDb8oGoripiU7B8CMo0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 2017-01-19 19:52, npostavs@users.sourceforge.net wrote: > because even after doing (make-variable-buffer-local 'var), (let > ((var 'foo))...) still makes a global binding. > `make-variable-buffer-local' only has effect for `setq', which I > think will hardly ever happen for `inhibit-modification-hooks'. On 2017-01-19 19:52, npostavs@users.sourceforge.net wrote: > because even after doing (make-variable-buffer-local 'var), (let > ((var 'foo))...) still makes a global binding. > `make-variable-buffer-local' only has effect for `setq', which I > think will hardly ever happen for `inhibit-modification-hooks'. Hi Noam, Can you explain a bit more? I'm not sure what you meant. I tried the following to illustrate your point: (defvar aa 0) (with-temp-buffer (setq-local aa 1) (let ((b1 (current-buffer))) (with-temp-buffer (let ((aa 2)) (message "In b2: %S" aa) (with-current-buffer b1 (message "In b1: %S" aa)))))) Cl=E9ment. --fbOq5XRIe5xhBIUDb8oGoripiU7B8CMo0-- --ND11SXd8L74xovr6IGHHGWRxMO42BCQ9I Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYgXR0AAoJEPqg+cTm90wjcUMP/i2vbab75/SGvVyGTji/tI/O v4m5CiUmT1JUtywm2CWhFiihX3MNzacFvrfstOpDX2WLAWAVZF99oKY1kQG95XW8 hLP+KtMwPcaTXxN8IV3yRHo3U9E8k33DQqA24aYamvFU+6ppntDb5xGyLQpgsjki HjrKhFV5iYXMw5mIvzVrK3dlGaRpucb31RTMNQfCy+l/v1z36W3gC3VptnemX4IR hI3VUw2sDd3/ms0+XBnWHs3dpXbijBacAhcLHucoCFIDswaXEK5FrZqoBF3qbYoc b7BXTrfg2+2iK0hvIHY0FDbaOkzo3ndR1Hw15pHUCv2kaj4m4i5HPByI9TiMq2oH mnoRS6IBoVl+rLUGR6UNyH1HfmYJ2kc3UWQN7AxQ2PRUrmTv+YaXuDUFvK6qOu59 Xt3ceadFTrWbWYqwanYtZS6FNc4/1rBc4axAIyZvJFzgOWVLnC7RtjuiHSjhHNEx FR/UtgZ+pgbGKj0ZodAl3u9F4zON1PjoIbULPac0w+RNslW2xJ18xxdn9G7+U37J j/pwsGPVGuPikNRLXwkbULyqj+rRO35F0qGkpJbbsF/1wn1bgHMd9Ks0SCVnxNsA xojMQK/kogiihD/GV0dIj+e27sxIe2ugUA6fm3II5idJYOqtvCzFr1nZ+WrL3tXr NyUvuNqRHsV/JSJKZBMF =11xE -----END PGP SIGNATURE----- --ND11SXd8L74xovr6IGHHGWRxMO42BCQ9I--