Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] emacs: can't get utf-8 supprt
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
jody
l33t
l33t


Joined: 16 Oct 2007
Posts: 668
Location: Switzerland

PostPosted: Thu Aug 25, 2016 3:50 pm    Post subject: [SOLVED] emacs: can't get utf-8 supprt Reply with quote

Hi
On a freshly installed computer i emerged
app-xemacs/xemacs-packages-all
(which also emerges 'app-xemacs/mule-base' and 'app-xemacs/mule-ucs')
My USE flags also contained 'unicode'

I copied the file 'custom.el' (from an installation where i have no problems) to ~/.xemacs.
This file contains the lines
Code:
(require 'un-define)
(set-coding-priority-list '(utf-8))
(set-coding-category-system 'utf-8 'utf-8)

which should give me utf-8 support.

But starting xemacs i got:
Error in init file: Cannot open load file: un-define
so i copied '/usr/lib64/xemacs/mule-packages/lisp/mule-ucs/un-define.elc' to ~/.xemacs

Now i got
Error in init file: Cannot open load file: mule-uni
so i copied '/usr/lib64/xemacs/mule-packages/lisp/mule-ucs/mule-uni.elc' to ~/.xemacs

Now i got
Error in init file: Symbol's function definition is void: charsetp

And now i am stuck - i have no idea where charseetp might be defined.
Furthermore, it seems unlikely that one has to manually move all these fiiles to '~/.xemacs' to get unicode.
On my other computer i don't have any of these files in ~/.xemacs, only my hand-made 'custom.el'.

Can somebody tell me the correct way to get utf-8 support in xemacs?

Thank you
Jody


Last edited by jody on Mon Aug 29, 2016 8:41 am; edited 1 time in total
Back to top
View user's profile Send private message
fturco
Veteran
Veteran


Joined: 08 Dec 2010
Posts: 1181
Location: Italy

PostPosted: Sat Aug 27, 2016 1:28 pm    Post subject: Reply with quote

I use GNU Emacs, not xemacs, but I have found the following link: https://devmanual.gentoo.org/appendices/editor-configuration/xemacs/
Back to top
View user's profile Send private message
jody
l33t
l33t


Joined: 16 Oct 2007
Posts: 668
Location: Switzerland

PostPosted: Mon Aug 29, 2016 8:41 am    Post subject: Reply with quote

Thank you for your reply, but unfortunately it did not help.

My '~/.xemacs/custom.el' already contains the 'three commands that can help.'

I have now completely unmerged all xemcas packages and reemerged them (with USE including "mule" and "unicode")

The un-define problem has now gone away (i.e. no more error messages after starting xemacs).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum