From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: How to debug this problem? Date: Wed, 09 Sep 2009 10:26:56 -0400 Message-ID: References: <20a0c1020909041710j216381cbj313e4400ce02a940@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1252506775 18639 80.91.229.12 (9 Sep 2009 14:32:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Sep 2009 14:32:55 +0000 (UTC) Cc: emacs-devel@gnu.org To: Leo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 09 16:32:48 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MlOE1-0000gq-M7 for ged-emacs-devel@m.gmane.org; Wed, 09 Sep 2009 16:32:46 +0200 Original-Received: from localhost ([127.0.0.1]:40781 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MlOE0-0001LV-Pr for ged-emacs-devel@m.gmane.org; Wed, 09 Sep 2009 10:32:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MlO8W-0005Jm-60 for emacs-devel@gnu.org; Wed, 09 Sep 2009 10:27:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MlO8Q-0005Ev-JX for emacs-devel@gnu.org; Wed, 09 Sep 2009 10:27:03 -0400 Original-Received: from [199.232.76.173] (port=59328 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MlO8Q-0005Ek-8u for emacs-devel@gnu.org; Wed, 09 Sep 2009 10:26:58 -0400 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]:26375 helo=ironport2-out.teksavvy.com) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MlO8P-0008Dt-RV for emacs-devel@gnu.org; Wed, 09 Sep 2009 10:26:58 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq4EAE9Yp0pFpZBe/2dsb2JhbACBU90vhBgFh20 X-IronPort-AV: E=Sophos;i="4.44,358,1249272000"; d="scan'208";a="45450772" Original-Received: from 69-165-144-94.dsl.teksavvy.com (HELO pastel.home) ([69.165.144.94]) by ironport2-out.teksavvy.com with ESMTP; 09 Sep 2009 10:25:29 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 8779D9410; Wed, 9 Sep 2009 10:26:56 -0400 (EDT) In-Reply-To: (Leo's message of "Wed, 09 Sep 2009 10:21:57 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:115166 Archived-At: > 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