From: Juri Linkov <juri@jurta.org>
To: Vinicius Jose Latorre <viniciusjl@ig.com.br>
Cc: emacs-devel@gnu.org
Subject: Re: blank-mode.el
Date: Wed, 31 Oct 2007 18:11:34 +0200 [thread overview]
Message-ID: <873avrw9hj.fsf@jurta.org> (raw)
In-Reply-To: <4728019D.6040903@ig.com.br> (Vinicius Jose Latorre's message of "Wed, 31 Oct 2007 01:16:29 -0300")
>> I like this package too, and I have some suggestions: since it implements
>> a minor mode I suggest defining it with `define-minor-mode', and name the
>> global mode `global-blank-mode'.
>
> Well, I'll try to use define-minor-mode in the next blank-mode version.
>
> Is there some convention (or consensus) about global mode name?
I can't find such conventions in (info "(elisp)Major Mode Conventions")
and (info "(elisp)Minor Mode Conventions").
>> Also I have a question how it interacts with nobreak-char-display.
>> Does your package overwrite highlighting of nobreak space displayed
>> by nobreak-char-display feature, or ignores it?
>
> I've made some tests and both blank-mode faces and display table are
> displayed when blank-mode is on and nobreak-char-display is t.
>
> When blank-mode is turned off and nobreak-char-display is t, the
> nobreak-char-display faces and display table are displayed.
>
> That is, blank-mode have precedence over nobreak-char-display but only
> over hard spaces (or nobreak spaces), the soft hyphens is handled only by
> nobreak-char-display.
I think this is the right behavior: when blank-mode is on, it should take
care of highlighting these special characters over the default mechanism
of nobreak-char-display.
--
Juri Linkov
http://www.jurta.org/emacs/
next prev parent reply other threads:[~2007-10-31 16:11 UTC|newest]
Thread overview: 56+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-28 14:20 blank-mode.el Vinicius Jose Latorre
2007-10-28 14:27 ` blank-mode.el Leo
2007-10-28 18:10 ` blank-mode.el Vinicius Jose Latorre
2007-10-28 17:31 ` blank-mode.el Drew Adams
2007-10-28 19:35 ` blank-mode.el Vinicius Jose Latorre
2007-10-28 19:05 ` blank-mode.el Drew Adams
2007-10-28 23:04 ` blank-mode.el Vinicius Jose Latorre
2007-10-28 22:11 ` blank-mode.el Drew Adams
2007-10-29 10:00 ` blank-mode.el Kim F. Storm
2007-10-29 15:37 ` blank-mode.el Vinicius Jose Latorre
2007-10-30 14:17 ` blank-mode.el Juri Linkov
2007-10-31 4:16 ` blank-mode.el Vinicius Jose Latorre
2007-10-31 16:11 ` Juri Linkov [this message]
2007-11-09 17:10 ` blank-mode.el Vinicius Jose Latorre
2007-11-09 18:11 ` blank-mode.el Vinicius Jose Latorre
2007-11-09 20:41 ` blank-mode.el Robert J. Chassell
2007-11-11 2:13 ` blank-mode.el Vinicius Jose Latorre
2007-11-11 12:19 ` blank-mode.el Robert J. Chassell
2007-11-11 14:37 ` blank-mode.el Drew Adams
2007-11-11 14:57 ` blank-mode.el Jason Rumney
2007-11-11 17:52 ` blank-mode.el Robert J. Chassell
2007-11-11 21:23 ` blank-mode.el Vinicius Jose Latorre
2007-11-11 21:48 ` blank-mode.el Juri Linkov
2007-11-11 21:59 ` blank-mode.el Juanma Barranquero
2007-11-11 22:36 ` blank-mode.el Juri Linkov
2007-11-11 23:25 ` blank-mode.el Juanma Barranquero
2007-11-12 0:05 ` blank-mode.el Vinicius Jose Latorre
2007-11-11 23:28 ` blank-mode.el Juanma Barranquero
2007-11-12 0:43 ` blank-mode.el Vinicius Jose Latorre
2007-11-12 18:26 ` blank-mode.el Robert J. Chassell
2007-11-12 19:53 ` blank-mode.el Andreas Schwab
2007-11-12 21:51 ` blank-mode.el Vinicius Jose Latorre
2007-11-13 10:45 ` blank-mode.el Robert J. Chassell
2007-11-13 12:13 ` blank-mode.el Vinicius Jose Latorre
2007-11-13 16:41 ` blank-mode.el Vinicius Jose Latorre
2007-11-13 23:54 ` blank-mode.el Juri Linkov
2007-11-14 0:19 ` blank-mode.el Jason Rumney
2007-11-14 10:29 ` blank-mode.el Andreas Schwab
2007-11-16 4:10 ` blank-mode.el Vinicius Jose Latorre
2007-11-16 12:02 ` blank-mode.el Robert J. Chassell
2007-11-17 21:05 ` blank-mode.el Vinicius Jose Latorre
2007-11-17 22:57 ` blank-mode.el Juri Linkov
2007-11-18 14:55 ` blank-mode.el Vinicius Jose Latorre
2007-11-19 14:44 ` blank-mode.el Vinicius Jose Latorre
2007-11-19 16:22 ` blank-mode.el Robert J. Chassell
2007-11-19 19:19 ` blank-mode.el Vinicius Jose Latorre
2007-11-20 3:24 ` blank-mode.el Vinicius Jose Latorre
2007-11-21 13:42 ` blank-mode.el Vinicius Jose Latorre
2007-11-11 22:04 ` blank-mode.el Robert J. Chassell
2007-11-11 22:04 ` blank-mode.el Robert J. Chassell
2007-11-12 0:01 ` blank-mode.el Vinicius Jose Latorre
2007-11-11 22:01 ` blank-mode.el Jason Rumney
2007-11-11 22:37 ` blank-mode.el Juri Linkov
2007-11-11 22:46 ` blank-mode.el Jason Rumney
2007-11-11 17:01 ` blank-mode.el Robert J. Chassell
-- strict thread matches above, loose matches on Subject: below --
2007-11-14 13:44 blank-mode.el Robert J. Chassell
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=873avrw9hj.fsf@jurta.org \
--to=juri@jurta.org \
--cc=emacs-devel@gnu.org \
--cc=viniciusjl@ig.com.br \
/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.