Re: [Matlab-emacs-discuss] recognizing comments

2015-06-14 Thread Henrik Gollee
rsion it treats the "%.2e" as a comment and moves it to the preferred start column. Henrik matlab-emacs-discuss-requ...@lists.sourceforge.net wrote on 13/06/15 17:53: > > Message: 2 > Date: Sun, 7 Jun 2015 19:47:35 + > From: Eric Ludlam > Subject: Re: [Matlab-emacs-d

Re: [Matlab-emacs-discuss] recognizing comments

2015-06-13 Thread Van Zandt, Jim
Works great, thanks! I suggest one additional change. If point is anywhere on a code line with a comment, then matlab-comment moves point to the beginning of the comment. If it's on a comment line, then point gets moved to the beginning of the comment only if it starts after that point. Othe

Re: [Matlab-emacs-discuss] recognizing comments

2015-06-07 Thread Eric Ludlam
(indent-to comment-column) (insert " ")) (insert matlab-comment-on-line-s From: Van Zandt, Jim [mailto:j...@mitre.org] Sent: Monday, May 11, 2015 3:37 PM To: matlab-emacs-discuss@lists.sourceforge.net Subject: [Matlab-emacs-discuss] recogniz

[Matlab-emacs-discuss] recognizing comments

2015-06-01 Thread Van Zandt, Jim
I have noticed a small problem in the recognition of comments. I can use M-; to insert a comment on the current line. I should be able to use the same command to move point to an existing comment on the current line, with the side effect of moving that comment to the preferred start column. A