It would be good to fix the warnings that are real. For example, if you could you fix the lambda quoting that would help. On emacs 24, one of the lambda issues shows up when you load an m-file.
In mlint.el add the #' as in: (mapconcat '(lambda (x) x) (cdddr entry) "\\|") => (mapconcat #'(lambda (x) x) (cdddr entry) "\\|") In semanticdb-matlab.el, two occurrences of (mapcar '(lambda (x) => (mapcar #'(lambda (x) Thanks John ________________________________________ From: Uwe Brauer <o...@mat.ucm.es> Sent: Friday, September 2, 2016 8:09 AM To: John Ciolfi Cc: matlab-emacs-discuss@lists.sourceforge.net Subject: Re: [Matlab-emacs-discuss] compiler warnings >>> "John" == John Ciolfi <john.cio...@mathworks.com> writes: > I just updated to the latest matlab emacs and see a few warnings. I > realize some of these are to support older emacs's but some look like > they could be fixed (and maybe suppress the others for older > releases)? I'm building on Debian 8 using emacs 24.4.1 I am on GNU emacs 25 (git version, after being a die hard Xemacs user for ages). IMHO the GNU emacs team changes to much the definition of variables (which could break backward compatibility), but I don't want to change the naming of certain variable because GNU emacs 23 and Xemacs users could run into problems, not that there are many left, but... The most harmful warnings I can detect are those starting with > matlab.el:5867:1:Warning: the following functions are not known to be defined: > extent-list, start-itimer, matlab-overlays-at, matlab-overlay-get, Some of the stuff looks Xemacs specific so maybe we should wrap a (if (featurep 'xemacs) around it, Eric any ideas? Uwe Brauer ------------------------------------------------------------------------------ _______________________________________________ Matlab-emacs-discuss mailing list Matlab-emacs-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss