From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: renato.pontefice@gmail.com Newsgroups: gmane.emacs.help Subject: Re: how to handle rtf Date: Thu, 31 Jul 2014 03:03:26 -0700 (PDT) Message-ID: References: <4edddfc4-a498-41de-810f-a8f9c8514653@googlegroups.com> <87ha205czm.fsf@debian.uxu> <81e60be0-a23f-4f18-9505-8b861f55bbf8@googlegroups.com> <87tx5ytu21.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1406801128 7095 80.91.229.3 (31 Jul 2014 10:05:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 31 Jul 2014 10:05:28 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jul 31 12:05:22 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XCnEd-0006OC-F5 for geh-help-gnu-emacs@m.gmane.org; Thu, 31 Jul 2014 12:05:19 +0200 Original-Received: from localhost ([::1]:55432 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCnEc-0000Tg-Nm for geh-help-gnu-emacs@m.gmane.org; Thu, 31 Jul 2014 06:05:18 -0400 X-Received: by 10.42.121.72 with SMTP id i8mr12236565icr.10.1406801006975; Thu, 31 Jul 2014 03:03:26 -0700 (PDT) X-Received: by 10.140.101.165 with SMTP id u34mr437qge.15.1406801006793; Thu, 31 Jul 2014 03:03:26 -0700 (PDT) Original-Path: usenet.stanford.edu!h18no11155215igc.0!news-out.google.com!eg1ni356igc.0!nntp.google.com!v10no3514890qac.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: <87tx5ytu21.fsf@debian.uxu> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2.118.42.225; posting-account=u2YPPQoAAAD4EIiLgz2UEPmFMncWw22R Original-NNTP-Posting-Host: 2.118.42.225 User-Agent: G2/1.0 Injection-Date: Thu, 31 Jul 2014 10:03:26 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:206744 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:99019 Archived-At: Il giorno mercoled=EC 30 luglio 2014 23:28:54 UTC+2, Emanuel Berg ha scritt= o: > Rusi writes: >=20 >=20 >=20 > >> No, I need to read, modify eand write .rtf >=20 > > >=20 > > Why not use the right tool for the job? libreoffice >=20 > > --writer for example? >=20 >=20 >=20 > To be an Emacs user, Rusi sure have an odd taste in >=20 > software. >=20 >=20 >=20 > The OP wants to use Emacs. My advice is to take the >=20 > document you (the OP) currently have, convert it to >=20 > plain text, use Emacs to edit it, and from then on, >=20 > don't use the .rtf format. Keep it text (best) or do >=20 > LaTeX if you have advanced stuff to tell. Do HTML/CSS >=20 > if you want to go web. Etc. >=20 >=20 >=20 > No Emacs user should abandon Emacs for a Word mockoff, >=20 > and for such a lame reason (the format) at that! If >=20 > anyone does that, he should be excommunicated for 8 >=20 > years. (If you think that was a silly joke, that is >=20 > exactly what happens if you defect from Cuba: just >=20 > imagine.) >=20 >=20 >=20 > --=20 >=20 > underground experts united I try to explain, why do I do I need to use .rtf, and why do I'd like to do= with emacs: In the company where I work, I have to open rtf files, insert some text (pl= ain text), save it, upload on a server, that will elaborate that file, repl= ace the text tha I've inserted (that is a a variable name) with the conten= t of the variable. The prob to use MS Word or LO, is that, when I open this file with this pro= gram, the insert some rtf code, that let the server app not to process the = replacement. (i.e., my program look for [**VARIABLE_NAME**] and replaces it= with the real content of the variable), but, when I save from MS or LO, my= variable will be corrupted (i.e., is no more [**VARIABLE_NAME**-], but... = [**VAR(\hich\af1\dbch\af37\loch\f1_IABLE_NAME**]) of course, in this way, my parser, will not recognize the variable name. So, my prob is to try to edit this rtf in the more plain text as possible. = But, not be confused, with the .rtf code. This is why, I'm lookin for sothings that let me edit .rtf in emacs, but wi= th sothings that let me read without the rtf code. Have I been more clear? TIA Renato