From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Kitchin Subject: help with a strange interaction of button-lock and C-c C-v C-z Date: Mon, 19 Feb 2018 18:09:28 -0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="089e082f7f04fbe76605659b4cf3" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38836) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1enxN6-0003mf-FW for emacs-orgmode@gnu.org; Mon, 19 Feb 2018 21:09:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1enxN5-0006wZ-2C for emacs-orgmode@gnu.org; Mon, 19 Feb 2018 21:09:32 -0500 Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]:53634) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1enxN4-0006ux-Ry for emacs-orgmode@gnu.org; Mon, 19 Feb 2018 21:09:31 -0500 Received: by mail-wm0-x232.google.com with SMTP id t74so18486413wme.3 for ; Mon, 19 Feb 2018 18:09:30 -0800 (PST) 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: org-mode-email --089e082f7f04fbe76605659b4cf3 Content-Type: text/plain; charset="UTF-8" I have observed a weird issue with button-lock and org-mode. It is reported in detail here: https://github.com/rolandwalker/button-lock/issues/9 The gist is if I use button-lock and try to open the repl of a python source block, the repl is read-only. But without button-lock it works fine. I have tracked this down to the line: (set (make-local-variable 'comint-prompt-read-only) t) in the inferior-python-mode call. Up to this line, the repl is interactive, but after that line, when button-lock has been used, the repl becomes read-only. I am baffled on how to even proceed with debugging. Any ideas? John ----------------------------------- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.edu --089e082f7f04fbe76605659b4cf3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I have observed a weird issue with button-lock and or= g-mode. It is reported in detail here:

https://github.com/rolandw= alker/button-lock/issues/9

The gist is if I use butt= on-lock and try to open the repl of a python source block, the repl is read= -only. But without button-lock it works fine.

I ha= ve tracked this down to the line:

(s= et (make-local-variable 'comint-prompt-read-only) t)

in the inferior-python= -mode call.=C2=A0

Up to this line, the repl= is interactive, but after that line, when button-lock has been used, the r= epl becomes read-only. I am baffled on how to even proceed with debugging. = Any ideas?

=
John

------------------------= -----------
Professor John Kitchin=C2=A0
Doherty Hall A207F
Depart= ment of Chemical Engineering
Carnegie Mellon University
Pittsburgh, P= A 15213
412-268-7803
--089e082f7f04fbe76605659b4cf3--