From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/57479 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Emacs markup language Date: Tue, 18 May 2004 16:30:35 +0200 Organization: Programmerer Ingebrigtsen Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1084890727 10235 80.91.224.253 (18 May 2004 14:32:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 May 2004 14:32:07 +0000 (UTC) Original-X-From: ding-owner+M6020@lists.math.uh.edu Tue May 18 16:31:44 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BQ5dA-0000BW-00 for ; Tue, 18 May 2004 16:31:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1BQ5cs-0002eK-00; Tue, 18 May 2004 09:31:26 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1BQ5cn-0002do-00 for ding@lists.math.uh.edu; Tue, 18 May 2004 09:31:21 -0500 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1BQ5cm-0006A3-Jj for ding@lists.math.uh.edu; Tue, 18 May 2004 09:31:20 -0500 Original-Received: from main.gmane.org (main.gmane.org [80.91.224.249]) by justine.libertine.org (Postfix) with ESMTP id A95263A0215 for ; Tue, 18 May 2004 09:31:19 -0500 (CDT) Original-Received: from root by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BQ5ck-00017j-00 for ; Tue, 18 May 2004 16:31:18 +0200 Original-Received: from quimbies.gnus.org ([80.91.231.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 May 2004 16:31:18 +0200 Original-Received: from larsi by quimbies.gnus.org with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 18 May 2004 16:31:18 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 50 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: quimbies.gnus.org Mail-Copies-To: never X-Now-Playing: Colourbox's _Colourbox (MAD315CD)_: "Shotgun" Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEUOBANFIxcOBgTdo2qD QiIfDgtq71ZNAAACaElEQVR4nF2UTXIjIQyFFSrZmzbsacYcwIEcACP2gWnd/yrzhOPYNSTlpPW1 nn6QTNxlJllnWGu9q9axbZZqfJ40nG0Zh3MnoV+7iaPyAjkXiiEYMjDGgB/7AJlmDAYmQ5HwNz1B DUFlgjFGfdIv4BhlviTw9wEkHt4+guP3F8Toul9SECJjnsBw6ZoSzDivHufcV5BA4TXGFlxzc9Xx ChpldnXf4so5UqAFWhmE6sX9ny5/RoA8NlIPWS4L9O0OKKbv6FyVh8ctKrh+08E1QoCt1DswCsrp HTafs+XqrndAC4SPdh1HznLcxt2jhwXIHJ0uAKnyq9QX0ceMADOItXePJXU74ZYUCMbCnp9g9miM SjH3+FfHxfoVw37pw6GgyrkvIkK5HDct+U8u6nG+6d2MCY/rjqyjablYL/FyXfOlLbm6T4CEDkgS jIl2UhQUpzEG0lbpo3l8eK8xGgqJb6Nt2kNpt5jO22oiemLiLjXqbHs7584PkGzfa43TpIEi46XM O7geuaLx6AdiaYgCV0Jh5bLAh8Ao38hQB5BSK197rtiXFWLqVEBpUmz5tnNFcdiofcjpZyhIcumj egTApslR/do61JEKd+3NTFOmH/ZEpEqT9gywQzIFvDcEpoT3ErLiSukI8Q2rydbOhMULuCgG8N7h 5eFyQxb31RZy+H9j2Ks4xlXZ06Xq4tPwIX3DabDDFeKyTjtry0i8GafdCyQZK4vJE++tdeTdHNu7 Gn/ANhJEPdkhdhv8OJX7SHj0NBjTYnnJM8K7bp3Dtw1Bb/SdGdNTW25oM9xQEalyWeO3vOpRdQKY /wEELNpQrq4AngAAAABJRU5ErkJggg== User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:AHqWv0rACvhlzPZ0Hb+Gew8PHsg= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:57479 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:57479 Per Abrahamsen writes: > But Emacs (and GNU) already has its own simple markup language, namely > Texinfo (it also has info, but info sucks as a markup language, so > let's forget that). That's an idea... let's see @title Configuring Gnus for reading news @node Server name and port @variable server :string (gnus-getenv-nntpserver) @variable port :number 119 @validate (let ((stream (condition-case err (open-network-stream "nntpd" nil server port) (error (setq error err))))) (if (memq (process-status stream) '(open run)) (progn (delete-process stream) t) nil))) @end validate @result gnus-select-method (list server port) @text To read Usenet news with Gnus, you first have to tell Gnus where the news server is. The server name is @variable{server}; port number @variable{port}. @end text That was kinda pleasant to write, actually, and it's readable (and therefore maintainable). And when there's a branch (when setting up mail, between pop and file, say), we could have @next Pop @next Local file access with different nodes called that, of course. And each assistant would be in its own file, so that'd be the "name space" that we're talking about. .ass probably isn't the best suffix to use, though. .ast? .fry? -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen