unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ken Manheimer" <ken.manheimer@gmail.com>
Cc: emacs-devel@gnu.org, "Kim F. Storm" <storm@cua.dk>
Subject: Re: cursor doesn't show through transparent images in emacs 22, unlike emacs 21
Date: Fri, 25 Aug 2006 19:01:53 -0400	[thread overview]
Message-ID: <2cd46e7f0608251601oc2f17b3p18cb4ab7afdceae9@mail.gmail.com> (raw)
In-Reply-To: <E1GGiDV-00044j-DJ@fencepost.gnu.org>

On 8/25/06, Richard Stallman <rms@gnu.org> wrote:
>     > as i think i suggested in a previous message, the solution i would
>     > prefer would be to have some way to qualify icons so that they get a
>     > solid cursor in their transparent areas, and the default would be to
>     > have it inactive.  eg, a qualifier for xpm, png, gif, and other
>     > transparent-capable images, like :solid-cursor:
>     >
>     > `:solid-cursor-shows BOOLEAN'
>     >       When true, the cursor will appear solid through the transparent
>     > regions of the image
>
> This does not make sense without more context.  For instance, what
> behavior would a value of nil specify?  And what happens in
> non-transparent regions of the image?

i was using it only to elaborate certain details of my suggestion, not
as the real documentation.  as such, it was meant specifically for
those following the context.

non-transparent regions seems like a complicated issue.  i expect that
in many cases it's neither desirable nor practial to mess with them.
some systems xor the colors under mouse icons, for instance, but
there's no reason to expect the chosen colors would be particularly
harmonious, or the icon to even be recognizable with such treatment.
however, there's a bind for icons with no transparency - hopefully the
highlighted bounding box cursor is sufficient there.

> Meanwhile, something about this wording bothers me: the idea that the
> cursor appears "through" part of the image.  Is this based on the
> assumption that the image is "on top of" the cursor?

i could as easily have said that the cursor shows "in" the transparent
parts of the image, leaving the opaque parts undisturbed.

> If so, I think that assumption is backwards and must be changed.  The
> cursor is "on top of" the image; if we want to display a cursor on the
> image, the image should not be allowed to block it out!

i think we're on pretty safe ground doing having the opaque parts o
the image block out the cursor.

consider text characters - cursors being on the character could simply
block them from view, reinforcing the paradigm of being on top of the
character.  that's a terrible loss of information - generally, the
character is allowed to show through.  the character might be shown in
the inverse tone of the cursor, or some chosen color, or something.
(emacs goes with a chosen color, i guess.)

the situation with glyphs is not so simple, because they can have
many, arbitrary colors.  in my particular case, having the cursor show
in the transparent region has the outline-structure bullet icons and
guide lines acting very like elaborate text characters, except that
their intricately colored opaque parts are not changed.  it works
well.

-- 
ken
ken.manheimer@gmail.com
http://myriadicity.net

  parent reply	other threads:[~2006-08-25 23:01 UTC|newest]

Thread overview: 82+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-18 23:22 cursor doesn't show through transparent images in emacs 22, unlike emacs 21 Ken Manheimer
2006-08-18 23:33 ` Drew Adams
2006-08-19 17:49   ` Ken Manheimer
2006-08-19 23:09 ` Kim F. Storm
2006-08-20  1:49   ` Ken Manheimer
2006-08-20  5:00     ` Ken Manheimer
2006-08-20  6:42       ` David Kastrup
2006-08-20 12:05     ` Richard Stallman
2006-08-20 15:10       ` Ken Manheimer
2006-08-20 17:27         ` David Kastrup
2006-08-22  3:09         ` Richard Stallman
2006-08-22  8:03           ` David Kastrup
2006-08-22 13:45             ` Ken Manheimer
2006-08-24 11:31               ` Kim F. Storm
2006-08-24 11:49                 ` David Kastrup
2006-08-25 13:48                   ` Kim F. Storm
2006-08-24 14:20                 ` Ken Manheimer
2006-08-24 14:26                   ` Kim F. Storm
2006-08-24 15:53                     ` Ken Manheimer
2006-08-24 19:56                       ` Kim F. Storm
2006-08-24 21:41                         ` Ken Manheimer
2006-08-25 14:28                         ` Kim F. Storm
2006-08-25 15:24                           ` Ken Manheimer
2006-08-26 10:08                             ` Richard Stallman
2006-08-25 20:23                 ` Richard Stallman
2006-08-25 22:35                   ` Kim F. Storm
2006-08-26 12:22                     ` Richard Stallman
2006-08-26 21:37                       ` Kim F. Storm
2006-08-27 14:34                         ` Richard Stallman
2006-08-27 20:37                           ` Ken Manheimer
2006-08-27 21:45                             ` Kim F. Storm
2006-08-28 22:10                               ` Richard Stallman
2006-08-28 22:27                                 ` Ken Manheimer
2006-08-29 17:18                                   ` Richard Stallman
2006-08-28 22:33                                 ` Kim F. Storm
2006-08-27 20:42                           ` Juri Linkov
2006-08-27 22:24                             ` Kim F. Storm
2006-08-28 21:27                               ` Juri Linkov
2006-08-28 22:09                             ` Richard Stallman
2006-08-28 22:44                               ` Juri Linkov
2006-08-28 23:02                                 ` Kim F. Storm
2006-08-29 21:31                                   ` Ken Manheimer
2006-08-29 21:36                                     ` David Kastrup
2006-08-29 22:12                                       ` Ken Manheimer
2006-08-30 17:58                                         ` Richard Stallman
2006-08-30 18:20                                           ` Ken Manheimer
2006-08-31 18:16                                             ` Richard Stallman
2006-09-01 15:46                                               ` Ken Manheimer
2006-08-29 17:18                                 ` Richard Stallman
2006-08-29 20:27                                   ` Juri Linkov
2006-08-30  8:09                                     ` Kim F. Storm
2006-08-31  7:33                                       ` Richard Stallman
2006-08-27 22:23                           ` Kim F. Storm
2006-08-28 22:10                             ` Richard Stallman
2006-08-25 23:01                   ` Ken Manheimer [this message]
2006-08-26 12:22                     ` Richard Stallman
2006-08-22 13:19           ` Ken Manheimer
2006-08-20  9:03   ` Jason Rumney
2006-08-20  9:09     ` David Kastrup
2006-08-20 12:05   ` Richard Stallman
  -- strict thread matches above, loose matches on Subject: below --
2006-09-02 18:08 (no subject) Richard Stallman
2006-09-03 21:30 ` cursor doesn't show through transparent images in emacs 22, unlike emacs 21 Kim F. Storm
2006-09-04 17:17   ` Richard Stallman
2006-09-04 22:42     ` Kim F. Storm
2006-09-06  8:49       ` Richard Stallman
2006-09-06  9:15         ` David Kastrup
2006-09-06 10:00           ` Kim F. Storm
2006-09-06 16:12             ` Ken Manheimer
2006-09-07  6:54           ` Richard Stallman
2006-09-07  7:47             ` David Kastrup
2006-09-09 20:45               ` Richard Stallman
2006-09-09 22:55                 ` David Kastrup
2006-09-10  0:21                 ` Kim F. Storm
2006-09-10 13:04                   ` Richard Stallman
2006-09-10 20:25                     ` Kim F. Storm
2006-09-10 23:00                       ` Robert J. Chassell
2006-09-11  5:32                         ` tomas
2006-09-11  8:08                         ` Kim F. Storm
2006-09-11  8:16                           ` David Kastrup
2006-09-11 11:56                           ` Robert J. Chassell
2006-09-11 12:51                             ` Kim F. Storm
2006-09-11 14:40                               ` Robert J. Chassell
2006-09-11 14:11                       ` 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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=2cd46e7f0608251601oc2f17b3p18cb4ab7afdceae9@mail.gmail.com \
    --to=ken.manheimer@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=storm@cua.dk \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).