From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/71216 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: [PATCH] Replace subst-char-in-region by subst-char-in-region Date: Mon, 20 Sep 2010 10:17:29 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <8762y0h2ba.fsf@lifelogs.com> References: <1284900370-6551-1-git-send-email-julien@danjou.info> <87wrqg52nq.fsf@marauder.physik.uni-ulm.de> <871v8oiib3.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1284995874 1456 80.91.229.12 (20 Sep 2010 15:17:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 20 Sep 2010 15:17:54 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M19589@lists.math.uh.edu Mon Sep 20 17:17:52 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Oxi7n-0005CV-MG for ding-account@gmane.org; Mon, 20 Sep 2010 17:17:47 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1Oxi7i-0001qx-BY; Mon, 20 Sep 2010 10:17:42 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Oxi7g-0001qg-QN for ding@lists.math.uh.edu; Mon, 20 Sep 2010 10:17:40 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1Oxi7f-000491-DU for ding@lists.math.uh.edu; Mon, 20 Sep 2010 10:17:40 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1Oxi7e-0004U8-00 for ; Mon, 20 Sep 2010 17:17:38 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Oxi7e-00057u-BH for ding@gnus.org; Mon, 20 Sep 2010 17:17:38 +0200 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Sep 2010 17:17:38 +0200 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 20 Sep 2010 17:17:38 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 38 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:OUkDESWVhjf+6yKbueJ0TTJVTdk= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:71216 Archived-At: On Mon, 20 Sep 2010 16:57:07 +0200 Julien Danjou wrote: JD> On Mon, Sep 20 2010, Ted Zlatanov wrote: >> I suggest constructing the list on startup, based on `gnus-use-unicode' >> or some such which the user can customize (I would default it to t but >> warn if the font doesn't support those characters). JD> I could install such a change, but how warn if the font doesn't support JD> those characters? JD> We could do: JD> (defcustom gnus-read-mark (if (font-has-unicode-p) ?✓ ?R)) That's hard to read. I think it's better to support sets of such customizations, similar to how many people have structured thread drawing characters. So Gnus will do on startup: (gnus-install-visuals gnus-visuals) ; try each visual set in turn and then in gnus.el: (setq gnus-visuals 'unicode 'ascii) (setq gnus-visual-sets '((ascii ...) (unicode ...))) and in your personal customizations: (add-to-list 'gnus-visual-sets '(julien ...)) (setq gnus-visuals (cons 'julien gnus-visual-sets)) WDYT? Of course, each set doesn't have to be complete, so they can build on each other. A set can have any number of: - mark characters - thread drawing characters - registry mark characters - others? Ted