GNU bug report logs - #5153
23.1.50; define-global-minor-mode and a new fundamental buffer

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Kenichi Handa <handa <at> m17n.org>; Keywords: wontfix; merged with #4887; dated Tue, 8 Dec 2009 05:50:05 UTC; Maintainer for emacs is bug-gnu-emacs <at> gnu.org.
Added tag(s) wontfix. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. Full text available.

Message received at 5153 <at> emacsbugs.donarmstrong.com:


Received: (at 5153) by emacsbugs.donarmstrong.com; 9 Dec 2009 01:29:21 +0000
From handa <at> m17n.org Tue Dec  8 17:29:21 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=-2.3 required=4.0 tests=AWL,FVGT_m_MULTI_ODD,
	HAS_BUG_NUMBER,IMPRONONCABLE_2,SPF_HELO_PASS autolearn=ham
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB91TJh2030916
	for <5153 <at> emacsbugs.donarmstrong.com>; Tue, 8 Dec 2009 17:29:20 -0800
Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123])
	by mx1.aist.go.jp  with ESMTP id nB91TIDZ013942;
	Wed, 9 Dec 2009 10:29:18 +0900 (JST)
	env-from (handa <at> m17n.org)
Received: from smtp4.aist.go.jp
	by rqsmtp2.aist.go.jp  with ESMTP id nB91TIYF026003;
	Wed, 9 Dec 2009 10:29:18 +0900 (JST)
	env-from (handa <at> m17n.org)
Received: 
	by smtp4.aist.go.jp  with ESMTP id nB91THCN016085;
	Wed, 9 Dec 2009 10:29:17 +0900 (JST)
	env-from (handa <at> m17n.org)
Received: from handa by etlken with local (Exim 4.69)
	(envelope-from <handa <at> m17n.org>)
	id 1NIBMj-0004yk-7B; Wed, 09 Dec 2009 10:29:17 +0900
From: Kenichi Handa <handa <at> m17n.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 5153 <at> debbugs.gnu.org, emacs-pretest-bug <at> gnu.org
Subject: Re: bug#5153: 23.1.50; define-global-minor-mode and a new fundamental buffer
In-Reply-To: <jwvr5r5fu9v.fsf-monnier+emacsbugreports <at> gnu.org> (message from Stefan Monnier on Tue, 08 Dec 2009 08:53:55 -0500)
References: <tl77hsyf2ch.fsf <at> m17n.org> <jwvr5r5fu9v.fsf-monnier+emacsbugreports <at> gnu.org>
Date: Wed, 09 Dec 2009 10:29:17 +0900
Message-ID: <tl7k4wxdjf6.fsf <at> m17n.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

In article <jwvr5r5fu9v.fsf-monnier+emacsbugreports <at> gnu.org>, Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> > It seems that the global minor mode defined by
> > define-global-minor-mode doesn't work in a newly created
> > buffer of fundamental mode.

> > Isn't this a bug?

> I think it's not, tho it's obviously a misfeature.  I think the best
> answer is to say that a buffer that is intended to be displayed to the
> user should call a major-mode function.  If there's no specific
> major-mode for it, it should call fundamental-mode.

Ok, I see.  I wrote that to the bug list of gettext/po-mode.el.

---
Kenichi Handa
handa <at> m17n.org



Acknowledgement sent to Kenichi Handa <handa <at> m17n.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text available.
Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5153; Package emacs. Full text available.

Message received at submit <at> emacsbugs.donarmstrong.com:


Received: (at submit) by emacsbugs.donarmstrong.com; 9 Dec 2009 01:29:28 +0000
From handa <at> m17n.org Tue Dec  8 17:29:28 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=-2.3 required=4.0 tests=AWL,FVGT_m_MULTI_ODD,
	HAS_BUG_NUMBER,IMPRONONCABLE_2 autolearn=unavailable
	version=3.2.5-bugs.debian.org_2005_01_02
Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB91TQ1E030931
	for <submit <at> emacsbugs.donarmstrong.com>; Tue, 8 Dec 2009 17:29:28 -0800
