From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Uwe Brauer Newsgroups: gmane.emacs.bugs Subject: bug#6145: wikipedia-mode hard to fix linebreaks Date: Mon, 10 May 2010 11:34:36 +0200 Message-ID: <87zl08umkz.fsf@mat.ucm.es> References: <87vdaxt4xz.fsf@jidanni.org> Reply-To: Uwe Brauer NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1273485451 4861 80.91.229.12 (10 May 2010 09:57:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 10 May 2010 09:57:31 +0000 (UTC) Cc: cyd@stupidchicken.com, bug-gnu-emacs@gnu.org To: jidanni@jidanni.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 10 11:57:27 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OBPjq-00058Y-3M for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 May 2010 11:57:26 +0200 Original-Received: from localhost ([127.0.0.1]:33390 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBPjp-000227-7l for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 May 2010 05:57:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OBPjb-000210-Fu for bug-gnu-emacs@gnu.org; Mon, 10 May 2010 05:57:11 -0400 Original-Received: from [140.186.70.92] (port=56101 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBPjG-0001tc-7k for bug-gnu-emacs@gnu.org; Mon, 10 May 2010 05:57:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OBPir-0006T8-5h for bug-gnu-emacs@gnu.org; Mon, 10 May 2010 05:56:48 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47230) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBPir-0006T4-43 for bug-gnu-emacs@gnu.org; Mon, 10 May 2010 05:56:25 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OBPS2-0002zG-B7; Mon, 10 May 2010 05:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Uwe Brauer Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 May 2010 09:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6145 X-GNU-PR-Package: notemacs X-GNU-PR-Keywords: Original-Received: via spool by submit@debbugs.gnu.org id=B.127348432111469 (code B ref -1); Mon, 10 May 2010 09:39:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 May 2010 09:38:41 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBPRf-0002yn-Im for submit@debbugs.gnu.org; Mon, 10 May 2010 05:38:40 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBPO9-0002wI-8q for submit@debbugs.gnu.org; Mon, 10 May 2010 05:35:01 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:59210) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OBPO6-0003XE-CK for submit@debbugs.gnu.org; Mon, 10 May 2010 05:34:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OBPO5-0000FP-JQ for bug-gnu-emacs@gnu.org; Mon, 10 May 2010 05:34:57 -0400 Original-Received: from [140.186.70.92] (port=55382 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBPNw-0000CB-G6 for bug-gnu-emacs@gnu.org; Mon, 10 May 2010 05:34:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OBPNq-0001wE-6n for bug-gnu-emacs@gnu.org; Mon, 10 May 2010 05:34:48 -0400 Original-Received: from mail-ww0-f41.google.com ([74.125.82.41]:50451) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBPNq-0001vt-2W for bug-gnu-emacs@gnu.org; Mon, 10 May 2010 05:34:42 -0400 Original-Received: by wwf26 with SMTP id 26so1822979wwf.0 for ; Mon, 10 May 2010 02:34:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:x-mailer:from:to:cc :subject:references:reply-to:x-hashcash:x-hashcash:x-hashcash:date :in-reply-to:message-id:user-agent:mime-version:content-type; bh=07H9UAx9TPF1S2/v5AmThYQWTg79CV9uG4MGQxRTqyM=; b=MJ7Qfxa2sfryhT/WjewCqn+TOEzjT71+Gsre2bO/ClbL1a2UtCKNYAsF4DHRIbXGK4 PA+GxyHIvOIgkyF3gK1u/48oJslBd/XUjk3VUxSV8NajwrjN41By/XFTcB4GK6XzTi6n Xe+dBpMXGPr5jJOD1bXcu+7VLA7n3fKpnsMgg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:x-mailer:from:to:cc:subject:references:reply-to:x-hashcash :date:in-reply-to:message-id:user-agent:mime-version:content-type; b=Peo94LoaCan8zCgPrIUtAYMRo9T42BKqSHvBkPaG/+5KH5qBxP6aPidgW1MumlScC9 r3EGC95zSH2vAMUgDpJK+truCUXr5xgjhaidXMd0dp45AzbncLkT/AskQYd0BwChg9u8 LxIfZL4JzjZ1iDvZVstuu9MRB5xmXKgAQ+G0Q= Original-Received: by 10.227.143.76 with SMTP id t12mr3507063wbu.109.1273484079948; Mon, 10 May 2010 02:34:39 -0700 (PDT) Original-Received: from Gilgamesch (maportatil14.quim.ucm.es [147.96.12.99]) by mx.google.com with ESMTPS id h22sm9027756wbh.21.2010.05.10.02.34.38 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 10 May 2010 02:34:39 -0700 (PDT) X-Mailer: 21.4 (patch 21) "Educational Television" XEmacs Lucid (via feedmail 11-beta-1 I) X-Hashcash: 1:20:100510:bug-gnu-emacs@gnu.org::ODwGb1u0t3x5DkwM:000000000000000000000000000000000000000005a6 X-Hashcash: 1:20:100510:cyd@stupidchicken.com::vSZee8/4jdxzLoVN:00000000000000000000000000000000000000003BFs X-Hashcash: 1:20:100510:jidanni@jidanni.org::jzFNu8lSt8SYULLg:0000000000000000000000000000000000000000008PDl In-Reply-To: <87vdaxt4xz.fsf@jidanni.org> (jidanni@jidanni.org's message of "Mon, 10 May 2010 00:28:40 +0800") User-Agent: Gnus/5.110011 (No Gnus v0.11) XEmacs/21.4.21 (linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Mon, 10 May 2010 05:38:37 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 10 May 2010 05:39:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:36819 Archived-At: >>>>> On Mon, 10 May 2010 00:28:40 +0800, jidanni@jidanni.org wrote: > In wikipedia-mode I was unable to remove the line breaks, and thus was > unable to insert this chunk into Can you please describe in more detail what you did? Did you generate the text in wikipedia-mode? That would surprise me because in that mode emacs should produce "longlines". Or did you copy the text from somewhere? Even so it is strange since text from say a Word processor such as Openoffice usually comes with "longlines". What functions did you try out in order to get rid of the linebreaks? The text below is the text in question, I just copied it into a file (test2.wiki) applied (wikipedia-unfill-article) And it worked as expected. Uwe Brauer > P.S., please make wikipedia-mode part of emacs. P.S., is > ;; Version: 0.5 > ;; Keywords: wiki > ;; $Id: wikipedia-mode.el,v 1.5 2006/05/30 15:16:45 oub Exp oub $ > the latest? Well that is the version I sent once to emacs sources. I have a newer version, the last changes are couple of weeks old, however the filling functions should work in version you are using besides Mark wanted to merge wikipedia-mode with mediawiki mode. So I don't know what to do, sending my upgraded version wait for a decision of the others.