Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

company matlab shell mode doom emacs

Đang mở
#59 3 bình luận 1 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
28/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
emacs, emacs-lisp
Lĩnh vực
tooling

Hướng nghiên cứu

Tái hiện các lỗi hoàn thành và chỉ-đọc trong MATLAB shell dưới Doom Emacs, sau đó kiểm tra matlab-shell-collect-command-output và bộ lọc tiến trình của shell. Được xem là hoàn tất khi các mục hoàn thành xuất hiện trong company popup và các lệnh tiếp theo không còn tạo ra lỗi “Text is read-only” xung quanh đầu ra .

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Hi,
I am using the doom emacs version and last matlab mode under matlab 2022b.
I have the company matlab shell mode completion which does not work.
Instead of pop-up me the completion into the company pop up buffer, I was output me:

>> emacsdocomplete('EEG.(cond')

and when I hit RETURN I get (the appropriate):

emacs_completions_output =
 java.lang.String[]:
   'cond'
   'condeig'

I use this snippet of code in my config:

;; https://sourceforge.net/p/matlab-emacs/mailman/matlab-emacs-discuss/thread/[email protected]
(defadvice! inhibit-real-only-a (oldfun &rest r)
  "Temporary remove read-only lines in shell buffer"
  :around#'matlab-shell-collect-command-output
      (let ((inhibit-read-only t)) (apply oldfun r)))

I works but another issue came up...

error in process filter: run-hooks: Text is read-only
error in process filter: Text is read-only

when I enter next matlab commands into into the matlab shell buffer.
I understood that it is the '>' of HTML tag error char which triggers the error :

aaa
<ERRORTXT>
Unrecognized function or variable 'aaa'.
</ERRORTXT> 
>> 

Using this M-: command on the '>' :

(let ((inhibit-read-only t))
  (delete-char 1))

for deleting this char, remove error.
I don't know if there is a cleaner way to fix this general issue : but the char > is currently an issue for matlab-shell....

Ngôn ngữ chính
Emacs Lisp
Star
27
Fork
5
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

  • Không có Dockerfile hay tệp Docker Compose
  • Không có mẫu pull request
  • Đọc hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của mathworks/Emacs-MATLAB-Mode

Tất cả issue của mathworks/Emacs-MATLAB-Mode

Issue tương tự

Thêm issue về DevTools

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.