From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Konstantin Kharlamov Newsgroups: gmane.emacs.bugs Subject: bug#41682: makefile-gmake-mode does not trigger "eval-after-load"'s hooks Date: Sun, 07 Jun 2020 01:36:18 +0300 Message-ID: References: <7874555c5ba73c3b6b7c9c07e6bde015aa1c7fc7.camel@yandex.ru> <87o8q01mcp.fsf@tcd.ie> <37002b9ea3a869d7498f683cc5b573e8867cfcab.camel@yandex.ru> <87lfkzrfuj.fsf@tcd.ie> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="5378"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.36.3 Cc: 41682@debbugs.gnu.org To: "Basil L. Contovounesios" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 07 00:37:13 2020 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 1jhhR9-0001GK-FU for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Jun 2020 00:37:11 +0200 Original-Received: from localhost ([::1]:54266 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhhR8-0006Fc-Hw for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 Jun 2020 18:37:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33414) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhhR0-0006FM-Qp for bug-gnu-emacs@gnu.org; Sat, 06 Jun 2020 18:37:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41148) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jhhR0-0005Wb-IG for bug-gnu-emacs@gnu.org; Sat, 06 Jun 2020 18:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jhhR0-0002nd-Fn for bug-gnu-emacs@gnu.org; Sat, 06 Jun 2020 18:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Konstantin Kharlamov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Jun 2020 22:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41682 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 41682-submit@debbugs.gnu.org id=B41682.159148299010722 (code B ref 41682); Sat, 06 Jun 2020 22:37:02 +0000 Original-Received: (at 41682) by debbugs.gnu.org; 6 Jun 2020 22:36:30 +0000 Original-Received: from localhost ([127.0.0.1]:52694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhhQU-0002ms-8q for submit@debbugs.gnu.org; Sat, 06 Jun 2020 18:36:30 -0400 Original-Received: from forward100p.mail.yandex.net ([77.88.28.100]:49757) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhhQR-0002ma-AU for 41682@debbugs.gnu.org; Sat, 06 Jun 2020 18:36:28 -0400 Original-Received: from mxback27o.mail.yandex.net (mxback27o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::78]) by forward100p.mail.yandex.net (Yandex) with ESMTP id 300125980711; Sun, 7 Jun 2020 01:36:20 +0300 (MSK) Original-Received: from sas2-ee0cb368bd51.qloud-c.yandex.net (sas2-ee0cb368bd51.qloud-c.yandex.net [2a02:6b8:c08:b7a3:0:640:ee0c:b368]) by mxback27o.mail.yandex.net (mxback/Yandex) with ESMTP id I4GHGcHpHi-aJlG9vFo; Sun, 07 Jun 2020 01:36:20 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1591482980; bh=+CHV3peYTvm3Ny/whqcuh4he6bCyP1cJX9guUx1PVAI=; h=In-Reply-To:Cc:To:From:Subject:References:Date:Message-ID; b=LuyUZPFiatbmjqEwNIM67tjzIV8CHaX8eBdYQqC44zV7uoVH3mMlvQCXTDEG1ZPZn P4Mv1JSLheaVASCnqCaHa1N+m9prVCvknL90Z4B7rHN5sCVUkuk1ZgjGANnNypIvoY wecWvp9+VC7/BE5o5XzAAg+bR92zBXe5yFV5QsE4= Authentication-Results: mxback27o.mail.yandex.net; dkim=pass header.i=@yandex.ru Original-Received: by sas2-ee0cb368bd51.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id 6DclKTRo2U-aIWehkFp; Sun, 07 Jun 2020 01:36:18 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) In-Reply-To: <87lfkzrfuj.fsf@tcd.ie> 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" Xref: news.gmane.io gmane.emacs.bugs:181644 Archived-At: Thank you! On Sat, 2020-06-06 at 23:26 +0100, Basil L. Contovounesios wrote: > Konstantin Kharlamov writes: > > > Thank you, I migrated my emacs config to use the `with-eval-after- > > load` > > you suggested, but stumbled upon a problem that it doesn't seem to > > work > > with python-mode. I tried as an argument `'python`, `'python-mode`, > > ``python.el`, `"python"`, `"python.el"` — none of that works for > > me. > > The code I'm trying to execute is simply: > > > > (with-eval-after-load 'python > > '(modify-syntax-entry ?_ "w" python-mode-syntax-table)) > > > > Simply removing the "with-" makes it work. Is there anything > > special > > about this macro I should know? > > Yes, its BODY should not be quoted: > > (with-eval-after-load 'python > (modify-syntax-entry ?_ "w" python-mode-syntax-table))