Re: [Matlab-emacs-discuss] matlab-mode, electric-pair-mode and the single quote (')

2022-04-25 Thread Eric Ludlam
Hi Peter, MATLAB's use of ' char for strings is a bit tricky, because it has many meanings, such as: * 'this is a string' * 'in a string '' first quote is escape for second quote' * this is a transpose' I'm not sure when the electric pair mode does it's thing, but if it tries to pair up a

Re: [Matlab-emacs-discuss] matlab-mode, electric-pair-mode and the single quote (')

2022-04-25 Thread John Ciolfi
There was a recent fix to the syntax class for the single quote, https://sourceforge.net/p/matlab-emacs/src/ci/a5e88cda8e0715f117f09e6101f39302387f2d6b/ I'm not familiar with electric pair mode but tried it and it seems to work for the case you mentioned. Some downsides I noticed with it was (2)

Re: [Matlab-emacs-discuss] matlab-mode, electric-pair-mode and the single quote (')

2022-04-25 Thread Peter Mao
hi Eric and John, Thanks for your responses. Eric -- did you mean `show-paren-mode`? I can't find any references to a `paren-mode` in melpa, elpa or emacs (28.1). I'll try it out if I can find it! I'm on the latest matlab-emacs, which include the commit John mentions, but the only way past the

Re: [Matlab-emacs-discuss] matlab-mode, electric-pair-mode and the single quote (')

2022-04-25 Thread Uwe Brauer
>>> "PM" == Peter Mao writes: Hi all > hi Eric and John, > Thanks for your responses. Eric -- did you mean `show-paren-mode`? I > can't find any references to a `paren-mode` in melpa, elpa or emacs > (28.1). I'll try it out if I can find it! I was wondering myself. I tend to believe that year

Re: [Matlab-emacs-discuss] matlab-mode, electric-pair-mode and the single quote (')

2022-04-25 Thread Uwe Brauer
>>> "PM" == Peter Mao writes: Hi all > hi Eric and John, > Thanks for your responses. Eric -- did you mean `show-paren-mode`? I > can't find any references to a `paren-mode` in melpa, elpa or emacs > (28.1). I'll try it out if I can find it! I was wondering myself. I tend to believe that year