Received: from mail.gnu.org ([199.232.76.166]:45322 helo=mx10.gnu.org)
	by fencepost.gnu.org with esmtp (Exim 4.67)
	(envelope-from <handa <at> m17n.org>)
	id 1NIBMs-0001JA-DB
	for emacs-pretest-bug <at> gnu.org; Tue, 08 Dec 2009 20:29:26 -0500
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60)
	(envelope-from <handa <at> m17n.org>)
	id 1NIBMr-0000II-9g
	for emacs-pretest-bug <at> gnu.org; Tue, 08 Dec 2009 20:29:26 -0500
Received: from mx1.aist.go.jp ([150.29.246.133]:60814)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <handa <at> m17n.org>)
	id 1NIBMq-0000I4-N3
	for emacs-pretest-bug <at> gnu.org; Tue, 08 Dec 2009 20:29:25 -0500
Received: from rqsmtp2.aist.go.jp (rqsmtp2.aist.go.jp [150.29.254.123])
	by mx1.aist.go.jp  with ESMTP id nB91TIDZ013942;
	Wed, 9 Dec 2009 10:29:18 +0900 (JST)
	env-from (handa <at> m17n.org)
Received: from smtp4.aist.go.jp
	by rqsmtp2.aist.go.jp  with ESMTP id nB91TIYF026003;
	Wed, 9 Dec 2009 10:29:18 +0900 (JST)
	env-from (handa <at> m17n.org)
Received: 
	by smtp4.aist.go.jp  with ESMTP id nB91THCN016085;
	Wed, 9 Dec 2009 10:29:17 +0900 (JST)
	env-from (handa <at> m17n.org)
Received: from handa by etlken with local (Exim 4.69)
	(envelope-from <handa <at> m17n.org>)
	id 1NIBMj-0004yk-7B; Wed, 09 Dec 2009 10:29:17 +0900
From: Kenichi Handa <handa <at> m17n.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 5153 <at> debbugs.gnu.org, emacs-pretest-bug <at> gnu.org
Subject: Re: bug#5153: 23.1.50; define-global-minor-mode and a new fundamental buffer
In-Reply-To: <jwvr5r5fu9v.fsf-monnier+emacsbugreports <at> gnu.org> (message from Stefan Monnier on Tue, 08 Dec 2009 08:53:55 -0500)
References: <tl77hsyf2ch.fsf <at> m17n.org> <jwvr5r5fu9v.fsf-monnier+emacsbugreports <at> gnu.org>
Date: Wed, 09 Dec 2009 10:29:17 +0900
Message-ID: <tl7k4wxdjf6.fsf <at> m17n.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-detected-operating-system: by monty-python.gnu.org: Solaris 9

In article <jwvr5r5fu9v.fsf-monnier+emacsbugreports <at> gnu.org>, Stefan Monnier <monnier <at> iro.umontreal.ca> writes:

> > It seems that the global minor mode defined by
> > define-global-minor-mode doesn't work in a newly created
> > buffer of fundamental mode.

> > Isn't this a bug?

> I think it's not, tho it's obviously a misfeature.  I think the best
> answer is to say that a buffer that is intended to be displayed to the
> user should call a major-mode function.  If there's no specific
> major-mode for it, it should call fundamental-mode.

Ok, I see.  I wrote that to the bug list of gettext/po-mode.el.

---
Kenichi Handa
handa <at> m17n.org



Acknowledgement sent to Kenichi Handa <handa <at> m17n.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text available.
Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5153; Package emacs. Full text available.

Message received at 5153 <at> emacsbugs.donarmstrong.com:


Received: (at 5153) by emacsbugs.donarmstrong.com; 8 Dec 2009 13:54:02 +0000
From monnier <at> iro.umontreal.ca Tue Dec  8 05:54:02 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=-3.5 required=4.0 tests=AWL,HAS_BUG_NUMBER
	autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02
Received: from ironport2-out.pppoe.ca (ironport2-out.teksavvy.com [206.248.154.181])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB8Ds1cB018427
	for <5153 <at> emacsbugs.donarmstrong.com>; Tue, 8 Dec 2009 05:54:02 -0800
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ao4FAEfpHUvO+INN/2dsb2JhbACBTNZRhDIEih8
X-IronPort-AV: E=Sophos;i="4.47,362,1257138000"; 
   d="scan'208";a="50986662"
Received: from 206-248-131-77.dsl.teksavvy.com (HELO pastel.home) ([206.248.131.77])
  by ironport2-out.pppoe.ca with ESMTP; 08 Dec 2009 08:53:55 -0500
Received: by pastel.home (Postfix, from userid 20848)
	id 65B7980B4; Tue,  8 Dec 2009 08:53:55 -0500 (EST)
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Kenichi Handa <handa <at> m17n.org>
Cc: 5153 <at> debbugs.gnu.org, emacs-pretest-bug <at> gnu.org
Subject: Re: bug#5153: 23.1.50; define-global-minor-mode and a new fundamental buffer
Message-ID: <jwvr5r5fu9v.fsf-monnier+emacsbugreports <at> gnu.org>
References: <tl77hsyf2ch.fsf <at> m17n.org>
Date: Tue, 08 Dec 2009 08:53:55 -0500
In-Reply-To: <tl77hsyf2ch.fsf <at> m17n.org> (Kenichi Handa's message of "Tue, 08
	Dec 2009 14:42:54 +0900")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

> It seems that the global minor mode defined by
> define-global-minor-mode doesn't work in a newly created
> buffer of fundamental mode.

> Isn't this a bug?

I think it's not, tho it's obviously a misfeature.  I think the best
answer is to say that a buffer that is intended to be displayed to the
user should call a major-mode function.  If there's no specific
major-mode for it, it should call fundamental-mode.


        Stefan



Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text available.
Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5153; Package emacs. Full text available.

Message received at submit <at> emacsbugs.donarmstrong.com:


Received: (at submit) by emacsbugs.donarmstrong.com; 8 Dec 2009 13:53:59 +0000
From monnier <at> iro.umontreal.ca Tue Dec  8 05:53:59 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=-3.5 required=4.0 tests=AWL,HAS_BUG_NUMBER
	autolearn=unavailable version=3.2.5-bugs.debian.org_2005_01_02
Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB8DrvG2018431
	for <submit <at> emacsbugs.donarmstrong.com>; Tue, 8 Dec 2009 05:53:59 -0800
Received: from mx10.gnu.org ([199.232.76.166]:46386)
	by fencepost.gnu.org with esmtp (Exim 4.67)
	(envelope-from <monnier <at> iro.umontreal.ca>)
	id 1NI0Vp-0000un-7c
	for emacs-pretest-bug <at> gnu.org; Tue, 08 Dec 2009 08:53:57 -0500
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60)
	(envelope-from <monnier <at> iro.umontreal.ca>)
	id 1NI0Vo-0000oZ-Ix
	for emacs-pretest-bug <at> gnu.org; Tue, 08 Dec 2009 08:53:57 -0500
Received: from ironport2-out.teksavvy.com ([206.248.154.181]:24485 helo=ironport2-out.pppoe.ca)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <monnier <at> iro.umontreal.ca>)
	id 1NI0Vo-0000oT-Bx
	for emacs-pretest-bug <at> gnu.org; Tue, 08 Dec 2009 08:53:56 -0500
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ao4FAEfpHUvO+INN/2dsb2JhbACBTNZRhDIEih8
X-IronPort-AV: E=Sophos;i="4.47,362,1257138000"; 
   d="scan'208";a="50986662"
Received: from 206-248-131-77.dsl.teksavvy.com (HELO pastel.home) ([206.248.131.77])
  by ironport2-out.pppoe.ca with ESMTP; 08 Dec 2009 08:53:55 -0500
