* [gentoo-user] Emacs - (I think [the]) Fonts [are] Broken
@ 2006-09-08 22:55 Lord Sauron
2006-09-09 11:05 ` darren kirby
0 siblings, 1 reply; 7+ messages in thread
From: Lord Sauron @ 2006-09-08 22:55 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1484 bytes --]
I can't figure out how to fix this one - NOT for lack of trying,
however.
I'm slowly trying to become more terminal-friendly and less
GUI-dependent. I also keep hearing how Emacs is so cool and powerful
and useful and blah. So I decided to try and learn it and see for
myself.
Installed it on my Kubuntu desktop and it worked fine. On my Gentoo
laptop... a whole other story.
I have app-editors/emacs v21.4-r4 installed. I don't have xemacs or
xemacs-base installed. This is probably applicable, so that's why I'm
including it.
When I use emacs I see the menus and all things X11, however, the editor
shows nothing but those annoying blocks that signify some kind of
problem with the font. I tried changing the fontset and stuff, but
only succeeded in crashing X twice and then making the boxes smaller or
larger and then crashing X.
I looked though Portage and by a total miracle found media-fonts/ (was
using Kuroo, which organizes things like media/fonts, so I didn't look
in media/ for fonts, so I almost missed it). I installed a few fonts
that I thought might rectify the situation, however, they didn't.
What should I do to fix Emacs? I hear it's a very powerful and useful
editor, and I would like to learn to use it (vi and/or its many
variants is next on my list, so no emacs vs. vi wars please) so any
assistance would be very helpful.
Thanks for your time!
--
http://lordsauronthegreat.googlepages.com/
[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Emacs - (I think [the]) Fonts [are] Broken
2006-09-08 22:55 [gentoo-user] Emacs - (I think [the]) Fonts [are] Broken Lord Sauron
@ 2006-09-09 11:05 ` darren kirby
2006-09-11 23:24 ` Lord Sauron
0 siblings, 1 reply; 7+ messages in thread
From: darren kirby @ 2006-09-09 11:05 UTC (permalink / raw
To: gentoo-user
quoth the Lord Sauron:
<snip>
> What should I do to fix Emacs? I hear it's a very powerful and useful
> editor, and I would like to learn to use it (vi and/or its many
> variants is next on my list, so no emacs vs. vi wars please) so any
> assistance would be very helpful.
This is but a taste of the pain and suffering you will experience when you use
emacs. Just use vim already ;)
Seriously though...I am not familiar with emacs but I think your problem may
be solved in one of two ways
1. Configure emacs to use us-ascii as the default charset (no idea how).
2. Configure your console to use a unicode charset (see [1])
Just taking a shot in the dark here...
> Thanks for your time!
HTH
[1] http://www.gentoo.org/doc/en/utf-8.xml
-d
--
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Emacs - (I think [the]) Fonts [are] Broken
2006-09-09 11:05 ` darren kirby
@ 2006-09-11 23:24 ` Lord Sauron
2006-09-11 23:43 ` darren kirby
2006-09-13 16:53 ` Robert Cernansky
0 siblings, 2 replies; 7+ messages in thread
From: Lord Sauron @ 2006-09-11 23:24 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1191 bytes --]
On Saturday 09 September 2006 04:05, darren kirby wrote:
> quoth the Lord Sauron:
> <snip>
>
> > What should I do to fix Emacs? I hear it's a very powerful and
> > useful editor, and I would like to learn to use it (vi and/or its
> > many variants is next on my list, so no emacs vs. vi wars please)
> > so any assistance would be very helpful.
>
> This is but a taste of the pain and suffering you will experience
> when you use emacs. Just use vim already ;)
>
> Seriously though...I am not familiar with emacs but I think your
> problem may be solved in one of two ways
>
> 1. Configure emacs to use us-ascii as the default charset (no idea
> how). 2. Configure your console to use a unicode charset (see [1])
>
> Just taking a shot in the dark here...
Much more confused than before. I get why I'd want to use unicode, but
the instructions on how to do that were outdated or for a setup other
than mine and they threw me off real quickly.
I also spent some time looking through the Gentoo Wiki and found that
there's a grand total of one article about emacs. Not much help.
I'll keep trying though.
--
http://lordsauronthegreat.googlepages.com/
[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Emacs - (I think [the]) Fonts [are] Broken
2006-09-11 23:24 ` Lord Sauron
@ 2006-09-11 23:43 ` darren kirby
2006-09-13 16:53 ` Robert Cernansky
1 sibling, 0 replies; 7+ messages in thread
From: darren kirby @ 2006-09-11 23:43 UTC (permalink / raw
To: gentoo-user
quoth the Lord Sauron:
>
> Much more confused than before. I get why I'd want to use unicode, but
> the instructions on how to do that were outdated or for a setup other
> than mine and they threw me off real quickly.
> I also spent some time looking through the Gentoo Wiki and found that
> there's a grand total of one article about emacs. Not much help.
Sorry your still having a rough time of it.
Does this help:
http://www.gnu.org/software/emacs/manual/emacs.html#Fontsets
Half joking here but, if you want help with emacs then give #scheme on
freenode a try...they just luvs their emacs there...
> I'll keep trying though.
Still not convinced you should just use vim ;)
-d
--
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Emacs - (I think [the]) Fonts [are] Broken
2006-09-11 23:24 ` Lord Sauron
2006-09-11 23:43 ` darren kirby
@ 2006-09-13 16:53 ` Robert Cernansky
2006-09-13 22:43 ` Lord Sauron
1 sibling, 1 reply; 7+ messages in thread
From: Robert Cernansky @ 2006-09-13 16:53 UTC (permalink / raw
To: gentoo-user
On Mon, 11 Sep 2006 16:24:11 -0700 Lord Sauron <lordsauronthegreat@gmail.com> wrote:
> > quoth the Lord Sauron:
[...]
> > > What should I do to fix Emacs? I hear it's a very powerful and
[...]
> Much more confused than before. I get why I'd want to use unicode,
> but the instructions on how to do that were outdated or for a setup
> other than mine and they threw me off real quickly.
Did you try ran emacs in X also? Is there the same behaviour? In X you
can pres Shift + Left mouse click to select fonts.
You can also play with locale setting in your system. For example try
to start emacs with default/none locale:
$ LC_ALL=C emacs
To set emacs to use UTF-8 put this into your ~/.emacs file:
(setq locale-coding-system 'utf-8)
(set-terminal-coding-system 'utf-8)
(set-keyboard-coding-system 'utf-8)
(set-selection-coding-system 'utf-8)
(set-clipboard-coding-system 'utf-8)
(prefer-coding-system 'utf-8)
(modify-coding-system-alist 'file "" 'utf-8)
(setq process-coding-system-alist '((".*" . utf-8)))
(setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))
But it should not be necessary if you use some UTF-8 locale in your
system (emacs will use UTF-8 by default then). You can also try to
change the 'utf-8' string to some other (non utf-8) enconding, for
example iso-8859-1.
Try to emerge some basic X.Org fonts, for example
media-fonts/font-misc-misc. Also emerge media-fonts/intlfonts.
I hope it helps.
Robert
--
Robert Cernansky
E-mail: hslists2@zoznam.sk
Jabber: HS@jabber.sk
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Emacs - (I think [the]) Fonts [are] Broken
2006-09-13 16:53 ` Robert Cernansky
@ 2006-09-13 22:43 ` Lord Sauron
2006-09-14 4:39 ` darren kirby
0 siblings, 1 reply; 7+ messages in thread
From: Lord Sauron @ 2006-09-13 22:43 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2290 bytes --]
On Wednesday 13 September 2006 09:53, Robert Cernansky wrote:
> On Mon, 11 Sep 2006 16:24:11 -0700 Lord Sauron
<lordsauronthegreat@gmail.com> wrote:
> > > quoth the Lord Sauron:
>
> [...]
>
> > > > What should I do to fix Emacs? I hear it's a very powerful and
>
> [...]
>
> > Much more confused than before. I get why I'd want to use unicode,
> > but the instructions on how to do that were outdated or for a setup
> > other than mine and they threw me off real quickly.
>
> Did you try ran emacs in X also? Is there the same behaviour? In X
> you can pres Shift + Left mouse click to select fonts.
>
> You can also play with locale setting in your system. For example try
> to start emacs with default/none locale:
>
> $ LC_ALL=C emacs
>
> To set emacs to use UTF-8 put this into your ~/.emacs file:
>
> (setq locale-coding-system 'utf-8)
> (set-terminal-coding-system 'utf-8)
> (set-keyboard-coding-system 'utf-8)
> (set-selection-coding-system 'utf-8)
> (set-clipboard-coding-system 'utf-8)
> (prefer-coding-system 'utf-8)
> (modify-coding-system-alist 'file "" 'utf-8)
> (setq process-coding-system-alist '((".*" . utf-8)))
> (setq x-select-request-type '(UTF8_STRING COMPOUND_TEXT TEXT STRING))
>
> But it should not be necessary if you use some UTF-8 locale in your
> system (emacs will use UTF-8 by default then). You can also try to
> change the 'utf-8' string to some other (non utf-8) enconding, for
> example iso-8859-1.
>
> Try to emerge some basic X.Org fonts, for example
> media-fonts/font-misc-misc. Also emerge media-fonts/intlfonts.
I tried that, and emerge --pretend promptly told me that xorg 6.9 or
something was blocking virtually everything x-related. It was really
weird. It's also blocking xemacs (the package I think will fix this
mess). This probably means that I have to go find and fix my package
masks. The difficulty there is that there's a ton of junk I'm still
using (like Eclipse 3.1) which is masked. I think this is going to end
up being a battle between me and portage to sort out my package masks.
Is there a untampered copy of packages.mask (or whatever it's called)
that I can use to compare with mine to try and fix this mess?
--
http://lordsauronthegreat.googlepages.com/
[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] Emacs - (I think [the]) Fonts [are] Broken
2006-09-13 22:43 ` Lord Sauron
@ 2006-09-14 4:39 ` darren kirby
0 siblings, 0 replies; 7+ messages in thread
From: darren kirby @ 2006-09-14 4:39 UTC (permalink / raw
To: gentoo-user
quoth the Lord Sauron:
>
> I tried that, and emerge --pretend promptly told me that xorg 6.9 or
> something was blocking virtually everything x-related.
> It was really
> weird.
Not weird, it wants you to install Xorg 7.0 which is modular. Ie: you must
unmerge Xorg 6.x altogether and then reinstall. xorg-x11 is now a virtual
package which brings in all the now modular parts that you need.
See: http://www.gentoo.org/proj/en/desktop/x/x11/modular-x-howto.xml
-d
--
darren kirby :: Part of the problem since 1976 :: http://badcomputer.org
"...the number of UNIX installations has grown to 10, with more expected..."
- Dennis Ritchie and Ken Thompson, June 1972
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2006-09-14 4:44 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-08 22:55 [gentoo-user] Emacs - (I think [the]) Fonts [are] Broken Lord Sauron
2006-09-09 11:05 ` darren kirby
2006-09-11 23:24 ` Lord Sauron
2006-09-11 23:43 ` darren kirby
2006-09-13 16:53 ` Robert Cernansky
2006-09-13 22:43 ` Lord Sauron
2006-09-14 4:39 ` darren kirby
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox