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

> --_000_mn2pr05mb6766aec9347374bef65023cbd1212mn2pr05mb6766namp_
> Content-type: text/plain; charset="windows-1252"
> Content-transfer-encoding: quoted-printable

> Hi

> I think we could keep the current settings for those that don't have issues=
>  with the super key. We could also have the C-c C-<ITEM> key binding witch =
> is similar to the current settings.

> I'm not sure which is better using C-c C-<ITEM> or C-% <ITEM>? Both seem re=
> asonable to me.

> We should probably have the super key bindings be "2nd" because it doesn't =
> work in several cases. Windows can loose access to the super key, in cases =
> it doesn't exist on Linux, and Mac doesn't have a super key.

Well, indeed Mac does have a super key, but emacs compiled for Mac has. 😉
That is you can configure your emacs so that there is a super key.

If needed I can provide the details (I also have a Mac Air, that I use
for teaching).


> Thanks


> ________________________________
> From: Uwe Brauer
> Sent: Wednesday, November 20, 2024 12:05 PM
> To: John Ciolfi via Matlab-emacs-discuss
> Cc: Eric Ludlam; John Ciolfi
> Subject: Re: [Matlab-emacs-discuss] matlab-sections.el

>>> "JCvM" =3D=3D John Ciolfi via Matlab-emacs-discuss <matlab-emacs-discus=
> s...@lists.sourceforge.net> writes:

>> Yes, it's a good feature when working with scripts.
>> The key binding is an issue I see too, though when using VNC.
>> Sometimes the super key isn't passed through. It's also common for the
>> windows super key to not work on Windows, see
>> https://answers.microsoft.com/en-us/windows/forum/all/windows-key-not-wor=
> king/0c796f79-0aa8-466e-ab44-802005d1791b
>> which gives 8 methods for fixing that. I've hit this in the past.

>> What about:

>> (define-key map (kbd "C-c C-<down>") #'matlab-sections-forward-sectio=
> n)
>> (define-key map (kbd "C-C C-<up>") #'matlab-sections-backward-section=
> )
>> (define-key map (kbd "C-C C-<left>") #'matlab-sections-beginning-of-s=
> ection)
>> (define-key map (kbd "C-C C-<right>") #'matlab-sections-end-of-sectio=
> n)
>> (define-key map (kbd "C-c M-<up>") #'matlab-sections-move-section-up)
>> (define-key map (kbd "C-c M-<down>") #'matlab-sections-move-section-d=
> own)
>> (define-key map (kbd "C-c M-<return>") #'matlab-sections-run-till-poi=
> nt)
>> (define-key map (kbd "C-c C-SPC") #'matlab-sections-mark-section)


> Do you mean: in addition to the current keybinding setting or replacing
> the  current keybinding?


> If the current keybinding is problematic for Linux users, can't we
> distinguish between the two or say  OS.


>     1. MacOS: darwin

>     2. Linux: gnu/linux

>     3. MS, windows-nt
> Like

> (if (eq system-type 'darwin)
>   ; something for OS X if true
>   ; optional something if not
> )

-- 
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the EU and NATO membership of Ukraine. 

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