Received: by pastel.home (Postfix, from userid 20848)
	id 65B7980B4; Tue,  8 Dec 2009 08:53:55 -0500 (EST)
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Kenichi Handa <handa <at> m17n.org>
Cc: 5153 <at> debbugs.gnu.org, emacs-pretest-bug <at> gnu.org
Subject: Re: bug#5153: 23.1.50; define-global-minor-mode and a new fundamental buffer
Message-ID: <jwvr5r5fu9v.fsf-monnier+emacsbugreports <at> gnu.org>
References: <tl77hsyf2ch.fsf <at> m17n.org>
Date: Tue, 08 Dec 2009 08:53:55 -0500
In-Reply-To: <tl77hsyf2ch.fsf <at> m17n.org> (Kenichi Handa's message of "Tue, 08
	Dec 2009 14:42:54 +0900")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized.
X-CrossAssassin-Score: 2

> It seems that the global minor mode defined by
> define-global-minor-mode doesn't work in a newly created
> buffer of fundamental mode.

> Isn't this a bug?

I think it's not, tho it's obviously a misfeature.  I think the best
answer is to say that a buffer that is intended to be displayed to the
user should call a major-mode function.  If there's no specific
major-mode for it, it should call fundamental-mode.


        Stefan



Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text available.
Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5153; Package emacs. Full text available.

Message received at 5153 <at> emacsbugs.donarmstrong.com:


Received: (at 5153) by emacsbugs.donarmstrong.com; 8 Dec 2009 11:07:22 +0000
From handa <at> m17n.org Tue Dec  8 03:07:22 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=-2.9 required=4.0 tests=AWL,HAS_BUG_NUMBER,
	SPF_HELO_PASS autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02
Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB8B7K2n002517
	for <5153 <at> emacsbugs.donarmstrong.com>; Tue, 8 Dec 2009 03:07:22 -0800
Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115])
	by mx1.aist.go.jp  with ESMTP id nB8B7IwN006642;
	Tue, 8 Dec 2009 20:07:19 +0900 (JST)
	env-from (handa <at> m17n.org)
Received: from smtp1.aist.go.jp
	by rqsmtp1.aist.go.jp  with ESMTP id nB8B7IRw029056;
	Tue, 8 Dec 2009 20:07:18 +0900 (JST)
	env-from (handa <at> m17n.org)
Received: 
	by smtp1.aist.go.jp  with ESMTP id nB8B7I8w017190;
	Tue, 8 Dec 2009 20:07:18 +0900 (JST)
	env-from (handa <at> m17n.org)
Received: from handa by etlken with local (Exim 4.69)
	(envelope-from <handa <at> m17n.org>)
	id 1NHxuY-0004Y4-5L; Tue, 08 Dec 2009 20:07:18 +0900
From: Kenichi Handa <handa <at> m17n.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 5153 <at> debbugs.gnu.org
Subject: Re: bug#5153: 23.1.50; define-global-minor-mode and a new fundamental buffer
In-Reply-To: <19230.3985.532127.299876 <at> fencepost.gnu.org> (message from Glenn Morris on Tue, 8 Dec 2009 03:34:25 -0500)
References: <tl77hsyf2ch.fsf <at> m17n.org>
	<l47hsyexwd.fsf <at> fencepost.gnu.org>
	<tl71vj5ga6r.fsf <at> m17n.org> <19230.3985.532127.299876 <at> fencepost.gnu.org>
Date: Tue, 08 Dec 2009 20:07:18 +0900
Message-ID: <tl7y6ldenbt.fsf <at> m17n.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

In article <19230.3985.532127.299876 <at> fencepost.gnu.org>, Glenn Morris <rgm <at> gnu.org> writes:

> > Do you know the rationale of this name change? The docstring and
> > info still uses the word "global" instead of "globalized".

> I didn't bother to read the discussion:

> http://lists.gnu.org/archive/html/emacs-devel/2006-12/msg01298.html
> http://lists.gnu.org/archive/html/emacs-devel/2007-01/msg00841.html

Thank you for the links.

---
Kenichi Handa
handa <at> m17n.org



Acknowledgement sent to Kenichi Handa <handa <at> m17n.org>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text available.
Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5153; Package emacs. Full text available.

Message received at 5153 <at> emacsbugs.donarmstrong.com:


Received: (at 5153) by emacsbugs.donarmstrong.com; 8 Dec 2009 08:34:28 +0000
From rgm <at> gnu.org Tue Dec  8 00:34:28 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=-7.1 required=4.0 tests=AWL,HAS_BUG_NUMBER,
	X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02
Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB88YQAZ019957
	for <5153 <at> emacsbugs.donarmstrong.com>; Tue, 8 Dec 2009 00:34:28 -0800
Received: from rgm by fencepost.gnu.org with local (Exim 4.67)
	(envelope-from <rgm <at> gnu.org>)
	id 1NHvWb-00081E-Ja; Tue, 08 Dec 2009 03:34:25 -0500
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <19230.3985.532127.299876 <at> fencepost.gnu.org>
Date: Tue, 8 Dec 2009 03:34:25 -0500
From: Glenn Morris <rgm <at> gnu.org>
To: Kenichi Handa <handa <at> m17n.org>
cc: 5153 <at> debbugs.gnu.org
Subject: Re: bug#5153: 23.1.50; define-global-minor-mode and a new fundamental buffer
In-Reply-To: <tl71vj5ga6r.fsf <at> m17n.org>
References: <tl77hsyf2ch.fsf <at> m17n.org>
	<l47hsyexwd.fsf <at> fencepost.gnu.org>
	<tl71vj5ga6r.fsf <at> m17n.org>
