From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#5153: 23.1.50; define-global-minor-mode and a new fundamental buffer Date: Tue, 08 Dec 2009 14:42:54 +0900 Message-ID: Reply-To: Kenichi Handa , 5153@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1260252478 14689 80.91.229.12 (8 Dec 2009 06:07:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Dec 2009 06:07:58 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 08 07:07:51 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NHtEe-0003zR-OK for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Dec 2009 07:07:46 +0100 Original-Received: from localhost ([127.0.0.1]:56383 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHtEe-0004bU-Gu for geb-bug-gnu-emacs@m.gmane.org; Tue, 08 Dec 2009 01:07:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NHtET-0004XH-T6 for bug-gnu-emacs@gnu.org; Tue, 08 Dec 2009 01:07:33 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NHtEP-0004R0-JN for bug-gnu-emacs@gnu.org; Tue, 08 Dec 2009 01:07:33 -0500 Original-Received: from [199.232.76.173] (port=33531 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHtEP-0004Qf-3n for bug-gnu-emacs@gnu.org; Tue, 08 Dec 2009 01:07:29 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:37117) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NHtEO-0003Tj-J6 for bug-gnu-emacs@gnu.org; Tue, 08 Dec 2009 01:07:29 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nB867Q5N004723; Mon, 7 Dec 2009 22:07:26 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nB85o5X2002280; Mon, 7 Dec 2009 21:50:05 -0800 Resent-Date: Mon, 7 Dec 2009 21:50:05 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Kenichi Handa Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Tue, 08 Dec 2009 05:50:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 5153 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12602509861576 (code B ref -1); Tue, 08 Dec 2009 05:50:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 8 Dec 2009 05:43:06 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-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 ; Mon, 7 Dec 2009 21:43:05 -0800 Original-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 ) id 1NHsql-0005Yo-6v for emacs-pretest-bug@gnu.org; Tue, 08 Dec 2009 00:43:03 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NHsqh-0000sg-CU for emacs-pretest-bug@gnu.org; Tue, 08 Dec 2009 00:43:02 -0500 Original-Received: from mx1.aist.go.jp ([150.29.246.133]:34756) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NHsqg-0000sa-Ma for emacs-pretest-bug@gnu.org; Tue, 08 Dec 2009 00:42:59 -0500 Original-Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id nB85gtLN014632 for ; Tue, 8 Dec 2009 14:42:55 +0900 (JST) env-from (handa@m17n.org) Original-Received: from smtp3.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id nB85gto2002127 for ; Tue, 8 Dec 2009 14:42:55 +0900 (JST) env-from (handa@m17n.org) Original-Received: by smtp3.aist.go.jp with ESMTP id nB85gsgG027062 for ; Tue, 8 Dec 2009 14:42:54 +0900 (JST) env-from (handa@m17n.org) Original-Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1NHsqc-0001Nr-Pa for emacs-pretest-bug@gnu.org; Tue, 08 Dec 2009 14:42:54 +0900 X-detected-operating-system: by monty-python.gnu.org: Solaris 9 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Tue, 08 Dec 2009 01:07:33 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:33397 gmane.emacs.pretest.bugs:25287 Archived-At: 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@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 o s i t i o n SPC - 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 r o r t . q < C-c C-c C-x b C-p C-p C-p C-f C-SPC M-f M-f M-f M-f w x r e p o r t 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 x l o a d SPC l i SPC s e n d m a i l C-x k y e s M-x r e p o r t SPC e m 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)