From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Fix display box cursor under image with margins Date: Sun, 10 May 2020 11:38:05 -0400 Message-ID: <87d07bol5u.fsf@md5i.com> References: <83imhwk7sr.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="58499"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Eli Zaretskii , emacs-devel , Stefan Kangas , Stefan Monnier To: Evgeny Zajcev Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun May 10 17:40:23 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jXo3y-000F4P-Ng for ged-emacs-devel@m.gmane-mx.org; Sun, 10 May 2020 17:40:22 +0200 Original-Received: from localhost ([::1]:35444 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jXo3x-0002T7-5d for ged-emacs-devel@m.gmane-mx.org; Sun, 10 May 2020 11:40:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54324) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXo1r-0000j3-Vc for emacs-devel@gnu.org; Sun, 10 May 2020 11:38:12 -0400 Original-Received: from md5i.com ([75.151.244.229]:47618) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jXo1p-0002dP-TY; Sun, 10 May 2020 11:38:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=md5i.com; s=dkim; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=oZJ4W4cPeOlCLCyb3J5AxPbB4vlGSbhL47prJ/XJ260=; b=K6c02uNhQxZ/okrTh8MS4UcuFl vGbD1MI1pDHugdXLDcpNNiAAYmRGbLRg//VG1iS2TbZyu1pma7O82E4d9gIbN5FvmoBUGxbZ6ONPF EVyQUNAq0O8Kxt258skHEyGHp; Original-Received: from md5i by md5i.com with local (Exim 4.93) (envelope-from ) id 1jXo1l-00GCXx-W4; Sun, 10 May 2020 11:38:05 -0400 In-Reply-To: (Evgeny Zajcev's message of "Sun, 10 May 2020 17:08:50 +0300") Received-SPF: pass client-ip=75.151.244.229; envelope-from=mwd@md5i.com; helo=md5i.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/10 11:38:07 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, MIME_CHARSET_FARAWAY=2.45, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:249667 Archived-At: Evgeny Zajcev writes: > =A7=D3=A7=E3, 10 =A7=DE=A7=D1=A7=F1 2020 =A7=D4. =A7=D3 15:52, Stefan Kan= gas : > >> But the horizontal lines are not thin, right? >> >> What happens when you switch the active window? Will the cursor change >> the size of that line, causing things to move vertically? And what's >> the result when you have many images in a buffer, as in image-dired? >> > > No moves, margins are part of the image size displayed in Emacs window. > Cursor just uses that margins to fulfill with cursor color > > In both screenshots below window shows how it looks in inactive window. = It > looks unchanged from how they look in current Emacs without patch > > I filmed short video how it looks in dynamic - > http://lgarc.narod.ru/pics/IMG_9721.MOV FWIW, I watched that video and I _do_ like that behavior. --=20 Michael Welsh Duggan (md5i@md5i.com)