X-Debbugs-No-Ack: yes
X-Attribution: GM
X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs)
X-Hue: yellow
X-Ran: h.mx~2$d3>purhX*TDa6+U!|~ZW[T[WN|O0@.I1 <at> b!Md"0'dQbx{y5k<Phw!nRnxJ#_KDd


Kenichi Handa wrote (on Tue, 8 Dec 2009 at 17:08 +0900):

> > Yes, it's bug#4887: "globalized-minor-modes in new fundamental mode
> > buffers".
> 
> Ah, thank you for letting me know about it. I didn't notice it
> because I just searched for the word "global-minor-mode". First of
> all, I didn't notice that define-global-minor-mode has been renamed.
> :-(
> 
> Do you know the rationale of this name change? The docstring and
> info still uses the word "global" instead of "globalized".

I didn't bother to read the discussion:

http://lists.gnu.org/archive/html/emacs-devel/2006-12/msg01298.html
http://lists.gnu.org/archive/html/emacs-devel/2007-01/msg00841.html



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5153; Package emacs. Full text available.
Merged 4887 5153. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. Full text available.

Message received at 5153 <at> emacsbugs.donarmstrong.com:


Received: (at 5153) by emacsbugs.donarmstrong.com; 8 Dec 2009 07:19:04 +0000
From rgm <at> gnu.org Mon Dec  7 23:19:03 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=-7.1 required=4.0 tests=AWL,HAS_BUG_NUMBER,
	X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02
Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB87J2iN011997;
	Mon, 7 Dec 2009 23:19:03 -0800
Received: from rgm by fencepost.gnu.org with local (Exim 4.67)
	(envelope-from <rgm <at> gnu.org>)
	id 1NHuLb-0006sn-3D; Tue, 08 Dec 2009 02:18:59 -0500
From: Glenn Morris <rgm <at> gnu.org>
To: Kenichi Handa <handa <at> m17n.org>
Cc: 5153 <at> debbugs.gnu.org
Subject: Re: bug#5153: 23.1.50; define-global-minor-mode and a new fundamental buffer
References: <tl77hsyf2ch.fsf <at> m17n.org>
X-Spook: Lon Horiuchi Al Jazeera underground MP5K-SD Attorney
X-Ran: HHvs>%zDntdaFQeBkbG0O$\WJPs7Ix9<'gU2-O]6S7vb7NvTiK5Dr,yX(u>?4%X)ta2KyV
X-Hue: white
X-Debbugs-No-Ack: yes
X-Attribution: GM
Date: Tue, 08 Dec 2009 02:18:58 -0500
In-Reply-To: <tl77hsyf2ch.fsf <at> m17n.org> (Kenichi Handa's message of "Tue, 08
	Dec 2009 14:42:54 +0900")
Message-ID: <l47hsyexwd.fsf <at> fencepost.gnu.org>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

merge 4887 5153
stop

Kenichi Handa wrote:

> It seems that the global minor mode defined by
> define-global-minor-mode doesn't work in a newly created buffer of
> fundamental mode.
[...]
> Isn't this a bug?

Yes, it's bug#4887: "globalized-minor-modes in new fundamental mode
buffers".



Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5153; Package emacs. Full text available.

Message received at submit <at> emacsbugs.donarmstrong.com:


Received: (at submit) by emacsbugs.donarmstrong.com; 8 Dec 2009 05:43:06 +0000
From handa <at> m17n.org Mon Dec  7 21:43:05 2009
X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02
	(2008-06-10) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available.
	hammytokens:Tokens not available.
X-Spam-Status: No, score=-1.3 required=4.0 tests=AWL,FOURLA,MURPHY_DRUGS_REL8
	autolearn=no version=3.2.5-bugs.debian.org_2005_01_02
Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10])
	by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB85h4Rt001573
	for <submit <at> emacsbugs.donarmstrong.com>; Mon, 7 Dec 2009 21:43:05 -0800
Received: from mail.gnu.org ([199.232.76.166]:51953 helo=mx10.gnu.org)
	by fencepost.gnu.org with esmtp (Exim 4.67)
	(envelope-from <handa <at> m17n.org>)
	id 1NHsql-0005Yo-6v
	for emacs-pretest-bug <at> gnu.org; Tue, 08 Dec 2009 00:43:03 -0500
Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60)
	(envelope-from <handa <at> m17n.org>)
	id 1NHsqh-0000sg-CU
	for emacs-pretest-bug <at> gnu.org; Tue, 08 Dec 2009 00:43:02 -0500
Received: from mx1.aist.go.jp ([150.29.246.133]:34756)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <handa <at> m17n.org>)
	id 1NHsqg-0000sa-Ma
	for emacs-pretest-bug <at> gnu.org; Tue, 08 Dec 2009 00:42:59 -0500
Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115])
	by mx1.aist.go.jp  with ESMTP id nB85gtLN014632
	for <emacs-pretest-bug <at> gnu.org>; Tue, 8 Dec 2009 14:42:55 +0900 (JST)
	env-from (handa <at> m17n.org)
