From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Galen Boyer Newsgroups: gmane.emacs.help Subject: Re: Emacs accessing a mediawiki through an "automatice proxy configuration url"? Date: 12 May 2007 21:19:03 -0500 Organization: Newscene Usenet News Service, http://www.newscene.com/ Message-ID: References: <87r6q6thix.fsf@lion.rapttech.com.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1179166517 4083 80.91.229.12 (14 May 2007 18:15:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 14 May 2007 18:15:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 14 20:15:16 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 1Hnf4l-0006Ts-WE for geh-help-gnu-emacs@m.gmane.org; Mon, 14 May 2007 20:15:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HnfCY-0002xR-4x for geh-help-gnu-emacs@m.gmane.org; Mon, 14 May 2007 14:23:18 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newsfeed.news2me.com!nx01.iad01.newshosting.com!newshosting.com!198.186.194.247.MISMATCH!news-xxxfer.readnews.com!news-out.readnews.com!transit4.readnews.com!newspeer1.nwr.nac.net!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!novia!sequencer.newscene.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 59 Original-Sender: galen_boyer@yahoo.com User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 Original-Xref: shelby.stanford.edu gnu.emacs.help:148340 X-Mailman-Approved-At: Mon, 14 May 2007 14:22:30 -0400 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:43970 Archived-At: On Fri, 27 Apr 2007, timx@nospam.dev.null wrote: > Galen Boyer writes: > >> I can browse our internal company wiki with w3m but when I hit enter >> for editing, emacs does not recognize the editing section of the >> buffer as editable. Any places I can look for customization hints? >> Any different paths I should take? ... >> > > What you describe sounds like your company's wiki must be using a > javascript based wiki Hm... Okay. I'll have to research a bit to see if this is the case. > - thats the only reason I can think of that w3m can't be used to > update it. > > I've been thinking about a similar problem lately. I would like to be > able to update our company wiki from within emacs rather than from > within another browser and I'd like a nicer environment than you would > get just inside a w3m form text area. > > A couple of things have come to mind. There is a wiki (PMWiki) which > has an emacs mode you can use to update the wiki. I've not tried it, > but I suspect it might be a good source of ideas for writing some mode > that would work with our company's wiki. > > One of the problems with wikis is that many have now incorporated > extensions beyond the basic/initial wiki markup. This makes a generic > wiki mode unlikely. However, there is also a lot of commonality which > we should be able to exploit. > > One idea I've been thinking about is to identify the specific wiki > "rules" of our company wiki and possibly defining a compatible > 'publish' mode for emacs muse-mode. I don't think this would be > particularly hard and would provide a nice environment for creating > new pages for the wiki. However, there is also the requirement of > being able to retrieve existing pages and update them. This would need > some sort of reverse translation from the wiki language being used > into muse-mode markup, which you could then edit and re-publish in the > markup the wiki understood. > > emacs 22 has the url package that use to be part of w3 and there are > interfaces to wget and curl, so it shouldn't be too hard to find a way > of moving pages in/out (there is also emacs webdav interface). > > I expect it wouldn't be to hard to achieve a nice emacs based mode for > editing a wiki as long as that wiki isn't too feature rich. You've thought alot deeper about this than I. I'd just like to be able to use Emacs as my only interface to our wiki, even if I just have a text box. I did download the Mozilla extension, 'It's all text". A different thread recommended it. It allowed me to edit the wiki with Emacs but browse with Mozilla. Certainly better than no Emacs at all. -- Galen Boyer