Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Fabian Braennstroem <f.braennstroem@gmx.de>
Subject: Re: Gnus doesn't load with Unicode chars in .gnus.el
Date: Thu, 12 Feb 2004 15:27:12 +0100	[thread overview]
Message-ID: <878yj8bcfz.fsf@rechner1.ddorf.de> (raw)
In-Reply-To: <v9hdxwd1wf.fsf@marauder.physik.uni-ulm.de>

Reiner Steib <4.uce.03.r.s@nurfuerspam.de> writes:

> On Thu, Feb 12 2004, Artem Baguinski wrote:
>
>> Jørn Helge B. Dahl <jornd@users.sourceforge.net> writes:
> [...]
>>> I have a UTF-8-enabled locale, and I use
>>>
>>>   (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)
>>
>> i think just having utf-8 locale is enough, 
>
> Often people change too many of the *-coding-system-* stuff without
> being aware of the consequences and run into problems later.  Usually
> it's enough to set the systems locale or use
> `set-language-environment' in Emacs.
>
>> because [having used emacs / gnus only a week and not knowing much
>> configuration options yet] i simply pasted the fragment with unicode
>> arrows into my .gnus and it worked right away.
>
> This depends only on the coding used for reading the .gnus.el file
> (using a cookie as suggested, or putting the Unicode arrows stuff in a
> separate file including a cookie).  
>
> The locale and coding settings in Emacs are independent of this.  You
> can use Unicode arrows in the summary with any locale and coding
> system settings (e.g. I use a Latin-1 locale).
>
I still have problems setting up unicode chars for emacs/debian.

locale says:

fab@rechner1:~$ locale
LANG=de_DE.UTF-8@euro
LC_CTYPE="de_DE.UTF-8@euro"
LC_NUMERIC="de_DE.UTF-8@euro"
LC_TIME="de_DE.UTF-8@euro"
LC_COLLATE="de_DE.UTF-8@euro"
LC_MONETARY="de_DE.UTF-8@euro"
LC_MESSAGES="de_DE.UTF-8@euro"
LC_PAPER="de_DE.UTF-8@euro"
LC_NAME="de_DE.UTF-8@euro"
LC_ADDRESS="de_DE.UTF-8@euro"
LC_TELEPHONE="de_DE.UTF-8@euro"
LC_MEASUREMENT="de_DE.UTF-8@euro"
LC_IDENTIFICATION="de_DE.UTF-8@euro"
LC_ALL=

and

fab@rechner1:~$ locale charmap
UTF-8


 (setq gnus-sum-thread-tree-root "┌▶")
 (setq gnus-sum-thread-tree-false-root "  ")
 (setq gnus-sum-thread-tree-single-indent " ▷")
 (setq gnus-sum-thread-tree-leaf-with-other "├┬►")
 (setq gnus-sum-thread-tree-vertical "│")
 (setq gnus-sum-thread-tree-single-leaf "╰─►")
 (setq gnus-sum-thread-tree-indent "  ")

But I don't see them in my summary buffer. When I copy the summary-buffer it
looks nice; only the spaces between the vertical lines should be different:

| ● nice summary-format
O  =|Di 14:28  || Jørn Helge B. Dahl      |    0|  2.5k | ├─► 
O  =|Mi 16:56  || Ted Zlatanov            |    0|  1.8k | │├─► Gnus doesn't load with Unicode chars in .gnus.el (was: nice summary-format)
O  =|Mi 17:22  || Yair Friedman           |    0|  1.9k | ││├─► 
O  =|Mi 22:29  || Ted Zlatanov            |    0|  1.5k | │││╰─► Re: Gnus doesn't load with Unicode chars in .gnus.el
%  =|Mi 18:02  || Jørn Helge B. Dahl      |    0|  2.7k | ││╰─► Re: Gnus doesn't load with Unicode chars in .gnus.el (was: nice summary-format)
O  =|10:41     || Artem Baguinski         |    0|  2.1k | ││  ╰─► Re: Gnus doesn't load with Unicode chars in .gnus.el
R  =|11:32     || Reiner Steib            |    0|  3.1k | ││    ╰─► 
O  =|Mi 22:39  || Ted Zlatanov            |    0|  2.3k | │╰─►

Any hints?
Greetings!
-- 
Fabian Braennstroem
Duesseldorf/Berlin


  reply	other threads:[~2004-02-12 14:27 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87smhjj8hi.fsf@rechner1.ddorf.de>
     [not found] ` <87ekt3m5cp.fsf@users.sourceforge.net>
2004-02-11 21:39   ` nice summary-format Ted Zlatanov
     [not found]   ` <4noes5lid9.fsf@collins.bwh.harvard.edu>
     [not found]     ` <878yj98s8e.fsf@users.sourceforge.net>
     [not found]       ` <87fzdgeit8.fsf@caracolito.lan>
2004-02-12 10:32         ` Gnus doesn't load with Unicode chars in .gnus.el Reiner Steib
2004-02-12 14:27           ` Fabian Braennstroem [this message]
     [not found]             ` <v9n07ofkbx.fsf@marauder.physik.uni-ulm.de>
     [not found]               ` <87bro4dnhp.fsf@rechner1.ddorf.de>
2004-02-12 20:00                 ` Reiner Steib
     [not found]                   ` <873c9fhnxo.fsf@rechner1.ddorf.de>
2004-02-13  8:58                     ` Reiner Steib
     [not found]                       ` <87d68j41it.fsf@rechner1.ddorf.de>
2004-02-14 16:47                         ` Fabian Braennstroem
     [not found]           ` <4nfzdg4ipu.fsf@collins.bwh.harvard.edu>
2004-02-12 14:30             ` Reiner Steib

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878yj8bcfz.fsf@rechner1.ddorf.de \
    --to=f.braennstroem@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).