From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Jesper Harder Newsgroups: gmane.emacs.help Subject: Re: fixing M$ character codes Date: Sun, 04 Jul 2004 23:06:49 +0200 Organization: http://purl.org/harder/ Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <2ko3egF4flbgU1@uni-berlin.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1088975607 29279 80.91.224.253 (4 Jul 2004 21:13:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 4 Jul 2004 21:13:27 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 04 23:13:21 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BhEIb-0002yD-00 for ; Sun, 04 Jul 2004 23:13:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BhEKX-0007M0-8l for geh-help-gnu-emacs@m.gmane.org; Sun, 04 Jul 2004 17:15:21 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!not-for-mail Original-Newsgroups: gnu.emacs.help X-Face: ^RrvqCr7c,P$zTR:QED"@h9+BTm-"fjZJJ-3=OU7.)i/K]<.J88}s>'Z_$r; 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 Xref: main.gmane.org gmane.emacs.help:19455 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19455 nospam55 writes: > I have often to correct manually dowloaded M$ - originating text , > i. e. I must bother to do the ethernal replacements, where the codes > are taken from the well-known > > (defvar gnus-article-dumbquotes-map > > is there a way for having emacs fix this mess ? > > My dream is to have something like > > M-x fix-evil-empire-nonsense RET Sure, the command is called `M-x article-treat-dumbquotes'. It works in all buffers, not just the Gnus article buffer which it is intended for. You'll probably need to autoload it if you're using an infidel Usenet client not approved by Gnus Towers and the Church of Emacs. -- Jesper Harder