[Bug 350554] New: XEmacs not loading init files
https://bugzilla.novell.com/show_bug.cgi?id=350554 Summary: XEmacs not loading init files Product: openSUSE 10.3 Version: Final Platform: i686 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: hdk@dkluenter.de QAContact: qa@suse.de Found By: Customer I have just updated xemacs-21.5.28.20071220-4.1 from People repository. Starting xemacs shows an error in mini buffer Symbol's function definition is void: custom-face-get-spec running xemacs -vanilla loads fine but reading init scripts shows an error in mini buffer: Your XEmacs version is incompatible to Mule-UCS; not loaded running xemacs -debug-on-init doesn't show any errors but my init and custom files in ~/.xemacs are not loaded. -Dieter -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=350554 Mark Gordon <mtgordon@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mtgordon@novell.com AssignedTo|bnc-team-screening@forge.provo.novell.com |mfabian@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=350554 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=350554#c1 --- Comment #1 from Mike Fabian <mfabian@novell.com> 2008-01-02 07:49:55 MST --- Thank you for the report! As the error message says, xemacs >= 21.5 is not compatible with Mule-UCS, it doesn’t need Mule-UCS anymore because it has much better Unicode support built in now. This built in Unicode support conflicts with Mule-UCS. Therefore, /usr/share/xemacs/mule-packages/lisp/mule-ucs/un-define.el contains code at top to produce an error if one tries loading "un-define". Looks like this: (if (and (not (boundp 'mucs-ignore-version-incompatibilities)) (fboundp 'unicode-precedence-list)) (error "Your XEmacs version is incompatible with Mule-UCS; not loaded.")) But some Emacs-Lisp programs have a (require 'un-define) to make sure that Unicode support is loaded. This makes sense only with XEmacs < 21.5 but some Emacs-Lisp packages still require un-define unconditionally, i.e. without checking whether they are running under XEmacs >= 21.5 which doesn’t need un-define anymore. To avoid this problem and to make packages requiring un-define happy, the SuSE specific system startup file /usr/share/xemacs/site-packages/lisp/site-start.el contains (if (and (<= emacs-major-version 21) (<= emacs-minor-version 4) (locate-library "un-define")) (require 'un-define) (provide 'un-define)) I.e. for XEmacs >= 21.5 this code provides un-define to indicate that Unicode support is available. If any package later executes a line like (require 'un-define) nothing will happen, because un-define is already provided. ' But if a line like (load "un-define") is executed, un-define will be loaded unconditionally. The default init file distributed with openSUSE (/etc/skel/.xemacs) only contains (if (locate-library "un-define") (require 'un-define)) Which doesn’t cause the problem you see. Therefore, I guess you have your own init.el which uses a (load "un-define") somewhere. Please change that into a (require 'un-define). Or, remove this line completely if you don’t use XEmacs 21.4 anymore. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=350554 User mfabian@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=350554#c2 Mike Fabian <mfabian@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WORKSFORME --- Comment #2 from Mike Fabian <mfabian@novell.com> 2008-01-02 07:53:26 MST --- I close this bug as WORKSFORME because I cannot reproduce it with the default SuSE init.el. Please reopen if you still think this happens with the default SuSE setup. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com