Opened 9 years ago

Last modified 2 years ago

#49618 assigned defect

XEmacs 21.5 (beta16) "celeriac" [Lucid] (i386-apple-darwin13.4.0, Mule)

Reported by: campagne@… Owned by: dstrubbe (David Strubbe)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: cooljeanius (Eric Gallager)
Port: xemacs

Description

I have proceed to port update outdated on my Maverick10.9.5 system and get certainly a new xemacs version I cannot run it as

Warning: Unable to load any usable fontset
Can't get fontset resource for Input Method

and when I want to open a new file the "choose" window just appears a fraction of second and disappears.

I have checked that the fonts are well installed, and also I have proceeded to workaround found on the web without any success (ie. "xset fp rehash", and LANG=C)

An idea? I am a daily user of xemacs since many years and it is teh first time I am experiencing such error.

Thanks JE

Change History (7)

comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: dstrubbe@… added
Keywords: xemacs fonts removed
Port: xemacs added

comment:2 Changed 9 years ago by campagne@…

I have made progress ;)
In my /opt/local/lib directory "port" has installed

xemacs:
total 8
lrwxr-xr-x  1 root  admin  14 Nov  7 19:57 xemacs-21.5.16 -> xemacs-21.5.16
-rw-r--r--  1 root  admin   0 Nov  7 19:57 .turd_xemacs

xemacs-21.5.16:
total 8
lrwxr-xr-x  1 root  admin    6 Nov  6 10:17 xemacs -> xemacs
drwxr-xr-x  7 root  admin  238 Nov  7 19:58 mule-packages
drwxr-xr-x  8 root  admin  272 Nov  7 19:58 xemacs-packages



xemacs-21.5-b16:
total 16
drwxr-xr-x  402 macports  wheel  13668 Nov  7 19:58 lisp
drwxr-xr-x   35 root      admin   1190 Nov  7 19:58 info
drwxr-xr-x   22 root      admin    748 Nov  7 19:58 i386-apple-darwin13.4.0
drwxr-xr-x  100 macports  wheel   3400 Nov  7 19:58 etc

I have just added the two following symbolic links

lrwxr-xr-x    1 root      admin     33 Nov  9 09:27 xemacs-packages -> ../xemacs-21.5.16/xemacs-packages
lrwxr-xr-x    1 root      admin     31 Nov  9 09:27 mule-packages -> ../xemacs-21.5.16/mule-packages

and xemacs does not crash and accept to open the "choose window" to load a file.

JE

Last edited 4 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:3 Changed 9 years ago by campagne@…

But the message

Warning: Unable to load any usable fontset
Can't get fontset resource for Input Method

is still there. JE

comment:4 Changed 9 years ago by campagne@…

Found another hack

alias xemacs="LANG=$LC_CTYPE xemacs"

on my system LC_CTYPE=UT8

So to summarize up to know I had to introduce symbolic links in the xemacs-21.5-b16 directory to point to xemacs-21.5-16 package zone; and use a LANG=UT8 before xemacs command.

JE

comment:5 Changed 9 years ago by campagne@…

Nonetheless I still get errors in the "Fondamental window" at the begenning

(file-mode-spec/warning) Error in File mode specification: Symbol's function definition is void: run-mode-hooks

Backtrace follows:

  run-mode-hooks(c-mode-common-hook c++-mode-hook)
  c++-mode()
  # bind (alist mode name keep-going)
  # (unwind-protect ...)
  # bind (just-from-file-name)
  set-auto-mode()
  #<compiled-function nil "...(5)" [set-auto-mode t] 1>()
  # (unwind-protect ...)
  call-with-condition-handler(#<compiled-function (__call_trapping_errors_arg__) "...(17)" [__call_trapping_errors_arg__ errstr error-message-string lwarn file-mode-spec warning "Error in %s: %s\n\nBacktrace follows:\n\n%s" "File mode specification" backtrace-in-condition-handler-eliminating-handler] 8> #<compiled-function nil "...(5)" [set-auto-mode t] 1>)
  # (condition-case ... . ((error)))
  # bind (find-file)
  normal-mode(t)
  # bind (nomodes after-find-file-from-revert-buffer noauto warn error)
  after-find-file(nil t)
  # (unwind-protect ...)
  # bind (inhibit-read-only error number truename rawfile nowarn filename buf)
  find-file-noselect-1(#<buffer "laguerre2bessel.cc"> "/Users/campagne/Travail/Software/Laguerre/LagSHT/src/laguerre2bessel.cc" nil nil "/Users/campagne/Travail/Software/Laguerre/LagSHT/src/laguerre2bessel.cc" (11842779 16777218))
  byte-code("..." [number truename rawfile nowarn filename buf set-buffer-major-mode find-file-noselect-1] 7)
  # (condition-case ... . ((t (byte-code "Â!ˆÃ	@	A\"‡" [buf data kill-buffer signal] 3))))
  # bind (number truename buf wildcards rawfile nowarn filename)
  find-file-noselect("/Users/campagne/Travail/Software/Laguerre/LagSHT/src/laguerre2bessel.cc" nil nil nil)
  # bind (wildcards codesys filename)
  find-file("/Users/campagne/Travail/Software/Laguerre/LagSHT/src/laguerre2bessel.cc")
  # bind (dir file-count line end-of-options file-p arg tem)
  command-line-1()
  # bind (command-line-args-left)
  command-line()
  # (condition-case ... . ((t (byte-code "	‡" [error-data data nil] 1))))
  # bind (error-data)
  normal-top-level()
  # (condition-case ... . error)
  # (catch top-level ...)

JE

comment:6 Changed 6 years ago by jmroot (Joshua Root)

Cc: dstrubbe removed
Owner: changed from macports-tickets@… to dstrubbe
Status: newassigned

comment:7 Changed 2 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.