From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.devel Subject: Re: Odd block highlighting [master build] Date: Tue, 20 Sep 2016 19:50:31 +0000 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c09356e65eabf053cf5bead X-Trace: blaine.gmane.org 1474401107 29906 195.159.176.226 (20 Sep 2016 19:51:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 20 Sep 2016 19:51:47 +0000 (UTC) Cc: Emacs developers To: Noam Postavsky , John Mastro Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 20 21:51:43 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bmR4g-0005HK-6E for ged-emacs-devel@m.gmane.org; Tue, 20 Sep 2016 21:51:26 +0200 Original-Received: from localhost ([::1]:37748 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmR4e-0004n8-If for ged-emacs-devel@m.gmane.org; Tue, 20 Sep 2016 15:51:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmR44-0004mq-VD for emacs-devel@gnu.org; Tue, 20 Sep 2016 15:50:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bmR42-0007O2-Qf for emacs-devel@gnu.org; Tue, 20 Sep 2016 15:50:47 -0400 Original-Received: from mail-vk0-x22f.google.com ([2607:f8b0:400c:c05::22f]:34990) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bmR42-0007Np-Jg for emacs-devel@gnu.org; Tue, 20 Sep 2016 15:50:46 -0400 Original-Received: by mail-vk0-x22f.google.com with SMTP id g9so40959736vkg.2 for ; Tue, 20 Sep 2016 12:50:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=jSVpBa6fmcEH3G+O9EwZX/8lUTl5Xr2Czb8iZb5xNzY=; b=FCh+G1TULPwK27PcYESsAStXQL4Hb9Lt6mINlanfNNzywqim4eXFO00EXEmQQvD7q/ A5jwOaVVf1HrgfUab8nJSbH0JxdSMEPRLZPoy9ZHtAD0n/WvQDJI79uBFo8MSPbNvxdi 1a4ymBpJfGk1ktevg/HDa/093Hp7OdZeUZXaRbFlmDlrMcHy/YkqpADqlDNlnFfAZ96p akMKfQGd9GQBjLDN1SqHUA4rWDlS4k08TZi/8k+fhg8smX5SKE20LNPumVuijWPuNd3P HrsBSTN+J3RXAlinrp9Cx9bBs/O9xiewQDFeRxTxe4oxSLSf0cqD9bFVUwJqORIQYdkV yEoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=jSVpBa6fmcEH3G+O9EwZX/8lUTl5Xr2Czb8iZb5xNzY=; b=Up1DXhVN+eVbOFyIJvofmc1tSvbry5h3Pk4hyO8Ouwtxw9Z8RH6N2FMPPs3O49yJyi 37a4pHwYuyTZEEnjHbL6+kq/zFJq2FUI+Wwpy7OoKOaD76w3iGUuJvB33dXp/kulAyUM kQSKhXW2pKePUr0q47nYPjeYrmG2Hwe+xjzD5PeTIRSACdbErekp0bUPQlc/Z9u4ImFu eyXXEaIaw36Xf/XEnM+9H5Ohg/oQbetInl0Y3c9p7HYhkkISm5bdhAvVLSaRy9yJyOwu gdvpB6xXvFlCnFH0NcS7bKcYaNsPUezdoVjtdK7D9lwvy0B+Ytgk8/fQvOisc5b5K4mL ZcNg== X-Gm-Message-State: AE9vXwMP4L36j/MX/c6J3h97DVdhDEdYtvrIvLniVXx35wV7yiNPkM36WURf/OzKYW780xbm291OJKgme60lpg== X-Received: by 10.31.231.130 with SMTP id e124mr5727228vkh.79.1474401042556; Tue, 20 Sep 2016 12:50:42 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400c:c05::22f X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:207638 Archived-At: --94eb2c09356e65eabf053cf5bead Content-Type: text/plain; charset=UTF-8 On Tue, Sep 20, 2016 at 3:44 PM Noam Postavsky < npostavs@users.sourceforge.net> wrote: > Check for text properties and/or overlays on the affected region with C-u > C-x = > Thanks. I should have thought of that when that bug happened! C-u C-x = gives the text properties at point.. it didn't occur that I put the point in the region that shows that highlight, hover the mouse over that region and then do C-u C-x =. I'll do so next time that happens :) I faked a typo in a string, put the point in there and hovered the mouse to get the overlay. Then C-u C-x = gives: Character code properties: customize what to show name: LATIN SMALL LETTER N general-category: Ll (Letter, Lowercase) decomposition: (110) ('n') There are 2 overlays here: From 32334 to 32339 category nil modification-hooks [Show] From 32334 to 32339 evaporate t face flyspell-incorrect flyspell-overlay t help-echo "mouse-2: correct word at point" keymap [Show] mouse-face highlight There are text properties here: face font-lock-string-face fontified t I'll post back my findings when that bug re-appears. If flyspell is causing it, disabling flyspell-mode should get rid of that highlight.. > > If so, what major/minor mode provides that functionality? From a > > position of ignorance, my first thought is that it seems related. > > I was wondering about this too. > I'll update this thread with new findings. -- Kaushal Modi --94eb2c09356e65eabf053cf5bead Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Tue, Sep 20= , 2016 at 3:44 PM Noam Postavsky <npostavs@users.sourceforge.net> wrote:
Check for text properties and/or overlays on the aff= ected region with C-u C-x =3D

Thanks. I= should have thought of that when that bug happened! C-u C-x =3D gives the = text properties at point.. it didn't occur that I put the point in the = region that shows that highlight, hover the mouse over that region and then= do C-u C-x =3D. I'll do so next time that happens :)

I faked a typo in a string, put the point in there and hovered the = mouse to get the overlay. Then C-u C-x =3D gives:

=
Character code properties: customize what to show
=C2=A0 nam= e: LATIN SMALL LETTER N
=C2=A0 general-category: Ll (Letter, Lowe= rcase)
=C2=A0 decomposition: (110) ('n')

There are 2 overlays here:
=C2=A0From 32334 to 32339
=C2=A0 category =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 nil
<= div>=C2=A0 modification-hooks =C2=A0 [Show]
=C2=A0From 32334 to 3= 2339
=C2=A0 evaporate =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0t<= /div>
=C2=A0 face =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 flyspell-incorrect
=C2=A0 flyspell-overlay =C2=A0 =C2=A0 t
=C2=A0 help-echo =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"mou= se-2: correct word at point"
=C2=A0 keymap =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 [Show]
=C2=A0 mouse-face =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 highlight


There are text properties here:
=C2=A0 face =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 font-lock-string-face
=C2= =A0 fontified =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0t
I'll post back my findings when that bug re-appears. If fl= yspell is causing it, disabling flyspell-mode should get rid of that highli= ght..
=C2=A0
> If so, what major/minor mode provides that functionality? From a
> position of ignorance, my first thought is that it seems related.

I was wondering about this too.

I'l= l update this thread with new findings.=C2=A0
--
=

Kaushal Modi

--94eb2c09356e65eabf053cf5bead--