Received: from smtp3.aist.go.jp
	by rqsmtp1.aist.go.jp  with ESMTP id nB85gto2002127
	for <emacs-pretest-bug <at> gnu.org>; Tue, 8 Dec 2009 14:42:55 +0900 (JST)
	env-from (handa <at> m17n.org)
Received: 
	by smtp3.aist.go.jp  with ESMTP id nB85gsgG027062
	for <emacs-pretest-bug <at> gnu.org>; Tue, 8 Dec 2009 14:42:54 +0900 (JST)
	env-from (handa <at> m17n.org)
Received: from handa by etlken with local (Exim 4.69)
	(envelope-from <handa <at> m17n.org>)
	id 1NHsqc-0001Nr-Pa
	for emacs-pretest-bug <at> gnu.org; Tue, 08 Dec 2009 14:42:54 +0900
From: Kenichi Handa <handa <at> m17n.org>
To: emacs-pretest-bug <at> gnu.org
Subject: 23.1.50; define-global-minor-mode and a new fundamental buffer
Date: Tue, 08 Dec 2009 14:42:54 +0900
Message-ID: <tl77hsyf2ch.fsf <at> m17n.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-detected-operating-system: by monty-python.gnu.org: Solaris 9

It seems that the global minor mode defined by
define-global-minor-mode doesn't work in a newly created
buffer of fundamental mode.  Currently
global-auto-composition-mode is defined as this:

(define-global-minor-mode global-auto-composition-mode
  auto-composition-mode turn-on-auto-composition-if-enabled
  ;; This :extra-args' appears to be the result of a naive copy&paste
  ;; from global-font-lock-mode.
  ;; :extra-args (dummy)
  :initialize 'custom-initialize-delay
  :init-value (not noninteractive)
  :group 'auto-composition
  :version "23.1")

When I create a new buffer by C-x b temp RET,
auto-composition-mode is not turned on in the "temp" buffer.
When I do M-x fundatmenta-mode RET in that buffer,
auto-composition-mode is turned on.

Isn't this a bug?

---
Kenichi Handa
handa <at> m17n.org


If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
/usr/local/work/emacs/etc/DEBUG.


In GNU Emacs 23.1.50.11 (i686-pc-linux-gnu, GTK+ Version 2.16.1)
 of 2009-12-02 on etlken
Windowing system distributor `The X.Org Foundation', version 11.0.10600000
configured using `configure  'CFLAGS=-g''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ja_JP.UTF-8
  value of $XMODIFIERS: @im=SCIM
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: C/l

Minor modes in effect:
  diff-auto-refine-mode: t
  shell-dirtrack-mode: t
  display-time-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  abbrev-mode: t

