From debbugs-submit-bounces@debbugs.gnu.org Mon May 11 13:52:44 2015 Received: (at submit) by debbugs.gnu.org; 11 May 2015 17:52:44 +0000 Received: from localhost ([127.0.0.1]:41210 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yrrsh-0005jW-VY for submit@debbugs.gnu.org; Mon, 11 May 2015 13:52:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:41438) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yrrsf-0005jG-9r for submit@debbugs.gnu.org; Mon, 11 May 2015 13:52:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YrrsV-0000rZ-Gs for submit@debbugs.gnu.org; Mon, 11 May 2015 13:52:35 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38555) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrrsV-0000rJ-E7 for submit@debbugs.gnu.org; Mon, 11 May 2015 13:52:31 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54937) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrrsT-0003B7-QM for bug-gnu-emacs@gnu.org; Mon, 11 May 2015 13:52:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YrrsP-0000oT-Vz for bug-gnu-emacs@gnu.org; Mon, 11 May 2015 13:52:29 -0400 Received: from mail-wi0-x230.google.com ([2a00:1450:400c:c05::230]:33233) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrrsP-0000o6-MK for bug-gnu-emacs@gnu.org; Mon, 11 May 2015 13:52:25 -0400 Received: by wief7 with SMTP id f7so92127356wie.0 for ; Mon, 11 May 2015 10:52:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:mime-version:content-type; bh=+5k+3+r+tC931+tQ0ZSVzNt5s/yk7KNKY+ZapwNYHnE=; b=ycfoIOqsdMf4N3G/iUUMBwwFnoORu60uHRj2ppdwU+U0x6xfVTlXi16sccsO/yxHEQ KjJCdoVXGhJkWjbEtCdFxAcoMfJ2O+JzA/mMdKPmpFOXkUOjHK9109saqwRp9IypQSxn LMbQLPfyxPyvbRZeRDwanRpkWtuPhAmKdUbQYcuZ+iwpDM1Ysk46E4Y1JsLl5N3YPJiu fIb2AvPmeQHsVE5nLnMgT+mmZrnJ0nK2D1m2ZQAvICGlWyo6LqsiN0qMvO6yzYs7ZcBe Qie6VeabnJF0rZtaeAVJDuXVx/7TXQIr0UPXdBN/LiNx6xQvZFF+nUJ4ShbexlBHWukg E/aw== X-Received: by 10.194.87.38 with SMTP id u6mr23136135wjz.24.1431366744108; Mon, 11 May 2015 10:52:24 -0700 (PDT) Received: from miki-desktop (524B772B.cm-4-4b.dynamic.ziggo.nl. [82.75.119.43]) by mx.google.com with ESMTPSA id ei8sm23882141wjd.32.2015.05.11.10.52.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 May 2015 10:52:23 -0700 (PDT) From: a.c.kalker@gmail.com To: bug-gnu-emacs@gnu.org Subject: 24.5; tcl.el: sending region to tcl process produces error Date: Mon, 11 May 2015 19:52:22 +0200 Message-ID: <87egmnvw6h.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Steps to reproduce: - Visit a Tcl boffer - Start a new Tcl process using C-c C-t - Select a region containing one or more Tcl commands - Try and send it to the Tcl process using C-c C-x Actual results: - Emacs reports an error: "error in process filter: Text is read-only" - No Tcl commands are sent to the Tcl process - Further interaction with the Tcl process buffer becomes erratic Expected results: - The region should be sent to the Tcl process, and any commands should be executed. - The Tcl process buffer should interact normally, accepting new manually entered commands and displaying their results. >From some experimenting and some helpful discussion on IRC, I found that a very likely cause of the problem is the way in which Tcl mode tries to erase the prompt in a process buffer. Apparently it doesn't handle read-only prompts correctly. In GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.2) of 2015-04-20 on bitzer.hoetzel.info Windowing system distributor `The X.Org Foundation', version 11.0.11701000 Configured using: `configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro' Important settings: value of $LANG: en_US.utf8 locale-coding-system: utf-8-unix Major mode: Tcl Minor modes in effect: delete-selection-mode: t yas-global-mode: t yas-minor-mode: t show-paren-mode: t icomplete-mode: t google-this-mode: t global-whitespace-mode: t global-flycheck-mode: t flycheck-mode: t global-company-mode: t company-mode: t cua-mode: t server-mode: t auto-compile-on-load-mode: t auto-compile-on-save-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: (only . t) Recent messages: [yas] Loading for `emacs-lisp-mode', just-in-time: (lambda nil (yas--load-directory-1 (quote /home/miki/.emacs.d/elpa/yasnippet-20150415.244/snippets/emacs-lisp-mode) (quote emacs-lisp-mode)))! [yas] Loading compiled snippets from /home/miki/.emacs.d/elpa/yasnippet-20150415.244/snippets/emacs-lisp-mode [yas] Loading for `prog-mode', just-in-time: (lambda nil (yas--load-directory-1 (quote /home/miki/.emacs.d/elpa/yasnippet-20150415.244/snippets/prog-mode) (quote prog-mode)))! [yas] Loading compiled snippets from /home/miki/.emacs.d/elpa/yasnippet-20150415.244/snippets/prog-mode Loading /home/miki/.emacs.d/elpa/yasnippet-20150415.244/snippets/prog-mode/.yas-setup...done For information about GNU Emacs and the GNU system, type C-h C-a. test.tcl has auto save data; consider M-x recover-this-file C-c C-c is undefined [2 times] Mark set error in process filter: Text is read-only [2 times] Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message idna cl-macs rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader sendmail tcl comint ansi-color mule-util hideshow eldoc elisp-slime-nav hl-sexp .emacs saveplace imenu company-files company-oddmuse company-keywords company-etags etags ring company-gtags company-dabbrev-code company-dabbrev company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-template company-css company-nxml company-bbdb company-irony irony-completion irony-snippet company-tern s ucs-normalize dash-functional tern url-http tls url-auth mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-gw json tsdh-dark-theme delsel yasnippet cl gv paren icomplete google-this url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap gnus gnus-ems nnheader mail-utils wid-edit whitespace flycheck-irony irony-diagnostics irony flycheck find-func rx subr-x company cua-base cus-start cus-load edmacro kmacro ix grapnel help-mode easy-mmode dired+ image-dired format-spec image-file dired-x dired-aux dired pkg-info-autoloads queue-autoloads info easymenu slime-autoloads sly-autoloads package epg-config server ffap thingatpt url-parse auth-source eieio eieio-core gnus-util mm-util mail-prsvr password-cache url-vars jka-compr auto-compile byte-opt advice help-fns packed dash bytecomp byte-compile cl-extra cl-loaddefs cl-lib cconv time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 307146 13122) (symbols 48 30569 0) (miscs 40 107 134) (strings 32 49936 10483) (string-bytes 1 1483638) (vectors 16 44446) (vector-slots 8 797314 12468) (floats 8 417 615) (intervals 56 277 67) (buffers 960 15) (heap 1024 39504 4017)) From debbugs-submit-bounces@debbugs.gnu.org Mon May 11 14:10:58 2015 Received: (at 20549) by debbugs.gnu.org; 11 May 2015 18:10:58 +0000 Received: from localhost ([127.0.0.1]:41217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YrsAK-0006Aa-T2 for submit@debbugs.gnu.org; Mon, 11 May 2015 14:10:57 -0400 Received: from mail-wi0-f175.google.com ([209.85.212.175]:35482) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YrsAI-0006AK-QN for 20549@debbugs.gnu.org; Mon, 11 May 2015 14:10:55 -0400 Received: by widdi4 with SMTP id di4so116541063wid.0 for <20549@debbugs.gnu.org>; Mon, 11 May 2015 11:10:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=V33PrFRmDVsYw3mm1Q0m+9UILJyItw3EJyLOC4B4MbI=; b=HAJweDgv/GwOcJeUGvs2skXnzXYZwt++CoFz6WiYHhLU0OJ7qa7s4NXaeCbFpLJgH8 Pq6qKV3uxiRokd699j1Ml5DX+Qv4bRHgzPfFuEiCapcJi+e/cODSH51FNu/wraN8WBR0 nQZ63DTgVTclIgTcvWcWivyh+Je4Ab/C7yFfHsle1NEyiwupUiD/0yvNKz2TTOvuZTak zAgH3zNWwQdDf7nmsvuLEmpenh250zTQliDyDz2fSAxyV9ZypA4twXJXnZ4spVWedWg/ 0Zqdmi2GQOoBTuZHyu5pgtVvIyyardrMafDU2RiYwDggfCb3jlz/OzNdghqGQMjzk+Ct nGTA== X-Received: by 10.194.23.197 with SMTP id o5mr22965398wjf.75.1431367849211; Mon, 11 May 2015 11:10:49 -0700 (PDT) Received: from [192.168.1.114] (524B772B.cm-4-4b.dynamic.ziggo.nl. [82.75.119.43]) by mx.google.com with ESMTPSA id be6sm23958832wjb.14.2015.05.11.11.10.48 for <20549@debbugs.gnu.org> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 May 2015 11:10:48 -0700 (PDT) Message-ID: <5550F0A7.3030206@gmail.com> Date: Mon, 11 May 2015 20:10:47 +0200 From: Alain Kalker User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: 20549@debbugs.gnu.org Subject: Sample TCL command to send Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20549 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) For those who don't have Tcl for breakfast lunch and dinner, an example command to try is simply puts 42 This should display the number 42. From debbugs-submit-bounces@debbugs.gnu.org Tue May 12 02:39:39 2015 Received: (at 20549) by debbugs.gnu.org; 12 May 2015 06:39:39 +0000 Received: from localhost ([127.0.0.1]:41477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ys3qs-000132-Oq for submit@debbugs.gnu.org; Tue, 12 May 2015 02:39:38 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:45649 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ys3qq-00012u-Sj for 20549@debbugs.gnu.org; Tue, 12 May 2015 02:39:37 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Ys3qq-0000eX-Gc; Tue, 12 May 2015 02:39:36 -0400 From: Glenn Morris To: a.c.kalker@gmail.com Subject: Re: bug#20549: 24.5; tcl.el: sending region to tcl process produces error References: <87egmnvw6h.fsf@gmail.com> X-Spook: halcon Europol 9705 Samford Road Project Monarch world X-Ran: 2'ZZ6}WPYDX)PGqFjC;G"l4$=[2X?Np6B"V/m29n\M0P'`tSOt}^~m&n)QBg#A?/Jt(5D? X-Hue: yellow X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 12 May 2015 02:39:36 -0400 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 20549 Cc: 20549@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) a.c.kalker@gmail.com wrote: > - Visit a Tcl boffer > - Start a new Tcl process using C-c C-t > - Select a region containing one or more Tcl commands > - Try and send it to the Tcl process using C-c C-x > > Actual results: > - Emacs reports an error: "error in process filter: Text is read-only" Thanks for the report, but I can't reproduce this. Can you give a complete example starting from emacs -Q? From debbugs-submit-bounces@debbugs.gnu.org Tue May 12 13:15:24 2015 Received: (at 20549) by debbugs.gnu.org; 12 May 2015 17:15:24 +0000 Received: from localhost ([127.0.0.1]:42613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YsDm7-0007sR-6t for submit@debbugs.gnu.org; Tue, 12 May 2015 13:15:24 -0400 Received: from mail-wi0-f181.google.com ([209.85.212.181]:36226) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YsDm3-0007oW-S2 for 20549@debbugs.gnu.org; Tue, 12 May 2015 13:15:21 -0400 Received: by wizk4 with SMTP id k4so163596206wiz.1 for <20549@debbugs.gnu.org>; Tue, 12 May 2015 10:15:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=+qGxnNxaiOmvbI6i62fiwECiSxx68TO4oHNG2c+VH4A=; b=M1+fPW8K4tqPRNXNgnY8f1uXfGGjdJv65DI3BvugRsKqj9nYZSQ8bZwoGx9PA6+aCa QG2GfbT9Usysc/ljvWnP0H1ZbWOzSeAlBbA3fBDm5r0xUC1gXMeMr3YPhMOvpULw379g JYy6C7P7M3svcXy8tNlkcKGeFHjdyeArgOZGst1L9i0LOlxwN8mVGblAkihdj4cZWgh9 mtqPRydsCHmWXyIYzq3R30NX5B83WZ9+F1aV8eLU1sBhRrOxb+vWKZdRkl/1UB204k9x V8YtymYKpc7b+/pVFm1PIZBWk1LToZ0LVfuVXkyYmy0csxqGZrvrFCfahgSAyXB0/Uht BR8A== X-Received: by 10.180.90.72 with SMTP id bu8mr6943347wib.62.1431450914091; Tue, 12 May 2015 10:15:14 -0700 (PDT) Received: from [192.168.1.114] (524B772B.cm-4-4b.dynamic.ziggo.nl. [82.75.119.43]) by mx.google.com with ESMTPSA id lh8sm16725490wjc.23.2015.05.12.10.15.12 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 May 2015 10:15:13 -0700 (PDT) Message-ID: <5552351F.8010808@gmail.com> Date: Tue, 12 May 2015 19:15:11 +0200 From: Alain Kalker User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Glenn Morris Subject: Re: bug#20549: 24.5; tcl.el: sending region to tcl process produces error References: <87egmnvw6h.fsf@gmail.com> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20549 Cc: 20549@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 05/12/2015 08:39 AM, Glenn Morris wrote: > a.c.kalker@gmail.com wrote: > >> - Visit a Tcl boffer >> - Start a new Tcl process using C-c C-t >> - Select a region containing one or more Tcl commands >> - Try and send it to the Tcl process using C-c C-x >> >> Actual results: >> - Emacs reports an error: "error in process filter: Text is read-only" > > Thanks for the report, but I can't reproduce this. > Can you give a complete example starting from emacs -Q? Ah, I'm sorry, i realize i did forget to mention a crucial piece of the puzzle (marked with + below), namely that I have customized a variable to have read-only prompts in comint buffers. Here is the corrected list of steps: - Start Emacs as `emacs -Q` + Configure prompts to be read-only using M-x set-variable RET comint-prompt-read-only RET t - Visit a new Tcl file, example test.tcl - Enter a Tcl command for testing, say `puts 42` - Start Tcl process using C-c C-t - Switch back to test.tcl buffer using C-x o - Select all text using C-x h - Try and send it to Tcl process using C-c C-x This produces the error which I mentioned earlier. Kind regards, Alain From debbugs-submit-bounces@debbugs.gnu.org Tue May 12 13:20:47 2015 Received: (at 20549) by debbugs.gnu.org; 12 May 2015 17:20:48 +0000 Received: from localhost ([127.0.0.1]:42617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YsDrK-0000uK-Qe for submit@debbugs.gnu.org; Tue, 12 May 2015 13:20:47 -0400 Received: from mail-wi0-f175.google.com ([209.85.212.175]:37957) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YsDrI-0000u7-PI for 20549@debbugs.gnu.org; Tue, 12 May 2015 13:20:45 -0400 Received: by wicnf17 with SMTP id nf17so24795363wic.1 for <20549@debbugs.gnu.org>; Tue, 12 May 2015 10:20:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=Hg5QCkYy2baCOgogOqhmIomT+8SSSm8QwIpV18gKgBI=; b=HHJ3JnsG7o6Zf0LYHaYG8vBvTAghBUbP7lE8ZTNleSUFAeuBH93r/OSlk5XTc1gX5M cx8EiXS72hBLdTm12mYC1aXAStdfnw0Xafdzq3DuQon+oFJSrGVbbFKm5LOeo2kTbYJA lWPSbAkQFrAmU2a8gyrAZfAZE2m/ytxn0GEMs34g7pCW30gGirEClQC4hEQYw3d0D1QJ bx/VSJ8zgyJ6Hy4uUmMgKX1B36RLTtpQ0HX1fods/sHwBCBwPUY23lYkt+sr/4tvaqlt ANOeel04pIZ9VwX64Cs5cFAV+D9kV0ABJ7AwHoVjemUwSvZgWWm51odQs159/+qvKYv5 bySg== X-Received: by 10.180.87.233 with SMTP id bb9mr31470140wib.73.1431451239300; Tue, 12 May 2015 10:20:39 -0700 (PDT) Received: from [192.168.1.114] (524B772B.cm-4-4b.dynamic.ziggo.nl. [82.75.119.43]) by mx.google.com with ESMTPSA id j12sm28694520wjn.48.2015.05.12.10.20.37 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 May 2015 10:20:38 -0700 (PDT) Message-ID: <55523664.6000700@gmail.com> Date: Tue, 12 May 2015 19:20:36 +0200 From: Alain Kalker User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 MIME-Version: 1.0 To: Glenn Morris Subject: Re: bug#20549: 24.5; tcl.el: sending region to tcl process produces error References: <87egmnvw6h.fsf@gmail.com> <5552351F.8010808@gmail.com> In-Reply-To: <5552351F.8010808@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20549 Cc: 20549@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Ah, second and third steps need to be reversed. set-variable doesn't accept the variable name until after visiting a Tcl file. On 05/12/2015 07:15 PM, Alain Kalker wrote: > - Start Emacs as `emacs -Q` > - Visit a new Tcl file, example test.tcl > + Configure prompts to be read-only using M-x set-variable RET > comint-prompt-read-only RET t > - Enter a Tcl command for testing, say `puts 42` > - Start Tcl process using C-c C-t > - Switch back to test.tcl buffer using C-x o > - Select all text using C-x h > - Try and send it to Tcl process using C-c C-x > > This produces the error which I mentioned earlier. > > Kind regards, > > Alain From debbugs-submit-bounces@debbugs.gnu.org Tue May 12 21:06:52 2015 Received: (at control) by debbugs.gnu.org; 13 May 2015 01:06:52 +0000 Received: from localhost ([127.0.0.1]:42806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YsL8O-0005g2-9b for submit@debbugs.gnu.org; Tue, 12 May 2015 21:06:52 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:38799 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YsL8M-0005fu-Hx for control@debbugs.gnu.org; Tue, 12 May 2015 21:06:50 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1YsL8M-0005YZ-7l for control@debbugs.gnu.org; Tue, 12 May 2015 21:06:50 -0400 Date: Tue, 12 May 2015 21:06:50 -0400 Message-Id: Subject: control message for bug 20549 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) tag 20549 confirmed From debbugs-submit-bounces@debbugs.gnu.org Tue May 12 21:20:15 2015 Received: (at 20549-done) by debbugs.gnu.org; 13 May 2015 01:20:15 +0000 Received: from localhost ([127.0.0.1]:42810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YsLLK-0007Sl-PV for submit@debbugs.gnu.org; Tue, 12 May 2015 21:20:15 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:39029 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YsLLI-0007Sd-Uk for 20549-done@debbugs.gnu.org; Tue, 12 May 2015 21:20:13 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1YsLLI-00081K-2O; Tue, 12 May 2015 21:20:12 -0400 From: Glenn Morris To: 20549-done@debbugs.gnu.org Subject: Re: bug#20549: 24.5; tcl.el: sending region to tcl process produces error References: <87egmnvw6h.fsf@gmail.com> <5552351F.8010808@gmail.com> X-Spook: Armani LLNL Dick Cheney ASIO 9/11 Indigo MIT-LL S Box X-Ran: 2@N}t]Euk/*LF=JH|vW;P2MZJkO/UA{\QFIVZopB4pGXJ{cA-?JP^.jk^a\#5NY/W=C'.R X-Hue: red X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 12 May 2015 21:20:11 -0400 In-Reply-To: <5552351F.8010808@gmail.com> (Alain Kalker's message of "Tue, 12 May 2015 19:15:11 +0200") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 20549-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Version: 25.1 Thanks; fixed. From unknown Tue Jun 24 05:13:17 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 10 Jun 2015 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator