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: Hooks in minor modes Date: Fri, 30 Apr 2021 01:33:03 +0200 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="17544"; 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 Fri Apr 30 01:33:46 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 1lcGAD-0004Tr-Ut for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 30 Apr 2021 01:33:45 +0200 Original-Received: from localhost ([::1]:40044 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcGAD-0001MN-0G for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 29 Apr 2021 19:33:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcG9c-0001Kk-8Y for help-gnu-emacs@gnu.org; Thu, 29 Apr 2021 19:33:08 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:59847) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcG9a-0007w3-La for help-gnu-emacs@gnu.org; Thu, 29 Apr 2021 19:33:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1619739183; bh=zxgHg3Q7nPn0O+3h9Y/+VnxScgH9I7HcDb3n+XNKyIc=; h=X-UI-Sender-Class:From:To:Subject:Date; b=CgAnJrK3THhVkvtGGO+PQpOM7+o6UIsvNaqMRHrsk+FvrT+iGL/scfWJzG8YEQyWX QgLw6rmrmiPvmnccrBlSW2G4c0jvHfI9G978qc3KMeGQvW819S2ebv8v/aCVx/7GUJ Ja6yGPrUEG2o7DgdU54ui8OzXWjWs+3N9OqhL/Lk= 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-bs03.server.lan [172.19.170.169]) (via HTTP); Fri, 30 Apr 2021 01:33:03 +0200 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:ShgIz0VMKGHB/CaTMZ0f3lj1y+8TMxVrhBnAVJ0jHTCvCLZWB9gqSN1AMjKVZk3/CSGQY IDxvl56guRDQw7Vuw7jJwDek+j0DvcBil/fjohvJlmrCSjv89zGsUWeQdJxeC6bYBtR5ElJ/81QB /69QtXtEIuZb1wQnxTk/uXbk9on8GGzMZgHxSYAe5b6lHzTGAmskvFVPJ3FGRXAUeeTVOIlgMHt+ qod48GDdtqTsd6/9MP7NMMUXAZ+9Rr56C+0lL9BAVew5y9OHab47yUrzFK0pkDRKy10NC3cYexfS vE= X-UI-Out-Filterresults: notjunk:1;V03:K0:UV3JscuRm20=:IEn1WxrVAvHOuDA3aG7j4c 8zo7mtnEvMDWbMlLKLdCFavzPu7IHcpzIwpz2n5fBkihJ9Azj5DOkBA6IhVbOte74iGJWcgV1 E1XtnbTyNmowufpuuWkHAxJQVPG6nCJ87XrqOTuz6gl+3jYhytQ3fpdVgI91ETssHW/5Dowxm c1sqCRd4kF986XaDizgKll4EHFSx83vJSBxvR8E2pN9R7JWn45auqEcd/5/SQP+TcqFwJsMXg 2r6zElTB3jxM9z8ThYy/JvDsoSF7ZZVTXOqVTu7AQSbihp6uQm1gUh4fZmIs9PYZT0BMP04Zo H9F9KIZah/dPXq5CxUNlHIyAeSKU8v3UlM3HR3w7M6TEUJp+aZ3ozfPwXnO0IvtIL1QPIJ4x9 Pyh7JT35HxdhlzaO7n450yCeBnCgUPC8Rsa/s2ud8YN4OHceUMsNBPloI6M6Qph3U33M6YNRK cMzYuG3Ys1oyh1F0BNyV1Y9owABqKfarcQKvBuXCxsruhXBXp3NnS2wkH6su6xePUkIrKGJF5 l0sZ4I/iWs5tVlzu0cmGWjrDT0t0PpdiCE0tQjpZBlJd7Zf4iHSbKJ1gf7z6oE8U7kTAEFZhh FI2tiAMdncsDn6bRlnMqNtYqiqx9O2iyiM5s/beZXtYZ9U0ruEAlP0ARavGZPoufPvfeinUdN XRZYXpXmAatdryUQwYPUnQHRH44bqRuqZMoaC7sGX6I1IiUS/tZj/qJ8o6Vimv04OECZZgSKL Zzj6oIZSvPBOZPIGP93ugaAUs2XyJ4ps5MmCi4l8gwux0E4bxWVXVLCuLuNa/i4cafnNFx5V Received-SPF: pass client-ip=212.227.15.19; envelope-from=steve-humphreys@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-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:129197 Archived-At: Is it acceptable to set mode hooks in a minor mode so that the minor mode is available by default, rather than requiring the user to include (add-hook 'texinfo-mode-hook 'my-minor-mode))