all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Kenichi Handa <handa@m17n.org>
Cc: 5153@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org
Subject: bug#5153: 23.1.50; define-global-minor-mode and a new fundamental buffer
Date: Tue, 08 Dec 2009 08:53:55 -0500	[thread overview]
Message-ID: <jwvr5r5fu9v.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <tl77hsyf2ch.fsf@m17n.org> (Kenichi Handa's message of "Tue, 08 Dec 2009 14:42:54 +0900")

> 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





  parent reply	other threads:[~2009-12-08 13:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-08  5:42 bug#5153: 23.1.50; define-global-minor-mode and a new fundamental buffer Kenichi Handa
2009-12-08  7:18 ` Glenn Morris
2009-12-08  7:25   ` Processed: " Emacs bug Tracking System
     [not found]   ` <tl71vj5ga6r.fsf@m17n.org>
2009-12-08  8:34     ` Glenn Morris
2009-12-08 11:07       ` Kenichi Handa
2009-12-08 13:53 ` Stefan Monnier [this message]
2009-12-09  1:29   ` Kenichi Handa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvr5r5fu9v.fsf-monnier+emacsbugreports@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=5153@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=handa@m17n.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.