all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Vincent Belaïche" <vincent.b.1@hotmail.fr>
To: <monnier@iro.umontreal.ca>, Jay Belanger <jay.p.belanger@gmail.com>
Cc: pertusus@free.fr, emacs-devel <emacs-devel@gnu.org>,
	Karl Berry <karl@freefriends.org>
Subject: RE: 5x5 documentation
Date: Tue, 21 Jun 2011 22:01:10 +0200	[thread overview]
Message-ID: <DUB102-w28AF6DAA986F24B876CD8884510@phx.gbl> (raw)
In-Reply-To: <jwvmxhbg9m2.fsf-monnier+emacs@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 2452 bytes --]


Hello,


I removed Manuel from the recipient because I had put them in the loop only for the math aspects...


Concerning your suggestion, this is something that I had often thought about that it would be good if docstrings would allow better interaction with manuals, like be written with some markup to allow other format (like some Org mode like, or some simplified texinfo). 


It would be good if a docstring could point at some anchor in a manual. I had started to think about that because in Calc there is no docstrings at all, but rather some function that scans the manual for the function description. Unfortunately this function first uses the language in which the manual is written, which is not good programming practice to make any algorithm locale-dependent, and second this function had a number of bugs which were corrected over time, which shows that this method is hard to tune. 


It would be better to have some markup to say "hey !  go the the point that correspond to index entry XXX where you find that index in this index info node", and XXX is the function/variable/etc... to document and that has some index entry.


That would also allow to make function/variable documentation internationalized.


Anyhow, a simple-to-do thing would be to place this manual in some place, like similar to that of sed:


http://gnu.april.org/software/sed/manual/


And then put an url to this page in some docstring or in the emacs manual info node about games.


   Vincent.





> From: monnier@iro.umontreal.ca
> To: vincent.b.1@hotmail.fr
> Subject: Re: 5x5 documentation
> Date: Mon, 20 Jun 2011 23:19:09 -0400
> CC: pertusus@free.fr; jay.p.belanger@gmail.com; karl@freefriends.org; mpg@elzevir.fr; emacs-devel@gnu.org
> 
> > Somebody from this forum asked for documentation of the algorithm which
> > I used.  So I wrote a comprehensive documentation of 5x5.  Actually the
> > primary objective was just to describe the algorithm, but it ended in
> > describing the whole thing.
> 
> Thanks.  I don't think we'll want to include a separate Texinfo manual
> for that with Emacs, tho.  We could include a version of that doc as
> a comment in 5x5.el (could be marked up (maybe even with Texinfo markup)
> and come with a command that would extract the text from the comment and
> pass it to some tool for rendering, if you want to get fancy).
> 
> 
>         Stefan
> 
 		 	   		  

[-- Attachment #2: Type: text/html, Size: 2884 bytes --]

  reply	other threads:[~2011-06-21 20:01 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <80oc1u26ae.fsf@gmail.com>
2011-06-21  3:19 ` 5x5 documentation Stefan Monnier
2011-06-21 20:01   ` Vincent Belaïche [this message]
2011-06-21 20:59     ` Drew Adams
2011-06-21 21:07       ` Drew Adams
2011-06-22  4:32         ` Vincent Belaïche
2011-06-22 13:35           ` Drew Adams
2011-06-22 16:26             ` Vincent Belaïche
2011-06-22 17:55               ` Drew Adams
2011-06-22 20:27                 ` Vincent Belaïche
2011-06-22 21:22                   ` Theme submission: adwaita William Stevenson
2011-06-22 23:09                   ` 5x5 documentation Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DUB102-w28AF6DAA986F24B876CD8884510@phx.gbl \
    --to=vincent.b.1@hotmail.fr \
    --cc=emacs-devel@gnu.org \
    --cc=jay.p.belanger@gmail.com \
    --cc=karl@freefriends.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=pertusus@free.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.