Recent input:
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-o C-o 
B y SPC t h e SPC w a y , SPC I SPC d o n ' t SPC k 
n o w SPC w h y SPC a u t o M-/ SPC i s SPC n o t SPC 
t u r n e d SPC o n SPC e v e n M-b i n SPC t h a t 
SPC b u f f e r SPC C-e SPC i f SPC g l o b a l - a 
u t o - c o m p p o s <backspace> <backspace> <backspace> 
o s i t i o n SPC <backspace> - m o d e SPC i s SPC 
o n . SPC SPC I ' l l SPC f i l e SPC a n o t h e r 
SPC b u g SPC r e p r o t <backspace> <backspace> <backspace> 
r <backspace> o r t . <escape> q <escape> < C-c C-c 
C-x b <return> C-p C-p C-p C-f C-SPC M-f M-f M-f M-f 
<escape> w <escape> x r e p o r t <tab> <return> C-y 
SPC d o e s n ' t SPC w o r k SPC i n SPC a SPC n e 
w SPC f u n d a m e n t a l SPC b u f f e r M-b M-b 
M-b M-b M-b M-b M-b M-b M-d M-d M-d M-d a n d C-e <return> 
<escape> x l o a d SPC l i SPC <return> s e n d m a 
i l <return> C-x k <return> y e s <return> M-x r e 
p o r t SPC e m <tab> <return>

Recent messages:
Mark set [2 times]
Mark saved where search started
Quit [2 times]
Mark set [2 times]
Sending...
Sending via mail...
Sending...done
Mark set
report-emacs-bug: Invalid byte code in /usr/local/work/emacs/lisp/mail/sendmail.elc
Loading sendmail...done

Load-path shadows:
/usr/local/share/emacs/site-lisp/ndspell hides /usr/local/share/emacs/site-lisp/lookup/ndspell
/usr/local/share/emacs/site-lisp/ndeb hides /usr/local/share/emacs/site-lisp/lookup/ndeb
/usr/local/share/emacs/site-lisp/ndtp hides /usr/local/share/emacs/site-lisp/lookup/ndtp
/usr/local/share/emacs/site-lisp/sdicf hides /usr/local/share/emacs/site-lisp/lookup/sdicf
/usr/local/share/emacs/site-lisp/lookup hides /usr/local/share/emacs/site-lisp/lookup/lookup
/usr/local/share/emacs/site-lisp/ndkks hides /usr/local/share/emacs/site-lisp/lookup/ndkks
/usr/local/share/emacs/site-lisp/ndict hides /usr/local/share/emacs/site-lisp/lookup/ndict
/usr/local/share/emacs/site-lisp/ndcookie hides /usr/local/share/emacs/site-lisp/lookup/ndcookie
/usr/local/share/emacs/site-lisp/stem-english hides /usr/local/share/emacs/site-lisp/lookup/stem-english
/usr/local/share/emacs/site-lisp/ndsrd hides /usr/local/share/emacs/site-lisp/lookup/ndsrd
/usr/local/share/emacs/site-lisp/lookup-utils hides /usr/local/share/emacs/site-lisp/lookup/lookup-utils
/usr/local/share/emacs/site-lisp/lookup-vars hides /usr/local/share/emacs/site-lisp/lookup/lookup-vars
/usr/local/share/emacs/site-lisp/lookup-types hides /usr/local/share/emacs/site-lisp/lookup/lookup-types
/usr/local/share/emacs/site-lisp/ndic hides /usr/local/share/emacs/site-lisp/lookup/ndic
/usr/local/share/emacs/site-lisp/lookup-select hides /usr/local/share/emacs/site-lisp/lookup/lookup-select
/usr/local/share/emacs/site-lisp/lookup-content hides /usr/local/share/emacs/site-lisp/lookup/lookup-content
/usr/local/share/emacs/site-lisp/rmail-mime/mime/pgg-pgp5 hides /usr/local/work/emacs/lisp/pgg-pgp5
/usr/local/share/emacs/site-lisp/rmail-mime/mime/pgg-def hides /usr/local/work/emacs/lisp/pgg-def
/usr/local/share/emacs/site-lisp/rmail-mime/mime/pgg-parse hides /usr/local/work/emacs/lisp/pgg-parse
/usr/local/share/emacs/site-lisp/rmail-mime/mime/pgg-pgp hides /usr/local/work/emacs/lisp/pgg-pgp
/usr/local/share/emacs/site-lisp/rmail-mime/mime/pgg hides /usr/local/work/emacs/lisp/pgg
/usr/local/share/emacs/site-lisp/rmail-mime/mail/sha1 hides /usr/local/work/emacs/lisp/sha1
/usr/local/share/emacs/site-lisp/rmail-mime/mail/hex-util hides /usr/local/work/emacs/lisp/hex-util
/usr/local/share/emacs/site-lisp/rmail-mime/mime/pgg-gpg hides /usr/local/work/emacs/lisp/pgg-gpg
/usr/local/work/emacs/lisp/subword hides /usr/local/work/emacs/lisp/progmodes/subword
~/gud/gud hides /usr/local/work/emacs/lisp/progmodes/gud
/usr/local/share/emacs/site-lisp/rmail-mime/mail/sasl-digest hides /usr/local/work/emacs/lisp/net/sasl-digest
/usr/local/share/emacs/site-lisp/rmail-mime/mail/hmac-md5 hides /usr/local/work/emacs/lisp/net/hmac-md5
/usr/local/share/emacs/site-lisp/rmail-mime/mail/sasl hides /usr/local/work/emacs/lisp/net/sasl
/usr/local/share/emacs/site-lisp/rmail-mime/mail/sasl-cram hides /usr/local/work/emacs/lisp/net/sasl-cram
/usr/local/share/emacs/site-lisp/rmail-mime/mail/hmac-def hides /usr/local/work/emacs/lisp/net/hmac-def
/usr/local/share/emacs/site-lisp/rmail-mime/mail/feedmail hides /usr/local/work/emacs/lisp/mail/feedmail
/usr/local/share/emacs/site-lisp/rmail-mime/mail/smtpmail hides /usr/local/work/emacs/lisp/mail/smtpmail
/usr/local/share/emacs/site-lisp/rmail-mime/mime/smime hides /usr/local/work/emacs/lisp/gnus/smime
/usr/local/work/emacs/lisp/progmodes/sym-comp hides /usr/local/work/emacs/lisp/obsolete/sym-comp
/usr/local/work/emacs/lisp/language/thai-word hides ~/emacslisp/thai-word
/usr/local/work/emacs/lisp/textmodes/tex-mode hides ~/emacslisp/tex-mode
/usr/local/work/emacs/lisp/textmodes/table hides ~/emacslisp/table
/usr/local/work/emacs/lisp/emacs-lisp/syntax hides ~/emacslisp/syntax
/usr/local/work/emacs/lisp/progmodes/prolog hides ~/emacslisp/prolog

