From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.bugs Subject: bug#41682: makefile-gmake-mode does not trigger "eval-after-load"'s hooks Date: Sat, 06 Jun 2020 23:26:12 +0100 Message-ID: <87lfkzrfuj.fsf@tcd.ie> References: <7874555c5ba73c3b6b7c9c07e6bde015aa1c7fc7.camel@yandex.ru> <87o8q01mcp.fsf@tcd.ie> <37002b9ea3a869d7498f683cc5b573e8867cfcab.camel@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="95363"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 41682@debbugs.gnu.org To: Konstantin Kharlamov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 07 00:27: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 1jhhHV-000OdV-Sa for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Jun 2020 00:27:13 +0200 Original-Received: from localhost ([::1]:52144 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jhhHU-00045X-Ds for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 Jun 2020 18:27:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60818) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jhhHK-00045N-1E for bug-gnu-emacs@gnu.org; Sat, 06 Jun 2020 18:27:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41131) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jhhHJ-0003tQ-Oi for bug-gnu-emacs@gnu.org; Sat, 06 Jun 2020 18:27:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jhhHJ-0002Xn-K5 for bug-gnu-emacs@gnu.org; Sat, 06 Jun 2020 18:27:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Basil L. Contovounesios" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Jun 2020 22:27:01 +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.15914823829734 (code B ref 41682); Sat, 06 Jun 2020 22:27:01 +0000 Original-Received: (at 41682) by debbugs.gnu.org; 6 Jun 2020 22:26:22 +0000 Original-Received: from localhost ([127.0.0.1]:52677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhhGg-0002Ww-Jx for submit@debbugs.gnu.org; Sat, 06 Jun 2020 18:26:22 -0400 Original-Received: from mail-wm1-f44.google.com ([209.85.128.44]:54087) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jhhGe-0002Wi-Jy for 41682@debbugs.gnu.org; Sat, 06 Jun 2020 18:26:21 -0400 Original-Received: by mail-wm1-f44.google.com with SMTP id l26so11733705wme.3 for <41682@debbugs.gnu.org>; Sat, 06 Jun 2020 15:26:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd-ie.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=QAmB3m8ETkC64w67WyILXZdGNsQvuJWG7kHDJ9sMfbw=; b=Gcl6oPM28mMeeXW0pt3TQ7GBz3IcVp46IGWcQR+MimuAl8IpE+V7uRfAOAvu1UtrLr ssa9mnQIVSNs8N6gN0O+NzJaiokhO9Yex8jXRTcxkdGU6sa/+Iq/E4wr51QFlZJyoRyu NmgYJrEN3gd9JUe8RHacLRnvpQQUvdJWDT/V+FtDiE7pp0AycLS6SuYaa0a1lPmOa47e Q9TE0MD/GBqfHtEi2mvMsNSliD09AWT/0SYUDR3w2nXY1cuXBJzzBdewPYyNd7ZqzuEl kzDnLc4sjPDrCeRFQ8Jcj8hrpY4sbDiceQ6kSqp/NAGcdah3PRaZN07jF57XeG3uC8tT dnkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=QAmB3m8ETkC64w67WyILXZdGNsQvuJWG7kHDJ9sMfbw=; b=DxUmuOilH46WmN2memw7s/1d26SK043ruWpSAUQ0L1rZmK0RCYgyx7YGfbVlsZN53/ nPVoFSQcAla1zw42ZjcBO60B+SfTy8iyGwj0V6vzJWeoGTJmaDTkJTcpykiP7BnPl8MJ OGarU7Zzg4qLlrdx0zG59mOnqns0M7nlwbPb5pbNzNkgeuaq8rGNCrDs26a8MGrGYP7K GDbUx/1yPe9n42Rdf2l1vA51ENliad+azF0o7Gf5duo0MQqrAd9j/gLmP9B3OitXXbGy B2o360EbbQZslL69rM3mFsO8SK3mDvSWwWK8wIteZjSS25Oq3meZQDmih0ZaD3ilT2Gp 4QJw== X-Gm-Message-State: AOAM533aYGrA05Q8s5XRec0cii8MH7ZhSmXbP3ToevJHrkxqRye3IgxH aPq9Fzw5I9UQZ+scrDYE6xfG9g== X-Google-Smtp-Source: ABdhPJx8IdnfVCPj/sOw8itZs5N4Zs2TvQUvB0wviA3B0YB1LFITjz8Nlb1evcydU0fDLzBf1rNUSQ== X-Received: by 2002:a05:600c:4410:: with SMTP id u16mr8942702wmn.88.1591482374736; Sat, 06 Jun 2020 15:26:14 -0700 (PDT) Original-Received: from localhost ([2a02:8084:20e2:c380:92bd:1bfd:38fc:fae2]) by smtp.gmail.com with ESMTPSA id k64sm17936278wmf.34.2020.06.06.15.26.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 06 Jun 2020 15:26:14 -0700 (PDT) In-Reply-To: <37002b9ea3a869d7498f683cc5b573e8867cfcab.camel@yandex.ru> (Konstantin Kharlamov's message of "Sun, 07 Jun 2020 00:39:30 +0300") 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:181641 Archived-At: Konstantin Kharlamov writes: > Thank you, I migrated my emacs config to use the `with-eval-after-load`=20 > 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"` =E2=80=94 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?=20 Yes, its BODY should not be quoted: (with-eval-after-load 'python (modify-syntax-entry ?_ "w" python-mode-syntax-table)) --=20 Basil