all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: chad <yandros@gmail.com>
Cc: Emacs developers <emacs-devel@gnu.org>
Subject: Re: face vs. mouse-face text property
Date: Tue, 24 Jan 2012 10:01:04 -0500	[thread overview]
Message-ID: <jwv39b59mjq.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <883D91EC-D57E-4A97-A1F9-B3C37F74EF49@gmail.com> (chad's message of "Mon, 23 Jan 2012 10:47:02 -0800")

>>> Therefore, I think if we want to be able to display selectable
>>> newlines, we need to have a special way to display such newlines,
>>> e.g. "<NL>" or some such.
>> I'd suggest \n rather than <NL>, since it's already used at many other
>> places in Emacs (tho it's not often visible to the "end user").
> Maybe ␤ and ⇥ would be useful here?

Maybe, but I think not: I don't think "␤" is more commonly recognized as
newline than "\n", so it's not worth the trouble of having to deal with
cases where that char can't be displayed.
Same thing for ⇥ (which on my current setup displays as something
barely recognizable): I actually wondered what you intended to use it
for, so it's not obvious enough.  I think for TAB and SPC, the problem
is only when they're at the beginning/end of the completion element (or
when the element is made of nothing else than TABs and SPCs), so I think
that adding quotes around the element will be more clear.


        Stefan



  parent reply	other threads:[~2012-01-24 15:01 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-18 21:34 face vs. mouse-face text property Michael Heerdegen
2012-01-19  7:20 ` Chong Yidong
2012-01-19 12:19 ` Eli Zaretskii
2012-01-20 20:18   ` Michael Heerdegen
2012-01-21 10:09     ` Eli Zaretskii
2012-01-22 22:21       ` Michael Heerdegen
2012-01-23  6:48         ` Eli Zaretskii
2012-01-23 14:27           ` Stefan Monnier
2012-01-23 14:43             ` Lennart Borgman
2012-01-23 15:34               ` Stefan Monnier
2012-01-23 15:40                 ` Lennart Borgman
2012-01-23 18:47                   ` chad
2012-01-23 20:44                     ` Eli Zaretskii
2012-01-23 21:09                       ` chad
2012-01-24  3:48                         ` Eli Zaretskii
2012-01-24  5:55                           ` Eli Zaretskii
2012-01-24  7:04                             ` chad
2012-01-24  9:11                               ` Eli Zaretskii
2012-01-24 11:14                                 ` chad
2012-01-24 15:01                     ` Stefan Monnier [this message]
2012-01-24 16:49                     ` Richard Stallman

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=jwv39b59mjq.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=yandros@gmail.com \
    /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.