GNU bug report logs - #32282
octave-mode not unmarking region

Previous Next

Package: emacs;

Reported by: juangdse <at> gmail.com

Date: Thu, 26 Jul 2018 14:59:02 UTC

Severity: minor

Tags: fixed, moreinfo

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 32282 in the body.
You can then email your comments to 32282 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#32282; Package emacs. (Thu, 26 Jul 2018 14:59:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to juangdse <at> gmail.com:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 26 Jul 2018 14:59:03 GMT) Full text and rfc822 format available.

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

From: juangdse <at> gmail.com
To: bug-gnu-emacs <at> gnu.org
Subject: octave-mode not unmarking region
Date: Thu, 26 Jul 2018 16:09:26 +0200
from within emacs open the following script file

--------
# octave script script.m

x = pi ;
--------

Then do

1. set editing to octave-mode (M-x octave-mode).
2. mark the entire line "x = pi ;" as a region
3. issue the command `octave-send-region' (C-c C-i r).

expected result: command is executed and region is inactive
actual result: command is executed but region is still active

This happens now consistently with the current live Ubuntu 18.04 LTS after installing emacs25 and octave-4.2.2. -- However, I see the behavior on and off for at least 3 years.





Severity set to 'minor' from 'normal' Request was from Noam Postavsky <npostavs <at> gmail.com> to control <at> debbugs.gnu.org. (Mon, 06 Aug 2018 02:54:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32282; Package emacs. (Thu, 04 Feb 2021 09:15:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: juangdse <at> gmail.com
Cc: 32282 <at> debbugs.gnu.org
Subject: Re: bug#32282: octave-mode not unmarking region
Date: Thu, 04 Feb 2021 10:14:38 +0100
juangdse <at> gmail.com writes:

> from within emacs open the following script file
>
> --------
> # octave script script.m
>
> x = pi ;
> --------
>
> Then do
>
> 1. set editing to octave-mode (M-x octave-mode).
> 2. mark the entire line "x = pi ;" as a region
> 3. issue the command `octave-send-region' (C-c C-i r).
>
> expected result: command is executed and region is inactive
> actual result: command is executed but region is still active

(I'm going through old bug reports that unfortunately got no response at
the time.)

I'm unable to reproduce this in Emacs 26-28 with "emacs -Q".  Are you
still seeing this issue in more recent Emacs versions?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) moreinfo. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 04 Feb 2021 09:15:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32282; Package emacs. (Thu, 04 Feb 2021 15:40:02 GMT) Full text and rfc822 format available.

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

From: Juang Dse <juangdse <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 32282 <at> debbugs.gnu.org
Subject: Re: bug#32282: octave-mode not unmarking region
Date: Thu, 4 Feb 2021 16:38:57 +0100
Yes, I'm still seeing it (emacs 28.0.50). But It seems that some
editing is required
to see the issue consistently.

On Thu, Feb 4, 2021 at 10:14 AM Lars Ingebrigtsen <larsi <at> gnus.org> wrote:
>
> juangdse <at> gmail.com writes:
>
> > from within emacs open the following script file
> >
> > --------
> > # octave script script.m
> >
> > x = pi ;
> > --------
> >
> > Then do
> >
> > 1. set editing to octave-mode (M-x octave-mode).
> > 2. mark the entire line "x = pi ;" as a region
> > 3. issue the command `octave-send-region' (C-c C-i r).
> >
> > expected result: command is executed and region is inactive
> > actual result: command is executed but region is still active
>
> (I'm going through old bug reports that unfortunately got no response at
> the time.)
>
> I'm unable to reproduce this in Emacs 26-28 with "emacs -Q".  Are you
> still seeing this issue in more recent Emacs versions?
>
> --
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32282; Package emacs. (Thu, 04 Feb 2021 16:14:01 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Juang Dse <juangdse <at> gmail.com>
Cc: 32282 <at> debbugs.gnu.org
Subject: Re: bug#32282: octave-mode not unmarking region
Date: Thu, 04 Feb 2021 17:13:42 +0100
Juang Dse <juangdse <at> gmail.com> writes:

> Yes, I'm still seeing it (emacs 28.0.50). But It seems that some
> editing is required to see the issue consistently.

Would it be possible for you to come up with a recipe to reproduce the
bug?  That'll help greatly when trying to debug it.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32282; Package emacs. (Thu, 04 Feb 2021 16:26:02 GMT) Full text and rfc822 format available.

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

From: Juang Dse <juangdse <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 32282 <at> debbugs.gnu.org
Subject: Re: bug#32282: octave-mode not unmarking region
Date: Thu, 4 Feb 2021 17:24:56 +0100
as I said: one just has to edit the file at first. So the steps to
reproduce the bug should be:

1. type return ; type backspace
2. set editing to octave-mode (M-x octave-mode).
3. mark the entire line "x = pi ;" as a region
4. issue the command `octave-send-region' (C-c C-i r).

On Thu, Feb 4, 2021 at 5:13 PM Lars Ingebrigtsen <larsi <at> gnus.org> wrote:
>
> Juang Dse <juangdse <at> gmail.com> writes:
>
> > Yes, I'm still seeing it (emacs 28.0.50). But It seems that some
> > editing is required to see the issue consistently.
>
> Would it be possible for you to come up with a recipe to reproduce the
> bug?  That'll help greatly when trying to debug it.
>
> --
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32282; Package emacs. (Fri, 05 Feb 2021 08:47:02 GMT) Full text and rfc822 format available.

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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Juang Dse <juangdse <at> gmail.com>
Cc: 32282 <at> debbugs.gnu.org
Subject: Re: bug#32282: octave-mode not unmarking region
Date: Fri, 05 Feb 2021 09:46:09 +0100
Juang Dse <juangdse <at> gmail.com> writes:

> as I said: one just has to edit the file at first. So the steps to
> reproduce the bug should be:
>
> 1. type return ; type backspace
> 2. set editing to octave-mode (M-x octave-mode).
> 3. mark the entire line "x = pi ;" as a region
> 4. issue the command `octave-send-region' (C-c C-i r).

Thanks; I can reproduce the problem now.  Fixed in Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 05 Feb 2021 08:47:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 32282 <at> debbugs.gnu.org and juangdse <at> gmail.com Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 05 Feb 2021 08:47:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 05 Mar 2021 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 111 days ago.

Previous Next


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