From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.devel Subject: Foo Mode enabled Date: Fri, 06 May 2005 14:42:20 +0300 Message-ID: <01c55230$Blat.v2.4$cf120660@zahav.net.il> Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1115388655 26274 80.91.229.2 (6 May 2005 14:10:55 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 6 May 2005 14:10:55 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 06 16:10:52 2005 Return-path: Original-Received: from mail-relay.eunet.no ([193.71.71.242]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DU3Vp-0004lf-Sy for ged-emacs-devel@gmane.org; Fri, 06 May 2005 16:09:06 +0200 Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by mail-relay.eunet.no (8.13.1/8.13.1/GN) with ESMTP id j46EFt4j062825 for ; Fri, 6 May 2005 16:15:56 +0200 (CEST) (envelope-from emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org) Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DU3dY-0005XK-Ow for ged-emacs-devel@m.gmane.org; Fri, 06 May 2005 10:17:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DU1Ia-0006yB-Fs for emacs-devel@gnu.org; Fri, 06 May 2005 07:47:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DU1Hv-0006VL-EC for emacs-devel@gnu.org; Fri, 06 May 2005 07:46:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DU1HW-0006D2-8K for emacs-devel@gnu.org; Fri, 06 May 2005 07:46:10 -0400 Original-Received: from [192.114.186.66] (helo=romy.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DU1LX-0007te-Sb for emacs-devel@gnu.org; Fri, 06 May 2005 07:50:20 -0400 Original-Received: from zaretski (IGLD-83-130-245-224.inter.net.il [83.130.245.224]) by romy.inter.net.il (MOS 3.5.6-GR) with ESMTP id BDR32003 (AUTH halo1); Fri, 6 May 2005 14:44:51 +0300 (IDT) Original-To: emacs-devel@gnu.org X-Mailer: emacs 22.0.50 (via feedmail 8 I) and Blat ver 2.4 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:36755 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36755 If a minor mode is defined via define-minor-mode, then the status message "FOO Mode enabled" is not displayed if toggling the mode autoloads some package. This happens because define-minor-mode has this fragment: (if (called-interactively-p) (progn ,(if globalp `(customize-mark-as-set ',mode)) (unless (current-message) (message ,(format "%s %%sabled" pretty-name) (if ,mode "en" "dis"))))) I understand why this is done, but the latest changes that introduced jka-cmpr-hook.el and rearranged the way auto-compression-mode is loaded cause a minor misfeature due to this: if you start Emacs and type "M-x auto-compression-mode RET", you will not see the message telling you that Auto-Compression mode disabled". I'm not sure what would be the best way to fix it. It is easy to fix this for jka-compr alone, but the questions is, should easy-mmode.el do something differently in the above fragment (like perhaps not do this for messages which announce loading of packages).