[Matlab-emacs-discuss] [patch]: Option to disable alignment to opening parenthesis

2016-05-26 Thread Thibault Marin >
diff --git a/matlab.el b/matlab.el index f41af13..f95dc09 100644 --- a/matlab.el +++ b/matlab.el @@ -161,6 +161,15 @@ should be ok." :group 'matlab :type 'sexp) +(defcustom matlab-align-to-paren t + "*Whether continuation lines should be aligned to the opening parenthesis. +When non-nil, c

[Matlab-emacs-discuss] [patch] Issue with indentation of 'end'

2016-06-01 Thread Thibault Marin
diff --git a/matlab.el b/matlab.el index 33835c3..f552864 100644 --- a/matlab.el +++ b/matlab.el @@ -2391,7 +2391,8 @@ Argument CURRENT-INDENTATION is what the previous line recommends for indentatio (beginning-of-line) (looking-at "[ \t]*")

Re: [Matlab-emacs-discuss] [patch] Issue with indentation of 'end'

2016-06-01 Thread Thibault Marin
Uwe Brauer writes: >>>> "Thibault" == Thibault Marin writes: > > > Hi all, > > Hi > > BTW I applied your first patch and pushed it. So this second one is > already for the version with your former patch applied? > Till the end of the week I

Re: [Matlab-emacs-discuss] [patch] Issue with indentation of 'end'

2016-06-02 Thread Thibault Marin
unless you've overridden that > feature. > > Eric > > -Original Message- > From: Thibault Marin [mailto:thibault.marin...@ieee.org] > Sent: Wednesday, June 01, 2016 10:10 AM > To: matlab-emacs-discuss@lists.sourceforge.net > Subject: [Matlab-emacs-discuss]

Re: [Matlab-emacs-discuss] [patch] Issue with indentation of 'end'

2016-06-02 Thread Thibault Marin
Eric Ludlam writes: > Hi, > > I would guess that 'end' indentation is not really the last hurdle. For TABs > to work, all places where character math occur will need to be replaced with > calls to 'current-column'. > > Ie - instead of > > (- match (match-beginning 0)) > > You would need > > (-

Re: [Matlab-emacs-discuss] [patch] Issue with indentation of 'end'

2016-06-09 Thread Thibault Marin
As far as I am concerned, the patch fixes my issue, and I think it doesn't break the old behavior, so I think it would be good if it could be merged. Please let me know if the patch needs modifications to make that happen. Thanks. Uwe Brauer writes: "Eric" == Eric Ludlam writes: > >

Re: [Matlab-emacs-discuss] Emacs-Matlab Integration under Windows OS

2016-06-11 Thread Thibault Marin
Eric Ludlam writes: > Hi Qi, > > I don't know of a way to make matlab-shell work on Windows. It might be > possible to create something similar to Bob's old script that would work, but > that is not something I'm familiar with. Sorry. > > Eric > > -Original Message- > From: Qi Sun [ma