GNU bug report logs - #20549
24.5; tcl.el: sending region to tcl process produces error

Previous Next

Package: emacs;

Reported by: a.c.kalker <at> gmail.com

Date: Mon, 11 May 2015 17:53:02 UTC

Severity: normal

Tags: confirmed

Found in version 24.5

Fixed in version 25.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 20549 <at> debbugs.gnu.org (full text, mbox):

From: Alain Kalker <a.c.kalker <at> gmail.com>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 20549 <at> debbugs.gnu.org
Subject: Re: bug#20549: 24.5; tcl.el: sending region to tcl process produces
 error
Date: Tue, 12 May 2015 19:15:11 +0200

On 05/12/2015 08:39 AM, Glenn Morris wrote:
> a.c.kalker <at> 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




This bug report was last modified 10 years and 16 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.