unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ken Manheimer" <ken.manheimer@gmail.com>
Cc: juri@jurta.org, rms@gnu.org, emacs-devel@gnu.org
Subject: Re: cursor doesn't show through transparent images in emacs 22, unlike emacs 21
Date: Wed, 6 Sep 2006 12:12:30 -0400	[thread overview]
Message-ID: <2cd46e7f0609060912v7dce8219j5f06f15a6bf37cf2@mail.gmail.com> (raw)
In-Reply-To: <m3irk1uxg5.fsf@kfs-l.imdomain.dk>

On 9/6/06, Kim F. Storm <storm@cua.dk> wrote:
> David Kastrup <dak@gnu.org> writes:
>
> > Richard Stallman <rms@gnu.org> writes:
> >
> >>     > What exactly is the workaround you recommend?
> >>
> >>     Use :mask ...
> >>
> >> Then how about changing the default value for :mask?
> >
> > There is no sensible default.  What is useful as a mask depends on the
> > image in question.  Using heuristic-mask can mean that the whole image
> > flashes, but it can also mean that just a single corner pixel blinks.
> >
> > Even when a mask is specified, using the whole mask as a cursor
> > indication is not a good idea, since a large image with a background
> > will then flash horribly.  The right fix in my opinion would be to use
> > the border of the image (extending into the image itself if the border
> > is too small, overwriting the image when no mask is given, but maybe
> > heeding the mask if it is given).  For a block cursor, there should be
> > a maximum number of pixels that is affected.  If this number is
> > exceeded, a box cursor would be used with a thickness that does not
> > cause the number of pixels to exceed the threshold, but lets it have
> > at least the thickness of a box cursor + 1 pixel.
> >
> > Something like that.  Yes, sounds tiresome.
>
> Indeed.  So...
>
> can we please postpone resolving this until after the release.
>
> There is currently a work-around (using :mask) in the FEW (if any)
> cases where there is no border around an image that could be used for
> the cursor.  And the other work-around is to specify a border.
>
> This is not a new bug -- it's been like this since 21.1, and only
> recently have we had just one user complaining about it.  And he
> seems satisfied with the changes I made to use a block cursor
> for small images.

the one catch is that i had not connected the :mask image spec with my
problem.  perhaps i'm dense, but i wonder whether the issue of
background, cursor, and image mask deserves some greater prominence in
the image documentation, so those floundering as i was get more
guidance.  as it currently stands, i wouldn't have connected the fact
that the mask can expose the "background of the frame" with the thing
i was trying to achieve, which is showing the cursor in the image.  (i
may have given it a try, but not been clear enough about whether to
expect the cursor to show through that i would notice whether or not
it worked.)

so i expect that at least some documentation improvement is in order.

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

  reply	other threads:[~2006-09-06 16:12 UTC|newest]

Thread overview: 83+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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
  -- strict thread matches above, loose matches on Subject: below --
2006-08-18 23:22 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
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

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=2cd46e7f0609060912v7dce8219j5f06f15a6bf37cf2@mail.gmail.com \
    --to=ken.manheimer@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=juri@jurta.org \
    --cc=rms@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 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).