unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#32282: octave-mode not unmarking region
@ 2018-07-26 14:09 juangdse
  2021-02-04  9:14 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: juangdse @ 2018-07-26 14:09 UTC (permalink / raw)
  To: 32282

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.






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#32282: octave-mode not unmarking region
  2018-07-26 14:09 bug#32282: octave-mode not unmarking region juangdse
@ 2021-02-04  9:14 ` Lars Ingebrigtsen
  2021-02-04 15:38   ` Juang Dse
  0 siblings, 1 reply; 6+ messages in thread
From: Lars Ingebrigtsen @ 2021-02-04  9:14 UTC (permalink / raw)
  To: juangdse; +Cc: 32282

juangdse@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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#32282: octave-mode not unmarking region
  2021-02-04  9:14 ` Lars Ingebrigtsen
@ 2021-02-04 15:38   ` Juang Dse
  2021-02-04 16:13     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: Juang Dse @ 2021-02-04 15:38 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 32282

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@gnus.org> wrote:
>
> juangdse@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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#32282: octave-mode not unmarking region
  2021-02-04 15:38   ` Juang Dse
@ 2021-02-04 16:13     ` Lars Ingebrigtsen
  2021-02-04 16:24       ` Juang Dse
  0 siblings, 1 reply; 6+ messages in thread
From: Lars Ingebrigtsen @ 2021-02-04 16:13 UTC (permalink / raw)
  To: Juang Dse; +Cc: 32282

Juang Dse <juangdse@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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#32282: octave-mode not unmarking region
  2021-02-04 16:13     ` Lars Ingebrigtsen
@ 2021-02-04 16:24       ` Juang Dse
  2021-02-05  8:46         ` Lars Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: Juang Dse @ 2021-02-04 16:24 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 32282

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@gnus.org> wrote:
>
> Juang Dse <juangdse@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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#32282: octave-mode not unmarking region
  2021-02-04 16:24       ` Juang Dse
@ 2021-02-05  8:46         ` Lars Ingebrigtsen
  0 siblings, 0 replies; 6+ messages in thread
From: Lars Ingebrigtsen @ 2021-02-05  8:46 UTC (permalink / raw)
  To: Juang Dse; +Cc: 32282

Juang Dse <juangdse@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





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-02-05  8:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-26 14:09 bug#32282: octave-mode not unmarking region juangdse
2021-02-04  9:14 ` Lars Ingebrigtsen
2021-02-04 15:38   ` Juang Dse
2021-02-04 16:13     ` Lars Ingebrigtsen
2021-02-04 16:24       ` Juang Dse
2021-02-05  8:46         ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).