From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#40784: Clarifying the difference between fringe bitmaps and XBM images Date: Thu, 23 Apr 2020 18:14:11 +0300 Message-ID: <83ftcucjzw.fsf@gnu.org> References: <15c13a13-efad-aee4-ac0e-f2630dc7ca11@gmail.com> <831roee0ko.fsf@gnu.org> <2e4d8eaf-5e7a-fc71-f515-a2513e47d615@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="69743"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 40784@debbugs.gnu.org To: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 23 17:15:39 2020 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 1jRdZj-000I23-2j for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Apr 2020 17:15:39 +0200 Original-Received: from localhost ([::1]:45418 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRdZi-0007TQ-3U for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 23 Apr 2020 11:15:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45370) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRdZ8-00078t-Oi for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2020 11:15:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jRdZ8-0006l3-CK for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2020 11:15:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44169) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jRdZ7-0006kZ-Vf for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2020 11:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jRdZ7-0000Ol-Pd for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2020 11:15:01 -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, 23 Apr 2020 15:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40784 X-GNU-PR-Package: emacs Original-Received: via spool by 40784-submit@debbugs.gnu.org id=B40784.15876548761483 (code B ref 40784); Thu, 23 Apr 2020 15:15:01 +0000 Original-Received: (at 40784) by debbugs.gnu.org; 23 Apr 2020 15:14:36 +0000 Original-Received: from localhost ([127.0.0.1]:55715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jRdYh-0000Nr-Pr for submit@debbugs.gnu.org; Thu, 23 Apr 2020 11:14:36 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42068) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jRdYf-0000Ne-KM for 40784@debbugs.gnu.org; Thu, 23 Apr 2020 11:14:33 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49134) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jRdYa-00069b-9Q; Thu, 23 Apr 2020 11:14:28 -0400 Original-Received: from [176.228.60.248] (port=2263 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jRdYZ-000818-6y; Thu, 23 Apr 2020 11:14:27 -0400 In-Reply-To: <2e4d8eaf-5e7a-fc71-f515-a2513e47d615@gmail.com> (message from =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel on Thu, 23 Apr 2020 10:35:54 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:178859 Archived-At: > Cc: 40784@debbugs.gnu.org > From: Clément Pit-Claudel > Date: Thu, 23 Apr 2020 10:35:54 -0400 > > Of course: I am currently writing a mode that displays indicators either in the margins or in the fringes, depending on the value of a defcustom. > By default, I intended to use the same bitmaps in the margins and in the fringes. It took me a while to understand what I was doing wrong: I was seeing reversed bitmaps, but I hadn't considered the possibility that the two places where Emacs supports monochrome bitmaps would accept the same representation (unibyte strings) but use a different bit order. > The proposed patch updates the documentation to save the next person from experiencing the same pain. If so, then why do we need to mention this in the doc string? Won't the manual be enough? It is strange to mention just this factoid in the doc strings, when one can shoot themselves in the foot with bitmapped images in many exciting ways.