branch: externals/matlab-mode commit 5542f2270a5c953e5c11d29eda66a24c8635a542 Author: John Ciolfi <john.ciolfi...@gmail.com> Commit: John Ciolfi <john.ciolfi...@gmail.com>
cleanup coprights See https://github.com/mathworks/Emacs-MATLAB-Mode/issues/51 Also added to contributing/CONTRIBUTING.org: 4. Copyrights and license notification. See https://www.gnu.org/licenses/gpl-howto.en.html. Copyrights are of the form: "Copyright /Year/ Free Software Foundation, Inc." or when work is done over multiple years, "Copyright /StartYear-EndYear/ Free Software Foundation, Inc.". Do not use "(c)" characters which is a abbreviation for copyright. Writing "Copyright (c) ..." is like writing "Copyright Copyright ...". See https://www.copyright.gov/circs/circ03.pdf. After the copyright, in source code files, there should be a license notification. - If a copyright exists, increment the end year as needed. The start year should remian the unchanged. - If a copyright doesn't exist, add the copyright along with the license notice. --- .dir-locals.el | 26 ++++++++-------- bin/matlab-emacsclient.sh | 19 ++++++++++-- company-matlab-shell.el | 7 ++--- {tests => contributing}/.dir-locals.el | 12 ++++---- contributing/CONTRIBUTING.org | 13 ++++++++ contributing/MELPA-ELPA.org | 4 +-- contributing/matlab-maint.el | 6 ++-- .../matlab-and-org-mode/css/styles-from-org.css | 2 +- examples/matlab-and-org-mode/css/styles.css | 2 +- linemark.el | 4 +-- matlab--access.el | 4 +-- matlab-ccount.el | 9 +++--- matlab-cgen.el | 10 +++---- matlab-compat.el | 11 +++---- matlab-complete.el | 9 +++--- matlab-is-matlab-file.el | 20 +++++++++++++ matlab-mode.el | 4 +-- matlab-netshell.el | 10 +++---- matlab-org.el | 6 ++-- matlab-scan.el | 10 +++---- matlab-sections.el | 6 ++-- matlab-shell-gud.el | 10 +++---- matlab-shell.el | 10 +++---- matlab-syntax.el | 6 ++-- matlab-topic.el | 9 +++--- matlab-ts-mode--builtins.el | 4 +-- matlab-ts-mode.el | 4 +-- matlab.el | 27 ++++++++--------- mlgud.el | 35 +++++++++------------- mlint.el | 10 +++---- semantic-matlab.el | 30 ++++++++----------- semanticdb-matlab.el | 27 ++++++++--------- tests/+eltest/+utils/testme.m | 8 ++--- tests/+eltest/@EmacsTest/EmacsTest.m | 8 ++--- tests/.dir-locals.el | 26 ++++++++-------- tests/blocks.m | 9 +++--- tests/buggy.m | 8 ++--- tests/cellscript.m | 9 +++--- tests/complete.m | 9 +++--- tests/continuations.m | 9 +++--- tests/dbtester.m | 8 ++--- tests/errexamples.shell.m | 10 +++---- tests/expressions.m | 9 +++--- tests/fontlock.m | 8 ++--- tests/indents.m | 8 ++--- tests/mclass.m | 9 +++--- tests/mclass_cont.m | 9 +++--- tests/metest-font-lock-test2.el | 15 +++++----- tests/metest-imenu-tlc.el | 15 +++++----- tests/metest-imenu.el | 16 +++++----- tests/metest-indent-test2.el | 16 +++++----- tests/metest.el | 24 +++++++-------- tests/metest.sh | 11 +++---- tests/mfuncends.m | 9 +++--- tests/mfuncnoend.m | 9 +++--- tests/mfuncnoendblock.m | 9 +++--- tests/mfuncnoendindent.m | 9 +++--- tests/mfuncnofuncindent.m | 9 +++--- tests/mfuncspacey.m | 9 +++--- tests/mpclass.m | 9 +++--- tests/mstest-completions.el | 25 ++++++++-------- tests/mstest-sections.el | 25 ++++++++-------- tests/mstest.el | 26 ++++++++-------- tests/stringtest.m | 9 +++--- tests/sweep-test-matlab-ts-grammar.el | 16 +++++----- tests/sweep-test-matlab-ts-mode-indent.el | 16 +++++----- tests/syntaxerr.m | 9 +++--- tests/t-utils.el | 16 +++++----- tests/test-matlab-is-matlab-file.el | 14 ++++----- tests/test-matlab-ts-mode-comments.el | 16 +++++----- tests/test-matlab-ts-mode-electric-ends.el | 16 +++++----- tests/test-matlab-ts-mode-electric-pair.el | 16 +++++----- tests/test-matlab-ts-mode-file-encoding.el | 16 +++++----- tests/test-matlab-ts-mode-fill-paragraph.el | 16 +++++----- tests/test-matlab-ts-mode-font-lock.el | 26 ++++++++-------- tests/test-matlab-ts-mode-imenu.el | 16 +++++----- tests/test-matlab-ts-mode-indent-xr.el | 16 +++++----- tests/test-matlab-ts-mode-indent.el | 16 +++++----- tests/test-matlab-ts-mode-movement.el | 16 +++++----- tests/test-matlab-ts-mode-on-save-fixes.el | 16 +++++----- tests/test-matlab-ts-mode-outline.el | 16 +++++----- tests/test-matlab-ts-mode-page.el | 16 +++++----- tests/test-matlab-ts-mode-parser.el | 16 +++++----- tests/test-matlab-ts-mode-show-paren.el | 16 +++++----- tests/test-matlab-ts-mode-syntax-table.el | 26 ++++++++-------- tests/test-matlab-ts-mode-thing-settings.el | 16 +++++----- tests/test-matlab-ts-mode-treesit-defun-name.el | 16 +++++----- tests/test-matlab-ts-mode-view-parse-errors.el | 16 +++++----- tests/test-package-version.el | 16 +++++----- tests/testeeval.m | 9 +++--- tlc.el | 32 ++++++++++---------- toolbox/+emacs/@Breakpoints/Breakpoints.m | 9 +++--- toolbox/+emacs/@EmacsServer/EmacsServer.m | 9 +++--- toolbox/+emacs/@Stack/Stack.m | 6 ++-- toolbox/+emacs/set.m | 6 ++-- toolbox/dbhotlink.m | 9 +++--- toolbox/ebclear.m | 6 ++-- toolbox/ebstack.m | 6 ++-- toolbox/ebstatus.m | 7 ++--- toolbox/ebstop.m | 6 ++-- toolbox/emacscd.m | 6 ++-- toolbox/emacsdocomplete.m | 4 +-- toolbox/emacsinit.m | 6 ++-- toolbox/emacsnetshell.m | 6 ++-- toolbox/emacsrun.m | 6 ++-- toolbox/emacsrunregion.m | 6 ++-- toolbox/emacsstripremote.m | 6 ++-- toolbox/emacstipstring.m | 6 ++-- toolbox/help.m | 6 ++-- toolbox/opentoline.m | 6 ++-- 110 files changed, 669 insertions(+), 663 deletions(-) diff --git a/.dir-locals.el b/.dir-locals.el index eb32ba35a8..f8be6057f4 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -1,21 +1,21 @@ ;;; .dir-locals.el --- ;; -;; Copyright (C) 2024 John Ciolfi -;; ;; Author: John Ciolfi <cio...@mathworks.com> -;; -;; This program is free software; you can redistribute it and/or -;; modify it under the terms of the GNU General Public License as -;; published by the Free Software Foundation, either version 3 of the -;; License, or (at your option) any later version. - -;; This program is distributed in the hope that it will be useful, but -;; WITHOUT ANY WARRANTY; without even the implied warranty of -;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -;; General Public License for more details. +;; Copyright 20240-2025 +;; +;; This program is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. +;; +;; This program is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. +;; ;; You should have received a copy of the GNU General Public License -;; along with this program. If not, see https://www.gnu.org/licenses/. +;; along with this program. If not, see <http://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/bin/matlab-emacsclient.sh b/bin/matlab-emacsclient.sh index baeeb71299..1d82aeeebd 100755 --- a/bin/matlab-emacsclient.sh +++ b/bin/matlab-emacsclient.sh @@ -3,8 +3,8 @@ # Abstract: # Use to redirect MATLAB 'edit foo.m' command such that foo.m opens in Emacs. # -# When running MATLAB on Mac, openFileOnMac() of edit.m is passed the applicationName which must be -# a single command without switches: +# When running MATLAB on Mac, openFileOnMac() of edit.m is passed the applicationName which must +# be a single command without switches: # [status, result] = unix(['which ' appInQuotes ]); # This file is the applicationName. # To enable @@ -15,6 +15,21 @@ # checkMacApp(applicationName, 'emacs') of edit.m to return false, therefore cannot use # emacsclient.sh and therefore use matlab-emacsclient.sh +# Copyright 2020-2025 Free Software Foundation Inc. +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see <http://www.gnu.org/licenses/>. + if [ "$EDITOR_EMACSCLIENT" = "" ]; then # This should be setup by matlab-emacs/toolbox/+emacs/set.m echo "assert - EDITOR_EMACSCLIENT is not set" diff --git a/company-matlab-shell.el b/company-matlab-shell.el index cfdf76e1ff..b208a3d901 100644 --- a/company-matlab-shell.el +++ b/company-matlab-shell.el @@ -1,9 +1,8 @@ ;;; company-matlab-shell.el --- a matlab-shell-mode completion back-end for MATLAB -*- lexical-binding: t -*- -;; Copyright (C) 2024 Free Software Foundation, Inc. +;; Author: Eric Ludlam <za...@gnu.org>, David Engster <deng...@eml.cc> -;; Author: Eric Ludlam <za...@gnu.org> -;; David Engster <deng...@eml.cc> +;; Copyright 2009-2024 Free Software Foundation, Inc. ;; ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License @@ -16,7 +15,7 @@ ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License -;; along with this program. If not, see <http://www.gnu.org/licenses/>. +;; along with this program. If not, see <http://www.gnu.org/licenses>. ;;; Commentary: ;; diff --git a/tests/.dir-locals.el b/contributing/.dir-locals.el similarity index 93% copy from tests/.dir-locals.el copy to contributing/.dir-locals.el index 09b1bcfaf8..9fe995b1c5 100644 --- a/tests/.dir-locals.el +++ b/contributing/.dir-locals.el @@ -1,21 +1,21 @@ ;;; .dir-locals.el --- -;; -;; Copyright (C) 2024 John Ciolfi -;; + ;; Author: John Ciolfi <cio...@mathworks.com> + +;; Copyright 2024 Free Software Foundation Inc. ;; ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License as ;; published by the Free Software Foundation, either version 3 of the ;; License, or (at your option) any later version. - +;; ;; This program is distributed in the hope that it will be useful, but ;; WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;; General Public License for more details. - +;; ;; You should have received a copy of the GNU General Public License -;; along with this program. If not, see https://www.gnu.org/licenses/. +;; along with this program. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/contributing/CONTRIBUTING.org b/contributing/CONTRIBUTING.org index 257bcc1654..16e67e5415 100644 --- a/contributing/CONTRIBUTING.org +++ b/contributing/CONTRIBUTING.org @@ -77,6 +77,19 @@ haven't gotten to yet! 3. Changes should include tests. +4. Copyrights and license notification. See https://www.gnu.org/licenses/gpl-howto.en.html. + + Copyrights are of the form: "Copyright /Year/ Free Software Foundation, Inc." or when work is + done over multiple years, "Copyright /StartYear-EndYear/ Free Software Foundation, Inc.". Do not + use "(c)" characters which is a abbreviation for copyright. Writing "Copyright (c) ..." is like + writing "Copyright Copyright ...". See https://www.copyright.gov/circs/circ03.pdf. After the + copyright, in source code files, there should be a license notification. + + - If a copyright exists, increment the end year as needed. The start year should remian the + unchanged. + + - If a copyright doesn't exist, add the copyright along with the license notice. + *Again, thanks for contributing, and we look forward to your issues and pull requests!* * Version Numbers diff --git a/contributing/MELPA-ELPA.org b/contributing/MELPA-ELPA.org index e6620ad4a8..036d59d8f8 100644 --- a/contributing/MELPA-ELPA.org +++ b/contributing/MELPA-ELPA.org @@ -49,7 +49,7 @@ Relevant lines: #+begin_src ;;; matlab.el --- major mode for MATLAB(R) dot-m files -*- lexical-binding: t -*- -;; Copyright (C) 1991-2025 Free Software Foundation, Inc. +;; Copyright 1991-2025 Free Software Foundation, Inc. ;; Version: 6.3 #+end_src @@ -58,7 +58,7 @@ It is also prudent to update the header in `matlab-mode.el`: #+begin_src ;;; matlab-mode.el --- Major mode for MATLAB(R) dot-m files -*- lexical-binding: t -*- -;; Copyright (C) 2024 Free Software Foundation, Inc. +;; Copyright 2024 Free Software Foundation, Inc. ;; Version: 6.3 ;; URL: https://github.com/mathworks/Emacs-MATLAB-Mode diff --git a/contributing/matlab-maint.el b/contributing/matlab-maint.el index ab757d146f..49dd5f72fd 100644 --- a/contributing/matlab-maint.el +++ b/contributing/matlab-maint.el @@ -1,8 +1,8 @@ ;;; matlab-maint.el --- matlab mode maintainer utilities -*- lexical-binding: t -*- -;; Copyright (C) 2024 Free Software Foundation, Inc. - ;; Author: Eric Ludlam <eludlam@emacsvm> + +;; Copyright 2019-2024 Free Software Foundation, Inc. ;; ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License as @@ -15,7 +15,7 @@ ;; General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with this program. If not, see https://www.gnu.org/licenses/. +;; along with this program. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/examples/matlab-and-org-mode/css/styles-from-org.css b/examples/matlab-and-org-mode/css/styles-from-org.css index 9671defd09..10af14e8c5 100644 --- a/examples/matlab-and-org-mode/css/styles-from-org.css +++ b/examples/matlab-and-org-mode/css/styles-from-org.css @@ -1,5 +1,5 @@ /* - * Copyright (C) 2024 John Ciolfi + * Copyright 2024-2025 Free Software Foundation Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/examples/matlab-and-org-mode/css/styles.css b/examples/matlab-and-org-mode/css/styles.css index 0f93028099..baab80cef9 100644 --- a/examples/matlab-and-org-mode/css/styles.css +++ b/examples/matlab-and-org-mode/css/styles.css @@ -1,5 +1,5 @@ /* - * Copyright (C) 2024 John Ciolfi + * Copyright 2024 Free Software Foundation Inc. * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by diff --git a/linemark.el b/linemark.el index 58fc846599..eb9c592f8b 100644 --- a/linemark.el +++ b/linemark.el @@ -1,11 +1,11 @@ ;;; linemark.el --- Manage groups of lines with marks. -*- lexical-binding: t -*- -;; Copyright (C) 2024 Free Software Foundation, Inc. - ;; Author: Eric M. Ludlam <elud...@mathworks.com> ;; Maintainer: Eric M. Ludlam <elud...@mathworks.com> ;; Created: Dec 1999 ;; Keywords: lisp + +;; Copyright 2013-2025 Free Software Foundation, Inc. ;; ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by diff --git a/matlab--access.el b/matlab--access.el index fde14d0fba..9c813e1694 100644 --- a/matlab--access.el +++ b/matlab--access.el @@ -1,12 +1,12 @@ ;;; matlab--access.el --- MATLAB access -*- lexical-binding: t -*- -;; Copyright 2001-2025 Free Software Foundation, Inc. -;; ;; URL: https://github.com/mathworks/Emacs-MATLAB-Mode ;; SPDX-License-Identifier: GPL-3.0-or-later ;; ;; Author: John Ciolfi <john.ciolfi...@gmail.com> +;; Copyright 2001-2025 Free Software Foundation, Inc. +;; ;; This file is free software: you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published ;; by the Free Software Foundation, either version 3 of the License, diff --git a/matlab-ccount.el b/matlab-ccount.el index 100809366f..2f3c3cb936 100644 --- a/matlab-ccount.el +++ b/matlab-ccount.el @@ -1,21 +1,22 @@ ;;; matlab-ccount.el --- character count minor mode -*- lexical-binding: t -*- -;; Copyright (C) 2024 Free Software Foundation, Inc. ;; Author: Eric Ludlam + +;; Copyright 2024 Free Software Foundation, Inc. ;; ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License as ;; published by the Free Software Foundation, either version 3 of the ;; License, or (at your option) any later version. - +;; ;; This program is distributed in the hope that it will be useful, but ;; WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;; General Public License for more details. - +;; ;; You should have received a copy of the GNU General Public License -;; along with this program. If not, see https://www.gnu.org/licenses/. +;; along with this program. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/matlab-cgen.el b/matlab-cgen.el index 06daae8b06..f397f9682a 100644 --- a/matlab-cgen.el +++ b/matlab-cgen.el @@ -1,21 +1,21 @@ ;;; matlab-cgen.el --- In buffer code generation features (templates, etc) -*- lexical-binding: t -*- -;; Copyright (C) 2024 Free Software Foundation, Inc. - ;; Author: Eric Ludlam <za...@gnu.org> + +;; Copyright 2019-2024 Free Software Foundation, Inc. ;; ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License as ;; published by the Free Software Foundation, either version 3 of the ;; License, or (at your option) any later version. - +;; ;; This program is distributed in the hope that it will be useful, but ;; WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;; General Public License for more details. - +;; ;; You should have received a copy of the GNU General Public License -;; along with this program. If not, see http://www.gnu.org/licenses/. +;; along with this program. If not, see <http://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/matlab-compat.el b/matlab-compat.el index 5bed625e9b..5b1724cb10 100644 --- a/matlab-compat.el +++ b/matlab-compat.el @@ -1,21 +1,22 @@ ;;; matlab-compat.el --- Compatibility Code -*- lexical-binding: t -*- -;; Copyright (C) 2024 Free Software Foundation, Inc. - ;; Author: Eric Ludlam <eludlam@osboxes> + + +;; Copyright 2019-2024 Free Software Foundation, Inc. ;; ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License as ;; published by the Free Software Foundation, either version 3 of the ;; License, or (at your option) any later version. - +;; ;; This program is distributed in the hope that it will be useful, but ;; WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;; General Public License for more details. - +;; ;; You should have received a copy of the GNU General Public License -;; along with this program. If not, see https://www.gnu.org/licenses/. +;; along with this program. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/matlab-complete.el b/matlab-complete.el index 5c6338853b..e7cd27d568 100644 --- a/matlab-complete.el +++ b/matlab-complete.el @@ -1,21 +1,22 @@ ;;; matlab-complete.el --- Simple completion tool for matlab-mode -*- lexical-binding: t -*- -;; Copyright (C) 2024 Free Software Foundation, Inc. ;; Author: Eric Ludlam <za...@gnu.org> + +;; Copyright 2019-2024 Free Software Foundation, Inc. ;; ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License as ;; published by the Free Software Foundation, either version 3 of the ;; License, or (at your option) any later version. - +;; ;; This program is distributed in the hope that it will be useful, but ;; WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;; General Public License for more details. - +;; ;; You should have received a copy of the GNU General Public License -;; along with this program. If not, see https://www.gnu.org/licenses/. +;; along with this program. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/matlab-is-matlab-file.el b/matlab-is-matlab-file.el index 0823c3c83f..779c79add5 100644 --- a/matlab-is-matlab-file.el +++ b/matlab-is-matlab-file.el @@ -1,5 +1,25 @@ ;;; matlab-is-matlab-file.el --- enter MATLAB mode? -*- lexical-binding: t -*- +;; Author: john.ciolfi...@gmail.com +;; URL: https://github.com/mathworks/Emacs-MATLAB-Mode +;; SPDX-License-Identifier: GPL-3.0-or-later + +;; Copyright 1991-2025 Free Software Foundation, Inc. +;; +;; This program is free software; you can redistribute it and/or +;; modify it under the terms of the GNU General Public License as +;; published by the Free Software Foundation, either version 3 of the +;; License, or (at your option) any later version. +;; +;; This program is distributed in the hope that it will be useful, but +;; WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +;; General Public License for more details. +;; +;; You should have received a copy of the GNU General Public License +;; along with this program. If not, see <https://www.gnu.org/licenses/>. + + ;;; Commentary: ;; ;; When visiting a *.m file, enter matlab-ts-mode (or matlab-mode) if it contains MATLAB content. diff --git a/matlab-mode.el b/matlab-mode.el index 02aedd1401..d353c03ca4 100644 --- a/matlab-mode.el +++ b/matlab-mode.el @@ -1,7 +1,5 @@ ;;; matlab-mode.el --- Major mode for MATLAB(R) dot-m files -*- lexical-binding: t -*- -;; Copyright (C) 2024 Free Software Foundation, Inc. - ;; Version: 7.0.1 ;; URL: https://github.com/mathworks/Emacs-MATLAB-Mode ;; SPDX-License-Identifier: GPL-3.0-or-later @@ -13,6 +11,8 @@ ;; Keywords: MATLAB(R) ;; Package-Requires: ((emacs "27.2")) +;; Copyright 1991-2025 Free Software Foundation, Inc. +;; ;; This file is free software: you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published ;; by the Free Software Foundation, either version 3 of the License, diff --git a/matlab-netshell.el b/matlab-netshell.el index ff2cf67595..72adee3dc7 100644 --- a/matlab-netshell.el +++ b/matlab-netshell.el @@ -1,21 +1,21 @@ ;;; matlab-netshell.el --- Control MATLAB from a network port. -*- lexical-binding: t -*- -;; Copyright (C) 2024 Free Software Foundation, Inc. - ;; Author: Eric Ludlam <za...@gnu.org> + +;; Copyright 2024 Free Software Foundation, Inc. ;; ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License as ;; published by the Free Software Foundation, either version 3 of the ;; License, or (at your option) any later version. - +;; ;; This program is distributed in the hope that it will be useful, but ;; WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;; General Public License for more details. - +;; ;; You should have received a copy of the GNU General Public License -;; along with this program. If not, see https://www.gnu.org/licenses/. +;; along with this program. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/matlab-org.el b/matlab-org.el index 51ec58aff2..dfae16a59f 100644 --- a/matlab-org.el +++ b/matlab-org.el @@ -1,8 +1,8 @@ ;;; matlab-org.el --- enable use of MATLAB with org-mode -*- lexical-binding: t -*- -;; Copyright (C) 2024 Free Software Foundation, Inc. - ;; Author: John Ciolfi <john.ciolfi...@gmail.com> + +;; Copyright 2024-2025 Free Software Foundation, Inc. ;; ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -17,7 +17,7 @@ ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; + ;;; Commentary: ;; ;; Enable use of org-mode with MATLAB for creation of scientific papers, thesis, etc. diff --git a/matlab-scan.el b/matlab-scan.el index 37b1e681ce..ed60278aa8 100644 --- a/matlab-scan.el +++ b/matlab-scan.el @@ -1,21 +1,21 @@ ;;; matlab-scan.el --- Tools for contextually scanning a MATLAB buffer -*- lexical-binding: t -*- -;; Copyright (C) 2021-2025 Free Software Foundation, Inc. - ;; Author: elud...@mathworks.com, john.ciolfi...@gmail.com + +;; Copyright 2021-2025 Free Software Foundation, Inc. ;; ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License as ;; published by the Free Software Foundation, either version 3 of the ;; License, or (at your option) any later version. - +;; ;; This program is distributed in the hope that it will be useful, but ;; WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;; General Public License for more details. - +;; ;; You should have received a copy of the GNU General Public License -;; along with this program. If not, see https://www.gnu.org/licenses/. +;; along with this program. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/matlab-sections.el b/matlab-sections.el index d680d3936a..e9c0b8b5e2 100644 --- a/matlab-sections.el +++ b/matlab-sections.el @@ -1,10 +1,10 @@ ;;; matlab-sections.el --- Support for code sections in matlab mode -*- lexical-binding: t -*- -;; Copyright (C) 2024-2025 Free Software Foundation, Inc. - ;; Author: Nidish Narayanaa Balaji <nid...@gmail.com>, John Ciolfi <john.ciolfi...@gmail.com>, Eric Ludlam <za...@gnu.org> ;; Created: 2024-05-14 ;; Renamed: 2024-10-22 + +;; Copyright 2024-2025 Free Software Foundation, Inc. ;; ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by @@ -18,7 +18,7 @@ ;; ;; You should have received a copy of the GNU General Public License ;; along with this program. If not, see <http://www.gnu.org/licenses/>. -;; + ;;; Commentary: ;; ;; This provides `matlab-sections-minor-mode' contains utilities for working with MATLAB code diff --git a/matlab-shell-gud.el b/matlab-shell-gud.el index 4289914bad..eb9c7a4cd8 100644 --- a/matlab-shell-gud.el +++ b/matlab-shell-gud.el @@ -1,21 +1,21 @@ ;;; matlab-shell-gud.el --- GUD support in matlab-shell. -*- lexical-binding: t -*- -;; Copyright (C) 2024 Free Software Foundation, Inc. - ;; Author: Eric Ludlam <elud...@mathworks.com> + +;; Copyright 2019-2024 Free Software Foundation, Inc. ;; ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License as ;; published by the Free Software Foundation, either version 3 of the ;; License, or (at your option) any later version. - +;; ;; This program is distributed in the hope that it will be useful, but ;; WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;; General Public License for more details. - +;; ;; You should have received a copy of the GNU General Public License -;; along with this program. If not, see https://www.gnu.org/licenses/. +;; along with this program. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/matlab-shell.el b/matlab-shell.el index 355b79966c..bf55a3522e 100644 --- a/matlab-shell.el +++ b/matlab-shell.el @@ -1,21 +1,21 @@ ;;; matlab-shell.el --- Run MATLAB in an inferior process -*- lexical-binding: t -*- -;; Copyright (C) 2019-2025 Free Software Foundation, Inc. - ;; Author: Eric Ludlam <za...@gnu.org> + +;; Copyright 2019-2025 Free Software Foundation, Inc. ;; ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License as ;; published by the Free Software Foundation, either version 3 of the ;; License, or (at your option) any later version. - +;; ;; This program is distributed in the hope that it will be useful, but ;; WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;; General Public License for more details. - +;; ;; You should have received a copy of the GNU General Public License -;; along with this program. If not, see https://www.gnu.org/licenses/. +;; along with this program. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/matlab-syntax.el b/matlab-syntax.el index 179d2e830e..ec690ff80c 100644 --- a/matlab-syntax.el +++ b/matlab-syntax.el @@ -1,8 +1,8 @@ ;;; matlab-syntax.el --- Manage MATLAB syntax tables and buffer parsing -*- lexical-binding: t -*- -;; Copyright (C) 2024-2025 Free Software Foundation, Inc. - ;; Author: <elud...@mathworks.com>, <john.ciolfi...@gmail.com> + +;; Copyright 2021-2025 Free Software Foundation, Inc. ;; ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License as @@ -15,7 +15,7 @@ ;; General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with this program. If not, see https://www.gnu.org/licenses/. +;; along with this program. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/matlab-topic.el b/matlab-topic.el index a7e9d848eb..99feaab6b1 100644 --- a/matlab-topic.el +++ b/matlab-topic.el @@ -1,21 +1,22 @@ ;;; matlab-topic.el --- Help browsing via Emacs buffers -*- lexical-binding: t -*- -;; Copyright (C) 2024 Free Software Foundation, Inc. ;; Author: Eric Ludlam <za...@gnu.org> + +;; Copyright 2019-2024 Free Software Foundation, Inc. ;; ;; This program is free software; you can redistribute it and/or ;; modify it under the terms of the GNU General Public License as ;; published by the Free Software Foundation, either version 3 of the ;; License, or (at your option) any later version. - +;; ;; This program is distributed in the hope that it will be useful, but ;; WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU ;; General Public License for more details. - +;; ;; You should have received a copy of the GNU General Public License -;; along with this program. If not, see https://www.gnu.org/licenses/. +;; along with this program. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/matlab-ts-mode--builtins.el b/matlab-ts-mode--builtins.el index 4a427f75bd..ccc75abcac 100644 --- a/matlab-ts-mode--builtins.el +++ b/matlab-ts-mode--builtins.el @@ -1,7 +1,5 @@ ;;; matlab-ts-mode--builtins.el --- -*- lexical-binding: t -*- -;; Copyright 2025 Free Software Foundation, Inc. -;; ;; URL: https://github.com/mathworks/Emacs-MATLAB-Mode ;; SPDX-License-Identifier: GPL-3.0-or-later ;; @@ -9,6 +7,8 @@ ;; Created: Jul-7-2025 ;; Keywords: MATLAB +;; Copyright 2025 Free Software Foundation, Inc. +;; ;; This file is free software: you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published ;; by the Free Software Foundation, either version 3 of the License, diff --git a/matlab-ts-mode.el b/matlab-ts-mode.el index ecd828c831..d364161105 100644 --- a/matlab-ts-mode.el +++ b/matlab-ts-mode.el @@ -1,7 +1,5 @@ ;;; matlab-ts-mode.el --- MATLAB(R) Tree-Sitter Mode -*- lexical-binding: t -*- -;; Copyright 2025 Free Software Foundation, Inc. -;; ;; Version: 7.0.1 ;; URL: https://github.com/mathworks/Emacs-MATLAB-Mode ;; SPDX-License-Identifier: GPL-3.0-or-later @@ -10,6 +8,8 @@ ;; Created: Jul-7-2025 ;; Keywords: MATLAB +;; Copyright 2025 Free Software Foundation, Inc. +;; ;; This file is free software: you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published ;; by the Free Software Foundation, either version 3 of the License, diff --git a/matlab.el b/matlab.el index abcde27d73..4fb3694830 100644 --- a/matlab.el +++ b/matlab.el @@ -1,7 +1,5 @@ ;;; matlab.el --- major mode for MATLAB(R) dot-m files -*- lexical-binding: t -*- -;; Copyright (C) 1991-2025 Free Software Foundation, Inc. - ;; Version: 7.0.1 ;; URL: https://github.com/mathworks/Emacs-MATLAB-Mode ;; SPDX-License-Identifier: GPL-3.0-or-later @@ -13,22 +11,21 @@ ;; Keywords: MATLAB(R) ;; Package-Requires: ((emacs "27.2")) - - -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. +;; Copyright 1991-2025 Free Software Foundation, Inc. ;; -;; This program is distributed in the hope that it will be useful, -;; but WITHOUT ANY WARRANTY; without even the implied warranty of -;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;; GNU General Public License for more details. +;; This program is free software; you can redistribute it and/or +;; modify it under the terms of the GNU General Public License as +;; published by the Free Software Foundation, either version 3 of the +;; License, or (at your option) any later version. ;; -;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; This program is distributed in the hope that it will be useful, but +;; WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +;; General Public License for more details. ;; +;; You should have received a copy of the GNU General Public License +;; along with this program. If not, see <https://www.gnu.org/licenses/>. + ;;; Commentary: ;; ;; This major mode for GNU Emacs provides support for editing MATLAB(R) dot-m diff --git a/mlgud.el b/mlgud.el index de1cf829b5..e279ac649a 100644 --- a/mlgud.el +++ b/mlgud.el @@ -1,39 +1,32 @@ ;;; mlgud.el --- parts of gud.el for matlab-shell -*- lexical-binding: t -*- -;; Copyright (C) 2024 Free Software Foundation, Inc. - -;; This contains parts of gud.el prefixed with matlab and modified to support `matlab-shell'. gud -;; does not support multiple debuggers. For matlab-shell, we'd need to be able to debug MATLAB in -;; `matlab-shell', while in another buffer uses `gud-gdb' or `gdb' from gud.el to debug C++ code. - -;; Emacs 24 gud.el info: - -;;; gud.el --- Grand Unified Debugger mode for running GDB and other debuggers - -;; Copyright (C) 1992-1996, 1998, 2000-2015 Free Software Foundation, -;; Inc. - -;; Author: Eric S. Raymond <e...@snark.thyrsus.com> -;; Maintainer: emacs-de...@gnu.org -;; Keywords: unix, tools - -;; This file is part of GNU Emacs. - +;; Copyright 1992-2025 Free Software Foundation, Inc. +;; ;; GNU Emacs is free software: you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation, either version 3 of the License, or ;; (at your option) any later version. - +;; ;; GNU Emacs is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. - +;; ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. ;;; Commentary: +;; This contains parts of gud.el prefixed with matlab and modified to support `matlab-shell'. gud +;; does not support multiple debuggers. For matlab-shell, we'd need to be able to debug MATLAB in +;; `matlab-shell', while in another buffer uses `gud-gdb' or `gdb' from gud.el to debug C++ code. + +;; Emacs 24 gud.el info: + +;; Author: Eric S. Raymond <e...@snark.thyrsus.com> +;; Maintainer: emacs-de...@gnu.org +;; Keywords: unix, tools + ;; The ancestral gdb.el was by W. Schelter <w...@rascal.ics.utexas.edu>. ;; It was later rewritten by rms. Some ideas were due to Masanobu. Grand ;; Unification (sdb/dbx support) by Eric S. Raymond <e...@thyrsus.com> Barry diff --git a/mlint.el b/mlint.el index 1f4b1fd742..37f34c0330 100644 --- a/mlint.el +++ b/mlint.el @@ -1,14 +1,11 @@ ;;; mlint.el --- run mlint in a MATLAB buffer -*- lexical-binding: t -*- -;; Copyright (C) 2002-2025 Free Software Foundation, Inc. - ;; Author: Eric M. Ludlam <elud...@mathworks.com> ;; Maintainer: Eric M. Ludlam <elud...@mathworks.com> ;; Created: June 25, 2002 -(defvar mlint-version "1.3.2" - "The current version of mlint minor mode.") - +;; Copyright 2002-2025 Free Software Foundation, Inc. +;; ;; This program is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by ;; the Free Software Foundation; either version 3, or (at your option) @@ -30,6 +27,9 @@ ;;; Code: +(defvar mlint-version "1.3.2" + "The current version of mlint minor mode.") + (require 'matlab) (require 'matlab--access) diff --git a/semantic-matlab.el b/semantic-matlab.el index 8b2f47761b..eb8ed28190 100644 --- a/semantic-matlab.el +++ b/semantic-matlab.el @@ -1,25 +1,21 @@ ;;; semantic-matlab.el --- Semantic details for MATLAB files -*- lexical-binding: t -*- -;; Copyright (C) 2024 Free Software Foundation, Inc. - ;; Author: Eric M. Ludlam <elud...@mathworks.com> -;; This file is not part of GNU Emacs. - -;; This is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. - -;; This software is distributed in the hope that it will be useful, -;; but WITHOUT ANY WARRANTY; without even the implied warranty of -;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;; GNU General Public License for more details. - +;; Copyright 2008-2024 Free Software Foundation, Inc. +;; +;; This program is free software; you can redistribute it and/or +;; modify it under the terms of the GNU General Public License as +;; published by the Free Software Foundation, either version 3 of the +;; License, or (at your option) any later version. +;; +;; This program is distributed in the hope that it will be useful, but +;; WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +;; General Public License for more details. +;; ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to the -;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -;; Boston, MA 02110-1301, USA. +;; along with this program. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/semanticdb-matlab.el b/semanticdb-matlab.el index 01d1d76dc9..dd6d3d0364 100644 --- a/semanticdb-matlab.el +++ b/semanticdb-matlab.el @@ -1,30 +1,27 @@ ;;; semanticdb-matlab.el --- Semantic database extensions for MATLAB -*- lexical-binding: t -*- -;; Copyright (C) 2024 Free Software Foundation, Inc. - ;; Author: David Engster <deng...@eml.cc> -;; based heavily on semanticdb-skel.el (C) Eric Ludlam - -;; This file is not part of GNU Emacs. -;; This is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. - -;; This software is distributed in the hope that it will be useful, +;; Copyright 2008-2024 Free Software Foundation, Inc. +;; +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. +;; +;; This file is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. - +;; ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to the -;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, -;; Boston, MA 02110-1301, USA. +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; ;; Support for Semantic Databases for MATLAB buffers. +;; Based heavily on semanticdb-skel.el (C) Eric Ludlam + ;; For generic function searching. (require 'eieio) diff --git a/tests/+eltest/+utils/testme.m b/tests/+eltest/+utils/testme.m index 7b09ace028..2fdf6f0cef 100644 --- a/tests/+eltest/+utils/testme.m +++ b/tests/+eltest/+utils/testme.m @@ -1,15 +1,15 @@ -% Copyright (C) 2024 Eric Ludlam (and others) - +% Copyright 2019-2025 Free Software Foundation Inc. +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. function testme(belocal) diff --git a/tests/+eltest/@EmacsTest/EmacsTest.m b/tests/+eltest/@EmacsTest/EmacsTest.m index cef2085bb3..8e5cc805c8 100644 --- a/tests/+eltest/@EmacsTest/EmacsTest.m +++ b/tests/+eltest/@EmacsTest/EmacsTest.m @@ -1,15 +1,15 @@ -% Copyright (C) 2024 Eric Ludlam (and others) - +% Copyright 2019-2024 Free Software Foundation Inc. +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. classdef EmacsTest < handle diff --git a/tests/.dir-locals.el b/tests/.dir-locals.el index 09b1bcfaf8..2b09f7a735 100644 --- a/tests/.dir-locals.el +++ b/tests/.dir-locals.el @@ -1,21 +1,21 @@ ;;; .dir-locals.el --- + +;; Author: John Ciolfi <cio...@mathworks.com> + +;; Copyright 2024-2025 Free Software Foundation Inc. ;; -;; Copyright (C) 2024 John Ciolfi +;; This program is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation, either version 3 of the License, or +;; (at your option) any later version. ;; -;; Author: John Ciolfi <cio...@mathworks.com> +;; This program is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. ;; -;; This program is free software; you can redistribute it and/or -;; modify it under the terms of the GNU General Public License as -;; published by the Free Software Foundation, either version 3 of the -;; License, or (at your option) any later version. - -;; This program is distributed in the hope that it will be useful, but -;; WITHOUT ANY WARRANTY; without even the implied warranty of -;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -;; General Public License for more details. - ;; You should have received a copy of the GNU General Public License -;; along with this program. If not, see https://www.gnu.org/licenses/. +;; along with this program. If not, see <http://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/tests/blocks.m b/tests/blocks.m index 7733b09c5c..59a260b40f 100644 --- a/tests/blocks.m +++ b/tests/blocks.m @@ -1,17 +1,18 @@ -% Copyright (C) 2024 Eric Ludlam (and others) - +% Copyright 2021-2025 Free Software Foundation Inc. +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. + % >>1 classdef blocks < handle % !!0 diff --git a/tests/buggy.m b/tests/buggy.m index cc5bc49a59..239d17ab7c 100644 --- a/tests/buggy.m +++ b/tests/buggy.m @@ -1,15 +1,15 @@ -% Copyright (C) 2024 Eric Ludlam (and others) - +% Copyright 2019-2025 Free Software Foundation Inc. +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. function buggy(input,n) diff --git a/tests/cellscript.m b/tests/cellscript.m index ca40a0bf5d..61bbfcf4c2 100644 --- a/tests/cellscript.m +++ b/tests/cellscript.m @@ -1,17 +1,18 @@ -% Copyright (C) 2024 Eric Ludlam (and others) - +% Copyright 2019-2024 Free Software Foundation Inc. +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. + %% Script with Cells in it for testing 'run cell' % diff --git a/tests/complete.m b/tests/complete.m index 64759d9df2..d6082b2d53 100644 --- a/tests/complete.m +++ b/tests/complete.m @@ -1,17 +1,18 @@ -% Copyright (C) 2024 Eric Ludlam (and others) - +% Copyright 2024 Free Software Foundation Inc. +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. + function complete (a_arg1, b_arg2) % This function is for testing completion tools diff --git a/tests/continuations.m b/tests/continuations.m index 21c950748b..d3df09d7ca 100644 --- a/tests/continuations.m +++ b/tests/continuations.m @@ -1,17 +1,18 @@ -% Copyright (C) 2024 Eric Ludlam (and others) - +% Copyright 2021-2025 Free Software Foundation Inc. +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. + function continuations(a,b) %!!0 % !!0 Help Comment diff --git a/tests/dbtester.m b/tests/dbtester.m index 2402dc2d6b..d922605163 100644 --- a/tests/dbtester.m +++ b/tests/dbtester.m @@ -1,15 +1,15 @@ -% Copyright (C) 2024 Eric Ludlam (and others) - +% Copyright 2019-2025 Free Software Foundation Inc. +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. function OUT = dbtester() diff --git a/tests/errexamples.shell.m b/tests/errexamples.shell.m index da58deeef6..70db2442e3 100644 --- a/tests/errexamples.shell.m +++ b/tests/errexamples.shell.m @@ -1,19 +1,19 @@ -% Copyright (C) 2024 Eric Ludlam (and others) +% -*- matlab -*- +% Copyright 2019-2025 Free Software Foundation Inc. +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. -% This file contains sample text from a MATLAB shell buffer. -% Use this for parsing tests for error trackers. % Newer MATLABs. This text copied from MATLAB R2019b diff --git a/tests/expressions.m b/tests/expressions.m index ff5b6f3603..99978e392f 100644 --- a/tests/expressions.m +++ b/tests/expressions.m @@ -1,17 +1,18 @@ -% Copyright (C) 2024 Eric Ludlam (and others) - +% Copyright 2024-205 Free Software Foundation Inc. +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. + %% Tests for syntactic expressions in the Emacs sense % diff --git a/tests/fontlock.m b/tests/fontlock.m index 43431782c7..285a17d034 100644 --- a/tests/fontlock.m +++ b/tests/fontlock.m @@ -1,15 +1,15 @@ -% Copyright (C) 2024 Eric Ludlam (and others) - +% Copyright 2019-2025 Free Software Foundation Inc. +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. diff --git a/tests/indents.m b/tests/indents.m index 0af39fb301..c0c8c0af6e 100644 --- a/tests/indents.m +++ b/tests/indents.m @@ -1,15 +1,15 @@ -% Copyright (C) 2024 Eric Ludlam (and others) - +% Copyright 2019-2025 Free Software Foundation Inc. +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. diff --git a/tests/mclass.m b/tests/mclass.m index d374e8b018..03baca261e 100644 --- a/tests/mclass.m +++ b/tests/mclass.m @@ -1,17 +1,18 @@ -% Copyright (C) 2024 Eric Ludlam (and others) - +% Copyright 2019-2025 Free Software Foundation Inc. +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. + % >>1 classdef (abstract) mclass < handle & matlab.mixin.SetGetExactNames % #7# %^ ^kw ^ty ^fn ^cn ^bi ^cn ^co diff --git a/tests/mclass_cont.m b/tests/mclass_cont.m index 9d0a2492a3..e229290f5e 100644 --- a/tests/mclass_cont.m +++ b/tests/mclass_cont.m @@ -1,17 +1,18 @@ -% Copyright (C) 2024 Eric Ludlam (and others) - +% Copyright 2021-2024 Free Software Foundation Inc. +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. + classdef mclass_cont < otherThing & ... % !!0 This continuation can case issue for next prop block handle %!!8 diff --git a/tests/metest-font-lock-test2.el b/tests/metest-font-lock-test2.el index 7e4651ac80..3d8a4f5feb 100644 --- a/tests/metest-font-lock-test2.el +++ b/tests/metest-font-lock-test2.el @@ -1,21 +1,20 @@ ;;; metest-font-lock-test2.el --- Testing suite for MATLAB Emacs -*- lexical-binding: t -*- ;; + ;; Copyright 2025 Free Software Foundation, Inc. ;; -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. ;; -;; This program is distributed in the hope that it will be useful, +;; This file is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/tests/metest-imenu-tlc.el b/tests/metest-imenu-tlc.el index 0cef57b69c..401e65b58a 100644 --- a/tests/metest-imenu-tlc.el +++ b/tests/metest-imenu-tlc.el @@ -1,21 +1,20 @@ ;;; metest-imenu-tlc.el --- Testing suite for MATLAB Emacs -*- lexical-binding: t -*- ;; + ;; Copyright 2025 Free Software Foundation, Inc. ;; -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. ;; -;; This program is distributed in the hope that it will be useful, +;; This file is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/tests/metest-imenu.el b/tests/metest-imenu.el index d73dc28f61..fb050e7fd1 100644 --- a/tests/metest-imenu.el +++ b/tests/metest-imenu.el @@ -1,21 +1,19 @@ ;;; metest-imenu.el --- Testing suite for MATLAB Emacs -*- lexical-binding: t -*- -;; + ;; Copyright 2025 Free Software Foundation, Inc. ;; -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. ;; -;; This program is distributed in the hope that it will be useful, +;; This file is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/tests/metest-indent-test2.el b/tests/metest-indent-test2.el index 82e16db829..020655f22a 100644 --- a/tests/metest-indent-test2.el +++ b/tests/metest-indent-test2.el @@ -1,21 +1,19 @@ ;;; metest-indent-test2.el --- Testing suite for MATLAB Emacs -*- lexical-binding: t -*- -;; + ;; Copyright 2025 Free Software Foundation, Inc. ;; -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. ;; -;; This program is distributed in the hope that it will be useful, +;; This file is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/tests/metest.el b/tests/metest.el index 77831abca1..542c8ec626 100644 --- a/tests/metest.el +++ b/tests/metest.el @@ -1,19 +1,19 @@ ;;; metest.el --- Testing suite for MATLAB Emacs -*- lexical-binding: t -*- + +;; Copyright 2019-2024 Eric Ludlam ;; -;; Copyright (C) 2019-2024 Eric Ludlam +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. +;; +;; This file is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. ;; -;; This program is free software; you can redistribute it and/or -;; modify it under the terms of the GNU General Public License as -;; published by the Free Software Foundation, either version 3 of the -;; License, or (at your option) any later version. - -;; This program is distributed in the hope that it will be useful, but -;; WITHOUT ANY WARRANTY; without even the implied warranty of -;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -;; General Public License for more details. - ;; You should have received a copy of the GNU General Public License -;; along with this program. If not, see http://www.gnu.org/licenses/. +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/tests/metest.sh b/tests/metest.sh index aaa9c2afb4..59ead82f67 100755 --- a/tests/metest.sh +++ b/tests/metest.sh @@ -1,19 +1,20 @@ -# Copyright (C) 2024 Eric Ludlam (and others) +#!/bin/bash +# Copyright 2019-2025 Free Software Foundation Inc. +# # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. - +# # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. - +# # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -#!/bin/bash -# + # Run a suite of matlab-emacs tests emacs -batch -l metest.el -e "metest-all-syntax-tests" diff --git a/tests/mfuncends.m b/tests/mfuncends.m index 977b7042f4..92a6c65782 100644 --- a/tests/mfuncends.m +++ b/tests/mfuncends.m @@ -1,17 +1,18 @@ -% Copyright (C) 2024 Eric Ludlam (and others) - +% Copyright 2021-2025 Free Software Foundation Inc. +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. + function mfuncends( ) % Test function that has ends for each function. !!0 % !!0 diff --git a/tests/mfuncnoend.m b/tests/mfuncnoend.m index 5543fb0648..b297744e2c 100644 --- a/tests/mfuncnoend.m +++ b/tests/mfuncnoend.m @@ -1,17 +1,18 @@ -% Copyright (C) 2024 Eric Ludlam (and others) - +% Copyright 2021-2025 Free Software Foundation Inc. +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. + function mfuncnoend % A function file that does not have ends at the end of functions. % diff --git a/tests/mfuncnoendblock.m b/tests/mfuncnoendblock.m index 2c5416259c..e30ee11991 100644 --- a/tests/mfuncnoendblock.m +++ b/tests/mfuncnoendblock.m @@ -1,17 +1,18 @@ -% Copyright (C) 2024 Eric Ludlam (and others) - +% Copyright 2021-2025 Free Software Foundation Inc. +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. + %{ Add a block comment at the beginning to skip over. x % !!2 diff --git a/tests/mfuncnoendindent.m b/tests/mfuncnoendindent.m index c7bfb25c82..bff38cb885 100644 --- a/tests/mfuncnoendindent.m +++ b/tests/mfuncnoendindent.m @@ -1,17 +1,18 @@ -% Copyright (C) 2024 Eric Ludlam (and others) - +% Copyright 2021-2025 Free Software Foundation Inc. +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. + function mfuncnoendindent % A function file that does not have ends at the end of functions. % diff --git a/tests/mfuncnofuncindent.m b/tests/mfuncnofuncindent.m index 4a466c79dc..7daa7cceaf 100644 --- a/tests/mfuncnofuncindent.m +++ b/tests/mfuncnofuncindent.m @@ -1,17 +1,18 @@ -% Copyright (C) 2024 Eric Ludlam (and others) - +% Copyright 2021-2025 Free Software Foundation Inc. +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. + function mfuncnofuncindent( ) % Test function that has ends for each function. !!0 % !!0 diff --git a/tests/mfuncspacey.m b/tests/mfuncspacey.m index 4c96d39469..45dca5b43b 100644 --- a/tests/mfuncspacey.m +++ b/tests/mfuncspacey.m @@ -1,17 +1,18 @@ -% Copyright (C) 2024 Eric Ludlam (and others) - +% Copyright 2021-2025 Free Software Foundation Inc. +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. + function mfuncspacey( ) % Test function that has ends for each function. % diff --git a/tests/mpclass.m b/tests/mpclass.m index a78009ae16..76a622be18 100644 --- a/tests/mpclass.m +++ b/tests/mpclass.m @@ -1,17 +1,18 @@ -% Copyright (C) 2024 Eric Ludlam (and others) - +% Copyright 2019-2025 Free Software Foundation Inc. +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. + classdef (abstract) mpclass < handle & matlab.mixin.SetGetExactNames properties diff --git a/tests/mstest-completions.el b/tests/mstest-completions.el index d126683e3c..805202a3e2 100644 --- a/tests/mstest-completions.el +++ b/tests/mstest-completions.el @@ -1,20 +1,21 @@ ;;; mstest-completions.el --- MATLAB Shell sections tests -*- lexical-binding: t; -*- -;; Copyright 2019-2025 Free Software Foundation, Inc. ;; Author: John Ciolfi <john.ciolfi...@gmail.com>, Eric Ludlam <zappo@ballista> -;; This program is free software; you can redistribute it and/or -;; modify it under the terms of the GNU General Public License as -;; published by the Free Software Foundation, either version 3 of the -;; License, or (at your option) any later version. - -;; This program is distributed in the hope that it will be useful, but -;; WITHOUT ANY WARRANTY; without even the implied warranty of -;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -;; General Public License for more details. - +;; Copyright 2019-2025 Free Software Foundation, Inc. +;; +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. +;; +;; This file is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. +;; ;; You should have received a copy of the GNU General Public License -;; along with this program. If not, see https://www.gnu.org/licenses/. +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; Test matlab-shell completions diff --git a/tests/mstest-sections.el b/tests/mstest-sections.el index 243e4940c4..5c20e4cf7d 100644 --- a/tests/mstest-sections.el +++ b/tests/mstest-sections.el @@ -1,20 +1,21 @@ ;;; mstest-sections.el --- MATLAB Shell sections tests -*- lexical-binding: t; -*- -;; Copyright 2025 Free Software Foundation, Inc. ;; Author: John Ciolfi <john.ciolfi...@gmail.com> -;; This program is free software; you can redistribute it and/or -;; modify it under the terms of the GNU General Public License as -;; published by the Free Software Foundation, either version 3 of the -;; License, or (at your option) any later version. - -;; This program is distributed in the hope that it will be useful, but -;; WITHOUT ANY WARRANTY; without even the implied warranty of -;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -;; General Public License for more details. - +;; Copyright 2025 Free Software Foundation, Inc. +;; +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. +;; +;; This file is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. +;; ;; You should have received a copy of the GNU General Public License -;; along with this program. If not, see https://www.gnu.org/licenses/. +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; Test matlab-sections.el using ./sections.m diff --git a/tests/mstest.el b/tests/mstest.el index 1c379ca2bb..b9ee120f97 100644 --- a/tests/mstest.el +++ b/tests/mstest.el @@ -1,21 +1,21 @@ ;;; mstest.el --- MATLAB Shell test suite -*- lexical-binding: t; -*- + +;; Author: Eric Ludlam <zappo@ballista> + +;; Copyright 2019-23 Eric Ludlam ;; -;; Copyright (C) 2019-23 Eric Ludlam +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. ;; -;; Author: Eric Ludlam <zappo@ballista> +;; This file is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. ;; -;; This program is free software; you can redistribute it and/or -;; modify it under the terms of the GNU General Public License as -;; published by the Free Software Foundation, either version 3 of the -;; License, or (at your option) any later version. - -;; This program is distributed in the hope that it will be useful, but -;; WITHOUT ANY WARRANTY; without even the implied warranty of -;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -;; General Public License for more details. - ;; You should have received a copy of the GNU General Public License -;; along with this program. If not, see https://www.gnu.org/licenses/. +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/tests/stringtest.m b/tests/stringtest.m index 7af1295658..aedde516ab 100644 --- a/tests/stringtest.m +++ b/tests/stringtest.m @@ -1,17 +1,18 @@ -% Copyright (C) 2024 Eric Ludlam (and others) - +% Copyright 2019-2025 Free Software Foundation Inc. +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. + %% Tests for char vector and string handling. % % #c# diff --git a/tests/sweep-test-matlab-ts-grammar.el b/tests/sweep-test-matlab-ts-grammar.el index c3d19675a4..2b3a102536 100644 --- a/tests/sweep-test-matlab-ts-grammar.el +++ b/tests/sweep-test-matlab-ts-grammar.el @@ -1,21 +1,19 @@ ;;; sweep-test-matlab-ts-grammar.el --- -*- lexical-binding: t -*- -;; + ;; Copyright 2025 Free Software Foundation, Inc. ;; -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. ;; -;; This program is distributed in the hope that it will be useful, +;; This file is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/tests/sweep-test-matlab-ts-mode-indent.el b/tests/sweep-test-matlab-ts-mode-indent.el index d6735190a4..2f49abe82b 100644 --- a/tests/sweep-test-matlab-ts-mode-indent.el +++ b/tests/sweep-test-matlab-ts-mode-indent.el @@ -1,21 +1,19 @@ ;;; sweep-test-matlab-ts-mode-indent.el --- -*- lexical-binding: t -*- -;; + ;; Copyright 2025 Free Software Foundation, Inc. ;; -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. ;; -;; This program is distributed in the hope that it will be useful, +;; This file is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/tests/syntaxerr.m b/tests/syntaxerr.m index 8645ae80c2..9194ae9f16 100644 --- a/tests/syntaxerr.m +++ b/tests/syntaxerr.m @@ -1,17 +1,18 @@ -% Copyright (C) 2024 Eric Ludlam (and others) - +% Copyright 2019-2025 Free Software Foundation Inc. +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. + function syntaxerr() % This function has a syntax error in it. diff --git a/tests/t-utils.el b/tests/t-utils.el index c59717b682..946e550c71 100644 --- a/tests/t-utils.el +++ b/tests/t-utils.el @@ -1,21 +1,19 @@ ;;; t-utils.el --- Test utilities -*- lexical-binding: t -*- -;; + ;; Copyright 2025 Free Software Foundation, Inc. ;; -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. ;; -;; This program is distributed in the hope that it will be useful, +;; This file is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/tests/test-matlab-is-matlab-file.el b/tests/test-matlab-is-matlab-file.el index 90d06779ac..62e8b68f7f 100644 --- a/tests/test-matlab-is-matlab-file.el +++ b/tests/test-matlab-is-matlab-file.el @@ -2,20 +2,18 @@ ;; ;; Copyright 2025 Free Software Foundation, Inc. ;; -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. ;; -;; This program is distributed in the hope that it will be useful, +;; This file is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/tests/test-matlab-ts-mode-comments.el b/tests/test-matlab-ts-mode-comments.el index a24eff66be..b814be0c03 100644 --- a/tests/test-matlab-ts-mode-comments.el +++ b/tests/test-matlab-ts-mode-comments.el @@ -1,21 +1,19 @@ ;;; test-matlab-ts-mode-comments.el --- -*- lexical-binding: t -*- -;; + ;; Copyright 2025 Free Software Foundation, Inc. ;; -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. ;; -;; This program is distributed in the hope that it will be useful, +;; This file is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/tests/test-matlab-ts-mode-electric-ends.el b/tests/test-matlab-ts-mode-electric-ends.el index 4fa2cbc618..2112bfaf9d 100644 --- a/tests/test-matlab-ts-mode-electric-ends.el +++ b/tests/test-matlab-ts-mode-electric-ends.el @@ -1,21 +1,19 @@ ;;; test-matlab-ts-mode-electric-ends.el --- -*- lexical-binding: t -*- -;; + ;; Copyright 2025 Free Software Foundation, Inc. ;; -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. ;; -;; This program is distributed in the hope that it will be useful, +;; This file is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/tests/test-matlab-ts-mode-electric-pair.el b/tests/test-matlab-ts-mode-electric-pair.el index 36a5b61704..df801eef36 100644 --- a/tests/test-matlab-ts-mode-electric-pair.el +++ b/tests/test-matlab-ts-mode-electric-pair.el @@ -1,21 +1,19 @@ ;;; test-matlab-ts-mode-electric-pair.el --- -*- lexical-binding: t -*- -;; + ;; Copyright 2025 Free Software Foundation, Inc. ;; -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. ;; -;; This program is distributed in the hope that it will be useful, +;; This file is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/tests/test-matlab-ts-mode-file-encoding.el b/tests/test-matlab-ts-mode-file-encoding.el index 25945e4764..492b4fe17a 100644 --- a/tests/test-matlab-ts-mode-file-encoding.el +++ b/tests/test-matlab-ts-mode-file-encoding.el @@ -1,21 +1,19 @@ ;;; test-matlab-ts-mode-file-encoding.el --- -*- lexical-binding: t -*- -;; + ;; Copyright 2025 Free Software Foundation, Inc. ;; -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. ;; -;; This program is distributed in the hope that it will be useful, +;; This file is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/tests/test-matlab-ts-mode-fill-paragraph.el b/tests/test-matlab-ts-mode-fill-paragraph.el index b5ddd52a59..a0b2852a71 100644 --- a/tests/test-matlab-ts-mode-fill-paragraph.el +++ b/tests/test-matlab-ts-mode-fill-paragraph.el @@ -1,21 +1,19 @@ ;;; test-matlab-ts-mode-fill-paragraph.el --- -*- lexical-binding: t -*- -;; + ;; Copyright 2025 Free Software Foundation, Inc. ;; -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. ;; -;; This program is distributed in the hope that it will be useful, +;; This file is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/tests/test-matlab-ts-mode-font-lock.el b/tests/test-matlab-ts-mode-font-lock.el index 542c8abd48..815e3f26ce 100644 --- a/tests/test-matlab-ts-mode-font-lock.el +++ b/tests/test-matlab-ts-mode-font-lock.el @@ -1,19 +1,19 @@ ;;; test-matlab-ts-mode-font-lock.el --- -*- lexical-binding: t -*- -;; -;; Copyright 2025 Free Software Foundation, Inc. - -;; This program is free software; you can redistribute it and/or -;; modify it under the terms of the GNU General Public License as -;; published by the Free Software Foundation, either version 3 of the -;; License, or (at your option) any later version. - -;; This program is distributed in the hope that it will be useful, but -;; WITHOUT ANY WARRANTY; without even the implied warranty of -;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -;; General Public License for more details. +;; Copyright 2025 Free Software Foundation, Inc. +;; +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. +;; +;; This file is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. +;; ;; You should have received a copy of the GNU General Public License -;; along with this program. If not, see http://www.gnu.org/licenses/. +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/tests/test-matlab-ts-mode-imenu.el b/tests/test-matlab-ts-mode-imenu.el index 50fa7d1a98..15b121913a 100644 --- a/tests/test-matlab-ts-mode-imenu.el +++ b/tests/test-matlab-ts-mode-imenu.el @@ -1,21 +1,19 @@ ;;; test-matlab-ts-mode-imenu.el --- -*- lexical-binding: t -*- -;; + ;; Copyright 2025 Free Software Foundation, Inc. ;; -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. ;; -;; This program is distributed in the hope that it will be useful, +;; This file is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/tests/test-matlab-ts-mode-indent-xr.el b/tests/test-matlab-ts-mode-indent-xr.el index 31da8c9c14..3b144cbef7 100644 --- a/tests/test-matlab-ts-mode-indent-xr.el +++ b/tests/test-matlab-ts-mode-indent-xr.el @@ -1,21 +1,19 @@ ;;; test-matlab-ts-mode-indent-xr.el --- -*- lexical-binding: t -*- -;; + ;; Copyright 2025 Free Software Foundation, Inc. ;; -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. ;; -;; This program is distributed in the hope that it will be useful, +;; This file is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/tests/test-matlab-ts-mode-indent.el b/tests/test-matlab-ts-mode-indent.el index 7c4171f566..350ace042f 100644 --- a/tests/test-matlab-ts-mode-indent.el +++ b/tests/test-matlab-ts-mode-indent.el @@ -1,21 +1,19 @@ ;;; test-matlab-ts-mode-indent.el --- -*- lexical-binding: t -*- -;; + ;; Copyright 2025 Free Software Foundation, Inc. ;; -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. ;; -;; This program is distributed in the hope that it will be useful, +;; This file is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/tests/test-matlab-ts-mode-movement.el b/tests/test-matlab-ts-mode-movement.el index 6faf7ea2e3..2179bb04b6 100644 --- a/tests/test-matlab-ts-mode-movement.el +++ b/tests/test-matlab-ts-mode-movement.el @@ -1,21 +1,19 @@ ;;; test-matlab-ts-mode-movement.el --- -*- lexical-binding: t -*- -;; + ;; Copyright 2025 Free Software Foundation, Inc. ;; -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. ;; -;; This program is distributed in the hope that it will be useful, +;; This file is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/tests/test-matlab-ts-mode-on-save-fixes.el b/tests/test-matlab-ts-mode-on-save-fixes.el index 32fc8f4abe..9244f3fa51 100644 --- a/tests/test-matlab-ts-mode-on-save-fixes.el +++ b/tests/test-matlab-ts-mode-on-save-fixes.el @@ -1,21 +1,19 @@ ;;; test-matlab-ts-mode-on-save-fixes.el --- -*- lexical-binding: t -*- -;; + ;; Copyright 2025 Free Software Foundation, Inc. ;; -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. ;; -;; This program is distributed in the hope that it will be useful, +;; This file is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/tests/test-matlab-ts-mode-outline.el b/tests/test-matlab-ts-mode-outline.el index 450bcad87d..e5f3997b63 100644 --- a/tests/test-matlab-ts-mode-outline.el +++ b/tests/test-matlab-ts-mode-outline.el @@ -1,21 +1,19 @@ ;;; test-matlab-ts-mode-outline.el --- -*- lexical-binding: t -*- -;; + ;; Copyright 2025 Free Software Foundation, Inc. ;; -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. ;; -;; This program is distributed in the hope that it will be useful, +;; This file is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/tests/test-matlab-ts-mode-page.el b/tests/test-matlab-ts-mode-page.el index 3ce69dde46..687c2010a8 100644 --- a/tests/test-matlab-ts-mode-page.el +++ b/tests/test-matlab-ts-mode-page.el @@ -1,21 +1,19 @@ ;;; test-matlab-ts-mode-page.el --- -*- lexical-binding: t -*- -;; + ;; Copyright 2025 Free Software Foundation, Inc. ;; -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. ;; -;; This program is distributed in the hope that it will be useful, +;; This file is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/tests/test-matlab-ts-mode-parser.el b/tests/test-matlab-ts-mode-parser.el index a6ab77edd2..7c08aa0397 100644 --- a/tests/test-matlab-ts-mode-parser.el +++ b/tests/test-matlab-ts-mode-parser.el @@ -1,21 +1,19 @@ ;;; test-matlab-ts-mode-parser.el --- -*- lexical-binding: t -*- -;; + ;; Copyright 2025 Free Software Foundation, Inc. ;; -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. ;; -;; This program is distributed in the hope that it will be useful, +;; This file is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/tests/test-matlab-ts-mode-show-paren.el b/tests/test-matlab-ts-mode-show-paren.el index a0bb99d6d1..a18c68a7dc 100644 --- a/tests/test-matlab-ts-mode-show-paren.el +++ b/tests/test-matlab-ts-mode-show-paren.el @@ -1,21 +1,19 @@ ;;; test-matlab-ts-mode-show-paren.el --- -*- lexical-binding: t -*- -;; + ;; Copyright 2025 Free Software Foundation, Inc. ;; -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. ;; -;; This program is distributed in the hope that it will be useful, +;; This file is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/tests/test-matlab-ts-mode-syntax-table.el b/tests/test-matlab-ts-mode-syntax-table.el index e9555232d1..036ff9f19b 100644 --- a/tests/test-matlab-ts-mode-syntax-table.el +++ b/tests/test-matlab-ts-mode-syntax-table.el @@ -1,19 +1,19 @@ ;;; test-matlab-ts-mode-syntax-table.el --- -*- lexical-binding: t -*- -;; -;; Copyright 2025 Free Software Foundation, Inc. - -;; This program is free software; you can redistribute it and/or -;; modify it under the terms of the GNU General Public License as -;; published by the Free Software Foundation, either version 3 of the -;; License, or (at your option) any later version. - -;; This program is distributed in the hope that it will be useful, but -;; WITHOUT ANY WARRANTY; without even the implied warranty of -;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -;; General Public License for more details. +;; Copyright 2025 Free Software Foundation, Inc. +;; +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. +;; +;; This file is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. +;; ;; You should have received a copy of the GNU General Public License -;; along with this program. If not, see http://www.gnu.org/licenses/. +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/tests/test-matlab-ts-mode-thing-settings.el b/tests/test-matlab-ts-mode-thing-settings.el index 74d3547696..7affac01de 100644 --- a/tests/test-matlab-ts-mode-thing-settings.el +++ b/tests/test-matlab-ts-mode-thing-settings.el @@ -1,21 +1,19 @@ ;;; test-matlab-ts-mode-thing-settings.el --- -*- lexical-binding: t -*- -;; + ;; Copyright 2025 Free Software Foundation, Inc. ;; -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. ;; -;; This program is distributed in the hope that it will be useful, +;; This file is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/tests/test-matlab-ts-mode-treesit-defun-name.el b/tests/test-matlab-ts-mode-treesit-defun-name.el index caa13f9098..6695ce9b8b 100644 --- a/tests/test-matlab-ts-mode-treesit-defun-name.el +++ b/tests/test-matlab-ts-mode-treesit-defun-name.el @@ -1,21 +1,19 @@ ;;; test-matlab-ts-mode-treesit-defun-name.el --- -*- lexical-binding: t -*- -;; + ;; Copyright 2025 Free Software Foundation, Inc. ;; -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. ;; -;; This program is distributed in the hope that it will be useful, +;; This file is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/tests/test-matlab-ts-mode-view-parse-errors.el b/tests/test-matlab-ts-mode-view-parse-errors.el index ddf2d0f6ea..13bb0cdf27 100644 --- a/tests/test-matlab-ts-mode-view-parse-errors.el +++ b/tests/test-matlab-ts-mode-view-parse-errors.el @@ -1,21 +1,19 @@ ;;; test-matlab-ts-mode-view-parse-errors.el --- -*- lexical-binding: t -*- -;; + ;; Copyright 2025 Free Software Foundation, Inc. ;; -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. ;; -;; This program is distributed in the hope that it will be useful, +;; This file is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/tests/test-package-version.el b/tests/test-package-version.el index aee802e9ce..345bd41aa2 100644 --- a/tests/test-package-version.el +++ b/tests/test-package-version.el @@ -1,21 +1,19 @@ ;;; test-package-version.el --- -*- lexical-binding: t -*- -;; + ;; Copyright 2025 Free Software Foundation, Inc. ;; -;; This program is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 3, or (at your option) -;; any later version. +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. ;; -;; This program is distributed in the hope that it will be useful, +;; This file is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; +;; along with this file. If not, see <https://www.gnu.org/licenses/>. ;;; Commentary: ;; diff --git a/tests/testeeval.m b/tests/testeeval.m index 982c59fac8..a195bece8a 100644 --- a/tests/testeeval.m +++ b/tests/testeeval.m @@ -1,17 +1,18 @@ -% Copyright (C) 2024 Eric Ludlam (and others) - +% Copyright 2024-2025 Free Software Foundation Inc. +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. + function testeeval(style) % Test that we can tell Emacs what to do. diff --git a/tlc.el b/tlc.el index f9ec8da2e3..489502e192 100644 --- a/tlc.el +++ b/tlc.el @@ -1,28 +1,24 @@ ;;; tlc --- Major mode for editing tlc files -*- lexical-binding: t -*- -;; Copyright (C) 2024 Free Software Foundation, Inc. - ;; Author: Eric M. Ludlam <elud...@mathworks.com> ;; Keywords: tlc ;; X-Abstract: Major mode for editing tlc files -(defvar tlc-version "1.3" - "The current version of TLC mode.") - -;; This program is derived from free software; you can redistribute it -;; and/or modify it under the terms of the GNU General Public License -;; as published by the Free Software Foundation; either version 3, or -;; (at your option) any later version. +;; Copyright 1998-2024 Free Software Foundation, Inc. +;; +;; This file is free software: you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published +;; by the Free Software Foundation, either version 3 of the License, +;; or (at your option) any later version. ;; -;; This program is distributed in the hope that it will be useful, +;; This file is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public License for more details. ;; ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; +;; along with this file. If not, see <https://www.gnu.org/licenses/>. + ;;; Commentary: ;; ;; This is a major mode for editing Target Language Compiler, TLC, programs. @@ -109,8 +105,8 @@ ;; will have the "2 + ..." and "3" line shown using tlc-font-lock-output-code. ;; To fix, we probably need to use Multiline Font Lock constructs. -;;; History: -;; +;; History: +;; -------- ;; 10Sep1998 by Eric M. Ludlam <elud...@mathworks.com> ;; Posted First revision onto the FTP site. ;; @@ -120,9 +116,13 @@ ;; - added autoload cookies. ;; - CVS storage elsewhere without changing the version number. ;; -;; Recent history is in the ChangeLog and the matlab-emacs repository. +;; Recent history is in the repository commits. ;;; Code: + +(defvar tlc-version "1.3" + "The current version of TLC mode.") + (defun tlc-version () "Display the current version of TLC mode." (interactive) diff --git a/toolbox/+emacs/@Breakpoints/Breakpoints.m b/toolbox/+emacs/@Breakpoints/Breakpoints.m index 2277496445..8e4130f9aa 100644 --- a/toolbox/+emacs/@Breakpoints/Breakpoints.m +++ b/toolbox/+emacs/@Breakpoints/Breakpoints.m @@ -1,17 +1,18 @@ -% Copyright (C) 2024 Eric Ludlam (and others) - +% Copyright 2019-2024 Free Software Foundation Inc. +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. + classdef Breakpoints < handle % Class BREAKPOINTS - manages breakpoints that are shared with Emacs. diff --git a/toolbox/+emacs/@EmacsServer/EmacsServer.m b/toolbox/+emacs/@EmacsServer/EmacsServer.m index e3bd972bd6..7034699681 100644 --- a/toolbox/+emacs/@EmacsServer/EmacsServer.m +++ b/toolbox/+emacs/@EmacsServer/EmacsServer.m @@ -1,17 +1,18 @@ -% Copyright (C) 2024 Eric Ludlam (and others) - +% Copyright 2019-2024 Free Software Foundation, Inc. +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. + classdef EmacsServer < handle % Class EMACSSERVER - Support a TCP connection to an Emacs server. % Collects input from Emacs, and runs commands. diff --git a/toolbox/+emacs/@Stack/Stack.m b/toolbox/+emacs/@Stack/Stack.m index 85b5ffbbed..a6792c18bc 100644 --- a/toolbox/+emacs/@Stack/Stack.m +++ b/toolbox/+emacs/@Stack/Stack.m @@ -1,15 +1,15 @@ % Copyright 2019-2025 Free Software Foundation, Inc. - +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. diff --git a/toolbox/+emacs/set.m b/toolbox/+emacs/set.m index 6a80bf06e7..5000369aa5 100644 --- a/toolbox/+emacs/set.m +++ b/toolbox/+emacs/set.m @@ -1,15 +1,15 @@ % Copyright 2019-2025 Free Software Foundation, Inc. - +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. diff --git a/toolbox/dbhotlink.m b/toolbox/dbhotlink.m index 52f96aeefc..2182cd3a3a 100644 --- a/toolbox/dbhotlink.m +++ b/toolbox/dbhotlink.m @@ -1,17 +1,18 @@ -% Copyright (C) 2024 Eric Ludlam (and others) - +% Copyright 2016-2024 Free Software Foundation, Inc. +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. + function dbhotlink() % Display text that EMACS can interpret as a hotlink % so the debugger can auto move to the right spot. diff --git a/toolbox/ebclear.m b/toolbox/ebclear.m index b77eaa8007..0b7bf12460 100644 --- a/toolbox/ebclear.m +++ b/toolbox/ebclear.m @@ -1,15 +1,15 @@ % Copyright 2019-2025 Free Software Foundation, Inc. - +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. diff --git a/toolbox/ebstack.m b/toolbox/ebstack.m index 10d15de410..51bc604132 100644 --- a/toolbox/ebstack.m +++ b/toolbox/ebstack.m @@ -1,15 +1,15 @@ % Copyright 2019-2025 Free Software Foundation, Inc. - +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. diff --git a/toolbox/ebstatus.m b/toolbox/ebstatus.m index ea48e6df41..6d75fec87d 100644 --- a/toolbox/ebstatus.m +++ b/toolbox/ebstatus.m @@ -1,16 +1,15 @@ % Copyright 2019-2025 Free Software Foundation, Inc. - - +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. diff --git a/toolbox/ebstop.m b/toolbox/ebstop.m index dce2c59e1e..4ce2267290 100644 --- a/toolbox/ebstop.m +++ b/toolbox/ebstop.m @@ -1,15 +1,15 @@ % Copyright 2019-2025 Free Software Foundation, Inc. - +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. diff --git a/toolbox/emacscd.m b/toolbox/emacscd.m index 28c0cb7f9d..10d466ddd5 100644 --- a/toolbox/emacscd.m +++ b/toolbox/emacscd.m @@ -1,15 +1,15 @@ % Copyright 2019-2025 Free Software Foundation, Inc. - +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. diff --git a/toolbox/emacsdocomplete.m b/toolbox/emacsdocomplete.m index ac11487590..1df715b2e2 100644 --- a/toolbox/emacsdocomplete.m +++ b/toolbox/emacsdocomplete.m @@ -1,6 +1,6 @@ -% Copyright (C) 2010-2025 Free Software Foundation, Inc. -% % Author: Eric Ludlam <za...@gnu.org>, John Ciolfi <john.ciolfi...@gmail.com> + +% Copyright 2010-2025 Free Software Foundation, Inc. % % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by diff --git a/toolbox/emacsinit.m b/toolbox/emacsinit.m index d49cbb8aa0..4bdece0198 100644 --- a/toolbox/emacsinit.m +++ b/toolbox/emacsinit.m @@ -1,15 +1,15 @@ % Copyright 2019-2025 Free Software Foundation, Inc. - +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. diff --git a/toolbox/emacsnetshell.m b/toolbox/emacsnetshell.m index 98b0a602c9..4a312a60e6 100644 --- a/toolbox/emacsnetshell.m +++ b/toolbox/emacsnetshell.m @@ -1,15 +1,15 @@ % Copyright 2019-2025 Free Software Foundation, Inc. - +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. diff --git a/toolbox/emacsrun.m b/toolbox/emacsrun.m index 76ba653d8f..199dc767ae 100644 --- a/toolbox/emacsrun.m +++ b/toolbox/emacsrun.m @@ -1,15 +1,15 @@ % Copyright 2019-2025 Free Software Foundation, Inc. - +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. diff --git a/toolbox/emacsrunregion.m b/toolbox/emacsrunregion.m index d37ef534e6..ac4c08d18d 100644 --- a/toolbox/emacsrunregion.m +++ b/toolbox/emacsrunregion.m @@ -1,15 +1,15 @@ % Copyright 2019-2025 Free Software Foundation, Inc. - +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. diff --git a/toolbox/emacsstripremote.m b/toolbox/emacsstripremote.m index 2554f3be8a..9110a01422 100644 --- a/toolbox/emacsstripremote.m +++ b/toolbox/emacsstripremote.m @@ -1,15 +1,15 @@ % Copyright 2025 Free Software Foundation, Inc. - +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. diff --git a/toolbox/emacstipstring.m b/toolbox/emacstipstring.m index 93fef9d29b..cf63dc88a4 100644 --- a/toolbox/emacstipstring.m +++ b/toolbox/emacstipstring.m @@ -1,15 +1,15 @@ % Copyright 2019-2025 Free Software Foundation, Inc. - +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. diff --git a/toolbox/help.m b/toolbox/help.m index eca0e64a45..b210cde8c1 100644 --- a/toolbox/help.m +++ b/toolbox/help.m @@ -1,15 +1,15 @@ % Copyright 2019-2025 Free Software Foundation, Inc. - +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>. diff --git a/toolbox/opentoline.m b/toolbox/opentoline.m index 7da93d4f1e..df9de16248 100644 --- a/toolbox/opentoline.m +++ b/toolbox/opentoline.m @@ -1,15 +1,15 @@ % Copyright 2019-2025 Free Software Foundation, Inc. - +% % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, either version 3 of the License, or % (at your option) any later version. - +% % This program is distributed in the hope that it will be useful, % but WITHOUT ANY WARRANTY; without even the implied warranty of % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the % GNU General Public License for more details. - +% % You should have received a copy of the GNU General Public License % along with this program. If not, see <http://www.gnu.org/licenses/>.