Dear Dr. Fink, thank you very much for you kind help. With the emacs from the editors repo, the fonts are fine, so this problem is sorted. Emacs also doesn't give me a load of messages in the terminal, so that is fine, too. But I still am unable to pass the file name as an argument. bash-> emacs test.txt & still opens Emacs with scratch and I have to open the file from within Emacs. Could you please help me? Best regards, Daniel PS: Some more information: root # zypper addrepo https://download.opensuse.org/repositories/editors/openSUSE_Tumbleweed/edito... Adding repository 'Text editors and hex editors for Linux (openSUSE_Tumbleweed)' .......................................................[done] Repository 'Text editors and hex editors for Linux (openSUSE_Tumbleweed)' successfully added URI : https://download.opensuse.org/repositories/editors/openSUSE_Tumbleweed/ Enabled : Yes GPG Check : Yes Autorefresh : No Priority : 99 (default priority) Repository priorities in effect: (See 'zypper lr -P' for details) 90 (raised priority) : 1 repository 99 (default priority) : 10 repositories capriolo:/home/daniel # zypper refresh Retrieving repository 'Text editors and hex editors for Linux (openSUSE_Tumbleweed)' metadata ..........................................[done] Building repository 'Text editors and hex editors for Linux (openSUSE_Tumbleweed)' cache ...............................................[done] Repository 'home:FrankyU2' is up to date. Repository 'openSUSE:Factory' is up to date. Repository 'home:adrianSuSE' is up to date. Repository 'openSUSE:Tumbleweed' is up to date. Repository 'packman' is up to date. Repository 'Packman Repository' is up to date. Repository 'repo-debug' is up to date. Repository 'repo-non-oss' is up to date. Repository 'repo-oss' is up to date. Repository 'repo-update' is up to date. All repositories have been refreshed. root # zypper install emacs Loading repository data... Reading installed packages... Resolving package dependencies... The following 5 NEW packages are going to be installed: emacs emacs-auctex emacs-info emacs-x11 etags 5 new packages to install. Overall download size: 29.9 MiB. Already cached: 0 B. After the operation, additional 140.3 MiB will be used. Continue? [y/n/v/...? shows all options] (y): Retrieving package emacs-info-27.1-342.2.noarch (1/5), 4.7 MiB ( 4.6 MiB unpacked) Retrieving: emacs-info-27.1-342.2.noarch.rpm ...............................................................................[done (2.4 MiB/s)] Retrieving package etags-27.1-342.2.x86_64 (2/5), 174.2 KiB (305.8 KiB unpacked) Retrieving: etags-27.1-342.2.x86_64.rpm ....................................................................................[done (2.0 KiB/s)] Retrieving package emacs-27.1-342.2.x86_64 (3/5), 16.7 MiB ( 71.3 MiB unpacked) Retrieving: emacs-27.1-342.2.x86_64.rpm ....................................................................................[done (4.3 MiB/s)] Retrieving package emacs-x11-27.1-342.2.x86_64 (4/5), 5.7 MiB ( 32.5 MiB unpacked) Retrieving: emacs-x11-27.1-342.2.x86_64.rpm ................................................................................[done (4.0 MiB/s)] Retrieving package emacs-auctex-12.2-1.1.noarch (5/5), 2.6 MiB ( 31.6 MiB unpacked) Retrieving: emacs-auctex-12.2-1.1.noarch.rpm .................................................................................[done (949 B/s)] Checking for file conflicts: ...........................................................................................................[done] (1/5) Installing: emacs-info-27.1-342.2.noarch .........................................................................................[done] (2/5) Installing: etags-27.1-342.2.x86_64 ..............................................................................................[done] (3/5) Installing: emacs-27.1-342.2.x86_64 ..............................................................................................[done] (4/5) Installing: emacs-x11-27.1-342.2.x86_64 ..........................................................................................[done] (5/5) Installing: emacs-auctex-12.2-1.1.noarch .........................................................................................[done] root # zypper info emacs Loading repository data... Reading installed packages... Information for package emacs: ------------------------------ Repository : Text editors and hex editors for Linux (openSUSE_Tumbleweed) Name : emacs Version : 27.1-342.2 Arch : x86_64 Vendor : obs://build.opensuse.org/editors Installed Size : 71.3 MiB Installed : Yes Status : up-to-date Source package : emacs-27.1-342.2.src Summary : GNU Emacs Base Package Description : Basic package for the GNU Emacs editor. Requires emacs-x11 or emacs-nox. root # zypper install -r editors emacs Loading repository data... Reading installed packages... 'emacs' is already installed. No update candidate for 'emacs-27.1-342.2.x86_64'. The highest available version is already installed. Resolving package dependencies... -- Daniel Schlieper email: daniel.schlieper@tuxomania.net On Thu, 27 Aug 2020, Dr. Werner Fink wrote:
Please use the *latest* emacs from repository editors Feedback is welcome
Thanks
On 2020/08/26 22:31:21 +0200, Daniel Schlieper wrote:
Hi,
I have a weird behaviour of emacs 27, too. When starting emacs from a shell with a filename to open, emacs completely ignores the argument.
E.g.:
bash-> emacs text.txt &
Then Emacs starts, produces a lot of output in the shell, and opens the empty scratch-buffer. In the Minibuffer is the message "Can’t find Hunspell dictionary with a .aff affix file".
I don't need the Hunspell dictionary and would prefer Emacs didn't bother to look for it.
What I find annoying is that I need to visit the file "text.txt" from within emacs to open it. I don't see a way to open the file as an argument in the shell command.
To start emacs in the terminal doesn't help:
bash-> emacs -nw text.txt
...still doesn't open the file "text.txt"
I also seem to have a problem with the way the font is used in the emacs X window. The normal 12 point size is thin and difficult to read. I need to enlarge the font to 17 point to get the letters displayed OK. I can't understand this, since the fonts are OK in the terminal, even when I use a rather small sized font.
Any help is greatly appreciated.
Best regards, Daniel
PS: Here is some more information:
Emacs 26 was fine.
I currently have Emacs 27 (emacs-27.1-2.1.x86_64)
I am runninig TW 20200823.
The long list of messages in the shell start is:
Warning: game dir '/var/games/emacs': Permission denied
Older emacs
Loading loadup.el (source)...
Indeed ... missing pdmp patch
dump mode: nil Using load-path (/usr/share/emacs/27.1/site-lisp /usr/share/emacs/site-lisp /usr/share/emacs/27.1/lisp /usr/share/emacs/27.1/lisp/emacs-lisp /usr/share/emacs/27.1/lisp/progmodes /usr/share/emacs/27.1/lisp/language /usr/share/emacs/27.1/lisp/international [...]
-- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr