From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#34022: 26.1; Region highlight has lower priority than flymake overlays Date: Fri, 11 Jan 2019 09:33:33 +0000 Message-ID: <877efbmtci.fsf@gmail.com> References: <1547066017.2291240.1630221536.19E9AC39@webmail.messagingengine.com> <87ftu1lfka.fsf@gmail.com> <1547153959.1638293.1631244736.794AFB75@webmail.messagingengine.com> <83o98nhcst.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1547199208 7143 195.159.176.226 (11 Jan 2019 09:33:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 11 Jan 2019 09:33:28 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 34022@debbugs.gnu.org, Johann =?UTF-8?Q?Kl=C3=A4hn?= To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 11 10:33:24 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ghtBl-0001eM-RB for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Jan 2019 10:33:18 +0100 Original-Received: from localhost ([127.0.0.1]:44332 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghtDs-0003NG-Lg for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Jan 2019 04:35:28 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35052) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghtCV-0002OT-1M for bug-gnu-emacs@gnu.org; Fri, 11 Jan 2019 04:34:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ghtCU-000536-8C for bug-gnu-emacs@gnu.org; Fri, 11 Jan 2019 04:34:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55336) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ghtCU-00052y-58 for bug-gnu-emacs@gnu.org; Fri, 11 Jan 2019 04:34:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ghtCU-0006Bm-0H for bug-gnu-emacs@gnu.org; Fri, 11 Jan 2019 04:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 11 Jan 2019 09:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34022 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 34022-submit@debbugs.gnu.org id=B34022.154719922623767 (code B ref 34022); Fri, 11 Jan 2019 09:34:01 +0000 Original-Received: (at 34022) by debbugs.gnu.org; 11 Jan 2019 09:33:46 +0000 Original-Received: from localhost ([127.0.0.1]:54617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ghtCE-0006BH-6J for submit@debbugs.gnu.org; Fri, 11 Jan 2019 04:33:46 -0500 Original-Received: from mail-wr1-f46.google.com ([209.85.221.46]:40160) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ghtCC-0006B5-Qc for 34022@debbugs.gnu.org; Fri, 11 Jan 2019 04:33:45 -0500 Original-Received: by mail-wr1-f46.google.com with SMTP id p4so14402838wrt.7 for <34022@debbugs.gnu.org>; Fri, 11 Jan 2019 01:33:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=nCKZPNHKvdnxOa8O3wb/oOUYjg+DW0MSlulKpbD1NsA=; b=qm5gyHWix9vodv8PmQSlB918KmLT6Rtl0hRLwwuItvYVoKdGXhjdQ73dQPajQCuFu/ kRIKc5uBQ51qRH/PfKvY8FC4C8+HNjiQUbGAGkI8yCJ0PEGk4skfve4U8fqUCvqHaQjh 7hdidpoJg6lPHtwqsC4gfU3I+NkvoXWcS0ad71OEsGnB9IJpbpu4b11LRnJxjTZtr8hC Lyp116a+qkRXv+1tijShL8vF2ESA+eyjlgAs2BkZgsMGxNU9Ep3hVOvEH7kD/vh6YZi9 JzTLgjHYdGESmVHjyzy0qq6W6iGq0P7PbUnZFSIQ9JebW9xkgbRaJE1DAmxGnjvApBgn z7kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=nCKZPNHKvdnxOa8O3wb/oOUYjg+DW0MSlulKpbD1NsA=; b=qeYtNec95QBd2IZPyUZmE+dKVn1LrdJt/m2ZFr8Qgn4FWScRKbTVhrQjxM4reJDmiC iM+geJkcrhUzlFSnC8yqYi5XFu7DkGmKPlI70wP3o8qbu/UP9Abs6/pGLbLD4COxtdra 6BsPeD2BN126zMR2V5DfaFRH/5Anm41RX/L/cvMXQbiy3yjyVz6edAf4RoBEqGhbnq2C YxpUqTEs/E4SLT6N2y1zMWa7Jbf0AAPW57gfMVWA463G6Pqh7HnFrODTkuCAdTLsOMaD uhu9olUKN13IC5AD6wKFVuY3rzeJdvuuLZWXeOVGgT9sswZLirBkXtajKxkUCeui9gZu HH0Q== X-Gm-Message-State: AJcUukfeWwGPFM5DfcOMjxBmye4+KMIFkO7iBrJScN33g4eqKpYuLhC2 oT3f5CLPczYbbHXNJ7gOkHl/0nso X-Google-Smtp-Source: ALg8bN7NY5RR7W/Mmy7iIDfe4WZ5/3dURho9RQY+kmlSuuF/2WUgidZ+bmct+hpIT9rzlrPBXmFjFQ== X-Received: by 2002:adf:df01:: with SMTP id y1mr13141813wrl.127.1547199218575; Fri, 11 Jan 2019 01:33:38 -0800 (PST) Original-Received: from lolita.yourcompany.com (188.139.62.94.rev.vodafone.pt. [94.62.139.188]) by smtp.gmail.com with ESMTPSA id u10sm54036022wrr.33.2019.01.11.01.33.37 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 11 Jan 2019 01:33:37 -0800 (PST) In-Reply-To: <83o98nhcst.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 11 Jan 2019 09:29:54 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:154339 Archived-At: [BTW Johann: to CC the bug tracker, use 34022@debbugs.gnu.org, not bug-gnu-emacs@gnu.org, since this will create a new bug, and has the potential to annoy maintainers :-). I'm guilty of that too, since I replied to all in the email you did that (and so created another bug).] Eli Zaretskii writes: > I'm not sure what I'm supposed to chime in about. Are you asking > whether it's okay for Flymake to use the same technique as the > region's overlay? I guess he is, yes. It's a problem I didn't encounter during development because the face properties of the Flymake overlays and the region don't clash when using the default settings. > Or are you asking something else? If the former, > I'm not sure I understand the problem well enough to answer the > question. In Flymake multiple overlays (error, warning, note) can overlap and priorities are used so that an error is never hidden by a note. I based thosed priorities in the 100's range (so note =3D 101, warning=3D102, error=3D103, sth like that). 100 was a number chosen quite arbitrarily which worked fine until Johann noticed the bug (I do think it's a bug). >In particular, how is Flymake different from any other package which >uses overlays to mark portions of text? Perhaps it isn't. Can you point me to other packages that leave persistent region-resisting overlays in the buffer? (or that "play nice" with the region, for some meaning of "nice"). Jo=C3=A3o