>>> "JC" == John Ciolfi <cio...@mathworks.com> writes:

Hi John
> Hi Uwe,
> Some items to test:


>   *   The handling of *.m files. matlab.el used to contain:

> (add-to-list 'auto-mode-alist '("\\.m$" . matlab-mode))

> which overrides the Emacs default of associating *.m files with
> objc-mode. This setting means it isn't possible to edit in objc-mode
> for *.m objective-c files and matlab-mode for *.m matlab files in the
> same session.

Ah right I vaguely remember this, but forgot all about it.
> I switched it to use

> (add-to-list 'magic-mode-alist '(matlab-is-matlab-file . matlab-mode))

> this way Linux distributions can setup Emacs such that it will work
> correctly when the content of a *.m file is matlab and in the same
> emacs session when the content of a *.m is objective-c.

> After deploying the latest updates to matlab-mode, I wonder if you
> could ping the Linux distributions, e.g. Debian to make the above
> change?

I am not sure I understand, (I am on Ubuntu, which for most cases
follows Debian). Do you want me to contact precisely whom? 

The person responsible for the emacs deb pkg?
Or the package emacs-goodies-el?

Frankely with respect to (X)Emacs debian was a mess and I am not sure
that it has improved very much, they tend to have a deb package for a
lot of emacs lisp package but almost all of them were hopelessly
outdated. That is why I think the (X)emacs package is such a great
achievement. Because it is relatively recent, which reminds me once I
push, I should take of the MELPA package too.

So you please tell me what you have in mind.

>   *   The tab completion capability in *.m files when matlab-shell is running
Well not for me. That it is interesting.

,----
| TAB (translated from <tab>) runs the command indent-for-tab-command
| (found in global-map), which is an interactive compiled Lisp function
| in ‘indent.el’.
`----

I have local matlab binding but not for tab, instead I have 

  (local-set-key [(super tab)]  'indent-for-tab-command))

I would like to investigate that a bit further 
for me 

,----
| C-M-i runs the command matlab-complete-symbol (found in
| matlab-mode-map), which is an interactive Lisp function in
| ‘matlab-complete.el’.
| 
`----

But that function is a bit of an disappointment, yes f-->for
but for example 

 ode4 does not give you ode45

While in the matlab-shell tab works reasonably well.

I'd like to understand that mechanism a bit better.

>   *   Improved block comments %{ %}
>   *   Handling of events and arguments keyword "blocks"
>   *   When leaving matlab-mode, mlint is turned off, e.g. change a file in 
> matlab-mode to text-mode (not common).
>   *   Most of the other changes are bug fixes, e.g. comment fill, hanlding of 
> "..." at EOF, mlint handling when mlint path is invalid, etc.

Ok.

Regards

Uwe 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
Matlab-emacs-discuss mailing list
Matlab-emacs-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss

Reply via email to