From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: marmot-te Newsgroups: gmane.emacs.bugs Subject: bug#46888: 26.1; org-mode add rmail-after-save-hook to after-save-hook Date: Wed, 03 Mar 2021 10:36:09 +0000 Message-ID: <87ft1c8qxy.fsf@host.localdomain> References: <87im68945c.fsf@host.localdomain> <83im68680o.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36978"; mail-complaints-to="usenet@ciao.gmane.io" To: 46888@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Mar 03 11:37:20 2021 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 1lHOsY-0009W9-PS for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Mar 2021 11:37:19 +0100 Original-Received: from localhost ([::1]:44544 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lHOsX-0003sY-Ju for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Mar 2021 05:37:17 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39748) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lHOsI-0003sA-WD for bug-gnu-emacs@gnu.org; Wed, 03 Mar 2021 05:37:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43728) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lHOsH-0007wr-MY for bug-gnu-emacs@gnu.org; Wed, 03 Mar 2021 05:37:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lHOsH-0001iM-Jf for bug-gnu-emacs@gnu.org; Wed, 03 Mar 2021 05:37:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: marmot-te Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Mar 2021 10:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46888 X-GNU-PR-Package: emacs Original-Received: via spool by 46888-submit@debbugs.gnu.org id=B46888.16147678026565 (code B ref 46888); Wed, 03 Mar 2021 10:37:01 +0000 Original-Received: (at 46888) by debbugs.gnu.org; 3 Mar 2021 10:36:42 +0000 Original-Received: from localhost ([127.0.0.1]:55274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lHOry-0001hp-K0 for submit@debbugs.gnu.org; Wed, 03 Mar 2021 05:36:42 -0500 Original-Received: from mx1.riseup.net ([198.252.153.129]:60818) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lHOrw-0001hb-DE for 46888@debbugs.gnu.org; Wed, 03 Mar 2021 05:36:41 -0500 Original-Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4Dr9Qv3D1LzDs7r for <46888@debbugs.gnu.org>; Wed, 3 Mar 2021 02:36:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1614767799; bh=KMtTbypQjsThphoi0BcmqejmNt5Fi/yFd+E8tuDgBvA=; h=References:From:To:Subject:In-reply-to:Date:From; b=nBxv5EnPU+YVQ3KUqTi7iXQI8Yks3ZT2FnJVxt56KiMcAhfUQQRgSU4wm13JXuLnk 7qp9VsGhH1nvVUqrzaD2cYMj5KTOz/XdszVYl2kW6zPDXcVhKQIRDZwsnvHgGb+Kna xjeRb/HbKXVUocoHFjaeGgJv/cV10FK3Syc5pArw= X-Riseup-User-ID: 5611F550887611AE12FE2976FAD4A03FFFF4409B0D3B90163E410A633750744C Original-Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4Dr9Qt1msRz5vZN for <46888@debbugs.gnu.org>; Wed, 3 Mar 2021 02:36:37 -0800 (PST) In-reply-to: <83im68680o.fsf@gnu.org> 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:201271 Archived-At: Eli Zaretskii writes: >> From: marmot-te >> Date: Wed, 03 Mar 2021 05:50:55 +0000 >> >> $ emacs -Q >> >> in scratch buffer : >> >> (org-mode) >> >> after-save-hook >> ;; => (rmail-after-save-hook) >> >> >> I found this rather confusing because I cannot find any >> reference >> in org files to this or vis-versa. > > This happens because turning on Org mode runs > org-load-modules-maybe, > which by default loads ol-gnus, which loads gnus-util, which > loads > rmail. And loading rmail unconditionally adds > rmail-after-save-hook > to after-save-hook. > > Does this produce any problems in practice? None. Sorry for the inconvenience. > Alternatively, you could customize org-modules to > exclude ol-gnus and ol-rmail, if you don't need that in your Org > related workflows. Thank you for the detailled answer. Have a nice day