Re: alternatives is forgetful?
On Sun, Jun 30, 2024 at 10:00 AM Michael Schwendt wrote: > You may want to add that to: > https://bugzilla.redhat.com/2277689 I opened https://src.fedoraproject.org/rpms/emacs/pull-request/41 and mentioned it in that bug. -- Jerry James http://www.jamezone.org/ -- ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: alternatives is forgetful?
On Fri, 28 Jun 2024 13:59:32 -0600, Jerry James wrote: > I think that preuninstall scriptlet should instead be: > > if [ $1 = 0 ]; then > /usr/sbin/alternatives --remove emacs /usr/bin/emacs-29.4 || : > fi > > See > https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_syntax. > If that sounds right, a bug report is in order. You may want to add that to: https://bugzilla.redhat.com/2277689 -- ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: alternatives is forgetful?
On Fri, Jun 28, 2024 at 1:55 PM Go Canes wrote: > On Fri, Jun 28, 2024 at 3:20 PM Tom Horsley wrote: > > > > I've always set my emacs alternatives to lucid emacs. Today I > > did a big dnf update, rebooted to get new kernel, and then got > > an error when I started emacs about the "pure GTK" version > > not operating correctly under X11 (one of the reasons I use > > lucid). > > > > Why did my alternatives config setting revert? > > I have my "alternatives" set to emacs-nox, but updates frequently > change it back to emacs. Too lazy to figure out why $ rpm -q --scripts emacs preuninstall scriptlet (using /bin/sh): /usr/sbin/alternatives --remove emacs /usr/bin/emacs-29.4 || : posttrans scriptlet (using /bin/sh): /usr/sbin/alternatives --install /usr/bin/emacs emacs /usr/bin/emacs-29.4 80 || : I think that preuninstall scriptlet should instead be: if [ $1 = 0 ]; then /usr/sbin/alternatives --remove emacs /usr/bin/emacs-29.4 || : fi See https://docs.fedoraproject.org/en-US/packaging-guidelines/Scriptlets/#_syntax. If that sounds right, a bug report is in order. -- Jerry James http://www.jamezone.org/ -- ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
Re: alternatives is forgetful?
On Fri, Jun 28, 2024 at 3:20 PM Tom Horsley wrote: > > I've always set my emacs alternatives to lucid emacs. Today I > did a big dnf update, rebooted to get new kernel, and then got > an error when I started emacs about the "pure GTK" version > not operating correctly under X11 (one of the reasons I use > lucid). > > Why did my alternatives config setting revert? I have my "alternatives" set to emacs-nox, but updates frequently change it back to emacs. Too lazy to figure out why -- ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
alternatives is forgetful?
I've always set my emacs alternatives to lucid emacs. Today I did a big dnf update, rebooted to get new kernel, and then got an error when I started emacs about the "pure GTK" version not operating correctly under X11 (one of the reasons I use lucid). Why did my alternatives config setting revert? Anyway, I've now removed all versions except lucid. Maybe that will make it stick :-). -- ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue