From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: ynyaaa@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#25673: 25.1; bug of define-fringe-bitmap Date: Fri, 10 Feb 2017 17:16:13 +0900 Message-ID: <87inoio3zm.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1486714632 21744 195.159.176.226 (10 Feb 2017 08:17:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 10 Feb 2017 08:17:12 +0000 (UTC) To: 25673@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 10 09:17:07 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cc6OB-0005RI-7w for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Feb 2017 09:17:07 +0100 Original-Received: from localhost ([::1]:42462 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cc6OH-0003BE-06 for geb-bug-gnu-emacs@m.gmane.org; Fri, 10 Feb 2017 03:17:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41388) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cc6O9-0003AD-ND for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2017 03:17:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cc6O6-0004p9-BY for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2017 03:17:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:35563) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cc6O6-0004p3-6R for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2017 03:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cc6O5-00013V-UZ for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2017 03:17:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: ynyaaa@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 10 Feb 2017 08:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25673 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14867145924009 (code B ref -1); Fri, 10 Feb 2017 08:17:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Feb 2017 08:16:32 +0000 Original-Received: from localhost ([127.0.0.1]:33762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cc6Nb-00012b-QV for submit@debbugs.gnu.org; Fri, 10 Feb 2017 03:16:32 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50235) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cc6Na-00012O-5U for submit@debbugs.gnu.org; Fri, 10 Feb 2017 03:16:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cc6NT-0004fI-Fw for submit@debbugs.gnu.org; Fri, 10 Feb 2017 03:16:24 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:56217) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cc6NT-0004fD-Ce for submit@debbugs.gnu.org; Fri, 10 Feb 2017 03:16:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41199) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cc6NS-00037q-5F for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2017 03:16:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cc6NO-0004ej-UB for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2017 03:16:22 -0500 Original-Received: from mail-pg0-x241.google.com ([2607:f8b0:400e:c05::241]:34690) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cc6NO-0004eP-O7 for bug-gnu-emacs@gnu.org; Fri, 10 Feb 2017 03:16:18 -0500 Original-Received: by mail-pg0-x241.google.com with SMTP id v184so2598857pgv.1 for ; Fri, 10 Feb 2017 00:16:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=XXhEnz4TgG3JzYzrnXvgdhyGzuP9has5ilmRjpBeA6I=; b=KFhYloK8Dkot78h4dHK0cgBz8S86mRRmj5yYIXVE99bDZ9dOndk6gq3NX5oMVTkv65 rO/B9oK0qKrGT5bRl4Msm3j21eDQB2U73C1M4h2Iv8S2U3e49WYy6JcBmDcufE/SKyTX j+EvFXKhXCu4UOwM7Rc41Mp+qHTIjyBw2XAxAilefz+siXbwVQwWIkbk0vx9DHOAPca4 DfpD8Ai3gKOJtIHjwcjtt33k2gBJ1ZsGcRs3cdfNBLxqtogj9y+09p0ZFWAmb/AlvsC0 JR2yG7x0xGOCEimMR7PwVFLkBCszFfCrtmgRdNxbyoJwEG86VKHyAuqRt3Dosy8YAiHe zjAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=XXhEnz4TgG3JzYzrnXvgdhyGzuP9has5ilmRjpBeA6I=; b=BS42jH9vE8g4T3p8uQ+REh9k2qR6pVVUrwQsQZyF5cNWQ6S6Ac6SH9QPpcWIv7ad7P 3uAylKsFcadvOCpp8Q39CzgaYDeSUsCZE9X8lCT1U0CNwmfKOv1CYxi3UK1enQaTUUfD mp8gx9/+mbYDnmPJWASlWHnlfwJpofbqDKgIL38CnP+GMohbdrXKQ0AVVqcizfPrQ+AL WW4SqXSI3D0pK4kyrKQJlw9mVw+kp9WyV8ImjDcpqrrvg3BojCOeVBTUyGjmQZ+lU6tW eTtopvVg3fFC7lc/2SXVlERutlh6eWPqxypQYufmEaK1xGu5ULEeHWIiL26i0ymyREJC yfNA== X-Gm-Message-State: AMke39kzzU3cTEshkeZsV3h3SB+Qs3oPYJtBdnU0sWmsBy4pCHhycYJFZLBtX9utDoJErg== X-Received: by 10.98.13.18 with SMTP id v18mr8750379pfi.62.1486714577583; Fri, 10 Feb 2017 00:16:17 -0800 (PST) Original-Received: from PNUT-PC (east24-p58.eaccess.hi-ho.ne.jp. [218.42.167.59]) by smtp.gmail.com with ESMTPSA id v186sm2991006pgv.44.2017.02.10.00.16.16 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 10 Feb 2017 00:16:17 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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: 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" Xref: news.gmane.org gmane.emacs.bugs:129184 Archived-At: Evaluating the forms below, emacs does not display a framed square. The rightmost edge is not displayed. (set-window-fringes nil 20 20) ;; ensure enough space to display image (define-fringe-bitmap 'test-bitmap (vector #b1111111 #b1000001 #b1000001 #b1000001 #b1000001 #b1000001 #b1111111) 7 7) (insert "<" (propertize "x" 'display '(left-fringe test-bitmap)) ">\n") It is needed to align patterns left in 8bit. (define-fringe-bitmap 'test-bitmap ;; 7x7 pixel framed square (vector #b11111110 #b10000010 #b10000010 #b10000010 #b10000010 #b10000010 #b11111110) 7 7) To display bitmap images wider than 8pixel, it is needed to align patterns left in 16bit and swap the higher 8bit and lower 8bit. (define-fringe-bitmap 'test-bitmap ;; 12x12 pixel framed square (vector #b1111000011111111 #b0001000010000000 #b0001000010000000 #b0001000010000000 #b0001000010000000 #b0001000010000000 #b0001000010000000 #b0001000010000000 #b0001000010000000 #b0001000010000000 #b0001000010000000 #b1111000011111111) 12 12) In GNU Emacs 25.1.1 (i686-w64-mingw32) of 2016-09-18 built on LAPHROAIG Windowing system distributor 'Microsoft Corp.', version 6.0.6002 Configured using: 'configure --host=i686-w64-mingw32 --without-dbus --without-compress-install CFLAGS=-static' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS Important settings: value of $LANG: JPN locale-coding-system: cp932 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils help-mode easymenu cl-loaddefs pcase cl-lib time-date mule-util japan-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote w32notify w32 multi-tty make-network-process emacs) Memory information: ((conses 8 99865 81085) (symbols 32 23773 0) (miscs 32 52 151) (strings 16 19965 5424) (string-bytes 1 496523) (vectors 8 13531) (vector-slots 4 593497 8174) (floats 8 165 34) (intervals 28 4286 3949) (buffers 520 20))