From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/63442 Path: news.gmane.org!not-for-mail From: Mark Plaksin Newsgroups: gmane.emacs.gnus.general Subject: Re: Use images instead of glyphs for fancy threading? Date: Thu, 29 Jun 2006 12:31:09 -0400 Message-ID: References: <87zmgh5w5y.fsf@nokile.rath.org> 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 1151598936 16555 80.91.229.2 (29 Jun 2006 16:35:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 29 Jun 2006 16:35:36 +0000 (UTC) Original-X-From: ding-owner+m11969@lists.math.uh.edu Thu Jun 29 18:35:33 2006 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FvzUK-0005hg-6s for ding-account@gmane.org; Thu, 29 Jun 2006 18:35:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1FvzU6-0006MM-00; Thu, 29 Jun 2006 11:35:18 -0500 Original-Received: from nas02.math.uh.edu ([129.7.128.40]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1FvzQV-0006MH-00 for ding@lists.math.uh.edu; Thu, 29 Jun 2006 11:31:35 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by nas02.math.uh.edu with esmtp (Exim 4.52) id 1FvzQP-0002nT-6s for ding@lists.math.uh.edu; Thu, 29 Jun 2006 11:31:35 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1FvzQJ-0003PN-00 for ; Thu, 29 Jun 2006 18:31:23 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FvzQG-0004lQ-Tx for ding@gnus.org; Thu, 29 Jun 2006 18:31:20 +0200 Original-Received: from stone.tss.usg.edu ([168.24.82.77]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 29 Jun 2006 18:31:20 +0200 Original-Received: from happy by stone.tss.usg.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 29 Jun 2006 18:31:20 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 39 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: stone.tss.usg.edu User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.51 (gnu/linux) Cancel-Lock: sha1:StPMGpFgodH0X/ueMsP/b0RzRAA= X-Spam-Score: -2.6 (--) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:63442 Archived-At: Nikolaus Rath writes: > Mark Plaksin writes: > >> When graphics are available, does it make sense to use images >> instead of glyphs for fancy thread display? I don't know anything >> about using images in Emacs but it seems like this would be a lot >> easier than making glyphs work. >> >> I finally got nice thread glyphs working in X by following these >> hints: http://www.emacswiki.org/cgi-bin/wiki/GnusFormatting > > Why not just use unicode characters? This works fine here: > > gnus-summary-line-format "%U%R%z%4L %(%[%-20,20f%]%) %B%s\n" > gnus-sum-thread-tree-root "● " > gnus-sum-thread-tree-single-indent "◎ " > gnus-sum-thread-tree-leaf-with-other "├─► " > gnus-sum-thread-tree-vertical "│" > gnus-sum-thread-tree-single-leaf "╰─► " > gnus-sum-thread-tree-indent " " > gnus-sum-thread-tree-false-root "○ " > gnus-summary-same-subject "" I finally got around to trying this and it gives me square boxes. >> I don't understand much about fonts and such but the whole process >> seems unnecessarily hard and fragile. If I change fonts, I think my >> fancy glyphs might break. And I assume I need a separate setup if I >> want to to have fancy glyphs when I log in via ssh and run Emacs (or >> multi-tty's [1] emacslient) on a tty. > > As long as your font has the necessary characters, AFAIK there should > be no problems. I guess my font (Terminus) doesn't have the necessary characters. That's why I posted my initial question--if images were used they would simply work everywhere that graphics was available.