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: Wed, 03 Jun 2020 11:19:01 +0300 Message-ID: <7874555c5ba73c3b6b7c9c07e6bde015aa1c7fc7.camel@yandex.ru> 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="38013"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.36.3 To: 41682@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 03 10:20:12 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 1jgOdA-0009hL-1i for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Jun 2020 10:20:12 +0200 Original-Received: from localhost ([::1]:45682 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jgOd9-0006B9-38 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Jun 2020 04:20:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40728) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgOd0-00068w-Os for bug-gnu-emacs@gnu.org; Wed, 03 Jun 2020 04:20:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58592) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jgOd0-0001uD-F9 for bug-gnu-emacs@gnu.org; Wed, 03 Jun 2020 04:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jgOd0-0008JY-AX for bug-gnu-emacs@gnu.org; Wed, 03 Jun 2020 04:20: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: Wed, 03 Jun 2020 08:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41682 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.159117235431883 (code B ref -1); Wed, 03 Jun 2020 08:20:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Jun 2020 08:19:14 +0000 Original-Received: from localhost ([127.0.0.1]:41902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgOcD-0008IA-Rv for submit@debbugs.gnu.org; Wed, 03 Jun 2020 04:19:14 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:45938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgOcB-0008I1-Vt for submit@debbugs.gnu.org; Wed, 03 Jun 2020 04:19:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgOcB-0005Jb-La for bug-gnu-emacs@gnu.org; Wed, 03 Jun 2020 04:19:11 -0400 Original-Received: from forward103j.mail.yandex.net ([5.45.198.246]:53763) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgOc8-0001m4-TM for bug-gnu-emacs@gnu.org; Wed, 03 Jun 2020 04:19:10 -0400 Original-Received: from mxback14j.mail.yandex.net (mxback14j.mail.yandex.net [IPv6:2a02:6b8:0:1619::90]) by forward103j.mail.yandex.net (Yandex) with ESMTP id B5EAC67430C1 for ; Wed, 3 Jun 2020 11:19:02 +0300 (MSK) Original-Received: from iva8-6403930b9beb.qloud-c.yandex.net (iva8-6403930b9beb.qloud-c.yandex.net [2a02:6b8:c0c:2c9a:0:640:6403:930b]) by mxback14j.mail.yandex.net (mxback/Yandex) with ESMTP id egX2G4Ll68-J2LqR0Lh; Wed, 03 Jun 2020 11:19:02 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1591172342; bh=2yPcjViMH0TF+yvxs0g1Ld9Tg1jYd+aEj5gRPKyziRU=; h=To:From:Subject:Date:Message-ID; b=ZcqS3d5JbCWeJ0ZQyopFzCxzwXhoFrLOx30mxTkgIjqolMxC5IGIiux7bZFbRtsaP IYLqte9rK5xxVtNv57vFRTsYgYKo64SM0Dx4AODizWnw4vi8kodJcVm/H/qYOd1Knr VtOornXcZKwvloTrKd0/Z+KrudvNolW4J+DP3Z4g= Authentication-Results: mxback14j.mail.yandex.net; dkim=pass header.i=@yandex.ru Original-Received: by iva8-6403930b9beb.qloud-c.yandex.net (smtp/Yandex) with ESMTPSA id IIKLLSbgJM-J22aopWl; Wed, 03 Jun 2020 11:19:02 +0300 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client certificate not present) Received-SPF: pass client-ip=5.45.198.246; envelope-from=hi-angel@yandex.ru; helo=forward103j.mail.yandex.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/03 04:19:03 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action 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:181446 Archived-At: Functions added with (eval-after-load 'makefile-gmake-mode …) do not trigger when the mode is enabled # Steps to reproduce: 1. Run: emacs -Q --eval '(eval-after-load 'makefile-gmake-mode '(save- buffers-kill-emacs))' 2. In Emacs window opened execute: M-x makefile-gmake-mode ## Expected Emacs quits (because the save-buffers-kill-emacs gets executed) ## Actual Mode gets enabled, but nothing happens otherwise. # Version GNU Emacs 27.0.50 (build 15, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.17.3) of 2020-06-01