logs archiveIRC Archive / Freenode / #emacs / 2010 / March / 31 / 1
boscop
it says in the minibuffer: "Coding system for following command (default utf-8-unix): "
jabot
try utf-8-unix as coding-system
boscop
that's the right one, right?
jabot
most likely
boscop
so I press enter
and nothing happens/changes
jabot
maybe...
you use emacs in a termina?
ams
boscop: `following ommand'
jabot
l
boscop
jabot, no
ams, the cursor is in the buffer afterwards, not in the minibuffer
         

jabot
boscop: the c-x RET c is a prefix for the c-x c-f
ams
boscop: it means that the coding system is only affecting the next command you issue
not your buffer, or anything you have in your buffer
jabot
boscop: or try
C-x RET f
boscop
I closed the buffer, and then did C-x RET c RET (for utf-8-unix) and then C-x C-f for reopening, but it's the same
jabot
(which is set-buffer-file-coding-system)
boscop
I tried that first
jabot
hm
well...
boscop
when I save the file with another coding system, maybe the char sequences get stored verbatim, like \237
jabot
unlikely that
boscop
but the cursor moves between them
ams
use C
boscop
so, they seem to be separate chars
ams
C-x RET f
boscop
I tried that. which encoding system do you suggest?
ams
how should i know?
i don't know what your file contains
boscop
it's stored in utf-8-unix, it contains latex text
and it's also openend as unix format, according to the modeline
jabot
what version of emacs?
boscop
23
ams
i have no clue what the last one means.
jabot
nt emacs?
         

ams
but you answered your own question
jabot
you said something about windows?
boscop
yes
jabot
well
boscop
GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600) of 2009-11-04 on LENNART-69DE564
jabot
what happens if you insert an ä?
boscop
it gets normally inserted
jabot
save, close, reopen?
still an ä?
or broken like the other umlauts?
boscop
jabot, after reopening the umlauts have different sequences, but still wrong. e.g. 'ö' is now 'ö'
jabot
ok
boscop
looks like 2 'ö' internally.
one seems to be 'Ã' and the other '¶'
because the latter one was the former sequence
for an 'ö'
jabot
hm
ok, so the document itself is only part of the problem
hm
boscop
jabot, should I pastebin the document?
jabot
try m-x describe-coding-system
yeah, that might help too
boscop
Coding system for saving this buffer:
1 -- iso-latin-1-unix (alias: iso-8859-1-unix latin-1-unix)
jabot
aaaah :D
boscop
(after reopening)
jabot
-> wrong
boscop
?
jabot
latin-1 isn't utf8
different representations for umlauts
:|
boscop
ah, but I told it to save in utf-8
jabot
ay
danklesman
what do people here use as an emacs mail client? I've been playing about with gnus, but i see some others aswell...
jabot
please reopen it with utf-8-unix as coding system
boscop
jabot, now, I set it again and reopened again, not I got: Coding system for saving this buffer:
ams
rmail
boscop
U -- utf-8-unix (alias: mule-utf-8-unix)
but the chars are still wrongly displayed!
jabot
ah
boscop
no change in the representation
jabot
if you saved with latin1 as coding system
boscop
in other buffers it works normally
jabot
it might have mangled the characters
boscop
:/
that's what I suspected
jabot
you still have the original version?
boscop
no
can I convert it back with emacs?
jabot
ok
first: save a backup
:)
boscop
now?
or in the future?
jabot
better late than never
boscop
and then?
jabot
try revert-buffer-with-coding-system
boscop
now it's back to the previous mangled form
jabot
what coding-system did you chose?
boscop
oh, WOW
I set the coding system to latin-1 again, saved, and reopened with utf-8-unix
now it's in its original state :D
jabot
with correct umlauts?
boscop
yes!
jabot
:)
boscop
:D
thank you!
jabot
NOW
before you do anything else
boscop
I know: backup
jabot
write the coding-system into the document :)
boscop
ok
jabot
% -*- mode: latex; fill-column: 75; mode: auto-fill; coding: utf-8-unix; -*-
header for one of my tex files
emacs will read and interpret this
boscop
do I need a preceeding space?
jabot
um
no
boscop
ok
jabot
% -*- coding: utf-8-unix; -*-
if you only want to specify the encoding
boscop
ok
ams
boscop: care to prefix your messages with the persn you are directing them to?
boscop
ams, yes
ams
boscop: thank you
johnw
ams: I see you are here in #emacs, bravo :)
jabot
boscop: ams has me on ignore
johnw
have you perfected your sour milk recipe?
jabot
no idea why
ams
johnw: nope...
johnw: sting is missing in it..
i did find `old milk'....
oldstyle milk
or something
more fat
johnw
hmm
ams
made me happy
johnw
i wonder if you just need to add more lemon juice when you make the yoghurt
ams
yeah
johnw
i think that by doing so you will make curds and whey
ams
tried making home made cheese ones..
or really curds... but cheesy curds.. not sure what yah call 'em in english
was for a cheese cake...
used up like 4 liters of milk...
failed horribly
wgreenhouse
ams: farmer cheese?
jordanb
rudybot: quote
rudybot
Let's sync.
ams
wgreenhouse: dunno, it is white... mild in taste
wgreenhouse: texture is kinda like cottage cheese i guess
i suppose it is very similar to cottage cheese
<3 cottage cheese
night
johnw
pressed curds are just like sweet feta cheese
jordanb
rudybot: quote
rudybot
Let's javascript(void);
jordanb
rudybot: quote
rudybot
I'll burn your ce.
sachac
Sweet, I have a reasonably-working org-toodledo sync.
danklesman: Pretty happy with gnus
jordanb
rudybot: quote
rudybot
Let's go for a ride on the love canal.
jordanb
That sounds dirty if you don't know what the love canal was.
And *really* dirty if you do.
rudybot: quote
rudybot
Let's talk about fortran.
jordanb
FOR TRAN
Let's TRANslate som FORmulas.
jlf
let's invent a common business-oriented language
jordanb
jlf, You should form a short term comittee to investigate that.
rudybot: quote
rudybot
I love it how on star trek the woman always falls in love with the bad guy and risks the enterprise as a result.
Astyan
question about elc ..
how to use it ?
foo.elc is auto loaded when i try to load the file foo.el ?
or should i chekc myself if foo.elc , load it , else load foo.el..
jlf
heh, carly fiorina says passover is a time where "we break bread and spend time with our families and friends."
subopt
Is there an easy way to /quit
jlf
oy!
jordanb
Break the funny bread.
sz0
Astyan: just load foo, it will make it
jordanb
Is that fiorina chick going to win?
Astyan
ok i finally found the page that talks about that :) http://www.gnu.org/s/emacs/manual/html_node/elisp/How-Programs-Do-Loading.html#How-Programs-Do-Loading
jordanb
That will be hilarious, I gotta say.
wgreenhouse
jlf: bread eh?
guess someone forgot to clear out the chametz
jlf
we would have to be a bunch of idiots to elect her
flexibeast
Repeating question from earlier in case there's now someone around who can help: "Hi all. I'm wanting to run mutt inside emacs, but when I do so via a term, the background colour for mutt is not white but more of a grey, overriding the colour settings in my .muttrc. How do I tell emacs which colours to use in this situation?"
jlf
so yeah, probably
wgreenhouse
flexibeast: which Emacs terminal are you trying to use to do it? M-x term?
flexibeast
i've tried both term and ansi-term.
wgreenhouse
hmm
,nterm
fsbot
nterm is a vt100 emulator at http://kanis.fr/nterm.html
jordanb
Unleavened bread is still bread.
wgreenhouse
may produce your colors more faithfully
avar
flexibeast: M-x ansi-term ?
jordanb
M-x ascii-term is buggy and gross.
flexibeast
avar: Yes.
wgreenhouse
flexibeast: alternatively, you can reverse the equation and run Emacs (or an emacsclient) as mutt's editor for messages
avar
jordanb: good to know
wgreenhouse
but I like nterm, it seems to do well with color-theming and such
« prev 1 2 3 4 5 6 7 8 9 10 next »