Features:
(shadow emacsbug newcomment cc-mode cc-fonts cc-menus
cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs
find-func warnings byte-opt bytecomp byte-compile cus-start
cus-load tar-mode log-edit pcvs-util ispell lookup-entry
lookup-content lookup-vse ndtp lookup lookup-types
lookup-utils lookup-vars evi evi-mule info pp add-log
make-mode vc vc-dispatcher diff-mode diff dabbrev help-fns
jka-compr apropos compile parse-time vc-cvs thingatpt
browse-url multi-isearch rmailmm gnus-msg gnus-art mm-uu
mml2015 epg-config mm-view smime mel mime-def alist mcharset
mcs-20 mcs-e20 path-util apel-ver product gnus-sum nnoo
gnus-group gnus-undo nnmail mail-source format-spec
gnus-start gnus-spec gnus-int gnus-range gnus-win gnus
gnus-ems sort etags supercite easy-mmode regi mail-extr
message ecomplete rfc822 mml mml-sec password-cache
mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231
mailabbrev nnheader gnus-util netrc gmm-utils wid-edit
mailheader canlock sha1 hex-util hashcash help-mode easymenu
view shell comint ring rmailkwd time sendmail regexp-opt
rmail-sa rmailsum rmail mail-utils rfc2047 rfc2045
ietf-drums time-date qp mm-util mail-prsvr japan-util
tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win
x-dnd font-setting tool-bar dnd fontset image fringe
lisp-mode register page menu-bar rfn-eshadow timer select
scroll-bar mldrag mouse jit-lock font-lock syntax facemenu
font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help
simple abbrev loaddefs button minibuffer faces cus-face
text-properties overlay md5 base64 format env code-pages
mule custom widget hashtable-print-readable backquote
make-network-process dbusbind font-render-setting gtk
x-toolkit x multi-tty emacs)



Acknowledgement sent to Kenichi Handa <handa <at> m17n.org>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text available.
Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#5153; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 20 Sep 2011 19:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.