unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
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: Wed, 09 Dec 2009 10:29:17 +0900	[thread overview]
Message-ID: <tl7k4wxdjf6.fsf@m17n.org> (raw)
In-Reply-To: <jwvr5r5fu9v.fsf-monnier+emacsbugreports@gnu.org> (message from Stefan Monnier on Tue, 08 Dec 2009 08:53:55 -0500)

In article <jwvr5r5fu9v.fsf-monnier+emacsbugreports@gnu.org>, Stefan Monnier <monnier@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@m17n.org





      reply	other threads:[~2009-12-09  1:29 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
2009-12-09  1:29   ` Kenichi Handa [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=tl7k4wxdjf6.fsf@m17n.org \
    --to=handa@m17n.org \
    --cc=5153@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).