Dear Werner, I used the Yast Software Management system to deinstall emacs, emacs-info, etags and emacs-x11. Then I deleted /usr/share/emacs. Then I rebooted the system (to make sure I kill any demon I might not be aware of). And then, I used zypper to reinstall emacs. With it came the other three programs (emacs-x11, etags, emacs-info). # sudo rpm -aV gives among a lot of other messages: missing /usr/share/emacs/site-lisp/desktop-entry-mode.el missing /usr/share/emacs/site-lisp/po-compat.el missing /usr/share/emacs/site-lisp/po-mode.el missing /usr/share/emacs/site-lisp/start-po.el missing /usr/share/emacs/site-lisp/suse-start-po-mode.el Would that be important? Thank you for the hint regarding .emacs and .gnu-emacs. I copied them from /etc/skel to my home. Best regards, Daniel -- Daniel Schlieper email: daniel.schlieper@tuxomania.net On Thu, 27 Aug 2020, Dr. Werner Fink wrote:
On 2020/08/27 16:58:42 +0200, Daniel Schlieper wrote:
Dear Werner,
I am most grateful for your help. And I just found that with the option "--no-site-lisp, -nsl", emacs is fine. E. g.,
daniel@capriolo:~> emacs -nsl test.txt
works as expected. Maybe the site-lisp-files are broken? The site-lisp directory came with the new emacs installation, as I deleted /usr/share/emacs before a fresh emacs installation:
Just a few minutes ago, I deinstalled emacs, emacs-info, etags and emacs-x11. Then I deleted /usr/share/emacs and rebooted the machine.
That means you have simply deleted all files installed by rpm/zypper below /usr/share/emacs and then rebooted then system?
Then, I installed emacs via zypper. With it came emacs-info, etags, and emacs-x11 (please see post scriptum for the installation log).
You might check your installation by using
sudo rpm -aV
have a look at /usr/share/emacs and the subdirectory site-lisp/ therein
Here are the X resources around Emacs:
daniel@capriolo:~> xrdb -query | grep -i emacs Emacs*Background: #fcfcfc Emacs*Dialog*background: #eff0f1 Emacs*Dialog*foreground: #232627 Emacs*Foreground: #232627 Emacs*XlwScrollBar.Background: #eff0f1 Emacs*XlwScrollBar.Foreground: #232627 Emacs*backgroundToolBarColor: #eff0f1 Emacs*bottomToolBarShadowColor: #eff0f1 Emacs*menubar*background: #eff0f1 Emacs*menubar*foreground: #232627 Emacs*popup*Background: #eff0f1 Emacs*popup*Foreground: #232627 Emacs*toolBarShadowThickness: 0 Emacs*topToolBarShadowColor: #eff0f1 Emacs.default.attributeBackground: #fcfcfc Emacs.default.attributeForeground: #232627
Beside colouring (as long as back and foreground have different colour) there is noting about.
daniel@capriolo:~> ls -l ~/.emacs* ~/.gnu-emacs* -rw-r--r-- 1 daniel users 707 30. Sep 2019 /home/daniel/.gnu-emacs-custom~
Below /etc/skel/ there is a ~/.emacs which read ~/.gnu-emacs for GNU-Emacs ... (it is also able to read similar for old XEmacs).
/home/daniel/.emacs.d: insgesamt 4 -rw-r--r-- 1 daniel users 631 27. Aug 10:33 early-init.el # Comment: This is the file I listed earlier (your comment: "This does not harm.")
daniel@capriolo:~> find ~/.emacs.d/ /home/daniel/.emacs.d/ /home/daniel/.emacs.d/early-init.el
daniel@capriolo:~> ls -l ~/Emacs ls: Zugriff auf '/home/daniel/Emacs' nicht möglich: No such file or directory
daniel@capriolo:~> rpm -qf /usr/share/emacs/site-lisp/* | sort -u emacs-27.1-342.2.x86_64
Nevertheless there could be a lot of files from other packages but those got deleted.
-- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr