[opensuse-factory] emacs 27: A lot of Wrong type argument errors
Hi, after updating to TW 20200824 with emacs-27.1-2.1.x86_64 (previously I had some emacs 26), very many actions fail with error: Wrong type argument: stringp, (require . info) For example, I cannot even enter org-mode by simply M-x org-mode in the *scratch* buffer. I also cannot run notmuch and keep getting this error repeatedly in list-packages buffer. I have tracked this down to melpa packages magit and/or emacs-jabber. When I delete the directory .emacs.d/elpa and install my usual packages but not any of these two, the problem goes away. If I install one of them, it reappears. The packages are not part of TW and therefore I am not submitting a bug but I assume there must be quite a few magit users here and so I'm asking whether anyone has dealt with this or has any ideas what to do. I must say that my world is going to be a worse place without magit. Even with the packages installed, the problem also does not happen when I run directly emacs-x11, emacs-gtx or emacs-nox but does happen even when I unset DISPLAY and run emacs (and sure enough, --no-x-resources has no effect either). IIUC, the /usr/bin/emacs is a SUSE specific script and therefore I suspect it may also be a problem with our packaging. The simplest backtrace is from attempting to enter org-mode: Debugger entered--Lisp error: (wrong-type-argument stringp (require . info)) string-match("\\(\\`\\|/\\)imenu\\(\\.elc\\|\\.el\\|\\.so\\)?\\(\\.gz\\)?\\'" (require . info)) load-history-filename-element("\\(\\`\\|/\\)imenu\\(\\.elc\\|\\.el\\|\\.so\\)?\\(\\.gz\\)?\\'") eval-after-load("imenu" #f(compiled-function () #<bytecode 0x9bf819>)) require(org-compat) byte-code("\302\303!\210\302\304!\210\302\305!\210\302\306!\210\10\307=\204:\0\3101)\0\311\312\11!\313P\314\315\211\211%0\2029\0\210\316\317!\210\320\321!\210..." [this-command load-file-name require cl-lib calendar find-func format-spec eval-buffer (error) load file-name-directory "org-loaddefs.el" nil t message "WARNING: No org-loaddefs.el file could be found fr..." sit-for 3 "You need to run \"make\" or \"make autoloads\" from Or..." org-macs org-compat org-keys ol org-table] 6) autoload-do-load((autoload "org" "Outline-based notes management and organizer, alia..." t nil) org-mode) command-execute(org-mode record) execute-extended-command(nil "org-mode" "org-mode") funcall-interactively(execute-extended-command nil "org-mode" "org-mode") call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) Another notable difference between running just emacs and emacs-x11, emacs-gtk or emacs-nox is that the latter three only spit the following (only slightly annoying) line in the terminal: Warning: game dir '/var/games/emacs': Permission denied whereas running just emacs with no suffix then goes on with much more: Loading loadup.el (source)... 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 /usr/share/emacs/27.1/lisp/textmodes /usr/share/emacs/27.1/lisp/vc) Loading emacs-lisp/byte-run... Loading emacs-lisp/byte-run...done Loading emacs-lisp/backquote... Loading emacs-lisp/backquote...done Loading subr... Loading subr...done Loading version... Loading version...done Loading widget... Loading widget...done Loading custom... Loading custom...done Loading emacs-lisp/map-ynp... Loading emacs-lisp/map-ynp...done Loading international/mule... Loading international/mule...done Loading international/mule-conf... Loading international/mule-conf...done Loading env... Loading env...done Loading format... Loading format...done Loading bindings (source)... Loading bindings (source)...done Loading window... Loading window...done Loading files... Loading files...done Loading emacs-lisp/macroexp... Loading emacs-lisp/macroexp...done Loading cus-face... Loading cus-face...done Loading faces... Loading faces...done Loading button... Loading button...done Loading /usr/share/emacs/27.1/lisp/loaddefs.el (source)... Loading /usr/share/emacs/27.1/lisp/loaddefs.el (source)...done Loading emacs-lisp/nadvice... Loading emacs-lisp/nadvice...done Loading emacs-lisp/cl-preloaded... Loading emacs-lisp/cl-preloaded...done Loading obarray... Loading obarray...done Loading abbrev... Loading abbrev...done Loading simple... Loading simple...done Loading help... Loading help...done Loading jka-cmpr-hook... Loading jka-cmpr-hook...done Loading epa-hook... Loading epa-hook...done Loading international/mule-cmds... Loading international/mule-cmds...done Loading case-table... Loading case-table...done Loading /usr/share/emacs/27.1/lisp/international/charprop.el (source)... Loading /usr/share/emacs/27.1/lisp/international/charprop.el (source)...done Loading international/characters... Loading international/characters...done Loading composite... Loading composite...done Loading language/chinese... Loading language/chinese...done Loading language/cyrillic... Loading language/cyrillic...done Loading language/indian... Loading language/indian...done Loading language/sinhala... Loading language/sinhala...done Loading language/english... Loading language/english...done Loading language/ethiopic... Loading language/ethiopic...done Loading language/european... Loading language/european...done Loading language/czech... Loading language/czech...done Loading language/slovak... Loading language/slovak...done Loading language/romanian... Loading language/romanian...done Loading language/greek... Loading language/greek...done Loading language/hebrew... Loading language/hebrew...done Loading international/cp51932... Loading international/cp51932...done Loading international/eucjp-ms... Loading international/eucjp-ms...done Loading language/japanese... Loading language/japanese...done Loading language/korean... Loading language/korean...done Loading language/lao... Loading language/lao...done Loading language/tai-viet... Loading language/tai-viet...done Loading language/thai... Loading language/thai...done Loading language/tibetan... Loading language/tibetan...done Loading language/vietnamese... Loading language/vietnamese...done Loading language/misc-lang... Loading language/misc-lang...done Loading language/utf-8-lang... Loading language/utf-8-lang...done Loading language/georgian... Loading language/georgian...done Loading language/khmer... Loading language/khmer...done Loading language/burmese... Loading language/burmese...done Loading language/cham... Loading language/cham...done Loading indent... Loading indent...done Loading emacs-lisp/cl-generic... Loading emacs-lisp/cl-generic...done Loading minibuffer... Loading minibuffer...done Loading frame... Loading frame...done Loading startup... Loading startup...done Loading term/tty-colors... Loading term/tty-colors...done Loading font-core... Loading font-core...done Loading facemenu... Loading facemenu...done Loading emacs-lisp/syntax... Loading emacs-lisp/syntax...done Loading font-lock... Loading font-lock...done Loading jit-lock... Loading jit-lock...done Loading mouse... Loading mouse...done Loading scroll-bar... Loading scroll-bar...done Loading select... Loading select...done Loading emacs-lisp/timer... Loading emacs-lisp/timer...done Loading isearch... Loading isearch...done Loading rfn-eshadow... Loading rfn-eshadow...done Loading menu-bar... Loading menu-bar...done Loading tab-bar... Loading tab-bar...done Loading emacs-lisp/lisp... Loading emacs-lisp/lisp...done Loading textmodes/page... Loading textmodes/page...done Loading register... Loading register...done Loading textmodes/paragraphs... Loading textmodes/paragraphs...done Loading progmodes/prog-mode... Loading progmodes/prog-mode...done Loading emacs-lisp/lisp-mode... Loading emacs-lisp/lisp-mode...done Loading progmodes/elisp-mode... Loading progmodes/elisp-mode...done Loading textmodes/text-mode... Loading textmodes/text-mode...done Loading textmodes/fill... Loading textmodes/fill...done Loading newcomment... Loading newcomment...done Loading replace... Loading replace...done Loading emacs-lisp/tabulated-list... Loading emacs-lisp/tabulated-list...done Loading buff-menu... Loading buff-menu...done Loading fringe... Loading fringe...done Loading emacs-lisp/regexp-opt... Loading emacs-lisp/regexp-opt...done Loading image... Loading image...done Loading international/fontset... Loading international/fontset...done Loading dnd... Loading dnd...done Loading tool-bar... Loading tool-bar...done Loading dynamic-setting... Loading dynamic-setting...done Loading x-dnd... Loading x-dnd...done Loading term/common-win... Loading term/common-win...done Loading term/x-win... Loading term/x-win...done Loading mwheel... Loading mwheel...done Loading emacs-lisp/float-sup... Loading emacs-lisp/float-sup...done Loading vc/vc-hooks... Loading vc/vc-hooks...done Loading vc/ediff-hook... Loading vc/ediff-hook...done Loading uniquify... Loading uniquify...done Loading electric... Loading electric...done Loading emacs-lisp/eldoc... Loading emacs-lisp/eldoc...done Loading /usr/share/emacs/27.1/lisp/cus-start.el (source)... Loading /usr/share/emacs/27.1/lisp/cus-start.el (source)...done Loading tooltip... Loading tooltip...done Loading /usr/share/emacs/27.1/lisp/leim/leim-list.el (source)... Loading /usr/share/emacs/27.1/lisp/leim/leim-list.el (source)...done Loading /usr/share/emacs/27.1/lisp/site-load.el (source)... Loading lpr... Loading lpr...done Loading delsel... Loading delsel...done Loading /usr/share/emacs/27.1/lisp/site-load.el (source)...done Finding pointers to doc strings... Finding pointers to doc strings...done so it seems there is quite a bit more going on when running just emacs. But of course I do not know whether it is in any way related. I'll be grateful for any suggestions how to fix the problem. Martin -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
"MJ" == Martin Jambor <mjambor@suse.cz> writes:
MJ> Hi, after updating to TW 20200824 with emacs-27.1-2.1.x86_64 (previously I MJ> had some emacs 26), very many actions fail with error: MJ> Wrong type argument: stringp, (require . info) MJ> I'll be grateful for any suggestions how to fix the problem. MJ> Martin Short answer install the Emacs from Editors repo as it works as it should be For details see if they are related to your problems if yes then you know what to do next https://bugzilla.opensuse.org/show_bug.cgi?id=1175487 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
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 Loading loadup.el (source)... 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 /usr/share/emacs/27.1/lisp/textmodes /usr/share/emacs/27.1/lisp/vc) Loading emacs-lisp/byte-run... Loading emacs-lisp/byte-run...done Loading emacs-lisp/backquote... Loading emacs-lisp/backquote...done Loading subr... Loading subr...done Loading version... Loading version...done Loading widget... Loading widget...done Loading custom... Loading custom...done Loading emacs-lisp/map-ynp... Loading emacs-lisp/map-ynp...done Loading international/mule... Loading international/mule...done Loading international/mule-conf... Loading international/mule-conf...done Loading env... Loading env...done Loading format... Loading format...done Loading bindings (source)... Loading bindings (source)...done Loading window... Loading window...done Loading files... Loading files...done Loading emacs-lisp/macroexp... Loading emacs-lisp/macroexp...done Loading cus-face... Loading cus-face...done Loading faces... Loading faces...done Loading button... Loading button...done Loading /usr/share/emacs/27.1/lisp/loaddefs.el (source)... Loading /usr/share/emacs/27.1/lisp/loaddefs.el (source)...done Loading emacs-lisp/nadvice... Loading emacs-lisp/nadvice...done Loading emacs-lisp/cl-preloaded... Loading emacs-lisp/cl-preloaded...done Loading obarray... Loading obarray...done Loading abbrev... Loading abbrev...done Loading simple... Loading simple...done Loading help... Loading help...done Loading jka-cmpr-hook... Loading jka-cmpr-hook...done Loading epa-hook... Loading epa-hook...done Loading international/mule-cmds... Loading international/mule-cmds...done Loading case-table... Loading case-table...done Loading /usr/share/emacs/27.1/lisp/international/charprop.el (source)... Loading /usr/share/emacs/27.1/lisp/international/charprop.el (source)...done Loading international/characters... Loading international/characters...done Loading composite... Loading composite...done Loading language/chinese... Loading language/chinese...done Loading language/cyrillic... Loading language/cyrillic...done Loading language/indian... Loading language/indian...done Loading language/sinhala... Loading language/sinhala...done Loading language/english... Loading language/english...done Loading language/ethiopic... Loading language/ethiopic...done Loading language/european... Loading language/european...done Loading language/czech... Loading language/czech...done Loading language/slovak... Loading language/slovak...done Loading language/romanian... Loading language/romanian...done Loading language/greek... Loading language/greek...done Loading language/hebrew... Loading language/hebrew...done Loading international/cp51932... Loading international/cp51932...done Loading international/eucjp-ms... Loading international/eucjp-ms...done Loading language/japanese... Loading language/japanese...done Loading language/korean... Loading language/korean...done Loading language/lao... Loading language/lao...done Loading language/tai-viet... Loading language/tai-viet...done Loading language/thai... Loading language/thai...done Loading language/tibetan... Loading language/tibetan...done Loading language/vietnamese... Loading language/vietnamese...done Loading language/misc-lang... Loading language/misc-lang...done Loading language/utf-8-lang... Loading language/utf-8-lang...done Loading language/georgian... Loading language/georgian...done Loading language/khmer... Loading language/khmer...done Loading language/burmese... Loading language/burmese...done Loading language/cham... Loading language/cham...done Loading indent... Loading indent...done Loading emacs-lisp/cl-generic... Loading emacs-lisp/cl-generic...done Loading minibuffer... Loading minibuffer...done Loading frame... Loading frame...done Loading startup... Loading startup...done Loading term/tty-colors... Loading term/tty-colors...done Loading font-core... Loading font-core...done Loading facemenu... Loading facemenu...done Loading emacs-lisp/syntax... Loading emacs-lisp/syntax...done Loading font-lock... Loading font-lock...done Loading jit-lock... Loading jit-lock...done Loading mouse... Loading mouse...done Loading scroll-bar... Loading scroll-bar...done Loading select... Loading select...done Loading emacs-lisp/timer... Loading emacs-lisp/timer...done Loading isearch... Loading isearch...done Loading rfn-eshadow... Loading rfn-eshadow...done Loading menu-bar... Loading menu-bar...done Loading tab-bar... Loading tab-bar...done Loading emacs-lisp/lisp... Loading emacs-lisp/lisp...done Loading textmodes/page... Loading textmodes/page...done Loading register... Loading register...done Loading textmodes/paragraphs... Loading textmodes/paragraphs...done Loading progmodes/prog-mode... Loading progmodes/prog-mode...done Loading emacs-lisp/lisp-mode... Loading emacs-lisp/lisp-mode...done Loading progmodes/elisp-mode... Loading progmodes/elisp-mode...done Loading textmodes/text-mode... Loading textmodes/text-mode...done Loading textmodes/fill... Loading textmodes/fill...done Loading newcomment... Loading newcomment...done Loading replace... Loading replace...done Loading emacs-lisp/tabulated-list... Loading emacs-lisp/tabulated-list...done Loading buff-menu... Loading buff-menu...done Loading fringe... Loading fringe...done Loading emacs-lisp/regexp-opt... Loading emacs-lisp/regexp-opt...done Loading image... Loading image...done Loading international/fontset... Loading international/fontset...done Loading dnd... Loading dnd...done Loading tool-bar... Loading tool-bar...done Loading dynamic-setting... Loading dynamic-setting...done Loading x-dnd... Loading x-dnd...done Loading term/common-win... Loading term/common-win...done Loading term/x-win... Loading term/x-win...done Loading mwheel... Loading mwheel...done Loading emacs-lisp/float-sup... Loading emacs-lisp/float-sup...done Loading vc/vc-hooks... Loading vc/vc-hooks...done Loading vc/ediff-hook... Loading vc/ediff-hook...done Loading uniquify... Loading uniquify...done Loading electric... Loading electric...done Loading emacs-lisp/eldoc... Loading emacs-lisp/eldoc...done Loading /usr/share/emacs/27.1/lisp/cus-start.el (source)... Loading /usr/share/emacs/27.1/lisp/cus-start.el (source)...done Loading tooltip... Loading tooltip...done Loading /usr/share/emacs/27.1/lisp/leim/leim-list.el (source)... Loading /usr/share/emacs/27.1/lisp/leim/leim-list.el (source)...done Loading /usr/share/emacs/27.1/lisp/site-load.el (source)... Loading lpr... Loading lpr...done Loading delsel... Loading delsel...done Loading /usr/share/emacs/27.1/lisp/site-load.el (source)...done Finding pointers to doc strings... Finding pointers to doc strings...done -- Daniel Schlieper email: daniel.schlieper@tuxomania.net On Wed, 26 Aug 2020, Togan Muftuoglu wrote:
"MJ" == Martin Jambor <mjambor@suse.cz> writes:
MJ> Hi, after updating to TW 20200824 with emacs-27.1-2.1.x86_64 (previously I MJ> had some emacs 26), very many actions fail with error:
MJ> Wrong type argument: stringp, (require . info)
MJ> I'll be grateful for any suggestions how to fix the problem.
MJ> Martin
Short answer install the Emacs from Editors repo as it works as it should be
For details see if they are related to your problems if yes then you know what to do next
https://bugzilla.opensuse.org/show_bug.cgi?id=1175487 -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
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
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
On 2020/08/27 10:42:48 +0200, Daniel Schlieper wrote:
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?
Hmmm ... I can not repeoduce this. Are you using emacs as a daemon server? But even with, it should work as it does here. Please do a bash -x emacs test.txt 2> trace.log without ampersand at the end ... what does trace.log show? Also Id like to see the output of type emacs and locale as well as what does happen if you start emacs -Q test.txt also without ampersand Werner -- "Having a smoking section in a restaurant is like having a peeing section in a swimming pool." -- Edward Burr
Hi, On Wed, Aug 26 2020, Togan Muftuoglu wrote:
"MJ" == Martin Jambor <mjambor@suse.cz> writes:
MJ> Hi, after updating to TW 20200824 with emacs-27.1-2.1.x86_64 (previously I MJ> had some emacs 26), very many actions fail with error:
MJ> Wrong type argument: stringp, (require . info)
MJ> I'll be grateful for any suggestions how to fix the problem.
MJ> Martin
Short answer install the Emacs from Editors repo as it works as it should be
For details see if they are related to your problems if yes then you know what to do next
thank you very much, that package indeed does not have this issue. Now my only (known) problem with emacs 27 is that ERC is unable to connect to two channels with the same name (but on different IRC servers) - unlike emacs 26.3. Which is super annoying but much less a problem than the original issue. So thanks again! Martin -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (4)
-
Daniel Schlieper
-
Dr. Werner Fink
-
Martin Jambor
-
Togan Muftuoglu