From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#4217: 23.1; probable mode-line bug Date: Tue, 25 Aug 2009 13:08:23 -0400 Message-ID: References: <77my5o8u9x.fsf@fencepost.gnu.org> <19091.24299.377086.91288@winooski.ccs.neu.edu> Reply-To: Glenn Morris , 4217@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 1251221237 2604 80.91.229.12 (25 Aug 2009 17:27:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Aug 2009 17:27:17 +0000 (UTC) Cc: 4217@emacsbugs.donarmstrong.com To: Eli Barzilay Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 25 19:27:10 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 1MfznY-0004kt-Ae for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Aug 2009 19:27:08 +0200 Original-Received: from localhost ([127.0.0.1]:51217 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfznX-0004dA-Ib for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Aug 2009 13:27:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MfznS-0004co-I8 for bug-gnu-emacs@gnu.org; Tue, 25 Aug 2009 13:27:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MfznN-0004br-9h for bug-gnu-emacs@gnu.org; Tue, 25 Aug 2009 13:27:01 -0400 Original-Received: from [199.232.76.173] (port=58168 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MfznM-0004bV-DO for bug-gnu-emacs@gnu.org; Tue, 25 Aug 2009 13:26:56 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:51445) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MfznL-0000JJ-L1 for bug-gnu-emacs@gnu.org; Tue, 25 Aug 2009 13:26:56 -0400 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 n7PHQqat031538; Tue, 25 Aug 2009 10:26:53 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7PHF5NK029807; Tue, 25 Aug 2009 10:15:05 -0700 Resent-Date: Tue, 25 Aug 2009 10:15:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Glenn Morris Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Tue, 25 Aug 2009 17:15:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4217 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4217-submit@emacsbugs.donarmstrong.com id=B4217.125122010628976 (code B ref 4217); Tue, 25 Aug 2009 17:15:05 +0000 Original-Received: (at 4217) by emacsbugs.donarmstrong.com; 25 Aug 2009 17:08:26 +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 n7PH8O41028973 for <4217@emacsbugs.donarmstrong.com>; Tue, 25 Aug 2009 10:08:25 -0700 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1MfzVP-0000Qr-Hp; Tue, 25 Aug 2009 13:08:23 -0400 X-Spook: AMW domestic disruption UFO Belknap TELINT Rule Psix X-Ran: 0\2)o&\xW`oge37vGm:Cl<`Rx5LPL?v*jwl/c%_\jCmJW|~m}o!GJ)$dV&{_9$d%WPs=CJ X-Hue: black X-Attribution: GM In-Reply-To: <19091.24299.377086.91288@winooski.ccs.neu.edu> (Eli Barzilay's message of "Mon, 24 Aug 2009 23:47:55 -0400") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Tue, 25 Aug 2009 13:27:01 -0400 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:30554 Archived-At: Eli Barzilay wrote: > I thought that having them at the front makes more sense -- due to the > following "-%-". I assumed the actual problem you wanted to report was that in: emacs -Q -f which-func-mode --eval '(setq global-mode-string "foo")' lisp/startup.el there are 4 "-" characters between which-func's '[...]' and the global-mode-string. Since mode-line-modes already ends in "--", moving the dashes to the front of which-func will just shift the 4 "-" around rather than reducing them to 2. Although the "--" at the end of the global-mode-string entry are not necessary (being followed by -%-), I think it makes sense to have all the entries be the same, so that entries can be removed/added/reordered easily.