Hi nic. it seems that nmcli changed its interface : the "nm" object vanished and some other options seem to have changed. I guess the more reliable way is to use dbus, which is what @tromey does at https://github.com/tromey/emacs-network-manager
as an example I wrote a dbus version of your (gnomenm/connected) function. (I'm not 100% sure I'm doing it right,but I guess it's not too far)
Hi nic. it seems that nmcli changed its interface : the "nm" object vanished and some other options seem to have changed. I guess the more reliable way is to use dbus, which is what @tromey does at https://github.com/tromey/emacs-network-manager
as an example I wrote a dbus version of your
(gnomenm/connected)
function. (I'm not 100% sure I'm doing it right,but I guess it's not too far)