From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#68487: [PATCH] Make jump commands usable for all skeletons Date: Sat, 27 Jan 2024 20:51:09 +0200 Message-ID: <86h6iy7gpu.fsf@gnu.org> References: <877ckawckc.fsf@martinmarshall.com> <86wmrv87hf.fsf@gnu.org> <87v87e3a3w.fsf@martinmarshall.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8822"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68487@debbugs.gnu.org To: Martin Marshall Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 27 19:52:19 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rTnms-00027H-TK for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 27 Jan 2024 19:52:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rTnmZ-0003NH-5j; Sat, 27 Jan 2024 13:51:59 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rTnmV-0003Mz-3h for bug-gnu-emacs@gnu.org; Sat, 27 Jan 2024 13:51:55 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rTnmU-0002Dl-S4 for bug-gnu-emacs@gnu.org; Sat, 27 Jan 2024 13:51:54 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rTnmc-000134-1C for bug-gnu-emacs@gnu.org; Sat, 27 Jan 2024 13:52:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 27 Jan 2024 18:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68487 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 68487-submit@debbugs.gnu.org id=B68487.17063815144015 (code B ref 68487); Sat, 27 Jan 2024 18:52:02 +0000 Original-Received: (at 68487) by debbugs.gnu.org; 27 Jan 2024 18:51:54 +0000 Original-Received: from localhost ([127.0.0.1]:55934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rTnmU-00012h-H8 for submit@debbugs.gnu.org; Sat, 27 Jan 2024 13:51:54 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rTnmS-00012R-ID for 68487@debbugs.gnu.org; Sat, 27 Jan 2024 13:51:53 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rTnm4-0002B1-EU; Sat, 27 Jan 2024 13:51:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=hw7oqtvlfQuj5iGY5bdOuiXD1a/QhURRoNvr5artWxU=; b=HIelxg5YIeUS sNJL9qNhAYt9kMF7IzwtS7kJ4/eeIRwZesWekkGA8JvPvclcb4PpAecw0BeNNceG8To53ODxunCZT 7PWrbJVWtG8pg2fwui17jIlkvFIDqe8rXog808JMQv880Ax4/8jrkCGGwRW5obOY3H+NZsS1kVDMc QJhxLpJX1DfioVC0EX8prZcaEZuYVsZHxq7gi0AOy/OGrJAC/cvlq8B1SZeMRDKX0jyT0uJV0c9nW HEM6KqKqj8iB56YDU0vWU5jGyfl7t5AMSCAZ2Wu8tum20Xm89RPOSdprIi0yKgjdxuBxS7Kprazjp Lbdy7XbdqRSYMikl2+4iPQ==; In-Reply-To: <87v87e3a3w.fsf@martinmarshall.com> (message from Martin Marshall on Sat, 27 Jan 2024 13:27:31 -0500) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:279030 Archived-At: > From: Martin Marshall > Cc: 68487@debbugs.gnu.org > Date: Sat, 27 Jan 2024 13:27:31 -0500 > > Eli Zaretskii writes: > > > Is this patch still relevant, or you intend to resolve this while > > consolidating the related packages, perhaps based on yasnippet? > > I think it's still relevant. > > As I understand it, a goal for the snippet-engine project is to include > it in core and implement skeleton.el, expand.el, and tempo.el on top of > it. > > When completed, that will make this patch irrelevant, but I don't know > how long that process will take. OK. But after applying the patch on the master branch, I get this while byte-compiling: In toplevel form: expand.el:91:2: Error: Eager macro-expansion failure: (error "Eager macro-expansion skipped due to cycle: => (load \"expand.el\") => (macroexpand-all (define-skeleton expand-c-for-skeleton )) => (macroexpand (define-skeleton )) => (load \"skeleton.el\") => (load \"expand.el\")") In toplevel form: skeleton.el:34:11: Error: Eager macro-expansion failure: (error "Eager macro-expansion skipped due to cycle: => (load \"expand.el\") => (macroexpand-all (define-skeleton expand-c-for-skeleton )) => (macroexpand (define-skeleton )) => (load \"skeleton.el\") => (load \"expand.el\")") Makefile:335: recipe for target `skeleton.elc' failed make[3]: *** [skeleton.elc] Error 1 make[3]: *** Waiting for unfinished jobs.... Makefile:335: recipe for target `expand.elc' failed Could you please DTRT to avoid these errors?