<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/emacs.git, branch dynamic-modules</title>
<subtitle>git.savannah.gnu.org: git/emacs.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/emacs.git/'/>
<entry>
<title>configure.ac: dynamic modules off by default.</title>
<updated>2014-11-27T01:58:12+00:00</updated>
<author>
<name>Aurélien Aptel</name>
<email>aurelien.aptel@gmail.com</email>
</author>
<published>2014-11-26T15:53:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/emacs.git/commit/?id=9313182443266f3e866168e76356bd932bc78e63'/>
<id>9313182443266f3e866168e76356bd932bc78e63</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>yaml module: rename `yaml-parse' to `yaml-parse-buffer'.</title>
<updated>2014-11-27T01:58:12+00:00</updated>
<author>
<name>Aurélien Aptel</name>
<email>aurelien.aptel@gmail.com</email>
</author>
<published>2014-11-23T20:34:29+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/emacs.git/commit/?id=4efd6a2ffa72978995a69586cbcd3bac9d58492a'/>
<id>4efd6a2ffa72978995a69586cbcd3bac9d58492a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>yaml module: add `yaml-parse-string'.</title>
<updated>2014-11-27T01:58:12+00:00</updated>
<author>
<name>Aurélien Aptel</name>
<email>aurelien.aptel@gmail.com</email>
</author>
<published>2014-11-23T20:34:17+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/emacs.git/commit/?id=eae5da99db78c541ce9f29607d57feeb1cff6049'/>
<id>eae5da99db78c541ce9f29607d57feeb1cff6049</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>new yaml parsing module using libyaml</title>
<updated>2014-11-27T01:58:12+00:00</updated>
<author>
<name>Aurélien Aptel</name>
<email>aurelien.aptel@gmail.com</email>
</author>
<published>2014-11-23T20:34:11+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/emacs.git/commit/?id=18920eb64c4cbb990150c871fd204c745df8f7ee'/>
<id>18920eb64c4cbb990150c871fd204c745df8f7ee</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>use `load-module-suffixes' as a source of module suffixes.</title>
<updated>2014-11-27T01:58:12+00:00</updated>
<author>
<name>Aurélien Aptel</name>
<email>aurelien.aptel@gmail.com</email>
</author>
<published>2014-11-23T20:34:03+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/emacs.git/commit/?id=6334cf7e427e1e39a193f86120f3447b45a8d8b5'/>
<id>6334cf7e427e1e39a193f86120f3447b45a8d8b5</id>
<content type='text'>
* New `load-module-suffixes' variable:

- `load-suffixes' corresponds to elisp suffixes only
- `load-modules-suffixes' corresponds to modules suffixes only
- `get-load-suffixes' use both lists to build every possible suffixes

* Slightly simplify `load' by introducing 2 predicates:

- string_prefix_p (string, suffix)
  Return truef if STRING ends with SUFFIX.

- string_suffixes_p (string, suffix_list)
  Return true if STRING ends with any element of SUFFIX_LIST.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* New `load-module-suffixes' variable:

- `load-suffixes' corresponds to elisp suffixes only
- `load-modules-suffixes' corresponds to modules suffixes only
- `get-load-suffixes' use both lists to build every possible suffixes

* Slightly simplify `load' by introducing 2 predicates:

- string_prefix_p (string, suffix)
  Return truef if STRING ends with SUFFIX.

- string_suffixes_p (string, suffix_list)
  Return true if STRING ends with any element of SUFFIX_LIST.
</pre>
</div>
</content>
</entry>
<entry>
<title>update modules examples with `provide' call.</title>
<updated>2014-11-27T01:58:11+00:00</updated>
<author>
<name>Aurélien Aptel</name>
<email>aurelien.aptel@gmail.com</email>
</author>
<published>2014-11-23T20:33:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/emacs.git/commit/?id=01e2303ebe4ef5434de5a2833a326f28b8712694'/>
<id>01e2303ebe4ef5434de5a2833a326f28b8712694</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>make `load' look for and handle dynamic modules.</title>
<updated>2014-11-27T01:58:11+00:00</updated>
<author>
<name>Aurélien Aptel</name>
<email>aurelien.aptel@gmail.com</email>
</author>
<published>2014-11-23T20:33:02+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/emacs.git/commit/?id=399d8ec19d0488af276c5bb7e69b30b1553f15d3'/>
<id>399d8ec19d0488af276c5bb7e69b30b1553f15d3</id>
<content type='text'>
When libltdl is available a new ".so" suffix is added to the
`load-suffixes' variable.  The `load' function uses it and passes it to
openp() which does the actual search in `load-path'.

If the file found by openp() ends with ".so", then it is module and it
should be handled accordingly by calling `load-module'.

`require' calls `load' so nothing more is needed to make `require'
work.  Modules should now be able to call `provide' at the end of
their init() function.  `provide' runs eval-after-load code with no
additional work.

* Notes and potential problems

I have not payed too much attention to encoding problems: I only use
SDATA(filename).  Does it need an ENCODE() call?

`load' is quite messy: big function, lots of side effets and spaghetti
code.  I may have overlooked some things.

fix #3
fix #4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When libltdl is available a new ".so" suffix is added to the
`load-suffixes' variable.  The `load' function uses it and passes it to
openp() which does the actual search in `load-path'.

If the file found by openp() ends with ".so", then it is module and it
should be handled accordingly by calling `load-module'.

`require' calls `load' so nothing more is needed to make `require'
work.  Modules should now be able to call `provide' at the end of
their init() function.  `provide' runs eval-after-load code with no
additional work.

* Notes and potential problems

I have not payed too much attention to encoding problems: I only use
SDATA(filename).  Does it need an ENCODE() call?

`load' is quite messy: big function, lots of side effets and spaghetti
code.  I may have overlooked some things.

fix #3
fix #4
</pre>
</div>
</content>
</entry>
<entry>
<title>fix docstring.</title>
<updated>2014-11-27T01:58:11+00:00</updated>
<author>
<name>Aurélien Aptel</name>
<email>aurelien.aptel@gmail.com</email>
</author>
<published>2014-11-23T20:32:28+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/emacs.git/commit/?id=334564fe8bb5edce2521d29b2d7642ebffd45c76'/>
<id>334564fe8bb5edce2521d29b2d7642ebffd45c76</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>curl: use url arg.</title>
<updated>2014-11-27T01:58:11+00:00</updated>
<author>
<name>Aurélien Aptel</name>
<email>aurelien.aptel@gmail.com</email>
</author>
<published>2014-11-23T20:29:02+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/emacs.git/commit/?id=106c15b7faac86f82ce938708f19db49c633089d'/>
<id>106c15b7faac86f82ce938708f19db49c633089d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>new module: curl. basic URL fetcher working.</title>
<updated>2014-11-27T01:58:11+00:00</updated>
<author>
<name>Aurélien Aptel</name>
<email>aurelien.aptel@gmail.com</email>
</author>
<published>2014-11-23T20:20:02+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/emacs.git/commit/?id=ada5c5e86b8f642031656525ebb9f07cb84c7ecf'/>
<id>ada5c5e86b8f642031656525ebb9f07cb84c7ecf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
