From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/3500 Path: news.gmane.org!not-for-mail From: Fabian Braennstroem Newsgroups: gmane.emacs.gnus.user Subject: Re: Gnus doesn't load with Unicode chars in .gnus.el Date: Thu, 12 Feb 2004 15:27:12 +0100 Organization: Braennstroem Message-ID: <878yj8bcfz.fsf@rechner1.ddorf.de> References: <87smhjj8hi.fsf@rechner1.ddorf.de> <87ekt3m5cp.fsf@users.sourceforge.net> <4noes5lid9.fsf@collins.bwh.harvard.edu> <878yj98s8e.fsf@users.sourceforge.net> <87fzdgeit8.fsf@caracolito.lan> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1138669597 19215 80.91.229.2 (31 Jan 2006 01:06:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:06:37 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:32:19 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!nsc.no!nextra.com!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!p3ee38e80.dip.t-dialin.NET!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: p3ee38e80.dip.t-dialin.net (62.227.142.128) Original-X-Trace: news.uni-berlin.de 1076588243 39353615 I 62.227.142.128 ([218584]) X-Orig-Path: rechner1.ddorf.de!news User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:beV+JyJUei4wAb9zhiLpfqOWw+Q= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:3641 Original-Lines: 85 X-Gnus-Article-Number: 3641 Tue Jan 17 17:32:19 2006 Xref: news.gmane.org gmane.emacs.gnus.user:3500 Archived-At: Reiner Steib <4.uce.03.r.s@nurfuerspam.de> writes: > On Thu, Feb 12 2004, Artem Baguinski wrote: > >> Jørn Helge B. Dahl 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