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

2023-04-24 Thread Peter Mao
Hi Uwe, thanks -- I see the new version on MELPA now. Peter On Mon, Apr 24, 2023 at 5:56 AM Uwe Brauer wrote: > >>> "PM" == Peter Mao writes: > > > Hi Uwe, > > Here are the original patches (matlab-elecp-patch and > > matlab-elecp-patch_PH

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

2023-04-23 Thread Peter Mao
t; because it is listed in the variable `electric-pair-pairs`. The only one > that does NOT work is the "string" type delimiter ' (aka, single-quote, > #x27, ?'). So with the `(abc)def` example above, with #x27, I get: > ``` > 'abc'def' > ``` > Note the single-quote at the

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

2023-04-22 Thread Peter Mao
' for your first file and see what the > stack says. Hard to speculate otherwise. Run the toggle-debug command > a 2nd time to turn off debugging. > > Good Luck > Eric > > On 4/28/22 11:24 PM, Peter Mao wrote: > > Hi Eric, > > > > Thank you -- that inspired

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

2022-04-28 Thread Peter Mao
; > On Tue, Apr 26, 2022 at 2:30 AM Uwe Brauer wrote: > >> >>> "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

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

2022-04-25 Thread Peter Mao
it adds an extra quote. > > > John > -- > *From:* Eric Ludlam > *Sent:* Monday, April 25, 2022 10:11 AM > *To:* Peter Mao > *Cc:* matlab-emacs-discuss > *Subject:* Re: [Matlab-emacs-discuss] matlab-mode, electric-pair-mode and > the single quote (') >

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

2022-04-23 Thread Peter Mao
note: I formatted this email in markdown for readability (let me know if there's a better way). I use **electric-pair-mode**. If you don't you can turn it on locally with ``` (electric-pair-local-mode t) ``` to see what the issue is. Briefly, with **electric-pair-mode** on (locally or

Re: [Matlab-emacs-discuss] MATLAB R2016b segmentation-faults when started from emacs

2017-03-19 Thread Peter Mao
For those of you still using 2016b (or 2016a), here is a relatively painless solution. I usually have /usr/local/bin/matlab symlinked to the /Applications... file. Following a suggestion from Eric Ludlam, I changed that file to the following script which solves my crashing issues. #!/bin/bash

Re: [Matlab-emacs-discuss] matlab-shell segfaults with matlab R2016b on Mac OS 10.11.6 Emacs 25.1

2016-11-18 Thread Peter Mao
the potentially offending files reside) shows NO difference between 2016a and 2016b! $ diff -ur /Applications/MATLAB_R2016b.app/sys/java /Applications/MATLAB_R2016a.app/sys/java This might not be a Java issue. On Thu, Nov 10, 2016 at 7:37 PM, Peter Mao <peter@gmail.com> wrote: >