From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#54598: 27.2; Bad interraction between modus-theme and hs-minor-mode Date: Thu, 07 Apr 2022 10:31:05 +0300 Message-ID: <8335ipcpty.fsf@gnu.org> References: <87sfr3cp35.fsf@killashandra.ballybran.fr> <87r16kaowt.fsf@gnus.org> <87o81ocv2t.fsf@killashandra.ballybran.fr> <87ee2i735s.fsf@gnus.org> <87ee2iw9p3.fsf@protesilaos.com> <87fsmxc3tv.fsf@killashandra.ballybran.fr> <874k3dlwsa.fsf@protesilaos.com> <83sfqx5oe3.fsf@gnu.org> <87r16fxt56.fsf@killashandra.ballybran.fr> <835ynr48j0.fsf@gnu.org> <87mth3xnsv.fsf@killashandra.ballybran.fr> <834k3a4ukj.fsf@gnu.org> <87wng2xbs4.fsf@killashandra.ballybran.fr> <837d81cuff.fsf@gnu.org> <87h775mlnf.fsf@protesilaos.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21454"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 54598@debbugs.gnu.org, larsi@gnus.org, pierre.techoueyres@free.fr To: Protesilaos Stavrou Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 07 09:32:18 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ncMcr-0005LH-G3 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Apr 2022 09:32:17 +0200 Original-Received: from localhost ([::1]:53334 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ncMcp-0005jc-Qk for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Apr 2022 03:32:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52012) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncMcd-0005jI-Gp for bug-gnu-emacs@gnu.org; Thu, 07 Apr 2022 03:32:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37467) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ncMcc-0001Qp-5D for bug-gnu-emacs@gnu.org; Thu, 07 Apr 2022 03:32:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ncMcc-0004t8-1T for bug-gnu-emacs@gnu.org; Thu, 07 Apr 2022 03:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Apr 2022 07:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54598 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 54598-submit@debbugs.gnu.org id=B54598.164931667018729 (code B ref 54598); Thu, 07 Apr 2022 07:32:01 +0000 Original-Received: (at 54598) by debbugs.gnu.org; 7 Apr 2022 07:31:10 +0000 Original-Received: from localhost ([127.0.0.1]:59597 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncMbl-0004s0-OT for submit@debbugs.gnu.org; Thu, 07 Apr 2022 03:31:10 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ncMbk-0004ro-GJ for 54598@debbugs.gnu.org; Thu, 07 Apr 2022 03:31:09 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44084) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncMbe-0001HL-78; Thu, 07 Apr 2022 03:31:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=B122O8AMxEFjCEe8KJ6/RV3MdMgTd/ILWUuuzdydqN8=; b=PfeVm0tOXOFS swQ0uFJSl3pxTxELgNCzvQ8dtcBu9fo4pfwidrHrFkfPZK16EnKaEtm1ryw9j5NjZb6bGkuGIxmAs C/uMghawQbFLqwgcGSbFq8Xp+z4WeESEp+3Opuu2lCHlBqL3b0N9h+SWhiiwuT1JwBEpTx8h0z4vH qtBOWH/jSdl9N7nHP35cxFHAzZEc7cjq29DLsN9MxsjbR1j6V7rER9GFnuNObyyhrr4vFPkDiHQF0 3EDBpiQXBzZhM9YiOxvGNFKeZJsPXi0OjO0gQyctngYdvO0vM/38jpINAROw37tLirW7s4uV+7L1o AFWxXNCTo2sR0ca0dN1jEg==; Original-Received: from [87.69.77.57] (port=1990 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ncMbY-0003bP-Vn; Thu, 07 Apr 2022 03:31:02 -0400 In-Reply-To: <87h775mlnf.fsf@protesilaos.com> (message from Protesilaos Stavrou on Thu, 07 Apr 2022 09:51:16 +0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:229513 Archived-At: > From: Protesilaos Stavrou > Cc: 54598@debbugs.gnu.org, larsi@gnus.org > Date: Thu, 07 Apr 2022 09:51:16 +0300 > > > Not sure I follow: it looks to me like in buffer text the character > > looks the same on both system, but as fill-column-indicator the same > > character displays much wider on Windows than on GNU/Linux, is that > > correct? > > > > If so, I think the reason is the settings of the face attributes, > > especially the background color. What you see is the background color > > whose width is (of course) the entire character cell, not the > > character itself. Can you explain these strange face attributes, and > > what did you intend to achieve by using them? > > Good day Eli! > > The face on GNU/Linux produces a thin line. Whereas on Windows it > covers the entire character cell. The intent is to get that thin line. > If anything, the given face attributes suggest that the GNU/Linux > version is the one with the odd looks. Please explain which part(s) of those face attributes are supposed to produce the thin line, and why do you think that should happen. Maybe I'm missing something, but I'm not aware of any face-related feature in Emacs that allows us to produce a thin vertical line. That's why we use for fill-column-indicator a character whose image is supposed to be such a thin vertical line. > @ Pierre: Assuming that we can only achieve this by tinkering with face > attributes, I am happy to make the necessary changes. Though please > note that I cannot test them on Windows. What happens, for example, if > the face also inherits from 'variable-pitch'? > > (set-face-attribute 'fill-column-indicator nil :inherit 'variable-pitch :height 1 :background "gray50" :foreground "gray50") Why do you think this should change anything? What do you think the inheritance from variable-pitch should do here?