From unknown Sun Jun 15 08:23:29 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#39098 <39098@debbugs.gnu.org> To: bug#39098 <39098@debbugs.gnu.org> Subject: Status: 26.3; bug of mouse-face including linebreak Reply-To: bug#39098 <39098@debbugs.gnu.org> Date: Sun, 15 Jun 2025 15:23:29 +0000 retitle 39098 26.3; bug of mouse-face including linebreak reassign 39098 emacs submitter 39098 ynyaaa@gmail.com severity 39098 normal tag 39098 notabug thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 12 08:32:55 2020 Received: (at submit) by debbugs.gnu.org; 12 Jan 2020 13:32:55 +0000 Received: from localhost ([127.0.0.1]:57134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqdMM-0007ZI-SG for submit@debbugs.gnu.org; Sun, 12 Jan 2020 08:32:55 -0500 Received: from lists.gnu.org ([209.51.188.17]:56512) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqdML-0007ZA-8H for submit@debbugs.gnu.org; Sun, 12 Jan 2020 08:32:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60118) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iqdMJ-0008Q6-QL for bug-gnu-emacs@gnu.org; Sun, 12 Jan 2020 08:32:53 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iqdMI-0004XZ-DT for bug-gnu-emacs@gnu.org; Sun, 12 Jan 2020 08:32:51 -0500 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]:38919) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iqdMI-0004TC-4o for bug-gnu-emacs@gnu.org; Sun, 12 Jan 2020 08:32:50 -0500 Received: by mail-pf1-x430.google.com with SMTP id q10so3552194pfs.6 for ; Sun, 12 Jan 2020 05:32:49 -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=fiA+LD0m3bNlbjYZYh40o+yJMANxeoR9Ac4Ws1R5aHg=; b=PdUGa/AL5VmqIiavNGpk+czN3kKiIVmgLFgPCjjrysjtShkyO+7JiEKLhIVU1qsmOG Xct0WLxPCKscCWDPQLjBw73sLxoDaauc6SHKBFEWyt3YIJHKHmPvL/8qToo6NtS+i1Aj CNHwohdYtMjbVPPBOsSRx6Wt6GUXAeiuzFyvV3qsbSiBjNuPGP5A3k5Mgbdaz3RyeW45 zLfD2cNgjDfD8whkyThZ/NLvu76Yd2OFByfohgjSqekOCHUBwcoiLx625UKOAxcxts39 UkXVHYykkdddfXjy7vx1/wg4Xviy8XHqVlLHgzeA8vyIJYpZGsOJXURv7Je+QJHo554L 74jg== 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=fiA+LD0m3bNlbjYZYh40o+yJMANxeoR9Ac4Ws1R5aHg=; b=E8uVnQt1n6N7dbA8uVhj2MuamGFLDgMMA+zz5kDKssP9ktpn+bWNG7WlwURFBOi3+K r8caOwxIkpVQd0/YaKzf0RXXsSgCtZqHyAbMkNe/yxp2e8uUwNQng0VDIrRTjMHipi/e +m75tAqeWoXUQ+cOXuLvL0WgMg+GlZw1ZXxiNvV/9QZ5pbpHYWrsntGc4W8S3P2F+SP2 dUFkiG7eu90s34urhbo/GzdDFC5TPTgbxh14tzGJOD66qATnKVWYeE2F6v8fKUPVk8OE EsW7E2OE7SJvpK52hCeLJ/tO+NJa3RGq7lexFNem9SF5jPD+eu+ut2T14LaMyxK/iTFJ 4OJw== X-Gm-Message-State: APjAAAW7709UF6JPMui4njnsHsnypjvjQhtTs0TwFoh9QPnttcgF2yMm vjp9qtLlCNAMfPNLkIj/u4QDGyn0 X-Google-Smtp-Source: APXvYqzWJvKZOpjsOxVib5AI4EbeKq1tH4IiaCxhG3pwM46tMotZsVc6pLo1gBnDURaTpHml8nHblQ== X-Received: by 2002:aa7:870d:: with SMTP id b13mr6250795pfo.212.1578835968739; Sun, 12 Jan 2020 05:32:48 -0800 (PST) Received: from HP (east42-p111.eaccess.hi-ho.ne.jp. [219.121.173.112]) by smtp.gmail.com with ESMTPSA id w6sm10954853pfq.99.2020.01.12.05.32.47 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 12 Jan 2020 05:32:48 -0800 (PST) From: ynyaaa@gmail.com To: bug-gnu-emacs@gnu.org Subject: 26.3; bug of mouse-face including linebreak Date: Sun, 12 Jan 2020 22:32:31 +0900 Message-ID: <86wo9wyf4g.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::430 X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) If 'mouse-face is put on a reaion including linebreaks and active, the appearance of the blank areas right to linebreaks is changed. But pointing the blank areas does not activate 'mouse-face. If 'mouse-face is put on a region ending with a linebreak, the activated appearance covers the first character of the next line. Example: Evaluating the form below, a green area is displayed, where 'face, 'mouse-face, 'keymap and 'help-echo properties are put. The green area includes a text "TARGET" and a blank area. When pointing "TARGET", 'mouse-face is active. The red area covers "*" in the next line, which has no properties. When pointting the green blank area, 'mouse-face is not active. Clicking the green area(both "TARGET" and the blank area) shows a message "mouse-face: (:background red)". The keymap is also active at "*" in the next line, which has no properties. The 'help-echo property is active only when pointing on "TARGET", not on the green blank area. (let ((map (make-sparse-keymap))) (switch-to-buffer (generate-new-buffer "tmp")) (define-key map [down-mouse-1] #'ignore) (define-key map [mouse-1] (lambda (ev) (interactive "e") (let* ((p (posn-point (event-end ev))) (prop (get-text-property p 'mouse-face))) (message "mouse-face: %s" prop)))) (define-key map "e" 'end-of-line) (insert "before\n" (propertize "TARGET\n" 'face '(:background "green") 'mouse-face '(:background "red") 'help-echo "click here" 'keymap map) "*after\n")) In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32) of 2019-08-29 built on CIRROCUMULUS Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd Windowing system distributor 'Microsoft Corp.', version 6.3.9600 Recent messages: Configured using: 'configure --without-dbus --host=x86_64-w64-mingw32 --without-compress-install 'CFLAGS=-O2 -static -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS THREADS LCMS2 Important settings: value of $LANG: JPN locale-coding-system: cp932 Major mode: Fundamental 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 blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils cus-edit cus-start cus-load wid-edit pulse eieio-opt speedbar sb-image ezimage dframe find-func thingatpt xref cl-seq project ring eieio eieio-core cl-macs eieio-loaddefs misearch multi-isearch cl-extra help-fns radix-tree cl-print byte-opt gv bytecomp byte-compile cconv debug help-mode easymenu cl-loaddefs cl-lib elec-pair time-date mule-util japan-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors 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 composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray 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 threads w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 139841 14457) (symbols 48 25226 1) (miscs 40 189 298) (strings 32 39872 1327) (string-bytes 1 1014280) (vectors 16 18882) (vector-slots 8 687654 27462) (floats 8 69 402) (intervals 56 1657 975) (buffers 992 20)) From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 12 10:16:34 2020 Received: (at 39098) by debbugs.gnu.org; 12 Jan 2020 15:16:34 +0000 Received: from localhost ([127.0.0.1]:57795 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqeyg-00059s-2m for submit@debbugs.gnu.org; Sun, 12 Jan 2020 10:16:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57023) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqeye-00055Q-NH; Sun, 12 Jan 2020 10:16:32 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35050) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iqeyZ-0001yw-Ga; Sun, 12 Jan 2020 10:16:27 -0500 Received: from [176.228.60.248] (port=3683 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iqeyX-00029g-Iw; Sun, 12 Jan 2020 10:16:26 -0500 Date: Sun, 12 Jan 2020 17:16:30 +0200 Message-Id: <83ftgk7lip.fsf@gnu.org> From: Eli Zaretskii To: ynyaaa@gmail.com In-reply-to: <86wo9wyf4g.fsf@gmail.com> (ynyaaa@gmail.com) Subject: Re: bug#39098: 26.3; bug of mouse-face including linebreak References: <86wo9wyf4g.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39098 Cc: 39098@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) tags 39098 notabug thanks > From: ynyaaa@gmail.com > Date: Sun, 12 Jan 2020 22:32:31 +0900 > > If 'mouse-face is put on a reaion including linebreaks and active, > the appearance of the blank areas right to linebreaks is changed. > But pointing the blank areas does not activate 'mouse-face. > > If 'mouse-face is put on a region ending with a linebreak, > the activated appearance covers the first character of the next line. This is not a bug, this is how mouse-face is supposed to work. It differs from other faces in this regard, because it is intended to be used to show mouse-sensitive text, including text that spans multiple lines. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 13 01:53:32 2020 Received: (at 39098) by debbugs.gnu.org; 13 Jan 2020 06:53:32 +0000 Received: from localhost ([127.0.0.1]:58539 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqtbQ-0006lh-BK for submit@debbugs.gnu.org; Mon, 13 Jan 2020 01:53:32 -0500 Received: from mail-pj1-f45.google.com ([209.85.216.45]:55614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqtbO-0006lR-Da for 39098@debbugs.gnu.org; Mon, 13 Jan 2020 01:53:31 -0500 Received: by mail-pj1-f45.google.com with SMTP id d5so3736899pjz.5 for <39098@debbugs.gnu.org>; Sun, 12 Jan 2020 22:53:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:date:message-id:mime-version; bh=HmA6FTTOoNvnv/bjyFwdENWrXWR/O/wyVr/KZZ+yCW0=; b=QE8Oz5HNoMc7tzQSNWiTAPwMks+yblPiKZWBFj4F13iLLLuYtdpS1qTL6RfCal4VOB kpjf8/GjbEnMrQG9jHsBLYun+puLS15C4l+IxrbAtziqd/p0RALPlMGHLhkyjytvum8n 5YviW/dnWLueRat7EHChn01IW3vswIGUcswl3BP6vxo+WEOA7tv+5SlaWvW3TwWxfl6O C+4LSVLfpcBnfwbfvE8P3izsVSxvaHvhdQ4IOtEv0M1K4Jp5uxT3JJabApU+vXK5x9HZ B8pYDBYfhRFZeDjv21viP0JFzuJU6zcFYeMR6amXgt+curEs8vMnh9XZxGSEfiVqIcNf IQow== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :mime-version; bh=HmA6FTTOoNvnv/bjyFwdENWrXWR/O/wyVr/KZZ+yCW0=; b=Nrkv+/Yp+svIg6UEvErOcvjEGGqWACTusLYA3lr1t3k4LfiThXBsQL0mIBk20WXRAc 8ZIDp5YEHsI1Pc6AwrG8/Fp6vYCYiB5XOKesAwePKMBQnYcEKpWQK5zddrjjOZjoPOdC XKTR9W3L/tWqH+VxQeiTYlveOoGWWJ9kzFlafWOXrPO1Xd6LmI0++W9YigixEAI5RDcu 8/O79HmvECsr38rSoooDfWMS7fOodNdjZs77gUt7cVKMoGbfIITXDPInU72r5ukE1PAv M78WoFgXBR9dT8lPS2IU89GT1fwMrvT/ZLlbs/cU7VHUxS1cvyhXhC5J2ye+CCCt3GSW GAFw== X-Gm-Message-State: APjAAAU0sR6K1OwYK2yntMKBeeaYFbpEkZrhRapTPlUqtazixjqPFgmV i+VK7iDduQa9/W0m8fsju5q2NKBV X-Google-Smtp-Source: APXvYqzxMiKVkQ0uRmvZnyYoh/5I2UZIMFjmpfGNEx27O7Wgx3scE+AGkWjgMCgXMVYzxyDkMbye9g== X-Received: by 2002:a17:90a:b311:: with SMTP id d17mr21040977pjr.17.1578898404264; Sun, 12 Jan 2020 22:53:24 -0800 (PST) Received: from HP (east42-p111.eaccess.hi-ho.ne.jp. [219.121.173.112]) by smtp.gmail.com with ESMTPSA id l66sm12007917pga.30.2020.01.12.22.53.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 12 Jan 2020 22:53:23 -0800 (PST) From: ynyaaa@gmail.com To: Eli Zaretskii Subject: Re: bug#39098: 26.3; bug of mouse-face including linebreak In-Reply-To: <83ftgk7lip.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 12 Jan 2020 17:16:30 +0200") Date: Mon, 13 Jan 2020 15:53:07 +0900 Message-ID: <86o8v7yhik.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 39098 Cc: 39098@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > tags 39098 notabug > thanks > >> From: ynyaaa@gmail.com >> Date: Sun, 12 Jan 2020 22:32:31 +0900 >> >> If 'mouse-face is put on a reaion including linebreaks and active, >> the appearance of the blank areas right to linebreaks is changed. >> But pointing the blank areas does not activate 'mouse-face. >> >> If 'mouse-face is put on a region ending with a linebreak, >> the activated appearance covers the first character of the next line. > > This is not a bug, this is how mouse-face is supposed to work. It > differs from other faces in this regard, because it is intended to be > used to show mouse-sensitive text, including text that spans multiple > lines. Why is the out-of-range character highlighted only if it is at the beginning of line? From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 13 03:02:00 2020 Received: (at 39098) by debbugs.gnu.org; 13 Jan 2020 08:02:00 +0000 Received: from localhost ([127.0.0.1]:58610 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iqufg-0000Dm-H6 for submit@debbugs.gnu.org; Mon, 13 Jan 2020 03:02:00 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48796) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iquff-0000Da-8y for 39098@debbugs.gnu.org; Mon, 13 Jan 2020 03:01:59 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:46308) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iqufa-0002qD-1k; Mon, 13 Jan 2020 03:01:54 -0500 Received: from [109.253.192.67] (port=41669 helo=[10.129.95.188]) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1iqufY-0004CO-Sj; Mon, 13 Jan 2020 03:01:53 -0500 Date: Mon, 13 Jan 2020 10:01:49 +0200 User-Agent: K-9 Mail for Android In-Reply-To: <86o8v7yhik.fsf@gmail.com> References: <86o8v7yhik.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: bug#39098: 26.3; bug of mouse-face including linebreak To: ynyaaa@gmail.com From: Eli Zaretskii Message-ID: <029C844A-0F31-4C5E-86CB-3678565957DB@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39098 Cc: 39098@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On January 13, 2020 8:53:07 AM GMT+02:00, ynyaaa@gmail=2Ecom wrote: >=20 > Why is the out-of-range character highlighted only if it is at the > beginning of line? Because you've covered the newline with mouse-face=2E Newlines leave no g= lyphs on display, so the next character gets highlighted instead=2E If you= don't want this, exclude the newline from the mouse-face propertized part,= it is unnecessary anyway, because a newline can never be "mouse-sensitive"= =2E From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 13 09:45:16 2020 Received: (at 39098) by debbugs.gnu.org; 13 Jan 2020 14:45:16 +0000 Received: from localhost ([127.0.0.1]:58800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ir0xw-0006ML-8s for submit@debbugs.gnu.org; Mon, 13 Jan 2020 09:45:16 -0500 Received: from mail-pg1-f176.google.com ([209.85.215.176]:39594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ir0xu-0006M3-NH for 39098@debbugs.gnu.org; Mon, 13 Jan 2020 09:45:15 -0500 Received: by mail-pg1-f176.google.com with SMTP id b137so4809064pga.6 for <39098@debbugs.gnu.org>; Mon, 13 Jan 2020 06:45:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:date:message-id:mime-version; bh=M9Q/9MBNPVh04zfg2XpOsFHLtQLKROQxORTAPtWC9iU=; b=Cs11aQ0RMGo9S0RA+/yFG5uqbtG+K+6qsq3x4ojEJdFBZIMhS0V3bV1e09GkgFIPdZ uwIDcUB8SixapK7TacGHfvriDO/N030JBJFR5jb6SykCp3m00FtKaVsWE4GwUqwfL6+5 iMx+lVFJWa+s1vRgFqsW29WsT2Gxh8Q+H1s/BrHjbV47JRqaqwpH3txyz7IkvPVnR4x5 5rtCcrCxc0gHNCTZ16oaZN4ogy7yH9hsHGrScDXjCLp4ItrgpF4jmTaOwWwbafI17Vxu GKclpYfpnIPj29jG6pa1KbbLio5saNArOQWsxTdCK0RPmzUS75M/xPIxprs1YBdZ8tVa qjMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :mime-version; bh=M9Q/9MBNPVh04zfg2XpOsFHLtQLKROQxORTAPtWC9iU=; b=GhFr+u1u+m+D6HSALGRcQmGD8D6Yi0dZkO2eSqKjl3BMfcNDkF0gOhknAZxrb0C5J/ Hx2NvwpwGKTm3GAHm6RMdonbkqZ76JcRvJynC3LXNc0sVbKzrC0aaJhGBZgVCT7XKr1W mbaEhKva6kbZKgvF1jES168QdxJJf6x5qkPuC5X5YlNXOg4Yk+U11GeM3KH4S8tEJFUG Jfj6y/7qUFETveEiXF6vwZbF0u/v+Zpx/Vel7FTZL5Rpwkd1baGGwM5kGzVveqNpJw4T 9MRs+j293Fwu3qIqGQ6gUudUHwN9wnxHmp7opTinFYsljjGDy8gNVUYk84sQwJIykhQI WbwA== X-Gm-Message-State: APjAAAWl/L5pBq9Hgkt3Uq8ieo61srSiv1EvLUiNvZqiiPu38Kt+wLSv 5J/HYADpp3gCLKyHIBzyeAMlzlX0 X-Google-Smtp-Source: APXvYqyUIqVQ0QpqdKzOuzQNhCyIi0jFwNKkH9HFwxDBcGaa838xgbidq5WSeREweZof6xYaEktDog== X-Received: by 2002:a63:f403:: with SMTP id g3mr21367573pgi.62.1578926708605; Mon, 13 Jan 2020 06:45:08 -0800 (PST) Received: from HP (east42-p111.eaccess.hi-ho.ne.jp. [219.121.173.112]) by smtp.gmail.com with ESMTPSA id d27sm13616699pgm.53.2020.01.13.06.45.06 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 13 Jan 2020 06:45:07 -0800 (PST) From: ynyaaa@gmail.com To: Eli Zaretskii Subject: Re: bug#39098: 26.3; bug of mouse-face including linebreak In-Reply-To: <029C844A-0F31-4C5E-86CB-3678565957DB@gnu.org> (Eli Zaretskii's message of "Mon, 13 Jan 2020 10:01:49 +0200") Date: Mon, 13 Jan 2020 23:44:51 +0900 Message-ID: <86lfqbxvoc.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39098 Cc: 39098@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > On January 13, 2020 8:53:07 AM GMT+02:00, ynyaaa@gmail.com wrote: >> >> Why is the out-of-range character highlighted only if it is at the >> beginning of line? > > Because you've covered the newline with mouse-face. Newlines leave no > glyphs on display, so the next character gets highlighted instead. If > you don't want this, exclude the newline from the mouse-face > propertized part, it is unnecessary anyway, because a newline can > never be "mouse-sensitive". Conversely, is there any way to disable 'mouse-face hilighting at blank areas when the region contains more than two lines? Just like 'underline face does not draw line to the right edge. From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 13 11:40:21 2020 Received: (at 39098) by debbugs.gnu.org; 13 Jan 2020 16:40:21 +0000 Received: from localhost ([127.0.0.1]:59941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ir2lI-000171-SY for submit@debbugs.gnu.org; Mon, 13 Jan 2020 11:40:21 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45086) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ir2lH-00016p-En for 39098@debbugs.gnu.org; Mon, 13 Jan 2020 11:40:19 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:54723) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ir2lC-0000Dt-9i; Mon, 13 Jan 2020 11:40:14 -0500 Received: from [176.228.60.248] (port=4889 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ir2lB-00072v-BQ; Mon, 13 Jan 2020 11:40:13 -0500 Date: Mon, 13 Jan 2020 18:40:21 +0200 Message-Id: <83v9pf5myy.fsf@gnu.org> From: Eli Zaretskii To: ynyaaa@gmail.com In-reply-to: <86lfqbxvoc.fsf@gmail.com> (ynyaaa@gmail.com) Subject: Re: bug#39098: 26.3; bug of mouse-face including linebreak References: <86lfqbxvoc.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 39098 Cc: 39098@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: ynyaaa@gmail.com > Cc: 39098@debbugs.gnu.org > Date: Mon, 13 Jan 2020 23:44:51 +0900 > > Conversely, is there any way to disable 'mouse-face hilighting at blank > areas when the region contains more than two lines? > Just like 'underline face does not draw line to the right edge. Maybe, I will need to check. (Btw, the highlighting affects the empty space past EOL only if you specify the background color; if you specify 'underline' or something similar, it doesn't affect the empty space.) Suggest to file a feature-request bug report about that. From debbugs-submit-bounces@debbugs.gnu.org Thu Jan 23 00:09:18 2020 Received: (at 39098-done) by debbugs.gnu.org; 23 Jan 2020 05:09:18 +0000 Received: from localhost ([127.0.0.1]:51598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iuUk0-0007U5-UV for submit@debbugs.gnu.org; Thu, 23 Jan 2020 00:09:18 -0500 Received: from ted.gofardesign.uk ([67.225.143.91]:37028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iuUjy-0007Ts-TB for 39098-done@debbugs.gnu.org; Thu, 23 Jan 2020 00:09:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: 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=CzJxkCIT3uTNj4M5djyU/sDce29c4MOJcIzEmByvQPY=; b=Is87FLX0tblLYok2TFpKoA0gQR TOaDuq+WpZzKR5S7qQa5EGfWKzuhhWFNOWqy0ugknsdPmaFZvaFWHH4qoPT6/mW0Wbn8t7x6LWfYO 396+kTlEpd/ve9mIDVvGuxIc2bevRdlFpSuc3LxwXQnl5PL7bmdyyhlLyUH6jUSo8HFJ18ZzO7eIo 4FbBFI/2g8rEI8nbVvIb/yorGkOyOnqzclPWmBHKol/Lc5o3Umf1ERgrrIejsXW8cKEzxdq1gEFrr RiQlVXOQeaQ66rAB47Bf87BYswImkF3EnUo1RhSuI+odNlhO22KLt4CjWiFrRrXr7X9no5CDYJlxL +bWNz1Ww==; Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:50974 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iuUjt-0019DC-93; Thu, 23 Jan 2020 00:09:09 -0500 From: Stefan Kangas To: Eli Zaretskii Subject: Re: bug#39098: 26.3; bug of mouse-face including linebreak In-Reply-To: <83ftgk7lip.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 12 Jan 2020 17:16:30 +0200") References: <86wo9wyf4g.fsf@gmail.com> <83ftgk7lip.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Thu, 23 Jan 2020 06:09:07 +0100 Message-ID: <87a76eiwss.fsf@marxist.se> MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39098-done Cc: ynyaaa@gmail.com, 39098-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii writes: > tags 39098 notabug > thanks > >> From: ynyaaa@gmail.com >> Date: Sun, 12 Jan 2020 22:32:31 +0900 >> >> If 'mouse-face is put on a reaion including linebreaks and active, >> the appearance of the blank areas right to linebreaks is changed. >> But pointing the blank areas does not activate 'mouse-face. >> >> If 'mouse-face is put on a region ending with a linebreak, >> the activated appearance covers the first character of the next line. > > This is not a bug, this is how mouse-face is supposed to work. It > differs from other faces in this regard, because it is intended to be > used to show mouse-sensitive text, including text that spans multiple > lines. I'm therefore also closing this bug. Best regards, Stefan Kangas From unknown Sun Jun 15 08:23:29 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 20 Feb 2020 12:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator