From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/81617 Path: news.gmane.org!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.gnus.general Subject: apply TeX-to-char-paragraph-or-region to an article Date: Sun, 18 Mar 2012 18:58:42 +0100 Message-ID: <87zkbdrdt9.fsf@mat.ucm.es> Reply-To: Uwe Brauer NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1332093624 23144 80.91.229.3 (18 Mar 2012 18:00:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 18 Mar 2012 18:00:24 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M29897@lists.math.uh.edu Sun Mar 18 19:00:24 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S9KOy-0007Eu-Fo for ding-account@gmane.org; Sun, 18 Mar 2012 19:00:20 +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 1S9KNe-0004X7-0V; Sun, 18 Mar 2012 12:58:58 -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 1S9KNc-0004X0-U3 for ding@lists.math.uh.edu; Sun, 18 Mar 2012 12:58:56 -0500 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 1S9KNb-00034S-6C for ding@lists.math.uh.edu; Sun, 18 Mar 2012 12:58:56 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1S9KNZ-0001zR-5J for ding@gnus.org; Sun, 18 Mar 2012 18:58:53 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S9KNY-00068A-8C for ding@gnus.org; Sun, 18 Mar 2012 18:58:52 +0100 Original-Received: from 11.pool85-54-11.dynamic.orange.es ([85.54.11.11]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 18 Mar 2012 18:58:52 +0100 Original-Received: from oub by 11.pool85-54-11.dynamic.orange.es with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 18 Mar 2012 18:58:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 25 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 11.pool85-54-11.dynamic.orange.es X-Hashcash: 1:20:120318:gmane.emacs.gnus.general::iaDQTmQAV4wfnf4u:00000000000000000000000000000000000006qf9 User-Agent: Gnus/5.110018 (No Gnus v0.18) XEmacs/21.5-b31 (linux) Cancel-Lock: sha1:cQsPLR2HlUdqNVUIvpp+fG655yc= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:81617 Archived-At: Hello In GNU Emacs and Xemacs it is possible to set the input method to TeX, that is: when typing \int ∫ appears. Now in Xemacs there exists a function, written by Aidan Kohoe, which replaces in a region or paragraph already written TeX constructs by its symbols (the inverse function exists as well.) I use this function very often when I write email with math but I would find it extremely helpful to apply the function also to emails which I received by others (article) For example the function gnus-article-fill-cited-article runs on an article. How could I write a function based on TeX-to-char-paragraph-or-region which does what I want. Thanks Uwe Brauer