Path: ...!weretis.net!feeder8.news.weretis.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!cleanfeed3-b.proxad.net!nnrp3-2.free.fr!not-for-mail Date: Mon, 19 Dec 2022 23:23:00 +0100 From: NoSpam Valrik Newsgroups: fr.comp.lang.lisp Subject: Re: =?ISO-8859-1?Q?Probl=E8me_d'int=E9gration?= de Yasnippet dans le code Lisp. In-Reply-To: <63978ef0$0$31533$426a74cc@news.free.fr> References: <63866958$0$3185$426a74cc@news.free.fr> <63978ef0$0$31533$426a74cc@news.free.fr> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM-LB/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL-LB/10.8 EasyPG/1.0.0 Emacs/27.1 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Lines: 24 Message-ID: <63a0e442$0$22067$426a74cc@news.free.fr> Organization: Guest of ProXad - France NNTP-Posting-Date: 19 Dec 2022 23:22:58 CET NNTP-Posting-Host: 91.172.153.64 X-Trace: 1671488578 news-3.free.fr 22067 91.172.153.64:58201 X-Complaints-To: abuse@proxad.net Bytes: 2211 On Mon, 12 Dec 2022 21:28:33 +0100, NoSpam Valrik wrote: >=20 > En fait, c'est un probl=E8me d'ex=E9cution asynchrone de la fonction, alo= rs > qu'il faudrait l'ex=E9cuter de mani=E8re synchrone. je crois que la > solution se trouve dans la page info, chapitre =AB 21 Command Loop > =BB. Quelqu'un conna=EEt il le sujet ? Bon, pour ceux que cela int=E9resse, j'ai fini par trouver la solution au probl=E8me de l'ex=E9cution asynchrone du =AB snippet =BB. Dans la =AB page info =BB, au paragraphe =AB 21.13 Recursive Editing =BB, il est mentionn=E9 la commande =AB recursive-edit =BB, qui si j'ai bien compris, boucle tant que la pr=E9c=E9dente commande n'est pas termin=E9e. Et en faisant des recherches pour trouver des exemples plus causants que la =AB page info =BB, j'ai trouv=E9 cette perle : https://www.emacswiki.org/emacs/yasnippet-config.el et en particulier la fonction =AB yas-expand-snippet-sync =BB qui r=E9sout compl=E8tement le probl=E8me. Voil=E0 donc, une affaire r=E9gl=E9e.