Switching back and forth quickly between matlab-shell and source buffer + Ctrl+Z on matlab repl completely freezes it
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 38/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- emacs, emacs-lisp
- Área
- developer-experience, tooling
Línea de trabajo
Comienza en el punto de entrada matlab-shell y sigue cómo cambia el foco entre los búferes de código fuente de MATLAB y de REPL, incluido lo que hace Ctrl+Z en la REPL. Da la tarea por terminada cuando se proporcione una forma fiable de volver al búfer de código fuente anterior y se garantice que Ctrl+Z no deje la sesión de MATLAB aparentemente congelada.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
I've started using julia quite a lot recently using the package julia-snail on emacs. If the function (julia-snail) is called from a source code buffer, focus switches to the julia REPL buffer, and if it was called from the REPL buffer, focus switches to the source. It remembers the last source buffer from which the julia-snail function is called, making this super neat to work with.
By default I have this function mapped to Ctrl+Z so I'm hitting ctrl+z all the time, especially when I have 4 windows with different buffers open at the same time with only one being the repl.
In matlab mode, we have the function matlab-shell so I can go from source to matlab repl. But no function like this seems to exist for going back.
I have added personal frustration since I have matlab-shell bound to Ctrl+Z. And hitting Ctrl+Z in the matlab-repl freezes up the repl completely.
This is my second query in this sub issue The behavior of Ctrl+Z on the matlab-shell is confusing. Once I hit Ctrl+Z on the matlab-shell, I'm unsure just what I need to do to resume the session. So far I've been killing matlab-shell completely and continuing.
Here's the julia-snail code just in case:
(defun julia-snail ()
"Start a Julia REPL and connect to it, or switch if one already exists.
The following buffer-local variables control it:
- `julia-snail-repl-buffer' (default: *julia*)
- `julia-snail-port' (default: 10011)
To create multiple REPLs, give these variables distinct values (e.g.:
*julia my-project-1* and 10012)."
(interactive)
(let ((source-buf (current-buffer))
(repl-buf (get-buffer julia-snail-repl-buffer)))
(if repl-buf
;; Julia session exists
(progn
(with-current-buffer repl-buf
(setq julia-snail--repl-go-back-target source-buf))
(pop-to-buffer repl-buf))
;; run a new Julia REPL in a terminal and load the Snail server file
(julia-snail--start source-buf))))
- Lenguaje dominante
- Emacs Lisp
- Estrellas
- 27
- Forks
- 5
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de mathworks/Emacs-MATLAB-Mode
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 15/100
-
Dificultad 3/5 1-2 días Aptitud para principiantes 28/100
mathworks/Emacs-MATLAB-Mode#59 · 3 comentarios · 1 reacción ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
mathworks/Emacs-MATLAB-Mode#50 · 1 comentario ·
-
ELPA links to doc and examples from README.org don't workQuizá libre de nuevo @ouboub la tomó hace 506 días y no hay ningún pull request abierto. Abierto
mathworks/Emacs-MATLAB-Mode#47 · 1 asignado ·
-
Add guide for working with MATLAB and creating scientific papers in EmacsQuizá libre de nuevo @JohnC32 la tomó hace 506 días y no hay ningún pull request abierto. Abiertodocumentation
mathworks/Emacs-MATLAB-Mode#46 · 1 asignado ·
Todos los issues de mathworks/Emacs-MATLAB-Mode
Issues similares
-
docs(skills): issue-first should reference an existing Linear ticket instead of filing a duplicateAbiertodocumentation
Dificultad 1/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
enhancement good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
Chandraprakash-Darji/brick#74 ·
Los mantenedores suelen responder en 1 día
-
area: docs good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
Los mantenedores suelen responder en 1 día
-
lane:repo
Dificultad 2/5 Menos de una hora Aptitud para principiantes 82/100
SPARDiffData/differential-data-collection#47 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
objectionary/lints#1556 ·
Los mantenedores suelen responder en 3 días