branch: externals/matlab-mode
commit 23fcc92eb12525a5785dbab0fea18ed3b1055cbe
Author: John Ciolfi <[email protected]>
Commit: John Ciolfi <[email protected]>
spell check
---
Makefile | 5 +-
company-matlab-shell.el | 2 +-
contributing/eval-buffer-fully.el | 6 +-
contributing/genBuiltinsHashTable.m | 2 +-
contributing/install-emacs-matlab-from-git.org | 2 +-
contributing/treesit-mode-how-to.org | 6 +-
contributing/ts-inspect.el | 8 +-
doc/faq.org | 1 +
doc/install-matlab-tree-sitter-grammar.org | 2 +-
doc/matlab-code-sections.org | 2 +
doc/matlab-imenu.org | 2 +
doc/matlab-mode-on-windows.org | 4 +-
doc/matlab-netshell-for-windows.org | 2 +
doc/matlab-shell-for-unix.org | 8 +-
.../matlab-and-org-mode-python.org | 4 +-
matlab--shell-bridge.el | 2 +-
matlab-mode.el | 2 +
matlab-netshell.el | 15 ++--
matlab-org.el | 2 +-
matlab-scan.el | 2 +-
matlab-sections.el | 2 +-
matlab-shell.el | 5 +-
matlab-syntax.el | 4 +-
matlab-topic.el | 4 +-
matlab-ts-langs-install.el | 10 ++-
matlab.el | 4 +-
mlint.el | 5 +-
semantic-matlab.el | 2 +-
semanticdb-matlab.el | 14 ++--
tests/test-package-version.el | 4 +-
tlc.el | 2 +-
toolbox/+emacs/@Breakpoints/Breakpoints.m | 2 +
toolbox/+emacs/@EmacsServer/EmacsServer.m | 94 +++++++++++-----------
toolbox/dbhotlink.m | 2 +
toolbox/emacsrun.m | 4 +-
toolbox/emacsrunregion.m | 2 +-
toolbox/emacstipstring.m | 4 +-
37 files changed, 145 insertions(+), 98 deletions(-)
diff --git a/Makefile b/Makefile
index 78a57a67cf..d0fc2d48cd 100644
--- a/Makefile
+++ b/Makefile
@@ -181,5 +181,6 @@ list-files-for-release:
# [EOF] Makefile
-# LocalWords: EMACSFLAGS setq LOADPATH LOADDEFS LOADDIRS ELC elc MAKECMDGOALS
ifeq abspath
-# LocalWords: autoloads loaddefs tstamp addprefix ifneq nodesktop nosplash
endef usr
+# LocalWords: EMACSFLAGS setq LOADPATH LOADDEFS LOADDIRS ELC elc MAKECMDGOALS
ifeq abspath flycheck
+# LocalWords: autoloads loaddefs tstamp addprefix ifneq nodesktop nosplash
endef usr treesit MSYS
+# LocalWords: msys awk maint
diff --git a/company-matlab-shell.el b/company-matlab-shell.el
index 6320dff95d..cfdf76e1ff 100644
--- a/company-matlab-shell.el
+++ b/company-matlab-shell.el
@@ -99,4 +99,4 @@ ARG and IGNORED are ignored."
;;; company-matlab-shell.el ends here
;; LocalWords: Ludlam Engster ci defun substr lastcmd eol buf cdr puthash
gethash remhash mapcar
-;; LocalWords: fboundp
+;; LocalWords: fboundp zappo dengste
diff --git a/contributing/eval-buffer-fully.el
b/contributing/eval-buffer-fully.el
index fdca902f0e..c3a957181a 100644
--- a/contributing/eval-buffer-fully.el
+++ b/contributing/eval-buffer-fully.el
@@ -2,7 +2,7 @@
;;; Commentary:
;;
-;; Development utiltity useful after modifying a Lisp buffer
+;; Development utility useful after modifying a Lisp buffer
;;
;; M-x eval-buffer-fully
@@ -12,7 +12,7 @@
"Try to fully evaluate the buffer.
Evaluate a Lisp buffer by running \\[eval-buffer]. If the buffer has
already been evaluated, `eval-buffer' will only re-evaluate `defun'
-defintions. Therefore, this function will search for other defintions
+definitions. Therefore, this function will search for other definitions
on their own line and run \\[eval-defun] on them. This will miss some
items such as use of macros."
(interactive)
@@ -38,3 +38,5 @@ items such as use of macros."
(provide 'eval-buffer-fully)
;;; eval-buffer-fully.el ends here
+
+;; LocalWords: defun bol defface defmacro keymap
diff --git a/contributing/genBuiltinsHashTable.m
b/contributing/genBuiltinsHashTable.m
index 0b9394c90a..225e839ebe 100644
--- a/contributing/genBuiltinsHashTable.m
+++ b/contributing/genBuiltinsHashTable.m
@@ -218,4 +218,4 @@ function [ht, nEntries, bMap] =
getHashTableEntries(fcnStart, ht, nEntries, bMap
end
% LocalWords: emacsdocomplete builtins keymodels vdynblks vdynsolution mlapp
mlx ssc sfx genapp tmp
-% LocalWords: nodesktop
+% LocalWords: nodesktop defun aa
diff --git a/contributing/install-emacs-matlab-from-git.org
b/contributing/install-emacs-matlab-from-git.org
index dd24db6ee5..ea0616b7d0 100644
--- a/contributing/install-emacs-matlab-from-git.org
+++ b/contributing/install-emacs-matlab-from-git.org
@@ -39,7 +39,7 @@ from git. The install below uses =~/emacs-workarea= as a work
area. You can chan
* Consider creating a temporary home
-You can create a temorary home by setting the the environment variable, HOME
set to a temporary
+You can create a temporary home by setting the environment variable, HOME set
to a temporary
location. This lets you develop Emacs MATLAB Mode in a clean environment. See
[[file:DEBUGGING.org][DEBUGGING.org]].
* Install MATLAB tree-sitter grammar
diff --git a/contributing/treesit-mode-how-to.org
b/contributing/treesit-mode-how-to.org
index f288def155..72709a835c 100644
--- a/contributing/treesit-mode-how-to.org
+++ b/contributing/treesit-mode-how-to.org
@@ -40,7 +40,7 @@ languages.
I developed matlab-ts-mode using Emacs 30. The more I learned about
tree-sitter, the more I liked
it. I was very much impressed with the quality of the tree-sitter itself and
the integration of
-tree-sitter in Emacs. The quality of the intergation of tree-sitter in Emacs
is exceptional.
+tree-sitter in Emacs. The quality of the integration of tree-sitter in Emacs
is exceptional.
* What does tree-sitter provide?
@@ -77,7 +77,7 @@ tree-sitter can semantically color it, indent it, etc.
Try using LSP for syntax highlighting or code indentation on a large file
where you type at a
productive speed of 40-75 words per minute. The experience will be less than
ideal. Now try that
where syntax highlighting and code indentation are powered by tree-sitter.
You'll be pleasantly
-suprised how good tree-sitter is. The editor will be much smoother with
higher-quality syntax
+surprised how good tree-sitter is. The editor will be much smoother with
higher-quality syntax
highlighting and code indentation. You see spend much less time having to
adjust whitespace to
make your code look good because the indentation as you type is much better.
@@ -2110,7 +2110,7 @@ Install, using default branch
#+end_example
If you use prev-line on the blank-line immediately after "b = 2;", you'll
get the expected point
- below "b". If you use prev-line on the second blank line after "b = 2;", the
point move the the
+ below "b". If you use prev-line on the second blank line after "b = 2;", the
point move the
first blank line after the "b = 2;" statement which may not be what you
want. Perhaps prev-real
should look backwards to the first prior line with non-whitespace. If
there's concern about
compatibility, treesit could be updated to have:
diff --git a/contributing/ts-inspect.el b/contributing/ts-inspect.el
index 7cacd71731..5b6f996a3a 100644
--- a/contributing/ts-inspect.el
+++ b/contributing/ts-inspect.el
@@ -12,7 +12,7 @@
"Display information about node at POSITION.
POSITION defaults to the current `point'.
Returns a string of the form:
- Heirarchy:
+ Hierarchy:
#<treesit-node ROOT in 1-67>
#<treesit-node PARENT in 37-62>
#<treesit-node NODE in 61-62>
@@ -27,7 +27,7 @@ Returns a string of the form:
(let ((node (treesit-node-at position))
result)
- ;; Heiararchy
+ ;; Hierarchy
(let* ((tree `(,(format "%S\n" node)))
(parent (treesit-node-parent node))
(prefix " "))
@@ -35,7 +35,7 @@ Returns a string of the form:
(push (format "%S\n" parent) tree)
(setq parent (treesit-node-parent parent)))
- (setq result (concat "Heirarchy:\n"
+ (setq result (concat "Hierarchy:\n"
(mapconcat (lambda (n)
(let ((leaf (concat prefix n)))
(setq prefix (concat " " prefix))
@@ -64,3 +64,5 @@ Returns a string of the form:
(provide 'ts-inspect)
;;; ts-inspect.el ends here
+
+;; LocalWords: treesit defun Prev PREV setq mapconcat prev
diff --git a/doc/faq.org b/doc/faq.org
index 6c1fcca292..61a074e7f0 100644
--- a/doc/faq.org
+++ b/doc/faq.org
@@ -69,3 +69,4 @@ In this case, add the following hook to your config:
Ensure that this is included after matlab-mode as well as your syntax
highlighter are initialized in your config.
+# LocalWords: showall mfiles emacsclient
diff --git a/doc/install-matlab-tree-sitter-grammar.org
b/doc/install-matlab-tree-sitter-grammar.org
index 6ff66f8ff4..699c36e7f3 100644
--- a/doc/install-matlab-tree-sitter-grammar.org
+++ b/doc/install-matlab-tree-sitter-grammar.org
@@ -147,4 +147,4 @@ and map matlab to matlab-ts:
: Major mode: matlab-ts
# LocalWords: showall usepackage parskip tocloft cftsecnumwidth
cftsubsecindent cftsubsecnumwidth
-# LocalWords: libtree dylib workarea ABI langs abi MSys sudo treesit nodejs
npm alist lang
+# LocalWords: libtree dylib workarea ABI langs abi MSys sudo treesit nodejs
npm alist lang MELPA
diff --git a/doc/matlab-code-sections.org b/doc/matlab-code-sections.org
index 891a8cb08a..936bd0112b 100644
--- a/doc/matlab-code-sections.org
+++ b/doc/matlab-code-sections.org
@@ -69,3 +69,5 @@ in Emacs.
If you'd like to use super (aka Windows) key bindings instead of the above key
bindings, you can
: M-x customize-variable RET matlab-sections-use-super-key RET
+
+# LocalWords: showall classdef's SPC netshell emacsrunregion matlabsection
diff --git a/doc/matlab-imenu.org b/doc/matlab-imenu.org
index b671bf5ca6..702be9ed4e 100644
--- a/doc/matlab-imenu.org
+++ b/doc/matlab-imenu.org
@@ -63,3 +63,5 @@ and add:
#+begin_src emacs-lisp
(lambda () (imenu-add-to-menubar "Fcns"))
#+end_src
+
+# LocalWords: showall Func
diff --git a/doc/matlab-mode-on-windows.org b/doc/matlab-mode-on-windows.org
index 365097b2ae..ceb87e25b4 100644
--- a/doc/matlab-mode-on-windows.org
+++ b/doc/matlab-mode-on-windows.org
@@ -51,7 +51,7 @@ To use Emacs on Windows with the matlab-mode package,
version should be fine.
7. [Optional] Install lsp-mode, lsp-ui, and flycheck. Run =M-x list-packages=,
search for them and
- install them. Then install the MATLAB Lanugage Server, see
+ install them. Then install the MATLAB Language Server, see
[[file:matlab-language-server-lsp-mode.org]].
8. [Optional] Use bash for =M-x shell=
@@ -70,3 +70,5 @@ To use Emacs on Windows with the matlab-mode package,
9. [Optional] Install =magit= for Git by =M-x list-packages=, then clicking on
=magit= from melpa
to install. You'll also need to install https://gitforwindows.org/.
+
+# LocalWords: showall MSYS pacman gpg melpa setq msys usr elpa lsp flycheck
magit
diff --git a/doc/matlab-netshell-for-windows.org
b/doc/matlab-netshell-for-windows.org
index 11fa846d23..7195174cd9 100644
--- a/doc/matlab-netshell-for-windows.org
+++ b/doc/matlab-netshell-for-windows.org
@@ -110,3 +110,5 @@ Open the following
[[file:~/emacs-projects/Emacs-MATLAB-Mode/examples/matlab-sec
set(gca, 'FontSize', fsz)
#+end_src
+
+# LocalWords: showall emacsinit elpa matlabsection fsamp Tmax Nt fsz sp
stackedplot
diff --git a/doc/matlab-shell-for-unix.org b/doc/matlab-shell-for-unix.org
index 47b21d597e..941ba4b975 100644
--- a/doc/matlab-shell-for-unix.org
+++ b/doc/matlab-shell-for-unix.org
@@ -11,13 +11,13 @@ In Emacs,
: M-x matlab-shell
-will run =matlab -nodesktop= in a =*MATAB*= shell buffer. By default, if
matlab is on your path,
+will run =matlab -nodesktop= in a =*MATLAB*= shell buffer. By default, if
matlab is on your path,
=which matlab= returns a location, then that version of matlab is used by
matlab-shell. Otherwise,
matlab-shell will look for matlab in the standard installation locations and
use that. If you'd like
matlab-shell to use a specific version of MATLAB run
-=M-x customzie-variable RET matlab-shell-command RET=.
+=M-x customize-variable RET matlab-shell-command RET=.
-In the =*MATAB*= matlab-shell buffer, you can run MATLAB commands, debug
MATLAB =*.m= files, and
+In the =*MATLAB*= matlab-shell buffer, you can run MATLAB commands, debug
MATLAB =*.m= files, and
more. See the MATLAB menu for capabilities.
At the MATLAB prompt, ">>", you can TAB complete commands. matlab-shell uses
company-mode for
@@ -26,3 +26,5 @@ completions. For example:
: >> plot(a, b, 'Line<TAB>
will complete =Line= to =LineWidth=.
+
+# LocalWords: showall nodesktop
diff --git a/examples/matlab-and-org-mode/matlab-and-org-mode-python.org
b/examples/matlab-and-org-mode/matlab-and-org-mode-python.org
index f407922a81..cb7fcdeec7 100644
--- a/examples/matlab-and-org-mode/matlab-and-org-mode-python.org
+++ b/examples/matlab-and-org-mode/matlab-and-org-mode-python.org
@@ -43,7 +43,7 @@ eng.quit()
#+end_src
#+BEGIN_SRC emacs-lisp
-(setq org-confirm-babel-evaluate nil) ;don't prompt me to confirm everytime
I want to evaluate a block
+(setq org-confirm-babel-evaluate nil) ;don't prompt me to confirm every time
I want to evaluate a block
;;; display/update images in the buffer after I evaluate
(add-hook 'org-babel-after-execute-hook 'org-display-inline-images 'append)
@@ -109,3 +109,5 @@ p_{0}&\pm \lambda_{1-\frac{\alpha
}{2}}\sqrt{\frac{p_{0}(1-p_{0})}{n}}=0.283019
\end{align*}
+# LocalWords: notranslate usr sudo jupyter setuptools pexpect matlabkernel
ipython dinojr eng setq
+# LocalWords: lang noweb hlines defalias
diff --git a/matlab--shell-bridge.el b/matlab--shell-bridge.el
index f6df44af31..79577a044f 100644
--- a/matlab--shell-bridge.el
+++ b/matlab--shell-bridge.el
@@ -87,4 +87,4 @@ to strings and comments."
(provide 'matlab--shell-bridge)
;;; matlab--shell-bridge.el ends here
-;; LocalWords: defun alist rassoc pcase
+;; LocalWords: defun alist rassoc pcase boundp
diff --git a/matlab-mode.el b/matlab-mode.el
index 3fb9b39bc4..af56cdfde2 100644
--- a/matlab-mode.el
+++ b/matlab-mode.el
@@ -56,3 +56,5 @@
(provide 'matlab-mode)
;;; matlab-mode.el ends here
+
+;; LocalWords: SPDX Wette mwette edu Ludlam eludlam Uwe Brauer oub ucm gmail
defconst
diff --git a/matlab-netshell.el b/matlab-netshell.el
index 6aada78b52..ff2cf67595 100644
--- a/matlab-netshell.el
+++ b/matlab-netshell.el
@@ -19,7 +19,7 @@
;;; Commentary:
;;
-;; Form a back-channale for Emacs to chat with a running MATLAB.
+;; Form a back-channel for Emacs to chat with a running MATLAB.
;; Allows you to edit for and with a MATLAB sessions, even if it is not in a
;; matlab-shell buffer.
@@ -122,7 +122,7 @@ response from some Emacs based request."
;; Interpret the command.
(cond ((string= "init" cmd)
;; Make sure GUD bindings are available, but do so in
- ;; the netshell buffer so when mlgud bundings run, they
+ ;; the netshell buffer so when mlgud bindings run, they
;; don't stomp on C-c matlab-mode bindings.
(with-current-buffer (process-buffer proc)
(matlab-shell-mode-gud-enable-bindings))
@@ -135,12 +135,12 @@ response from some Emacs based request."
(message "MATLAB connection initialized.")
)
((string= "ack" cmd)
- (message "Ack recieved. Send ACK back.")
+ (message "Ack received. Send ACK back.")
(matlab-netshell-send "nowledge" ""))
((string= "nowledge" cmd)
- (message "Acknowledgement recieved."))
+ (message "Acknowledgement received."))
((string= "output" cmd)
- (message "Ouput: %S" data))
+ (message "Output: %S" data))
((string= "error" cmd)
(message "MATLAB Error: %s" data))
((string= "eval" cmd)
@@ -164,7 +164,7 @@ PROC is the TCP stream which generated MSG."
((string= msg "connection broken by remote peer\n")
(setq matlab-netshell-clients (delq proc matlab-netshell-clients))
- (message (format "MATLAB has dropped its connecction")))
+ (message (format "MATLAB has dropped its connection")))
(t
(message "Unhandled event."))))
@@ -206,3 +206,6 @@ PROC is the TCP stream which generated MSG."
(provide 'matlab-netshell)
;;; matlab-netshell.el ends here
+
+;; LocalWords: Ludlam zappo emacsclient gud defun ipv setq dolist cmdstr
mlgud ecc ecca clientcmd
+;; LocalWords: nowledge newbuff delq mcode MCode
diff --git a/matlab-org.el b/matlab-org.el
index 473f9f6b2e..51ec58aff2 100644
--- a/matlab-org.el
+++ b/matlab-org.el
@@ -157,4 +157,4 @@ PARAMS MATLABP."
;;; matlab-org.el ends here
;; LocalWords: gmail defun setq isstring progn fixup matlabp dpng gfx funcall
Tmp writematrix eoe
-;; LocalWords: mapcar mapconcat featurep boundp
+;; LocalWords: mapcar mapconcat featurep boundp ERRORTXT
diff --git a/matlab-scan.el b/matlab-scan.el
index efe0255841..37b1e681ce 100644
--- a/matlab-scan.el
+++ b/matlab-scan.el
@@ -1522,7 +1522,7 @@ If optional NODISP, then don't display, just return the
msg."
(provide 'matlab-scan)
;;; matlab-scan.el ends here
-;; LocalWords: eludlam defconst decl ifelse vardecl obarray mapc elt cdr
defun numberp Ludlam
+;; LocalWords: eludlam defconst decl ifelse vardecl obarray mapc elt cdr
defun numberp Ludlam gmail
;; LocalWords: defsubst kwt setq symbolp memq ctxt ppss mlf ltype stype
propertize BOL sexp bol
;; LocalWords: ppsbol pps progn repeat:nil ppsend eol ec prev symval eolp
commanddual defmacro
;; LocalWords: consp endpt parens tmp bobp setcdr nthcdr setcar nonemptymiss
codemiss cmdbegin
diff --git a/matlab-sections.el b/matlab-sections.el
index 4926a13273..d680d3936a 100644
--- a/matlab-sections.el
+++ b/matlab-sections.el
@@ -133,7 +133,7 @@ the command `matlab-sections-minor-mode' to turn
matlab-sections mode on."
;; Function to obtain range of current code section
(defun matlab-sections--get-heading (&optional range)
- "Return the \"%% descrition\" heading or nil if not in a code section.
+ "Return the \"%% description\" heading or nil if not in a code section.
RANGE is (START-PT . END-PT) of the section or nil. If nil, we'll
determine the RANGE."
(when (not range)
diff --git a/matlab-shell.el b/matlab-shell.el
index 2d2d6b1ee8..e313e150bd 100644
--- a/matlab-shell.el
+++ b/matlab-shell.el
@@ -373,7 +373,7 @@ buffers for the integration with matlab-shell-mode."
(set-syntax-table (matlab--shell-get-syntax-table))
(setq-local font-lock-defaults '((matlab-shell-font-lock-keywords)
- t ;; syntatic fontification (strings and
comments) is not performed.
+ t ;; syntactic fontification (strings and
comments) is not performed.
nil ;; keywords are case sensitive
;; Put _ as a word constituent, simplifying
keywords
((?_ . "w"))))
@@ -2505,4 +2505,5 @@ Argument FNAME specifies if we should echo the region to
the command line."
;; LocalWords: dired bol bobp numberp princ minibuffer fn matlabregex lastcmd
notimeout
;; LocalWords: stacktop eltest testme localfcn LF fileref funcall ef ec basec
sk nondirectory utils
;; LocalWords: ignoredups boundp edir sexp Fixup mapc emacsrun noshow cnt
ellipsis newf bss noselect
-;; LocalWords: fname mlx xemacs linux darwin truename clientcmd simulationc
caar
+;; LocalWords: fname mlx xemacs linux darwin truename clientcmd simulationc
caar fontification
+;; LocalWords: defsubst ppss
diff --git a/matlab-syntax.el b/matlab-syntax.el
index e17d1b724d..179d2e830e 100644
--- a/matlab-syntax.el
+++ b/matlab-syntax.el
@@ -585,6 +585,6 @@ If COUNT is negative, travel backward."
;;; matlab-syntax.el ends here
-;; LocalWords: Ludlam eludlam compat booleanp propertize varname defmacro
oldsyntax progn
+;; LocalWords: Ludlam eludlam compat booleanp propertize varname defmacro
oldsyntax progn defface
;; LocalWords: ppss sexp pps defun eobp mcm blockcomment EOL defconst
commanddual cds bolp eol
-;; LocalWords: cellbreak setq defsubst charvector memq sexps posn parens
boundp gmail
+;; LocalWords: cellbreak setq defsubst charvector memq sexps posn parens
boundp gmail classdef's
diff --git a/matlab-topic.el b/matlab-topic.el
index 3f186a2735..a7e9d848eb 100644
--- a/matlab-topic.el
+++ b/matlab-topic.el
@@ -94,7 +94,7 @@
"----"
["Exit" bury-buffer t]))
-;; Need this to fix wierd problem in define-derived-mode
+;; Need this to fix weird problem in define-derived-mode
(defvar matlab-shell-help-mode-syntax-table (make-syntax-table)
"Syntax table used in `matlab-shell-help-mode'.")
@@ -202,3 +202,5 @@ EVENT is the user mouse event."
(provide 'matlab-topic)
;;; matlab-topic.el ends here
+
+;; LocalWords: Ludlam zappo fboundp defalias keymap setq boundp defun
downcase cdr numberp
diff --git a/matlab-ts-langs-install.el b/matlab-ts-langs-install.el
index c92d7cac13..30ca2f80b6 100644
--- a/matlab-ts-langs-install.el
+++ b/matlab-ts-langs-install.el
@@ -128,9 +128,9 @@ SLIB-RE is the regexp that matches LANGUAGE.SLIB-EXT."
(let ((lang (completing-read prompt all-languages nil t)))
(if (string= lang "")
(setq done (string-match "\\`Next" prompt))
- ;; else lanuage entered
+ ;; else language entered
(push lang languages-to-extract)
- (setq prompt "Next lanugage to extract (enter when done): "))))))
+ (setq prompt "Next language to extract (enter when done): "))))))
;; result
languages-to-extract))
@@ -222,7 +222,7 @@ LATEST-URL is the URL used to get *.tar.gz into the current
buffer"
(error
(error "Failed to extract downloaded %s
Error: %s
-This could be due use of a tree-sitter lanugage shared library.
+This could be due use of a tree-sitter language shared library.
Try restarting Emacs without loading any *-ts-mode, then run
M-x matlab-ts-langs-install"
latest-url
@@ -285,3 +285,7 @@ is known to work with Emacs 30 as of July 2025"
(provide 'matlab-ts-langs-install)
;;; matlab-ts-langs-install.el ends here
+
+;; LocalWords: libtree dylib aarch darwin gz linux pc msvc LANUGAGE SLIB
SLILB treesit defun os
+;; LocalWords: pcase macos berkeley freebsd nt gv buf setq mapconcat slib
dolist pecify lang readme
+;; LocalWords: nondirectory tmp alist repeat:tmp bsdunix andriod progn
truename
diff --git a/matlab.el b/matlab.el
index 4d0ba22b94..8b72aa7f35 100644
--- a/matlab.el
+++ b/matlab.el
@@ -1006,7 +1006,7 @@ This matcher will handle a range of variable features."
'("properties" "events" "arguments"))
(let ((start-point (point)))
- ;; Skip over comments to next lanugage element so that our regex
matchers below do not find
+ ;; Skip over comments to next language element so that our regex
matchers below do not find
;; items in them.
(forward-comment (point-max))
@@ -3059,7 +3059,7 @@ desired."
;;; matlab.el ends here
;; LocalWords: SPDX Wette mwette edu Ludlam eludlam Uwe Brauer oub ucm
defconst compat easymenu dem
-;; LocalWords: elec defcustom mfiles objc sexp sg Fns Alist symbolp defun
mfile
+;; LocalWords: elec defcustom mfiles objc sexp sg Fns Alist symbolp defun
mfile setcar netshell
;; LocalWords: keymap setq decl memq classdef's progn mw vf functionname
booleanp torkel fboundp
;; LocalWords: gud ebstop mlgud ebclear ebstatus mlg mlgud's subjob featurep
defface commanddual
;; LocalWords: docstring cdr animatedline rlim thetalim cartesian stackedplot
bubblechart
diff --git a/mlint.el b/mlint.el
index d28928e5e9..1f4b1fd742 100644
--- a/mlint.el
+++ b/mlint.el
@@ -489,7 +489,7 @@ Optional argument FIELDS are the initialization arguments."
(defclass mlint-lm-function-name (mlint-lm-replace-focus)
()
- "When function name is missmatched with the file name."
+ "When function name is mismatched with the file name."
)
(cl-defmethod initialize-instance :after ((this mlint-lm-function-name) &rest
fields)
@@ -903,4 +903,5 @@ find it."
;; LocalWords: cadr cdddr mapconcat defclass linemarks initarg coverlay
warningid ID's warningcode
;; LocalWords: initform newgroup foundgroup lmg defmethod plist nondirectory
oref oset boundp EDiff
;; LocalWords: warntxt progn makeunbound ent newfcn downcase mapc fontify
truename magit ediff prev
-;; LocalWords: mlinting keymap repos ipos startpos mmode funcall metabuffer
ediffed mapcar
+;; LocalWords: mlinting keymap repos ipos startpos mmode funcall metabuffer
ediffed mapcar MSNU
+;; LocalWords: ENDCT FNDEF MCFIL MCSCC tmp aref wc blockname
diff --git a/semantic-matlab.el b/semantic-matlab.el
index e441cba90a..8b2f47761b 100644
--- a/semantic-matlab.el
+++ b/semantic-matlab.el
@@ -871,4 +871,4 @@ This will include a list of type/field names when
applicable."
;; LocalWords: repeat:nil RETURNVARS fn vals func's downcase oldstyle dolist
nthcdr typemodifiers
;; LocalWords: mapcar alist nconc bt ctags reparse chil newlist astruct
aclass exampleclass anumber
;; LocalWords: anotherclass avariable defconst progn bobp setcdr knowntypes
cadr argstr docstring
-;; LocalWords: defcustom ia tt fboundp nolog ctxt ENDSYM endsym imenu
bucketize stickyfunc
+;; LocalWords: defcustom ia tt fboundp nolog ctxt ENDSYM endsym imenu
bucketize stickyfunc mapc
diff --git a/semanticdb-matlab.el b/semanticdb-matlab.el
index 28ba7a15ee..01d1d76dc9 100644
--- a/semanticdb-matlab.el
+++ b/semanticdb-matlab.el
@@ -84,7 +84,7 @@
(defvar-mode-local matlab-mode semanticdb-find-default-throttle
'(project omniscience)
"Search project files, then search this omniscience database.
-It is not necessary to to system or recursive searching because of
+It is not necessary to system or recursive searching because of
the omniscience database.")
;;; Filename based methods
@@ -123,7 +123,7 @@ Create one of our special tables that can act as an
intermediary."
(cl-defmethod semanticdb-equivalent-mode ((table semanticdb-table-matlab)
&optional buffer)
"Return non-nil if TABLE's mode is equivalent to BUFFER.
-Equivalent modes are specified by by `semantic-equivalent-major-modes'
+Equivalent modes are specified by `semantic-equivalent-major-modes'
local variable."
(ignore table)
(with-current-buffer buffer
@@ -139,12 +139,12 @@ This function is currently a stub."
;;; Usage
;;
-;; Unlike other tables, an omniscent database does not need to
+;; Unlike other tables, an omniscient database does not need to
;; be associated with a path. Use this routine to always add ourselves
;; to a search list.
(define-mode-local-override semanticdb-find-translate-path matlab-mode
(path brutish)
- "Return a list of semanticdb tables asociated with PATH.
+ "Return a list of semanticdb tables associated with PATH.
If brutish, do the default action.
If not brutish, do the default action, and append the system
database (if available.)"
@@ -348,7 +348,7 @@ Return a list of tags."
(cl-defmethod semanticdb-find-tags-for-completion-method
((table semanticdb-table-matlab) prefix &optional tags)
- "In TABLE, find all occurances of tags matching PREFIX.
+ "In TABLE, find all occurrences of tags matching PREFIX.
Optional argument TAGS is a list of tags to search.
Returns a table of all matching tags."
(ignore table)
@@ -390,3 +390,7 @@ Returns a table of all matching tags."
(provide 'semanticdb-matlab)
;;; semanticdb-matlab.el ends here
+
+;; LocalWords: Engster dengste skel Ludlam eieio eval'd defclass initform
defmethod tmp boundp
+;; LocalWords: newtable oset FILENAME's TABLE's fboundp mapcar defun setq cdr
setcdr dirs dolist
+;; LocalWords: subdirs nondirectory ctxt delq compdb compshell stringp mapc
diff --git a/tests/test-package-version.el b/tests/test-package-version.el
index 1dba16ed44..aee802e9ce 100644
--- a/tests/test-package-version.el
+++ b/tests/test-package-version.el
@@ -28,7 +28,7 @@
(ert-deftest test-package-version ()
"Validate the package version numbers in ../*.el are the same.
Emacs MATLAB mode package consists of several major and minor modes and
-for simplicity we require that the verisons of these be the same."
+for simplicity we require that the versions of these be the same."
(let ((el-files (directory-files ".." t "\\.el\\'"))
(version-lines "")
@@ -57,3 +57,5 @@ for simplicity we require that the verisons of these be the
same."
(provide 'test-package-version)
;;; test-package-version.el ends here
+
+;; LocalWords: utils dolist setq
diff --git a/tlc.el b/tlc.el
index d9328987db..f9ec8da2e3 100644
--- a/tlc.el
+++ b/tlc.el
@@ -506,4 +506,4 @@
EXISTS(\"?\\(?:::\\)?_[A-Z_0-9]+_\"?)\\s-*==\\s-*\\(?:0\\|TLC_FALSE\\)\\|\
;; LocalWords: Ludlam eludlam galbraith psg debian defun defcustom setq
keymap defface grayscale sw
;; LocalWords: IDNUM NUMTLCFILES STRINGOF SYSNAME TLCFILES UINTWHITE
repeat:nil prog calc endswitch
-;; LocalWords: bobp nexti progn alist el stackexchange ppss openfile
closefile curr elsif
+;; LocalWords: bobp nexti progn alist el stackexchange ppss openfile
closefile curr elsif imenu
diff --git a/toolbox/+emacs/@Breakpoints/Breakpoints.m
b/toolbox/+emacs/@Breakpoints/Breakpoints.m
index 9a50ad0afa..2277496445 100644
--- a/toolbox/+emacs/@Breakpoints/Breakpoints.m
+++ b/toolbox/+emacs/@Breakpoints/Breakpoints.m
@@ -200,3 +200,5 @@ function nf = fixFile(filename)
nf = regexprep(filename,"\", "/");
end
+
+% LocalWords: Ludlam Netshell mlg progn del EMACSCAP bpstructlist BPLIST
diff --git a/toolbox/+emacs/@EmacsServer/EmacsServer.m
b/toolbox/+emacs/@EmacsServer/EmacsServer.m
index 39ad1af6ee..e3bd972bd6 100644
--- a/toolbox/+emacs/@EmacsServer/EmacsServer.m
+++ b/toolbox/+emacs/@EmacsServer/EmacsServer.m
@@ -22,7 +22,7 @@ classdef EmacsServer < handle
% True to send Emacs Stack info as the user steps through the debugger.
FollowStack = false;
end
-
+
properties (Access='protected')
tcpclient;
timer;
@@ -31,42 +31,42 @@ classdef EmacsServer < handle
methods
function ES = EmacsServer()
% Construct the Emacs Server. Create the TCP client and
-
+
ES.tcpclient = tcpclient('localhost', 32475);
-
+
if isempty(ES.tcpclient)
delete(ES);
error('Unable to connect to Emacs.');
end
-
+
ES.timer = timer('Name','Emacs NetShell timer', ...
'TimerFcn', {@watch_emacs ES}, ...
'Period', 3,...
'BusyMode', 'drop',...
'ErrorFcn', {@drop_emacs ES},...
'ExecutionMode', 'fixedSpacing');
-
+
start(ES.timer);
-
+
ES.SendCommand('init');
end
-
+
function delete(ES)
try
stop(ES.timer);
end
delete(ES.tcpclient);
- delete(ES.timer);
+ delete(ES.timer);
end
-
+
function SendCommand(ES, cmd, data)
% Commands have 2 parts, the COMMAND and DATA.
% COMMAND is sent to emacs followed by a newline. This should be a
single
% word. SendCommand adds the newline.
% DATA can be any string.
% The full command is terminated by a NULL -> uint8(0)
-
+
write(ES.tcpclient, uint8([ cmd newline]));
if nargin > 2 && ~isempty(data)
@@ -74,41 +74,41 @@ classdef EmacsServer < handle
end
write(ES.tcpclient, uint8(0));
end
-
+
function SendEval(ES, lispform)
- % Send the LISPFFORM for Emacs to evaluate.
-
+ % Send the LISPFFORM for Emacs to evaluate.
+
ES.SendCommand('eval', lispform);
end
end
-
+
properties (Access='protected')
accumulator = '';
end
-
+
methods (Access='protected')
function ReadCommand(ES)
msg = char(read(ES.tcpclient));
-
+
ES.accumulator = [ ES.accumulator msg ];
-
+
while ~isempty(ES.accumulator)
-
+
k = strfind(ES.accumulator, char(0));
-
+
if isempty(k)
% No complete commands. Exit.
disp(['partial accumulation: ' ES.accumulator]);
return;
end
-
+
datamsg = ES.accumulator(1:k(1)-1);
ES.accumulator = ES.accumulator(k(1)+1:end);
-
- % Now peal the datamsg into it's constituant parts.
+
+ % Now peal the datamsg into it's constituent parts.
cr = strfind(datamsg, newline);
-
+
if isempty(cr)
cmd = datamsg;
data = '';
@@ -116,23 +116,23 @@ classdef EmacsServer < handle
cmd = datamsg(1:cr(1)-1);
data = datamsg(cr(1)+1:end);
end
-
+
ES.ExecuteRemoteCommand(cmd, data);
end
end
-
+
function ExecuteRemoteCommand(ES, cmd, data)
- % When we recieve a command from Emacs, eval it.
-
+ % When we receive a command from Emacs, eval it.
+
switch cmd
case 'nowledge'
- disp('Acknowledgement recieved.');
-
+ disp('Acknowledgement received.');
+
case 'ack'
- disp('Ack Recieved. Sending ack back.');
+ disp('Ack Received. Sending ack back.');
ES.SendCommand('nowledge');
-
+
case 'eval'
try
disp(['>> ' data]);
@@ -141,10 +141,10 @@ classdef EmacsServer < handle
disp(ERR.message);
ES.SendCommand('error', ERR.message);
end
-
+
case 'evalc'
disp('Evalc request.');
- try
+ try
OUT = evalc(data);
catch ERR
OUT = ERR.message;
@@ -154,29 +154,29 @@ classdef EmacsServer < handle
else
disp('No output');
end
-
+
otherwise
disp('Unknown command from Emacs');
end
end
-
+
end
end
function watch_emacs(~, ~, ES)
% Timer Callback Function:
% Watch for bytes available from the Emacs network connection, and act on any
events.
-
+
ba = ES.tcpclient.BytesAvailable;
-
+
if ba > 0
-
+
ES.ReadCommand();
-
+
else
- % Nothing recieved
+ % Nothing received
%disp('No Luv from Emacs');
-
+
% Check if we are still alive. We can only do that with a
% write- so send an empty message.
try
@@ -186,20 +186,22 @@ function watch_emacs(~, ~, ES)
delete(ES);
end
end
-
+
if ES.FollowStack
es = getappdata(groot, 'EmacsStack');
[ST, I] = dbstack('-completenames');
es.updateEmacs(ST, I);
end
-
+
end
function drop_emacs(~, ~, ES)
% If the timer throws an error, then shutdown.
-
+
delete(ES);
-
+
disp('Error in timer, dropping connection to Emacs.');
-
+
end
+
+% LocalWords: Ludlam LISPFFORM datamsg nowledge Luv completenames
diff --git a/toolbox/dbhotlink.m b/toolbox/dbhotlink.m
index ac2aa4f8cb..52f96aeefc 100644
--- a/toolbox/dbhotlink.m
+++ b/toolbox/dbhotlink.m
@@ -28,3 +28,5 @@ function dbhotlink()
disp(')');
end
+
+% LocalWords: Ludlam completenames progn
diff --git a/toolbox/emacsrun.m b/toolbox/emacsrun.m
index 0bd919abe5..76ba653d8f 100644
--- a/toolbox/emacsrun.m
+++ b/toolbox/emacsrun.m
@@ -30,7 +30,7 @@ function emacsrun(mfile, varargin)
end
- % If not on the path, temporarilly switch to that directory so it and an
files it references are
+ % If not on the path, temporarily switch to that directory so it and an
files it references are
% accessible
if ~onpath
oldpath = pwd;
@@ -43,3 +43,5 @@ function emacsrun(mfile, varargin)
evalin('base',cmd);
end
+
+% LocalWords: MFILE
diff --git a/toolbox/emacsrunregion.m b/toolbox/emacsrunregion.m
index 5517cd8f81..17b61377d5 100644
--- a/toolbox/emacsrunregion.m
+++ b/toolbox/emacsrunregion.m
@@ -63,4 +63,4 @@ function emacsrunregion(file, startchar, endchar)
% shortFileName, extension, regionInfo);
end
-% LocalWords: STARTCHAR ENDCHAR
+% LocalWords: STARTCHAR ENDCHAR startchar endchar LF CRFL
diff --git a/toolbox/emacstipstring.m b/toolbox/emacstipstring.m
index af795f1a2c..93fef9d29b 100644
--- a/toolbox/emacstipstring.m
+++ b/toolbox/emacstipstring.m
@@ -17,7 +17,9 @@ function emacstipstring(expr)
% EMACSSTRIPSTRING - Take EXPR, and convert into a tooltip friendly string.
%
% This utility is mean to be used by emacs to create text to display
-% whie debugging code.
+% while debugging code.
disp(expr)
end
+
+% LocalWords: EMACSSTRIPSTRING