From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/40921 Path: main.gmane.org!not-for-mail From: Jesper Harder Newsgroups: gmane.emacs.gnus.general Subject: Re: Make gnus-summary-line-format %B prettier? Date: Thu, 20 Dec 2001 20:29:59 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035176401 3495 80.91.224.250 (21 Oct 2002 05:00:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:00:01 +0000 (UTC) Return-Path: Original-Received: (qmail 678 invoked from network); 20 Dec 2001 19:37:54 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 20 Dec 2001 19:37:54 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16H90A-0004nc-00; Thu, 20 Dec 2001 13:37:10 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 20 Dec 2001 13:36:56 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id NAA19756 for ; Thu, 20 Dec 2001 13:36:43 -0600 (CST) Original-Received: (qmail 586 invoked by alias); 20 Dec 2001 19:36:49 -0000 Original-Received: (qmail 581 invoked from network); 20 Dec 2001 19:36:49 -0000 Original-Received: from fepz.post.tele.dk (195.41.46.133) by gnus.org with SMTP; 20 Dec 2001 19:36:49 -0000 Original-Received: from defun.localdomain ([195.215.96.246]) by fepZ.post.tele.dk (InterMail vM.4.01.03.23 201-229-121-123-20010418) with ESMTP id <20011220193647.XRTX395.fepZ.post.tele.dk@defun.localdomain> for ; Thu, 20 Dec 2001 20:36:47 +0100 Original-To: ding@gnus.org X-Face: &>4YWj)5jy97[$J|&W(MX>,:L.9*|o]WXwhY40_'#-Yc:J-&v+U*?uhK9cqS'eaG(SLj0o E)IS]Ua_g,_"S$Xv)V5^T<^s?U8Tt6XZ~2EdDl^]={px>)aE[grl6~~G`7:vKu!:tZ_.L6,g7qV[; vn><9`4hh(Pf^gH'EJ[!c/$Jog51Q Original-Lines: 68 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:40921 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:40921 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=C3=9Fjohann) writes: > Not bad. I use it now, except that I removed the arrow-heads. > > There is still a problem: some arrow-heads have a vertical line below > it, but some don't. Is it possible to tweak the variables (or the > code) such that different characters can be used for them? Yeah, it looks better with no arrowheads. I think this version is nicer: (setq gnus-sum-thread-tree-leaf-with-other "=E2=94=9C=E2=95=AE ") (setq gnus-sum-thread-tree-vertical "=E2=94=82") (setq gnus-sum-thread-tree-single-leaf "=E2=95=B0=E2=94=80=E2=95=AE ") (setq gnus-sum-thread-tree-root nil) (setq gnus-sum-thread-tree-single-indent nil) [Jinhyok Heo ] How to read utf-8 mails? [Kai Gro=C3=9Fjohann ] =E2=94=9C=E2=95=AE=20 [Daniel Pittman ] =E2=94=82=E2=95=B0=E2=94=80=E2=95=AE=20 [Jinhyok Heo ] =E2=94=82 =E2=94=9C=E2=95=AE=20 [Daniel Pittman ] =E2=94=82 =E2=94=82=E2=94=9C=E2=95=AE=20 [Vincent Bernat ] =E2=94=82 =E2=94=82=E2=95=B0=E2=94=80=E2=95= =AE=20 [Kai Gro=C3=9Fjohann ] =E2=94=82 =E2=94=82 =E2=95=B0=E2=94=80= =E2=95=AE=20 [Vincent Bernat ] =E2=94=82 =E2=95=B0=E2=94=80=E2=95=AE=20 [Daniel Pittman ] =E2=94=82 =E2=95=B0=E2=94=80=E2=95=AE=20 [Frank Schmitt ] =E2=95=B0=E2=94=80=E2=95=AE=20 I think it would look slightly better, if you could use a different string when an article doesn't have children -- maybe like this: [Jinhyok Heo ] How to read utf-8 mails? [Kai Gro=C3=9Fjohann ] =E2=94=9C=E2=95=AE=20 [Daniel Pittman ] =E2=94=82=E2=95=B0=E2=94=80=E2=95=AE=20 [Jinhyok Heo ] =E2=94=82 =E2=94=9C=E2=95=AE=20 [Daniel Pittman ] =E2=94=82 =E2=94=82=E2=94=9C=E2=94=80=20 [Vincent Bernat ] =E2=94=82 =E2=94=82=E2=95=B0=E2=94=80=E2=95= =AE=20 [Kai Gro=C3=9Fjohann ] =E2=94=82 =E2=94=82 =E2=95=B0=E2=94=80 [Vincent Bernat ] =E2=94=82 =E2=95=B0=E2=94=80=E2=95=AE=20 [Daniel Pittman ] =E2=94=82 =E2=95=B0=E2=94=80 [Frank Schmitt ] =E2=95=B0=E2=94=80 But then you'd have to change the code. > I enabled it by putting the lines in ~/.gnus, saying C-x RET f utf-8 > RET, putting "-*- coding: utf-8; -*-" in the first line of the file, > then saving it. Does that work for you, too, Jesper? No it still doesn't work. When .gnus is loaded automatically I get this value: gnus-sum-thread-tree-vertical's value is "\342\224\202" But when I open it with `C-x C-f' and do `M-x eval-buffer' I get the right value: gnus-sum-thread-tree-vertical's value is "=E2=94=82" Hmm, when I loook at `gnus-read-init-file', the file is loaded like this: (let ((coding-system-for-read gnus-startup-file-coding-system)) (load file nil t)) and `gnus-startup-file-coding-system' is bound to 'binary by default. Doesn't that override the comment line? When I bind `gnus-startup-file-coding-system' to 'utf-8, it works.