From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: ivan.popovich000@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#50550: 28.0.50; pulse-momentary highlighting does not dissapear when switching to bookmark Date: Sun, 12 Sep 2021 16:01:11 +0300 Message-ID: <87lf420wyw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38901"; mail-complaints-to="usenet@ciao.gmane.io" To: 50550@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 12 17:12:16 2021 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 1mPR9T-0009p9-OO for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Sep 2021 17:12:15 +0200 Original-Received: from localhost ([::1]:55944 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mPR9R-0007WE-MR for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 12 Sep 2021 11:12:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPR9H-0007Uq-NS for bug-gnu-emacs@gnu.org; Sun, 12 Sep 2021 11:12:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60124) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mPR9H-0007on-GB for bug-gnu-emacs@gnu.org; Sun, 12 Sep 2021 11:12:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mPR9H-0003H0-AJ for bug-gnu-emacs@gnu.org; Sun, 12 Sep 2021 11:12:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: ivan.popovich000@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Sep 2021 15:12:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50550 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.163145950612543 (code B ref -1); Sun, 12 Sep 2021 15:12:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Sep 2021 15:11:46 +0000 Original-Received: from localhost ([127.0.0.1]:43435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPR8x-0003GD-PL for submit@debbugs.gnu.org; Sun, 12 Sep 2021 11:11:46 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:47522) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mPP6k-0008Es-74 for submit@debbugs.gnu.org; Sun, 12 Sep 2021 09:01:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mPP6j-0007No-I3 for bug-gnu-emacs@gnu.org; Sun, 12 Sep 2021 09:01:17 -0400 Original-Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]:34768) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mPP6h-0003NG-Id for bug-gnu-emacs@gnu.org; Sun, 12 Sep 2021 09:01:17 -0400 Original-Received: by mail-lf1-x12e.google.com with SMTP id l11so14941165lfe.1 for ; Sun, 12 Sep 2021 06:01:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=0ufrT4l3HbWIYyEbF0qhuFWUsgyU6v54HImeZbXKHWE=; b=gALlt/rckPq6TYpj++L21+taerqL23IPdeT53ONFG1ehtkYpoDuYoM6RsD3Ks04n32 opv1W43+jNA/U2AoBkZlMl2ZWMPx7QzNrQwXF13X2EFhTOk4CPqQpYnGWIdna2hY/ctN kpcKCkJCWfL49oJvPwQLgnS38E/EVso4NPW8povaVjCj1WLcdXQwzgLpLmQ+inhsrnMs wjd+g4nRs8TwxVu2A2UVZYFkTGWyZaWDGoSIlTRKB1f90UrMM9ROydhs2pmC2AFyKpov x7ov9sSXPnjuT9faoP0FTEB8s8TRBag8v3qrOIZVs2zqaIu8MqjIOBDqTpdcN8OmBUTN Qqtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=0ufrT4l3HbWIYyEbF0qhuFWUsgyU6v54HImeZbXKHWE=; b=tJuFHY3nv1FwDNrq69xrr6N2SpAKkWpv0c+ytanwDrtlxFy1AyBD8eY79gkcgnAOOs W/uk6ZkBoB+UmekhIRmFXu65wfEK2sN3Wki7BUOxjM2gFjCP7FrbguxCfr2JKK571fkq 8FKm0yaS+DxOxhnxxvMo8CmI/DOS0cTuJBWnskkCKzOACXtoK+SB+8zJbyVODQpjWiEW c4uB/5W5MingsgQPqQKEdDvDn5Hn86NA4MgBTINR4rxdWgE8CeEH88MEdQAY3o3YRFLy 5UgzgG1olSImBUe53tBpD1FpI7njlUeDO1t0IvTkCkjckEQIaWu1NuuZw8CETXC/CVhp Sv1A== X-Gm-Message-State: AOAM532z6UHxluJcmchyYwTYPOFbmxRK5MD7CS8sDBb2vjePn3aDssF3 Xh8V8vZqeYqli3Zis5k5y2QOd5aZP0w= X-Google-Smtp-Source: ABdhPJx9Gk3+s6ILTyJ8kuMQq6IssF3dkyOR2UGApz6qsxDnzkcsFecgcSk4GD0OoQJklH7mgeiRpg== X-Received: by 2002:ac2:5547:: with SMTP id l7mr2234593lfk.458.1631451672336; Sun, 12 Sep 2021 06:01:12 -0700 (PDT) Original-Received: from localhost ([194.44.96.155]) by smtp.gmail.com with ESMTPSA id v11sm514001lfi.56.2021.09.12.06.01.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 Sep 2021 06:01:12 -0700 (PDT) Received-SPF: pass client-ip=2a00:1450:4864:20::12e; envelope-from=ivan.popovich000@gmail.com; helo=mail-lf1-x12e.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sun, 12 Sep 2021 11:11:42 -0400 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:214138 Archived-At: I have a function that pulses line where cursor is when i switch to other window. (add-to-list 'window-selection-change-functions (lambda (arg) (pulse-momentary-highlight-one-line (point)))) When using this function in emacs 28 and switching to bookmark, or creating bookmark for this file line at which point was when function is executed gets permanently highlighted. Steps to reproduce: 1. emacs -Q 2. evaluate (add-to-list 'window-selection-change-functions (lambda (arg) (pulse-momentary-highlight-one-line (point)))) 3. Create new buffer (C-x b b RET) 4. Insert text with newlines (RET test RET test) 4. Write buffer to disk so it can be bookmarked (C-x C-w RET) 5. Store bookmark (C-x r m RET) 6. Line of text where cursor was when (C-x r m RET) was executed will be highlighted Text will also be highlighted when opening bookmark using C-x r b Same thing happens when using emacs from terminal with emacs -Q -nw This bug occurs only in emacs 28 that is compiled from sourse using PKGBUILD from https://aur.archlinux.org/packages/emacs-git/ with option JIT set to "YES", which, from reading PKGBUILD adds --with-native-compilation to ./configure flags and runs *make NATIVE_FULL_AOT=1* instead of just *make*. In emacs27.2-1 installed using pacman this bug does not occur. In GNU Emacs 28.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.30, cairo version 1.17.4) of 2021-09-12 built on Arch Repository revision: c5bdb287e8109beef06f477fa1212226945c265e Repository branch: makepkg Windowing system distributor 'The X.Org Foundation', version 11.0.12013000 System Description: Arch Linux Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games --with-sound=alsa --with-modules --without-gconf --without-gsettings --enable-link-time-optimization --with-native-compilation --with-x-toolkit=gtk3 --without-xaw3d --without-compress-install '--program-transform-name=s/\([ec]tags\)/\1.emacs/' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -flto -fuse-linker-plugin' LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix 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 indent-tabs-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort emacsbug sendmail vc-git diff-mode easy-mmode vc-dispatcher bookmark pp pulse color kmacro mail-extr message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader cl-loaddefs cl-lib iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer 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 cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 79543 5871) (symbols 48 7500 0) (strings 32 21960 1662) (string-bytes 1 722659) (vectors 16 15929) (vector-slots 8 275098 26415) (floats 8 105 173) (intervals 56 313 1) (buffers 992 12))