From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: steve-humphreys@gmx.com Newsgroups: gmane.emacs.help Subject: Minor modes and file names Date: Thu, 28 Jan 2021 16:57:11 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21309"; mail-complaints-to="usenet@ciao.gmane.io" To: Help Gnu Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 28 16:57:39 2021 Return-path: Envelope-to: geh-help-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 1l59fu-0005Qj-QR for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 28 Jan 2021 16:57:38 +0100 Original-Received: from localhost ([::1]:33810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l59ft-0004Sa-J5 for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 28 Jan 2021 10:57:37 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45434) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l59fX-0004SQ-UK for help-gnu-emacs@gnu.org; Thu, 28 Jan 2021 10:57:15 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:34157) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l59fW-0001Ls-6O for help-gnu-emacs@gnu.org; Thu, 28 Jan 2021 10:57:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1611849432; bh=3T1qXh2rAFr74UeXdwvdklTjFaV1kct17+kBOoNMlLs=; h=X-UI-Sender-Class:From:To:Subject:Date; b=hH8CuuHc1W7Al0Y1Kb+jdC5lSu84HA77ViHq4xNHjND4hME7L7RcR37dB4I9vm5Nl ZhV6yjsY3Pdxr69zkAKVb3DSNgsvCtDkeqmnJfgYRIaEAcZ3SHA6KQd9Ua//z9uWwj AvqpyIgiig7QTtF/2v5vL84ZV4w0wOL9tUq+E2PE= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs07.server.lan [172.19.170.175]) (via HTTP); Thu, 28 Jan 2021 16:57:11 +0100 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:rt44ryhbczl9sqx3dpRvJ7RHwh45a4Jynl+85MjgNe8dNr6XRiHZzm9a5EkhYJTnugUUG 3PiSNJvu4nqWKVXc/BFEBxXm/4pXtrPGB7QQXft/tvDL5a58DY9hRDAagT98b3+qsHNTcUKHj8bA Txa67p2HBoCl/g+4/AbxusUBvifrW/QvHhf5fj4PCsYyD6BhNYzgBFA/OrRyx6OJT/cuuWdP5NTZ 455ANFEiUqNcsgVYXzEBsZnTBlInXeRMPOf2TXslxlgV6T7Dj+Mh8TJjqsg5aYVUZ49ih7bvQpnb yo= X-UI-Out-Filterresults: notjunk:1;V03:K0:a6flb9LksFs=:KWjQ0zO5VnRZj/WM85dULC vv8uyIEAMrC2GKEUikKVSY6iOn3Bwvzr6xRY2W1YGAVkjuU4MPQ6+L/Gt9mUytYw7h0Jb3jPK GVTBvJcLYroLk/MeY3Jlef3PdVNynx8qQ9rwfaGpouJL0NaFGAcB0XnmUF0Oex9f9VPHn54z4 8ykIYwTgsAQPtI0GVvK0ERTCDxedteePhDUxYvHqI7V5aPtVAB7Dh6y56dUdCY9CHk0/CTSWD rTmJDcl1oleYPBKPumhZj+CXguypfOYmzmc25focE7UygArp4V9za6kpk9QhqsLG31JvxNlMX nUpT6ovBMFayeC0V8iAZ8epx4o8Uod6t7nFUnmjxa8F18EIzhOqhDA/z0M7DeBSmYiwP2f+Ue TJsBaATLMJ0eJPd+bQF0sNLXArmjF/jqAYCxsT9syHBwwqCDad5YLwMyyF+7GJ8hgNW+vDtI1 ETfWpyPGB8tmnx4xHjB+O/bKZAS6UhpFmILbUvUIH+Izg4vKaACv1qbejKjGCMqYrh9uuOFQv esxob2/JwHDY6wDDf9VcN7LTY3D1E3GuJoVHeesGL/jVAp+90Qam1dwqGfffPcwlMigTOwag4 9iD9+wgizuOys= Received-SPF: pass client-ip=212.227.17.22; envelope-from=steve-humphreys@gmx.com; helo=mout.gmx.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:127401 Archived-At: I have made a minor made for texinfo and noticed that the minor mode does not take effect unless tho file name matches the minor mode name. For instance, changing the name of the file to "crucible-mode-2021-01-28.el" the minor mode fails to load. ----- crucible-mode.el ----- (define-minor-mode crucible-mode ...) (provide 'crucible-mode) ----- gtexinfo.el ----- (add-to-list 'load-path "~/Genadm/build/gungadin-1.0/elisp/crucible") (require 'crucible-mode) (add-hook 'texinfo-mode-hook 'crucible-mode)