From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80905 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: Customize citation character Date: Wed, 18 Jan 2012 08:31:24 +0100 Message-ID: <87ty3tqxf7.fsf@marauder.physik.uni-ulm.de> References: <87wr8pohnv.fsf@nzebook.haselwarter.org> Reply-To: Reiner Steib 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 1326872028 22708 80.91.229.12 (18 Jan 2012 07:33:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 18 Jan 2012 07:33:48 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M29187@lists.math.uh.edu Wed Jan 18 08:33:44 2012 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 1RnQ1e-00028H-Fo for ding-account@gmane.org; Wed, 18 Jan 2012 08:33:42 +0100 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 1RnQ0L-00030O-5K; Wed, 18 Jan 2012 01:32:21 -0600 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 1RnQ0H-00030F-NA for ding@lists.math.uh.edu; Wed, 18 Jan 2012 01:32:17 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RnQ0F-0002tI-KT for ding@lists.math.uh.edu; Wed, 18 Jan 2012 01:32:17 -0600 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RnQ0C-0004nv-Rh for ding@gnus.org; Wed, 18 Jan 2012 08:32:12 +0100 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RnQ0B-0001Rt-B8 for ding@gnus.org; Wed, 18 Jan 2012 08:32:11 +0100 Original-Received: from p5dcb773a.dip.t-dialin.net ([93.203.119.58]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Jan 2012 08:32:11 +0100 Original-Received: from Reiner.Steib by p5dcb773a.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 18 Jan 2012 08:32:11 +0100 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 30 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: p5dcb773a.dip.t-dialin.net X-Face: mtjf/D:es1T0wHO:&CJ'ZXe"l;3C--rw\z!{`eFwL){|]RpI+4{u25L=5C /0>KuGeTsk<~<&NE-AKV1560e!+RJeyWmSskkrJm?[vUV#66{T_m|Ae<||Ku#Mk5`y&O`n~z2;n8eP J5#2h@2eQgV@E70IY_0WlEx!"&giy{+\%h1LJox$zv@/l%ZmU4^tZA>xQpnkUBVC5.jpg#0'(+2?Rs )NAr:>3<=WxHE$ktbLysDIM5TbmHu*3 Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80905 Archived-At: On Wed, Jan 18 2012, Katsumi Yamaoka wrote: > philipp.haselwarter@gmx.de wrote: > | Is it possible to /visually/ replace the leading `> ' in citations with > | something else, like `│ ' ? > > Is this ok? > > (add-hook 'gnus-article-prepare-hook [...] > (replace-match (subst-char-in-string > ?> ?| (match-string 0))))))) That's probably not /visually/ because it also affects followups as demonstrated above. I think using display strings might be an option (untested). (info "(elisp)Display Property"), (info "(elisp)Other Display Specs") ,----[ (info "(elisp)Other Display Specs") ] | `STRING' | Display STRING instead of the text that has this property. `---- Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/