[bug] Emacs mode glitch (keeps going back to interactor window)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[bug] Emacs mode glitch (keeps going back to interactor window)

Jeronimo Pellegrini-5
Issue status update for
http://smalltalk.gnu.org/node/180
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/180

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Base classes
 Category:     bug reports
 Priority:     normal
 Assigned to:  Unassigned
 Reported by:  jeronimo
 Updated by:   jeronimo
 Status:       active

Hi,

I use the Emacs interactor (I am used to Lisp and SLIME), and there
seems to be a problem: if I put the cursor after a chunk of code and
hit C-c d, the code is sent to GNU Smalltalk (good!), but then the
cursor switches to the gst-mode window, so I have to keep going back to
the editing window all the time...

If some people prefer the current behavior, then maybe it could be
configurable?

Thanks,
J.




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [bug] Emacs mode glitch (keeps going back to interactor window)

Paolo Bonzini-3
Issue status update for
http://smalltalk.gnu.org/project/issue/180
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/180

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Base classes
 Category:     bug reports
 Priority:     normal
 Assigned to:  Unassigned
 Reported by:  jeronimo
 Updated by:   bonzinip
 Status:       active
 Attachment:   http://smalltalk.gnu.org/files/issues/gst-180.patch (906 bytes)

Can you try the attached patch -- I am not sure it works because I can't
run GST interactor mode right now; but from the symptoms it should fix
it.




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [bug] Emacs mode glitch (keeps going back to interactor window)

Paolo Bonzini-3
In reply to this post by Jeronimo Pellegrini-5
Issue status update for
http://smalltalk.gnu.org/project/issue/180
Post a follow up:
http://smalltalk.gnu.org/project/comments/add/180

 Project:      GNU Smalltalk
 Version:      <none>
 Component:    Base classes
 Category:     bug reports
 Priority:     normal
 Assigned to:  Unassigned
 Reported by:  jeronimo
 Updated by:   bonzinip
-Status:       active
+Status:       fixed

Ok, I'm committing it (and also the one for node 179).  This patch is
also necessary.

diff --git a/main.c b/main.c
index e38d293..d770c3a 100644
--- a/main.c
+++ b/main.c
@@ -229,6 +229,7 @@ parse_args (int argc,
        case OPT_EMACS_MODE:
           stdin_prompt = EMACS_PROCESS_MARKER "st> ";
          gst_set_var (GST_VERBOSITY, 1);
+         flags |= GST_NO_TTY;
          break;
        case 'q':
        case 'Q':




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk