[Accueil]
Accueil
[Blog]
Blog
[GNU/Linux]
GNU/Linux
[Pierre L.]
Pierre L.
[Whist]
Whist
[Nous]
Nous
[Jabberwocky]
Jabberwocky
[LaTeX]
LaTeX


Previous Up Next


2 The Scheme (server) side protocol

2.1 Exporting

The scmel_export_object method trigger client side object creation through scmel-make method. This is the minimal protocol but you might enhance it as much as you wish. Indeed you can trigger any method you wish on client object provided client object implements it (see 1.1.) Simply remember that client object represented by the elisp variable scmel–object.

A modification have been done here. The elisp variable this is no longer accessible in elisp code due to almost mandatory lexical-binding. In fact since emacs version 29 cl-generic implementation requires that cl-defmethod is used in lexical binding. Hence the scmel–object elisp variable should be used here instead of ‘this’ thanks to a let wrapping in client side filter method (see 1.2.)


Previous Up Next



l'eremita la ruote della fortuna la torre il mondo


Copyright (©) 2009 -- 2024 Pierre L. Nageoire


Apache/2.4.52 (Unix) PHP/8.1.3 SVN/1.14.1 Hevea 2.36