* [Emacs 23] Does not show euro sign
@ 2009-09-30 20:30 leandro noferini
2009-09-30 22:35 ` Peter Dyballa
` (4 more replies)
0 siblings, 5 replies; 16+ messages in thread
From: leandro noferini @ 2009-09-30 20:30 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 290 bytes --]
Ciao a tutti,
eamcs 23 from debian unstable on terminal does not show correctly euro
sign showing instead something like a little "star".
The other characters are shown correctly.
What could I check?
--
Ciao
leandro
to write me remove MANISUDICIE from the address below
[-- Attachment #2: Type: application/pgp-signature, Size: 307 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Emacs 23] Does not show euro sign
2009-09-30 20:30 [Emacs 23] Does not show euro sign leandro noferini
@ 2009-09-30 22:35 ` Peter Dyballa
2009-09-30 22:37 ` Joost Kremers
` (3 subsequent siblings)
4 siblings, 0 replies; 16+ messages in thread
From: Peter Dyballa @ 2009-09-30 22:35 UTC (permalink / raw)
Cc: help-gnu-emacs
Am 30.09.2009 um 22:30 schrieb leandro noferini:
> What could I check?
Environment variables like LANG or LC_CTYPE or LC_ALL. Make them
based on ISO Latin-9/ISO 8859-15 or Unicode (UTF-8).
--
Greetings
Pete
Perl—the only language that looks the same before and after RSA
encryption.
- Keith Bostic
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Emacs 23] Does not show euro sign
2009-09-30 20:30 [Emacs 23] Does not show euro sign leandro noferini
2009-09-30 22:35 ` Peter Dyballa
@ 2009-09-30 22:37 ` Joost Kremers
2009-10-01 3:53 ` Kevin Rodgers
[not found] ` <mailman.7820.1254369249.2239.help-gnu-emacs@gnu.org>
2009-10-01 3:55 ` Eli Zaretskii
` (2 subsequent siblings)
4 siblings, 2 replies; 16+ messages in thread
From: Joost Kremers @ 2009-09-30 22:37 UTC (permalink / raw)
To: help-gnu-emacs
leandro noferini wrote:
> eamcs 23 from debian unstable on terminal does not show correctly euro
> sign showing instead something like a little "star".
>
> The other characters are shown correctly.
>
> What could I check?
the font used by your terminal. and perhaps your locale settings.
--
Joost Kremers joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Emacs 23] Does not show euro sign
2009-09-30 22:37 ` Joost Kremers
@ 2009-10-01 3:53 ` Kevin Rodgers
[not found] ` <mailman.7820.1254369249.2239.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 16+ messages in thread
From: Kevin Rodgers @ 2009-10-01 3:53 UTC (permalink / raw)
To: help-gnu-emacs
Joost Kremers wrote:
> leandro noferini wrote:
>> eamcs 23 from debian unstable on terminal does not show correctly euro
>> sign showing instead something like a little "star".
>>
>> The other characters are shown correctly.
>>
>> What could I check?
>
> the font used by your terminal. and perhaps your locale settings.
Put point before the euro sign and type `C-u C-x =' to see the font
used to display it.
--
Kevin Rodgers
Denver, Colorado, USA
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Emacs 23] Does not show euro sign
2009-09-30 20:30 [Emacs 23] Does not show euro sign leandro noferini
2009-09-30 22:35 ` Peter Dyballa
2009-09-30 22:37 ` Joost Kremers
@ 2009-10-01 3:55 ` Eli Zaretskii
[not found] ` <mailman.7819.1254369199.2239.help-gnu-emacs@gnu.org>
[not found] ` <mailman.7804.1254350153.2239.help-gnu-emacs@gnu.org>
4 siblings, 0 replies; 16+ messages in thread
From: Eli Zaretskii @ 2009-10-01 3:55 UTC (permalink / raw)
To: help-gnu-emacs
> From: leandro noferini <lnoferin-MANISUDICIE@cybervalley.org>
> Date: Wed, 30 Sep 2009 22:30:05 +0200
>
> eamcs 23 from debian unstable on terminal does not show correctly euro
> sign showing instead something like a little "star".
>
> The other characters are shown correctly.
>
> What could I check?
Type "M-: (terminal-coding-system) RET" and see what it displays.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Emacs 23] Does not show euro sign
[not found] ` <mailman.7820.1254369249.2239.help-gnu-emacs@gnu.org>
@ 2009-10-01 8:12 ` leandro noferini
2009-10-01 9:16 ` Peter Dyballa
[not found] ` <mailman.7826.1254388608.2239.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 16+ messages in thread
From: leandro noferini @ 2009-10-01 8:12 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 874 bytes --]
Kevin Rodgers ha scritto:
[...]
> Put point before the euro sign and type `C-u C-x =' to see the font
> used to display it.
character: € (8364, #o20254, #x20ac)
preferred charset: unicode (Unicode (ISO10646))
code point: 0x20AC
syntax: _ which means: symbol
category: .:Base, c:Chinese, h:Korean, j:Japanese
buffer code: #xE2 #x82 #xAC
file code: #xE2 #x82 #xAC (encoded by coding system utf-8-unix)
display: by display table entry [?¤] (see below)
The display table entry is displayed by these terminal codes:
¤ #xC2 #xA4
Character code properties: customize what to show
name: EURO SIGN
general-category: Sc (Symbol, Currency)
There are text properties here:
fontified t
[back]
--
Ciao
leandro
to write me remove MANISUDICIE from the address below
[-- Attachment #2: Type: application/pgp-signature, Size: 307 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Emacs 23] Does not show euro sign
[not found] ` <mailman.7819.1254369199.2239.help-gnu-emacs@gnu.org>
@ 2009-10-01 8:17 ` leandro noferini
0 siblings, 0 replies; 16+ messages in thread
From: leandro noferini @ 2009-10-01 8:17 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 189 bytes --]
Eli Zaretskii ha scritto:
> Type "M-: (terminal-coding-system) RET" and see what it displays.
utf-8-unix
--
Ciao
leandro
to write me remove MANISUDICIE from the address below
[-- Attachment #2: Type: application/pgp-signature, Size: 307 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Emacs 23] Does not show euro sign
[not found] ` <mailman.7804.1254350153.2239.help-gnu-emacs@gnu.org>
@ 2009-10-01 8:18 ` leandro noferini
0 siblings, 0 replies; 16+ messages in thread
From: leandro noferini @ 2009-10-01 8:18 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 323 bytes --]
Peter Dyballa ha scritto:
[...]
> > What could I check?
>
>
> Environment variables like LANG or LC_CTYPE or LC_ALL. Make them based
> on ISO Latin-9/ISO 8859-15 or Unicode (UTF-8).
I set only LANG variable:
LANG=it_IT.UTF-8
--
Ciao
leandro
to write me remove MANISUDICIE from the address below
[-- Attachment #2: Type: application/pgp-signature, Size: 307 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Emacs 23] Does not show euro sign
2009-10-01 8:12 ` leandro noferini
@ 2009-10-01 9:16 ` Peter Dyballa
[not found] ` <mailman.7826.1254388608.2239.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 16+ messages in thread
From: Peter Dyballa @ 2009-10-01 9:16 UTC (permalink / raw)
Cc: help-gnu-emacs
Am 01.10.2009 um 10:12 schrieb leandro noferini:
> The display table entry is displayed by these terminal codes:
> ¤ #xC2 #xA4
Obviously you're using something that converts EURO SIGN (at U+20AC)
to CURRENCY SIGN (at U+00A4). Launch GNU Emacs with the option -Q and
see whether it can display EURO SIGN without your and your system's
customisation (that "display table") correctly.
--
Greetings
Pete
A child of five could understand this! Fetch me a child of five.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Emacs 23] Does not show euro sign
[not found] ` <mailman.7826.1254388608.2239.help-gnu-emacs@gnu.org>
@ 2009-10-01 14:05 ` leandro noferini
2009-10-01 15:08 ` Peter Dyballa
[not found] ` <mailman.7846.1254409723.2239.help-gnu-emacs@gnu.org>
0 siblings, 2 replies; 16+ messages in thread
From: leandro noferini @ 2009-10-01 14:05 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 563 bytes --]
Peter Dyballa ha scritto:
[...]
> > The display table entry is displayed by these terminal codes:
> > ¤ #xC2 #xA4
>
>
> Obviously you're using something that converts EURO SIGN (at U+20AC)
> to CURRENCY SIGN (at U+00A4). Launch GNU Emacs with the option -Q and
> see whether it can display EURO SIGN without your and your system's
> customisation (that "display table") correctly.
Yes, it works correctly showing the euro sign: what could be the
problem?
--
Ciao
leandro
to write me remove MANISUDICIE from the address below
[-- Attachment #2: Type: application/pgp-signature, Size: 307 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Emacs 23] Does not show euro sign
2009-10-01 14:05 ` leandro noferini
@ 2009-10-01 15:08 ` Peter Dyballa
[not found] ` <mailman.7846.1254409723.2239.help-gnu-emacs@gnu.org>
1 sibling, 0 replies; 16+ messages in thread
From: Peter Dyballa @ 2009-10-01 15:08 UTC (permalink / raw)
Cc: help-gnu-emacs
Am 01.10.2009 um 16:05 schrieb leandro noferini:
> Yes, it works correctly showing the euro sign: what could
> be the
> problem?
As statement in your system's or your own init file. By launching GNU
Emacs with -q you can check, whether it's the system's one: if you
still see the €, then it's not the system's init file which converts
it to ¤. I already gave you a hint: "display table." I don't use any,
so I can see € and ¤.
If this does not help, bisecting can. It's a method of commenting one
half of your init file and launching GNU Emacs. When the error is
gone, then it's in the commented section. Otherwise it's in the not
yet commented section. Now take care of the culprit section and
divide it. And so on, until you've located the guilty line.
--
Greetings
Pete
Theory and practice are the same, in theory, but, in practice, they
are different.
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Emacs 23] Does not show euro sign
[not found] ` <mailman.7846.1254409723.2239.help-gnu-emacs@gnu.org>
@ 2009-10-03 6:58 ` leandro noferini
2009-10-03 8:54 ` Solved (was: [Emacs 23] Does not show euro sign) leandro noferini
2009-10-03 9:08 ` [Emacs 23] Does not show euro sign Peter Dyballa
2009-10-18 1:21 ` David Combs
1 sibling, 2 replies; 16+ messages in thread
From: leandro noferini @ 2009-10-03 6:58 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 1468 bytes --]
Peter Dyballa ha scritto:
> > Yes, it works correctly showing the euro sign: what could be the
> > problem?
>
>
> As statement in your system's or your own init file. By launching GNU
> Emacs with -q you can check, whether it's the system's one: if you
> still see the €, then it's not the system's init file which converts
> it to ¤.
Running emacs with -q option I can see the euro sign correctly.
> I already gave you a hint: "display table." I don't use any, so I can
> see € and ¤.
I don't use anything like "display table".
For emacs22 I used these lines to show characters from utf:
;; (setq-default enable-multibyte-characters t)
;; (setq locale-coding-system 'utf-8)
;; (set-terminal-coding-system 'utf-8)
;; (set-keyboard-coding-system 'utf-8)
;; (set-selection-coding-system 'utf-8)
;; (prefer-coding-system 'utf-8)
;; (set-language-environment 'UTF-8)
but enabling or not makes no difference.
Also, in my .emacs I cant see anything else about coding system.
> If this does not help, bisecting can. It's a method of commenting one
> half of your init file and launching GNU Emacs. When the error is
> gone, then it's in the commented section. Otherwise it's in the not
> yet commented section. Now take care of the culprit section and
> divide it. And so on, until you've located the guilty line.
I will try bisecting....
--
Ciao
leandro
to write me remove MANISUDICIE from the address below
[-- Attachment #2: Type: application/pgp-signature, Size: 307 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Solved (was: [Emacs 23] Does not show euro sign)
2009-10-03 6:58 ` leandro noferini
@ 2009-10-03 8:54 ` leandro noferini
2009-10-03 9:08 ` [Emacs 23] Does not show euro sign Peter Dyballa
1 sibling, 0 replies; 16+ messages in thread
From: leandro noferini @ 2009-10-03 8:54 UTC (permalink / raw)
To: help-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 183 bytes --]
Ciao a tutti,
resolved removing the variable
latin1-display
that was set up in ancient version?
--
Ciao
leandro
to write me remove MANISUDICIE from the address below
[-- Attachment #2: Type: application/pgp-signature, Size: 307 bytes --]
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Emacs 23] Does not show euro sign
2009-10-03 6:58 ` leandro noferini
2009-10-03 8:54 ` Solved (was: [Emacs 23] Does not show euro sign) leandro noferini
@ 2009-10-03 9:08 ` Peter Dyballa
1 sibling, 0 replies; 16+ messages in thread
From: Peter Dyballa @ 2009-10-03 9:08 UTC (permalink / raw)
Cc: help-gnu-emacs
Am 03.10.2009 um 08:58 schrieb leandro noferini:
> For emacs22 I used these lines to show characters from utf:
>
> ;; (setq-default enable-multibyte-characters t)
> ;; (setq locale-coding-system 'utf-8)
> ;; (set-terminal-coding-system 'utf-8)
> ;; (set-keyboard-coding-system 'utf-8)
> ;; (set-selection-coding-system 'utf-8)
> ;; (prefer-coding-system 'utf-8)
> ;; (set-language-environment 'UTF-8)
In GNU Emacs 23 the first line is obsolete, and I think the last one
as well. The last but one line sets a preference and can be useful.
The other lines can help to solve problems, in case there are any.
The environment variable LC_CTYPE (or LC_ALL) sets how GNU Emacs
handles the default encoding.
--
Greetings
Pete
I wouldn't recommend sex, drugs or insanity for everyone, but they've
always worked for me.
– Hunter S. Thompson
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Emacs 23] Does not show euro sign
[not found] ` <mailman.7846.1254409723.2239.help-gnu-emacs@gnu.org>
2009-10-03 6:58 ` leandro noferini
@ 2009-10-18 1:21 ` David Combs
2009-10-18 18:18 ` Andreas Politz
1 sibling, 1 reply; 16+ messages in thread
From: David Combs @ 2009-10-18 1:21 UTC (permalink / raw)
To: help-gnu-emacs
In article <mailman.7846.1254409723.2239.help-gnu-emacs@gnu.org>,
Peter Dyballa <Peter_Dyballa@Web.DE> wrote:
...
>
>If this does not help, bisecting can. It's a method of commenting one
>half of your init file and launching GNU Emacs. When the error is
>gone, then it's in the commented section. Otherwise it's in the not
>yet commented section. Now take care of the culprit section and
>divide it. And so on, until you've located the guilty line.
Maybe someone good with elisp, and for the good of us all,
could automate this bisection -- eg, not splitting defuns, etc.
AND even recursively, since I imagine that lots of .emacs-files
do a load-file on a 2nd-level ".emacs".
And maybe even then run emacs, with provided user-input!
This bisection-scheme -- I imagine we all use it -- sure involves
a lot of work (grunt-work)!
More on that "recursive" idea: when the single-level bisection
homes in on the load-file as the problem, then a way (by hand,
I guess) to say "ok, bisection.{c,sh,...}, let's do it again,
but this time don't start bisecting until you get to that
load-library (or enter that file?)"?
(in the unfortunate situation that the "green shoots" they're
saying they see in this economy turn brown and die, and someone
here thus thereafter ends up with time on his/her hands, maybe then?)
David
^ permalink raw reply [flat|nested] 16+ messages in thread
* Re: [Emacs 23] Does not show euro sign
2009-10-18 1:21 ` David Combs
@ 2009-10-18 18:18 ` Andreas Politz
0 siblings, 0 replies; 16+ messages in thread
From: Andreas Politz @ 2009-10-18 18:18 UTC (permalink / raw)
To: help-gnu-emacs
dkcombs@panix.com (David Combs) writes:
> In article <mailman.7846.1254409723.2239.help-gnu-emacs@gnu.org>,
> Peter Dyballa <Peter_Dyballa@Web.DE> wrote:
> ...
>>
>>If this does not help, bisecting can. It's a method of commenting one
>>half of your init file and launching GNU Emacs. When the error is
>>gone, then it's in the commented section. Otherwise it's in the not
>>yet commented section. Now take care of the culprit section and
>>divide it. And so on, until you've located the guilty line.
>
> Maybe someone good with elisp, and for the good of us all,
> could automate this bisection -- eg, not splitting defuns, etc.
>
Bisection is only useful by hand, otherwise it doesn't
matter and a sequential eval-test-loop is just fine.
Something like this.
(defun disect(&optional buffer pred)
"Eval sexps in BUFFER until some condition is met.
If PRED is nil stop when an error occurs, otherwise stop when
PRED returns a non-nil value.
PRED must be side-effect free, e.g. not move point."
(interactive
(list (read-buffer "Disect: "
(current-buffer) t)
(eval (read
(read-string
"Predicate (default: check for errors): "
nil nil "nil")))))
(let (result)
(with-current-buffer (or buffer (current-buffer))
(goto-char 1)
(check-parens)
(while (and (not (eobp))
(not result))
(condition-case err
(eval (read (current-buffer)))
(error (unless pred
(setq result err))))
(and pred
(setq result
(funcall pred)))))
(if (null result)
(message "Nothing to report")
(if (null pred)
(message "Error here: %s" result)
(message "Predicate fulfilled here")))))
-ap
^ permalink raw reply [flat|nested] 16+ messages in thread
end of thread, other threads:[~2009-10-18 18:18 UTC | newest]
Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-30 20:30 [Emacs 23] Does not show euro sign leandro noferini
2009-09-30 22:35 ` Peter Dyballa
2009-09-30 22:37 ` Joost Kremers
2009-10-01 3:53 ` Kevin Rodgers
[not found] ` <mailman.7820.1254369249.2239.help-gnu-emacs@gnu.org>
2009-10-01 8:12 ` leandro noferini
2009-10-01 9:16 ` Peter Dyballa
[not found] ` <mailman.7826.1254388608.2239.help-gnu-emacs@gnu.org>
2009-10-01 14:05 ` leandro noferini
2009-10-01 15:08 ` Peter Dyballa
[not found] ` <mailman.7846.1254409723.2239.help-gnu-emacs@gnu.org>
2009-10-03 6:58 ` leandro noferini
2009-10-03 8:54 ` Solved (was: [Emacs 23] Does not show euro sign) leandro noferini
2009-10-03 9:08 ` [Emacs 23] Does not show euro sign Peter Dyballa
2009-10-18 1:21 ` David Combs
2009-10-18 18:18 ` Andreas Politz
2009-10-01 3:55 ` Eli Zaretskii
[not found] ` <mailman.7819.1254369199.2239.help-gnu-emacs@gnu.org>
2009-10-01 8:17 ` leandro noferini
[not found] ` <mailman.7804.1254350153.2239.help-gnu-emacs@gnu.org>
2009-10-01 8:18 ` leandro noferini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).