From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/9365 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.user Subject: Re: how to obtain green background for some text? Date: Sat, 21 Jul 2007 20:08:58 +0200 Message-ID: References: <878x9bm5jm.fsf@aikishugyo.dnsdojo.org> <874pjz2axb.fsf@sec.modprobe.de> <87wswtlnzu.fsf@aikishugyo.dnsdojo.org> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1185043247 16477 80.91.229.12 (21 Jul 2007 18:40:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 21 Jul 2007 18:40:47 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Sat Jul 21 20:40:45 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ICJsi-0004ca-Bx for gegu-info-gnus-english@m.gmane.org; Sat, 21 Jul 2007 20:40:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ICJsh-0007A3-Qc for gegu-info-gnus-english@m.gmane.org; Sat, 21 Jul 2007 14:40:43 -0400 Original-Newsgroups: gnu.emacs.gnus X-Face: .*T0'iU(sujq_j9\J>-d4fg; N/1++U#U$_5ii6k.=|"-n'?5O:Hyz&wi'-!I~,}7~GgT=0S /&-R5sbkNy5+Xo1y{Tw2KKxi@Xh"g@]Qc|.U<*]WDd)qvGowFDvfU1F]{EDho:7P0@|oOD=Bc{K4?> WP68K[Mx:}=`ZT'6g4'f+g?;`vri2!)xGy}3:=l'(/Cea0l4lo^H5#@/Z3ev Mail-Copies-To: nobody User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:/LiKdvfgu2bmSPA0ScngXCqhuQ4= Original-NNTP-Posting-Host: bridgekeeper.physik.uni-ulm.de Original-X-Trace: news.uni-ulm.de 1185041376 134.60.10.123 (21 Jul 2007 20:09:36 +0200) Original-Lines: 64 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!news-stu1.dfn.de!news.belwue.de!news.uni-ulm.de!viandante.physik.uni-ulm.de!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.gnus:79550 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:9365 Archived-At: On Sat, Jul 21 2007, Gernot Hassenpflug wrote: > Reiner Steib writes: >> For the display in article mode, see `mm-uu-type-alist'. >> >> As for Gernot's original question, I'm not sure what you are trying to >> achieve. Please elaborate. > > I cannot give an example, as I cannot duplicate this. However, can I > give a reference to an article in another newsgroup that shows this? > The purpose is simple to make it easier to distinguish a minimal > example (LaTeX) which one can then copy verbatim (boxquote does not > lend itself to that as easily, obviously). In comp.text.tex there is > this article: [...] > Message-ID: <5gc2seF3fni56U1@mid.uni-berlin.de> > (body not copied) This entry in `mm-uu-type-alist' is responsible for this: (LaTeX "^\\([\\\\%][^\n]+\n\\)*\\\\documentclass.*[[{%]" "^\\\\end{document}" mm-uu-latex-extract nil mm-uu-latex-test) I.e. if there's a line like \documentclass[foo]{bar} closed by a line like \end{document} it is recognized as "non-MIME attachment": ,----[ v mm-uu-type-alist RET ] | mm-uu-type-alist is a variable defined in `mm-uu'. | Its value is shown below. | | Documentation: | A list of specifications for non-MIME attachments. | Each element consist of the following entries: label, | start-regexp, end-regexp, extract-function, test-function. | | After modifying this list you must run M-x mm-uu-configure. `---- It will not work in this group, because by default, it is only enable in TeX groups: ,----[ v mm-uu-tex-groups-regexp RET ] | mm-uu-tex-groups-regexp is a variable defined in `mm-uu'. | Its value is "\\.tex\\>" | | Documentation: | *Regexp matching TeX groups. | | You can customize this variable. `---- Keep in mind that probably only Gnus will highlight the LaTeX document in this way. Or is anyone aware of another newsreader with this feature? Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/