Dr. Werner Fink writes:
The /usr/bin/emacs script does start normally emacs-gtk and this binary does search for different emacs.pdmp versions
werner/emacs> strace -f -o log emacs Warning: game dir '/var/games/emacs': Permission denied werner/emacs> grep pdmp log 25403 openat(AT_FDCWD, "/usr/bin/emacs-gtk.pdmp", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 25403 openat(AT_FDCWD, "/usr/lib/emacs/27.1/x86_64-suse-linux/emacs.pdmp", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 25403 openat(AT_FDCWD, "/usr/lib/emacs/27.1/x86_64-suse-linux/emacs-gtk.pdmp", O_RDONLY|O_CLOEXEC) = 3
Yes, but if you start it with a full path as /usr/bin/emacs it completely misses the boat: 3717 lstat("/usr", {st_mode=S_IFDIR|0755, st_size=124, ...}) = 0 3717 lstat("/usr/bin", {st_mode=S_IFDIR|0755, st_size=76850, ...}) = 0 3717 lstat("/usr/bin/emacs", {st_mode=S_IFREG|0755, st_size=4334, ...}) = 0 3717 openat(AT_FDCWD, "/usr/bin/emacs.pdmp", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 3717 openat(AT_FDCWD, "/usr/lib/emacs/27.1/x86_64-suse-linux/emacs.pdmp", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) 3717 openat(AT_FDCWD, "/usr/lib/emacs/27.1/x86_64-suse-linux/emacs.pdmp", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) And that's exactly what my shortcut did (because it would otherwise have picked up whatever test version I have currently installed as /usr/local/bin/emacs). I've changed the shortcut to directly run /usr/bin/emacs-gtk instead, but that should really not be necessary. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Q+, Q and microQ: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org