all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alp Aker <alptekin.aker@gmail.com>
To: "Aurélien Aptel" <aurelien.aptel+emacs@gmail.com>
Cc: "Juanma Barranquero" <lekktu@gmail.com>,
	emacs-devel@gnu.org, "Juri Linkov" <juri@jurta.org>,
	"Stefan Monnier" <monnier@iro.umontreal.ca>,
	"Jan Djärv" <jan.h.d@swipnet.se>,
	"Drew Adams" <drew.adams@oracle.com>
Subject: Re: [patch] add "underwave" face attribute
Date: Sun, 5 Feb 2012 20:14:42 -0500	[thread overview]
Message-ID: <CACxch4rA0n_wcSJa8z7ZHZ3aCwPRTWada-By4KNCf4y-tmAYSQ@mail.gmail.com> (raw)
In-Reply-To: <CA+5B0FPfeR2BpJax=hhEyREWv_qy_vz4n8HizghTJPORxhjUEQ@mail.gmail.com>

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

Aurélien Aptel wrote:

> Are you sure this won't break the rest of the code? (which relies
> heavily on clipping) It sure looks cleaner but the rest of the code
> uses ns_focus/unfocus.

Fairly sure.  What's needed here is a temporary change to the graphics
state in the middle of a redisplay; we change the clipping rectangle, draw
the underwave, then restore the previous clipping rectangle, if any.
ns_focus/ns_unfocus can't be used to do that; they're intended to be used
at the beginning and end of redisplay.

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

  reply	other threads:[~2012-02-06  1:14 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-26 20:16 [patch] add "underwave" face attribute Aurélien Aptel
2012-01-27 15:50 ` Stefan Monnier
2012-01-27 17:08   ` Drew Adams
2012-01-31 23:38     ` Aurélien Aptel
2012-02-01 16:21       ` Leo
2012-02-01 23:11       ` Juri Linkov
2012-02-02  0:18         ` Aurélien Aptel
2012-02-02  0:52           ` Juanma Barranquero
2012-02-03 19:37             ` Aurélien Aptel
2012-02-04  8:14               ` Jan Djärv
2012-02-04 18:22                 ` Aurélien Aptel
2012-02-06  0:18                   ` Alp Aker
2012-02-06  0:24                     ` Aurélien Aptel
2012-02-06  0:51                       ` Alp Aker
2012-02-06  0:55                     ` Aurélien Aptel
2012-02-06  1:14                       ` Alp Aker [this message]
2012-02-06 11:27                         ` Aurélien Aptel
2012-02-06 17:20                           ` Aurélien Aptel
2012-02-12 11:19                             ` Aurélien Aptel
2012-02-12 16:59                               ` Stefan Monnier
2012-02-12 17:08                                 ` Leo
2012-02-12 17:29                                 ` Aurélien Aptel
  -- strict thread matches above, loose matches on Subject: below --
2012-01-26 17:55 Aurélien Aptel
2012-01-27  4:01 ` Leo
2012-01-27 10:25 ` Andreas Schwab
2012-01-27 13:02   ` Aurélien Aptel
2012-01-27 14:06     ` Andreas Schwab
2012-01-27 14:55       ` Aurélien Aptel
2012-01-27 15:53         ` Andreas Schwab

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=CACxch4rA0n_wcSJa8z7ZHZ3aCwPRTWada-By4KNCf4y-tmAYSQ@mail.gmail.com \
    --to=alptekin.aker@gmail.com \
    --cc=aurelien.aptel+emacs@gmail.com \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=jan.h.d@swipnet.se \
    --cc=juri@jurta.org \
    --cc=lekktu@gmail.com \
    --cc=monnier@iro.umontreal.ca \
    /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.