all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: chad <yandros@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: face vs. mouse-face text property
Date: Tue, 24 Jan 2012 03:14:21 -0800	[thread overview]
Message-ID: <73B792BB-2350-41F5-9790-C836AB2CE7FF@gmail.com> (raw)
In-Reply-To: <E1RpcPq-0003eF-NY@fencepost.gnu.org>

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


On Jan 24, 2012, at 1:11 AM, Eli Zaretskii wrote:
>> 
>> I trust your experience far more than mine these days, but I have to wonder if empty rectangle might not be good enough for the suggested use case.
> 
> I doubt that.  The issue at hand is how to display mouse-highlighted
> newline so that it is clear to the user it's a newline that (e.g.)
> will be inserted when she clicks on it in *Completions* buffer.
> Showing an empty rectangle hardly accomplishes that effect.

I suppose that there are tricky edges, but I thought that the first-order problem was being able to tell a newline or tab apart from nothing. If the use-case is more complicated, then I'll certainly believe that `something not-normal but not-nothing' is not sufficient. I had mostly hoped to improve upon Lars' `4 chars of garbage' experience.

> 
>> I assume that C-x = DTRT with those empty rectangles?
> 
> You meant "C-u C-x =", I presume.  

Yes, that's what I meant; thanks.

In truth, I have quite a bit of very old tty-only experience, but almost all of it predates reasonable tty+mouse setups, so I tend to forget the mouse part in this domain.  I did check that mouse-selecting such a character in order to describe-char it was a bust, but I assumed (probably wrongly) that the mouse-case wasn't as interesting for the tty users as a the keyboard-motion case.

For the mouse case, I was wondering idly about a tooltip version of describe-char, but it seemed unlikely to be as useful as a special face for this purpose. 

Thanks!
*Chad


[-- Attachment #2: Type: text/html, Size: 2105 bytes --]

  reply	other threads:[~2012-01-24 11:14 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 [this message]
2012-01-24 15:01                     ` Stefan Monnier
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=73B792BB-2350-41F5-9790-C836AB2CE7FF@gmail.com \
    --to=yandros@gmail.com \
    --cc=eliz@gnu.org \
    --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.