From unknown Mon Aug 18 18:03:02 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14858: 24.3.50; Two lighter entries in mode line when in global-visual-line-mode Resent-From: Josh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Jul 2013 23:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14858 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 14858@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.13736699619903 (code B ref -1); Fri, 12 Jul 2013 23:00:03 +0000 Received: (at submit) by debbugs.gnu.org; 12 Jul 2013 22:59:21 +0000 Received: from localhost ([127.0.0.1]:51386 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UxmJ5-0002Ze-U9 for submit@debbugs.gnu.org; Fri, 12 Jul 2013 18:59:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35449) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UxmJ3-0002ZJ-3P for submit@debbugs.gnu.org; Fri, 12 Jul 2013 18:59:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UxmIw-0007eA-Ch for submit@debbugs.gnu.org; Fri, 12 Jul 2013 18:59:11 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-100.0 required=5.0 tests=BAYES_40, USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41308) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxmIw-0007e2-7G for submit@debbugs.gnu.org; Fri, 12 Jul 2013 18:59:10 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37155) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxmIt-0007Dx-Pa for bug-gnu-emacs@gnu.org; Fri, 12 Jul 2013 18:59:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UxmIs-0007aW-8m for bug-gnu-emacs@gnu.org; Fri, 12 Jul 2013 18:59:07 -0400 Received: from mail-qc0-f178.google.com ([209.85.216.178]:57121) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxmIs-0007Zj-5C for bug-gnu-emacs@gnu.org; Fri, 12 Jul 2013 18:59:06 -0400 Received: by mail-qc0-f178.google.com with SMTP id c11so5304453qcv.9 for ; Fri, 12 Jul 2013 15:59:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type:x-gm-message-state; bh=UEPqQb27vCvDDxg5bR0Nkq5LLdwgeZNZfgKrX1K55Fs=; b=Floj31xdVNeh3t92IylRHXydM9nkBdPKfqVqBV39vSHaxErEK1RQyDLyCmxqNYxS5f DTMITqgCeQfbc7jRx9N4rJhN5cQlJ/hjqzgC/BPE28yQ4pBgdgw3V2YF7+IM4UZzirjH g2WqlQXh4xBfOURSxLs3Y/4KB08Y20JnTy0pOyzCKY3XfOm/HsZVpJIs6lVrm1ofrjaW 5quihcWjhYvndfKyJSCFXv+KaSqkyi+YLwjtvk5l/DDL64+vFtbd+lcpqU8nhVWvc9Ia YxwPbTmxwKVBUXeJoHy6dWLnlcu5S6IIprJo5JGOti+2AI1hpWipbkmXya8R3fAJ6UcO eeSA== X-Received: by 10.49.30.104 with SMTP id r8mr36800683qeh.27.1373669945452; Fri, 12 Jul 2013 15:59:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.49.30.41 with HTTP; Fri, 12 Jul 2013 15:58:35 -0700 (PDT) From: Josh Date: Fri, 12 Jul 2013 15:58:35 -0700 X-Google-Sender-Auth: ForXorNhn4DWQeuFMw44jJwu36s Message-ID: Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQl2pc8V64zaJrHSaMLbuXmXxxBrzqS/mwHzm6dXPyGIVuL6fpwVW0MGu0d9jkRHRl3fu2Dm X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Doing `M-x global-visual-line-mode RET' results in both "vl" and "Wrap" appearing in the mode line. This is the result of the following form in simple.el: (define-globalized-minor-mode global-visual-line-mode visual-line-mode turn-on-visual-line-mode :lighter " vl") The docstring for `define-globalized-minor-mode' warns that it usually makes no sense to pass it a :lighter argument, presumably to avoid this very behavior. Defining a `modified-global-visual-line-mode' based on the above form but without the :lighter argument produces expected behavior, i.e. "Wrap" alone. In GNU Emacs 24.3.50.1 (x86_64-apple-darwin12.4.1, NS apple-appkit-1187.39) of 2013-07-12 on pow Bzr revision: 113394 eggert@cs.ucla.edu-20130712143142-wq803cmiaod8ob2b Windowing system distributor `Apple', version 10.3.1187 Configured using: `configure --with-pkg-config-prog=/opt/local/bin/pkg-config --with-ns' From unknown Mon Aug 18 18:03:02 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Josh Subject: bug#14858: closed (Re: bug#14858: 24.3.50; Two lighter entries in mode line when in global-visual-line-mode) Message-ID: References: X-Gnu-PR-Message: they-closed 14858 X-Gnu-PR-Package: emacs Reply-To: 14858@debbugs.gnu.org Date: Fri, 26 Jul 2013 01:56:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1374803762-11732-1" This is a multi-part message in MIME format... ------------=_1374803762-11732-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #14858: 24.3.50; Two lighter entries in mode line when in global-visual-lin= e-mode which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 14858@debbugs.gnu.org. --=20 14858: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D14858 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1374803762-11732-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 14858-done) by debbugs.gnu.org; 26 Jul 2013 01:55:27 +0000 Received: from localhost ([127.0.0.1]:50077 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V2XFe-000317-Iz for submit@debbugs.gnu.org; Thu, 25 Jul 2013 21:55:27 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:48483 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1V2XFc-00030s-G6 for 14858-done@debbugs.gnu.org; Thu, 25 Jul 2013 21:55:24 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1V2XFb-0003Xi-EX; Thu, 25 Jul 2013 21:55:23 -0400 From: Glenn Morris To: 14858-done@debbugs.gnu.org Subject: Re: bug#14858: 24.3.50; Two lighter entries in mode line when in global-visual-line-mode References: X-Spook: CBNRC pre-emptive emc SDI HAMASMOIS Mole unclassified X-Ran: *&?P0Z6jvr\$W.)dpmZTT?kD$nvDLBXgqZs7>5_loBP69R^ (josh@foxtail.org's message of "Fri, 12 Jul 2013 15:58:35 -0700") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 14858-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Version: 24.4 Thanks; fixed. ------------=_1374803762-11732-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 12 Jul 2013 22:59:21 +0000 Received: from localhost ([127.0.0.1]:51386 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UxmJ5-0002Ze-U9 for submit@debbugs.gnu.org; Fri, 12 Jul 2013 18:59:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35449) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UxmJ3-0002ZJ-3P for submit@debbugs.gnu.org; Fri, 12 Jul 2013 18:59:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UxmIw-0007eA-Ch for submit@debbugs.gnu.org; Fri, 12 Jul 2013 18:59:11 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-100.0 required=5.0 tests=BAYES_40, USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41308) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxmIw-0007e2-7G for submit@debbugs.gnu.org; Fri, 12 Jul 2013 18:59:10 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37155) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxmIt-0007Dx-Pa for bug-gnu-emacs@gnu.org; Fri, 12 Jul 2013 18:59:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UxmIs-0007aW-8m for bug-gnu-emacs@gnu.org; Fri, 12 Jul 2013 18:59:07 -0400 Received: from mail-qc0-f178.google.com ([209.85.216.178]:57121) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxmIs-0007Zj-5C for bug-gnu-emacs@gnu.org; Fri, 12 Jul 2013 18:59:06 -0400 Received: by mail-qc0-f178.google.com with SMTP id c11so5304453qcv.9 for ; Fri, 12 Jul 2013 15:59:05 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type:x-gm-message-state; bh=UEPqQb27vCvDDxg5bR0Nkq5LLdwgeZNZfgKrX1K55Fs=; b=Floj31xdVNeh3t92IylRHXydM9nkBdPKfqVqBV39vSHaxErEK1RQyDLyCmxqNYxS5f DTMITqgCeQfbc7jRx9N4rJhN5cQlJ/hjqzgC/BPE28yQ4pBgdgw3V2YF7+IM4UZzirjH g2WqlQXh4xBfOURSxLs3Y/4KB08Y20JnTy0pOyzCKY3XfOm/HsZVpJIs6lVrm1ofrjaW 5quihcWjhYvndfKyJSCFXv+KaSqkyi+YLwjtvk5l/DDL64+vFtbd+lcpqU8nhVWvc9Ia YxwPbTmxwKVBUXeJoHy6dWLnlcu5S6IIprJo5JGOti+2AI1hpWipbkmXya8R3fAJ6UcO eeSA== X-Received: by 10.49.30.104 with SMTP id r8mr36800683qeh.27.1373669945452; Fri, 12 Jul 2013 15:59:05 -0700 (PDT) MIME-Version: 1.0 Received: by 10.49.30.41 with HTTP; Fri, 12 Jul 2013 15:58:35 -0700 (PDT) From: Josh Date: Fri, 12 Jul 2013 15:58:35 -0700 X-Google-Sender-Auth: ForXorNhn4DWQeuFMw44jJwu36s Message-ID: Subject: 24.3.50; Two lighter entries in mode line when in global-visual-line-mode To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQl2pc8V64zaJrHSaMLbuXmXxxBrzqS/mwHzm6dXPyGIVuL6fpwVW0MGu0d9jkRHRl3fu2Dm X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Doing `M-x global-visual-line-mode RET' results in both "vl" and "Wrap" appearing in the mode line. This is the result of the following form in simple.el: (define-globalized-minor-mode global-visual-line-mode visual-line-mode turn-on-visual-line-mode :lighter " vl") The docstring for `define-globalized-minor-mode' warns that it usually makes no sense to pass it a :lighter argument, presumably to avoid this very behavior. Defining a `modified-global-visual-line-mode' based on the above form but without the :lighter argument produces expected behavior, i.e. "Wrap" alone. In GNU Emacs 24.3.50.1 (x86_64-apple-darwin12.4.1, NS apple-appkit-1187.39) of 2013-07-12 on pow Bzr revision: 113394 eggert@cs.ucla.edu-20130712143142-wq803cmiaod8ob2b Windowing system distributor `Apple', version 10.3.1187 Configured using: `configure --with-pkg-config-prog=/opt/local/bin/pkg-config --with-ns' ------------=_1374803762-11732-1--