From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Endless Story" Newsgroups: gmane.emacs.help Subject: Re: How to get rid of Microsoft dumb quotes, e.g. \222 for apostrophe? Date: 21 Feb 2007 01:29:36 -0800 Organization: http://groups.google.com Message-ID: <1172050175.963166.211640@h3g2000cwc.googlegroups.com> References: <1171628373.417583.61410@k78g2000cwa.googlegroups.com> <87zm7e8e7j.fsf@wivenhoe.staff8.ul.ie> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1172051197 23386 80.91.229.12 (21 Feb 2007 09:46:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Feb 2007 09:46:37 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 21 10:46:31 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HJo3T-0000BG-0L for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Feb 2007 10:46:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HJo3Q-00056c-CV for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Feb 2007 04:46:29 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!h3g2000cwc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: 162.84.222.82 Original-X-Trace: posting.google.com 1172050188 21303 127.0.0.1 (21 Feb 2007 09:29:48 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 21 Feb 2007 09:29:48 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.10 (Windows NT 5.1; U; en),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: h3g2000cwc.googlegroups.com; posting-host=162.84.222.82; posting-account=JP8pbg0AAADYDr61n41ZYs45c0xuivey Original-Xref: shelby.stanford.edu gnu.emacs.help:145768 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:41372 Archived-At: On Feb 19, 9:17 am, ken wrote: > The below is not textbook elisp, but it works, is easily understandable, > and so too is easy to modify and add other "characters" to. For > example, if you have a typical set of chars which signal the beginning > of paragraph (like "\n\n"), you could insert another replace-string line > to convert that to the appropriate LaTeX (or HTML or whatever) coding > for "paragraph". Such a set of replacements might be better organized > into a separate (but similar) function however. Open Source == Your Choice. Thanks for this, Ken. I have already started using Stefan's version, and it's working well for me - haven't had any problems so far with extra garbage characters not being found & fixed. I can't follow the differences in the code closely enough to know whose version is "better," but from my point of view it's great that both of you came up with recipes. And thanks for posting yours on the Wiki, too.