all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Matthias Meulien <orontee@gmail.com>
To: emacs-devel@gnu.org
Subject: Mode line strings for sub- and super- minor modes are counterintuitive
Date: Thu, 14 Aug 2014 22:21:24 +0200	[thread overview]
Message-ID: <87d2c23jqz.fsf_-_@gmail.com> (raw)
In-Reply-To: <2643591.vy3k34KHB8@descartes> ("Rüdiger Sonderfeld"'s message of "Mon, 09 Dec 2013 14:28:49 +0100")

[-- Attachment #1: Type: text/plain, Size: 508 bytes --]

When subword (resp. superword) minor mode is enabled, a comma 
(resp. a superscript two) is displayed in the mode line. I found 
those two characters difficult to see and meaning less.

I understand that there's not much space in the mode line but 
other minor modes are much verbose (eg. MML, Abbrev, Fill, Narrow, 
Outl, etc). Why subword and superword modes have this special 
treatment?

I suggest to use Subw and Supw for the user to have a chance to 
link the mode line string to the full minor mode.


[-- Attachment #2: Change mode line string for subword-mode and superword-mode --]
[-- Type: text/x-diff, Size: 1056 bytes --]

From 9697e30918fa3cc0a4c741ee8f1774f3e67ab173 Mon Sep 17 00:00:00 2001
From: Matthias Meulien <orontee@gmail.com>
Date: Thu, 14 Aug 2014 22:11:51 +0200
Subject: [PATCH] Change mode line string for subword-mode and superword-mode

---
 lisp/progmodes/subword.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/progmodes/subword.el b/lisp/progmodes/subword.el
index a8455c5..9b65cda 100644
--- a/lisp/progmodes/subword.el
+++ b/lisp/progmodes/subword.el
@@ -116,7 +116,7 @@ This mode changes the definition of a word so that word commands
 treat nomenclature boundaries as word bounaries.
 
 \\{subword-mode-map}"
-    :lighter " ,"
+    :lighter " Subw"
     (when subword-mode (superword-mode -1))
     (subword-setup-buffer))
 
@@ -279,7 +279,7 @@ as parts of words: e.g., in `superword-mode',
 \"this_is_a_symbol\" counts as one word.
 
 \\{superword-mode-map}"
-    :lighter " ²"
+    :lighter " Supw"
     (when superword-mode (subword-mode -1))
     (subword-setup-buffer))
 
-- 
2.0.4


[-- Attachment #3: Type: text/plain, Size: 18 bytes --]


– 
Matthias

  parent reply	other threads:[~2014-08-14 20:21 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-09  0:25 [PATCH] Custom option to turn Flyspell mode on in prog modes Matthias Meulien
2013-12-09 13:28 ` Rüdiger Sonderfeld
2013-12-11 23:17   ` Matthias Meulien
2014-01-07 19:23     ` Glenn Morris
2014-01-07 19:30       ` Glenn Morris
2014-08-08 13:59     ` Rüdiger Sonderfeld
2014-08-08 23:45       ` Juri Linkov
2014-08-14 12:46         ` Sebastien Vauban
2013-12-11 23:17   ` bug#16394: " Matthias Meulien
2014-08-08 14:10     ` Rüdiger Sonderfeld
2014-08-14 20:21   ` Matthias Meulien [this message]
2014-08-15  5:45     ` Mode line strings for sub- and super- minor modes are counterintuitive Bozhidar Batsov

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

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

  git send-email \
    --in-reply-to=87d2c23jqz.fsf_-_@gmail.com \
    --to=orontee@gmail.com \
    --cc=emacs-devel@gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.