From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anders Lindgren Newsgroups: gmane.emacs.bugs Subject: bug#21662: visible-bell causes display artifacts on OS X 10.11 Date: Wed, 18 Nov 2015 21:27:33 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11415acae79cbe0524d67822 X-Trace: ger.gmane.org 1447878501 2142 80.91.229.3 (18 Nov 2015 20:28:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Nov 2015 20:28:21 +0000 (UTC) To: 21662@debbugs.gnu.org, John Wiegley , Steve Purcell , Mustafa Kocaturk Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 18 21:28:11 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zz9Kt-0005f3-1V for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Nov 2015 21:28:11 +0100 Original-Received: from localhost ([::1]:38190 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zz9Ks-0003Ty-C4 for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 Nov 2015 15:28:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33362) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zz9Kp-0003Tt-6u for bug-gnu-emacs@gnu.org; Wed, 18 Nov 2015 15:28:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zz9Kk-0001ow-7A for bug-gnu-emacs@gnu.org; Wed, 18 Nov 2015 15:28:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zz9Kk-0001os-3D for bug-gnu-emacs@gnu.org; Wed, 18 Nov 2015 15:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zz9Kj-0006Ep-RZ for bug-gnu-emacs@gnu.org; Wed, 18 Nov 2015 15:28:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Anders Lindgren Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 Nov 2015 20:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21662 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 21662-submit@debbugs.gnu.org id=B21662.144787847423959 (code B ref 21662); Wed, 18 Nov 2015 20:28:01 +0000 Original-Received: (at 21662) by debbugs.gnu.org; 18 Nov 2015 20:27:54 +0000 Original-Received: from localhost ([127.0.0.1]:43770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zz9Kb-0006EN-T6 for submit@debbugs.gnu.org; Wed, 18 Nov 2015 15:27:54 -0500 Original-Received: from mail-vk0-f54.google.com ([209.85.213.54]:33938) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zz9KH-0006Dn-Vi for 21662@debbugs.gnu.org; Wed, 18 Nov 2015 15:27:52 -0500 Original-Received: by vkfr145 with SMTP id r145so3247656vkf.1 for <21662@debbugs.gnu.org>; Wed, 18 Nov 2015 12:27:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=dOYnRELVRmLJW8s2PVxpOjLjonTKzsrn3j9Nj1ALVM0=; b=MVXS21O2ITSffcrfdEsOYIAILGWrJAvPO9wjrRxRlNjGmB7JTo3f7w4UO/OvC0m3aY 5Q9ljBAJ7dJOYBpNrLEiNBP+2XlgCdx9ShFUWDa/a4Sfrb4gApOYzlQUD77+h0k4fBjf jQkRiWNXzDv5bCZ9cmNFbVqIgwbmzezlcQN8467frFfyJ/i4BjPzkPyJXvygJwVKD2/T SboRi8HAUKHqaOKfllqVoupVii09bxb56D8ky5RLgGaRj/8VXLSV3PnGskX5GvtAIaJ1 IVC1q9BDevw5QKDDy+wzNbP4ecCj33za/L8LV50FtpKpo+FsJB4MqsepZirSdEuOGvLn lLzQ== X-Received: by 10.31.169.142 with SMTP id s136mr758300vke.149.1447878453597; Wed, 18 Nov 2015 12:27:33 -0800 (PST) Original-Received: by 10.31.210.133 with HTTP; Wed, 18 Nov 2015 12:27:33 -0800 (PST) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:108883 Archived-At: --001a11415acae79cbe0524d67822 Content-Type: text/plain; charset=UTF-8 Hi, Today I tested suggested patch on an 10.11 and on 10.6.8. The good news is that, visually, the patch looks really good! It replaced the boring black square with the standard OS X icon "Caution" icon -- an exclamation mark on a triangle. It is less intrusive, which I consider a good thing. Unfortunately, the code doesn't compile under 10.6.8. The code use the "hidden" property of NSView (introduced in 10.10), and it the compiler complains about the "." in the "[BellView.instance ..." construct. I notices a minor problem under 10.11 as well. The icon is shadowed by scroll bars, if they happen to be displayed in the middle of the frame, like when having two side-by-side windows. I will make an attempt to rewrite to code to work under 10.6.8. Sincerely, Anders Lindgren --001a11415acae79cbe0524d67822 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

Today I tested suggested patch on a= n 10.11 and on 10.6.8.

The good news is that, visu= ally, the patch looks really good! It replaced the boring black square with= the standard OS X icon "Caution" icon -- an exclamation mark on = a triangle. It is less intrusive, which I consider a good thing.
=
Unfortunately, the code doesn't compile under 10.6.8. Th= e code use the "hidden" property of NSView (introduced in 10.10),= and it the compiler complains about the "." in the "[BellVi= ew.instance ..." construct.

I notices a minor= problem under 10.11 as well. The icon is shadowed by scroll bars, if they = happen to be displayed in the middle of the frame, like when having two sid= e-by-side windows.

I will make an attempt to rewri= te to code to work under 10.6.8.

Sincerely,
=C2=A0 =C2=A0 Anders Lindgren

--001a11415acae79cbe0524d67822--