unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Leo <sdl.web@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: How to debug this problem?
Date: Wed, 09 Sep 2009 10:26:56 -0400	[thread overview]
Message-ID: <jwvhbvcqjsi.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <xbaibplkzd56.fsf@cam.ac.uk> (Leo's message of "Wed, 09 Sep 2009 10:21:57 +0100")

> A wild guess might be it is a bug in the ns port.

Could be, but it seems rather unlikely.

>> M-: (format-mode-line minor-mode-alist) RET
> With overwrite-mode enabled, that returns:
> " Paredit" in the scratch buffer.

This code should be pretty much 100% platform independent.
So, please do M-x ielm
and then in this read-eval-print interactive loop, make sure
overwrite-mode is not nil, and then play around with

  (format-mode-line minor-mode-alist)

e.g. start with

  (format-mode-line '((overwrite-mode overwrite-mode)))

and if this one returns " Ovwrt" as it should, then add elements from
minor-mode-alist little by little (ideally, using a bisection-search, aka
binary-search) until you find what gets in the way.


        Stefan




  reply	other threads:[~2009-09-09 14:26 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-13 15:08 How to debug this problem? Leo
2009-09-04  2:15 ` Stefan Monnier
2009-09-04  8:24   ` Leo
2009-09-04 17:36     ` Stefan Monnier
2009-09-05  0:10       ` Leo
2009-09-08 16:03         ` Stefan Monnier
2009-09-08 21:28           ` Leo
2009-09-09  3:08             ` Stefan Monnier
2009-09-09  9:21               ` Leo
2009-09-09 14:26                 ` Stefan Monnier [this message]
2009-09-09 18:54                   ` Leo
2009-09-10  3:21                     ` Stefan Monnier
2009-09-10  9:21                       ` Leo
2009-09-10 15:00                       ` Richard Stallman
2009-09-11 16:46                         ` Andreas Schwab
2009-09-11 21:01                           ` Richard Stallman

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=jwvhbvcqjsi.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=sdl.web@gmail.com \
    /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).