eschulte pushed a commit to branch master in repository elpa. commit 20f72164d87fe21c85a9bf79a7a6d1a670d17f46 Author: Eric Schulte <schulte.e...@gmail.com> Date: Wed Jan 8 13:06:30 2014 -0700
renaming example files --- NOTES | 6 +++--- doc/web-server.texi | 20 ++++++++++---------- examples/{0-hello-world.el => 000-hello-world.el} | 0 ...hello-world-utf8.el => 001-hello-world-utf8.el} | 0 ...hello-world-html.el => 002-hello-world-html.el} | 0 examples/{3-file-server.el => 003-file-server.el} | 0 .../{4-url-param-echo.el => 004-url-param-echo.el} | 0 examples/{5-post-echo.el => 005-post-echo.el} | 0 ...thentication.el => 006-basic-authentication.el} | 0 ...-file-server.el => 007-org-mode-file-server.el} | 0 examples/{8-file-upload.el => 008-file-upload.el} | 0 examples/{9-web-socket.el => 009-web-socket.el} | 0 ...{10-current-buffer.el => 010-current-buffer.el} | 0 examples/{11-org-agenda.el => 011-org-agenda.el} | 0 examples/{12-search-bbdb.el => 012-search-bbdb.el} | 0 15 files changed, 13 insertions(+), 13 deletions(-) diff --git a/NOTES b/NOTES index a4413f3..cf43c92 100644 --- a/NOTES +++ b/NOTES @@ -9,14 +9,14 @@ ** more examples [3/3] *** DONE Org-mode agenda Already exists as part of org-ehtml. -file:examples/11-org-agenda.el +file:examples/011-org-agenda.el *** DONE display the current buffer Idea stolen from elnode. -file:examples/10-current-buffer.el +file:examples/010-current-buffer.el *** DONE browse the BBDB -file:examples/12-search-bbdb.el +file:examples/012-search-bbdb.el ** DONE handle large files When large files arrive quickly, the filter functions are called while diff --git a/doc/web-server.texi b/doc/web-server.texi index 02b758f..e29963c 100644 --- a/doc/web-server.texi +++ b/doc/web-server.texi @@ -199,7 +199,7 @@ the content type to @code{text/plain}, and then sending the string ``hello world''. When the handler exits the network connection of the request is closed. -@verbatiminclude ../examples/0-hello-world.el +@verbatiminclude ../examples/000-hello-world.el @node Hello World UTF8, Hello World HTML, Hello World, Usage Examples @section Hello World UTF8 @@ -208,11 +208,11 @@ This example only differs from the previous in that the ``Content-type'' indicates UTF8 encoded data, and the hello world sent is selected at random from a list of different languages. -@verbatiminclude ../examples/1-hello-world-utf8.el +@verbatiminclude ../examples/001-hello-world-utf8.el @node Hello World HTML, File Server, Hello World UTF8, Usage Examples @section Hello World HTML -@verbatiminclude ../examples/2-hello-world-html.el +@verbatiminclude ../examples/002-hello-world-html.el This variation of the ``hello world'' example sends a @code{text/html} response instead of a simple @code{text/plain} response. @@ -230,7 +230,7 @@ response based on the extension of the file, if not then @code{ws-send-404} is used to send a default ``File Not Found'' response. -@verbatiminclude ../examples/3-file-server.el +@verbatiminclude ../examples/003-file-server.el @node URL Parameter Echo, POST Echo, File Server, Usage Examples @section URL Parameter Echo @@ -245,7 +245,7 @@ the following HTML table. @item baz @tab qux @end multitable -@verbatiminclude ../examples/4-url-param-echo.el +@verbatiminclude ../examples/004-url-param-echo.el @node POST Echo, Basic Authentication, URL Parameter Echo, Usage Examples @section POST Echo @@ -253,7 +253,7 @@ the following HTML table. The following example echos back the content of the ``message'' field in a @code{POST} request. -@verbatiminclude ../examples/5-post-echo.el +@verbatiminclude ../examples/005-post-echo.el @node Basic Authentication, Org-mode Export, POST Echo, Usage Examples @section Basic Authentication @@ -279,7 +279,7 @@ with HTTPS network encryption. While the Emacs web server currently doesn't support HTTPS network encryption it may be run behind an HTTPS proxy server (e.g., Apache or Nginx) with HTTPS support. -@verbatiminclude ../examples/6-basic-authentication.el +@verbatiminclude ../examples/006-basic-authentication.el @node Org-mode Export, File Upload, Basic Authentication, Usage Examples @section Org-mode Export @@ -288,7 +288,7 @@ The following example exports a directory of Org-mode files as either text, HTML or LaTeX. The Org-mode export engine is used to export files on-demand as they are requested. -@verbatiminclude ../examples/7-org-mode-file-server.el +@verbatiminclude ../examples/007-org-mode-file-server.el @node File Upload, Web Socket, Org-mode Export, Usage Examples @section File Upload @@ -297,7 +297,7 @@ The following example demonstrates accessing an uploaded file. This simple server accesses the file named ``file'' and returns it's sha1sum and file name. -@verbatiminclude ../examples/8-file-upload.el +@verbatiminclude ../examples/008-file-upload.el A file may be uploaded from an HTML form, or using the @code{curl} program as in the following example. @@ -334,7 +334,7 @@ Note: in order to keep the web socket connection alive the request handler from which @code{ws-web-socket-connect} is called must return the @code{:keep-alive} keyword, as demonstrated in the example. -@verbatiminclude ../examples/9-web-socket.el +@verbatiminclude ../examples/009-web-socket.el @node Function Index, Copying, Usage Examples, Top @chapter Function Index diff --git a/examples/0-hello-world.el b/examples/000-hello-world.el similarity index 100% rename from examples/0-hello-world.el rename to examples/000-hello-world.el diff --git a/examples/1-hello-world-utf8.el b/examples/001-hello-world-utf8.el similarity index 100% rename from examples/1-hello-world-utf8.el rename to examples/001-hello-world-utf8.el diff --git a/examples/2-hello-world-html.el b/examples/002-hello-world-html.el similarity index 100% rename from examples/2-hello-world-html.el rename to examples/002-hello-world-html.el diff --git a/examples/3-file-server.el b/examples/003-file-server.el similarity index 100% rename from examples/3-file-server.el rename to examples/003-file-server.el diff --git a/examples/4-url-param-echo.el b/examples/004-url-param-echo.el similarity index 100% rename from examples/4-url-param-echo.el rename to examples/004-url-param-echo.el diff --git a/examples/5-post-echo.el b/examples/005-post-echo.el similarity index 100% rename from examples/5-post-echo.el rename to examples/005-post-echo.el diff --git a/examples/6-basic-authentication.el b/examples/006-basic-authentication.el similarity index 100% rename from examples/6-basic-authentication.el rename to examples/006-basic-authentication.el diff --git a/examples/7-org-mode-file-server.el b/examples/007-org-mode-file-server.el similarity index 100% rename from examples/7-org-mode-file-server.el rename to examples/007-org-mode-file-server.el diff --git a/examples/8-file-upload.el b/examples/008-file-upload.el similarity index 100% rename from examples/8-file-upload.el rename to examples/008-file-upload.el diff --git a/examples/9-web-socket.el b/examples/009-web-socket.el similarity index 100% rename from examples/9-web-socket.el rename to examples/009-web-socket.el diff --git a/examples/10-current-buffer.el b/examples/010-current-buffer.el similarity index 100% rename from examples/10-current-buffer.el rename to examples/010-current-buffer.el diff --git a/examples/11-org-agenda.el b/examples/011-org-agenda.el similarity index 100% rename from examples/11-org-agenda.el rename to examples/011-org-agenda.el diff --git a/examples/12-search-bbdb.el b/examples/012-search-bbdb.el similarity index 100% rename from examples/12-search-bbdb.el rename to examples/012-search-bbdb.el