From unknown Tue Jun 17 22:30:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38778: 26.3; next-error-highlight set to t doesn't seem semi-permanent Resent-From: Howard Melman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Dec 2019 19:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 38778 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 38778@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15775621832192 (code B ref -1); Sat, 28 Dec 2019 19:44:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Dec 2019 19:43:03 +0000 Received: from localhost ([127.0.0.1]:58939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ilHzL-0000ZH-9l for submit@debbugs.gnu.org; Sat, 28 Dec 2019 14:43:03 -0500 Received: from lists.gnu.org ([209.51.188.17]:54182) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ilHzK-0000Z7-ER for submit@debbugs.gnu.org; Sat, 28 Dec 2019 14:43:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34656) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ilHzI-000332-To for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2019 14:43:02 -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, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ilHzH-0007oH-JF for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2019 14:43:00 -0500 Received: from mail-qt1-x82a.google.com ([2607:f8b0:4864:20::82a]:36931) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ilHzH-0007is-CD for bug-gnu-emacs@gnu.org; Sat, 28 Dec 2019 14:42:59 -0500 Received: by mail-qt1-x82a.google.com with SMTP id w47so27029626qtk.4 for ; Sat, 28 Dec 2019 11:42:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:message-id:date :to; bh=zEXEod/wbWs5HbeItpSDqIJl7juT7Iuu+1Kc1PsNvBw=; b=BWhLxa5JGAJCvYlg8BfA2rDgD5eEfxqroDRLJYJJEwbvR23Zxc1NCpxwJvVDTBEo8Y LqMwJFc1iVlhDXKcdFtvfWqkKPyzCWEFOVukqiKePXRUv7gHEnR9cAjJF6f9K8OEYjTl h+zD+ZNwZSfnUjnAdKTH5JqQ1JApvYPNB7XOnOJCPATJ/dcGM5oNiFMy5MRBI0QLmTil sM9V4QwxUNWCrJOs1jX/kLQsHfU+MsOUyO6G/Or89ALChOcuGj59uCvq/TsmP7gQ/YAp YiuhzdsFDUZzQGNHVLn9l6OYuokQloAq3id75fEn5iwBzf8JJRI9HcHmDe0FHsl3UYgW nplA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:message-id:date:to; bh=zEXEod/wbWs5HbeItpSDqIJl7juT7Iuu+1Kc1PsNvBw=; b=dIj+L4gBlUdyg1MT511SNaEZYyPmcVYYxH2p5Zw2qclakOqSeRd40MFv6rPcc/vs8J fd6svrv8ZVo4Hq1ayHT8wtRP42iSo1nBxNhmtWhBInDLelCCPB3EmDCEkUD4z0zdli7T g5sTjfNVN3O8CzxO4wqvw9oy+xtiYAqJoXoUwAbMTQlkMklIcBwmYvoOw7qo1lRgdJe3 lTtC7ICFjasLnxMF4cO3+UO3oXw/SNSgSGOWdo620YKTDHIvjvUb3c3LJlrtCZU4hkTA QtUP6qXiJhjvvRsP4a24FsPEm/CEuvKkqoot3MJ0YtjmZfLLUT2YXhtR9bN7sb8zIKa/ n4PA== X-Gm-Message-State: APjAAAVrAmRGHvxcrW/ILHQz9T0lY6ejm/Rk2Z+sxSzPR6T8kRdyBl3D Ep9MDv6mLZEibLZJWyOmtdP7Rseo X-Google-Smtp-Source: APXvYqw+FlBcJ9lzYlrUs7UuQN4goc/UNsjCwiXbdsabPa5H6v6XvEPlP7nAdqpfxyURghVHRVlzmw== X-Received: by 2002:ac8:454c:: with SMTP id z12mr42819644qtn.123.1577562178327; Sat, 28 Dec 2019 11:42:58 -0800 (PST) Received: from lumet.home (pool-108-26-232-211.bstnma.fios.verizon.net. [108.26.232.211]) by smtp.gmail.com with ESMTPSA id 63sm10884989qki.57.2019.12.28.11.42.57 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 28 Dec 2019 11:42:57 -0800 (PST) From: Howard Melman Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Message-Id: <59A3A231-5EC7-4869-81D5-46CE5DA2D75A@gmail.com> Date: Sat, 28 Dec 2019 14:42:56 -0500 X-Mailer: Apple Mail (2.3445.104.11) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::82a X-Spam-Score: -1.3 (-) 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 (--) I tried this with emacs -Q on a mac using Gnu Emacs 26.3. Using customize-variable I set next-error-highlight to t ("Semipermanent highlighting") and saved that value for the current session. I then ran M-x grep and got a *grep* buffer and moved through the errors using n and p. The matches appeared in another window and were highlighted but the highlighting disappeared after a short time (could be the default value of 0.5 seconds) even if I didn't hit a key. My understanding of next-error-highlight is when set to t, the highlighting should remain until I enter another command. Yet=20 it seems to disappear on it's own. Howard In GNU Emacs 26.3 (build 1, x86_64-apple-darwin18.2.0, NS appkit-1671.20 = Version 10.14.3 (Build 18D109)) of 2019-09-02 built on builder10-14.porkrind.org Windowing system distributor 'Apple', version 10.3.1671 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Creating customization items... Creating customization items ...done Resetting customization items...done Creating customization setup...done To install your edits, invoke [State] and choose the Set operation ls does not support --dired; see =E2=80=98dired-use-ls-dired=E2=80=99 = for more details. Grep finished with matches found File local-variables error: (void-function python-black-on-save-mode) Configured using: 'configure --with-ns '--enable-locallisppath=3D/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules' Configured features: NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Python Minor modes in effect: diff-auto-refine-mode: t shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t 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 Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny rfc822 mml mml-sec 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 vc-git diff-mode easy-mmode python tramp-sh tramp tramp-compat tramp-loaddefs trampver parse-time format-spec advice auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json shell pcomplete grep compile comint ansi-color ring map seq byte-opt gv bytecomp byte-compile cconv dired dired-loaddefs thingatpt help-fns radix-tree help-mode cus-edit easymenu cus-start cus-load wid-edit cl-loaddefs cl-lib elec-pair time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util 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 kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 259054 13300) (symbols 48 24850 2) (miscs 40 179 325) (strings 32 44096 2342) (string-bytes 1 1289500) (vectors 16 40807) (vector-slots 8 789749 12026) (floats 8 79 548) (intervals 56 2073 0) (buffers 992 17)) From unknown Tue Jun 17 22:30:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38778: 26.3; next-error-highlight set to t doesn't seem semi-permanent Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Mar 2020 22:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38778 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Howard Melman Cc: 38778@debbugs.gnu.org Received: via spool by 38778-submit@debbugs.gnu.org id=B38778.158318761214110 (code B ref 38778); Mon, 02 Mar 2020 22:21:02 +0000 Received: (at 38778) by debbugs.gnu.org; 2 Mar 2020 22:20:12 +0000 Received: from localhost ([127.0.0.1]:38457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j8tQ3-0003fW-RH for submit@debbugs.gnu.org; Mon, 02 Mar 2020 17:20:12 -0500 Received: from cadetblue.birch.relay.mailchannels.net ([23.83.209.28]:28586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j8tQ1-0003fL-PM for 38778@debbugs.gnu.org; Mon, 02 Mar 2020 17:20:10 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 833FB260EB2; Mon, 2 Mar 2020 22:20:08 +0000 (UTC) Received: from pdx1-sub0-mail-a46.g.dreamhost.com (100-96-217-40.trex.outbound.svc.cluster.local [100.96.217.40]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 17344260D93; Mon, 2 Mar 2020 22:20:08 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from pdx1-sub0-mail-a46.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Mon, 02 Mar 2020 22:20:08 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Wipe-Rock: 13de742262489078_1583187608310_761254664 X-MC-Loop-Signature: 1583187608310:461466825 X-MC-Ingress-Time: 1583187608309 Received: from pdx1-sub0-mail-a46.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a46.g.dreamhost.com (Postfix) with ESMTP id 02EFF7F565; Mon, 2 Mar 2020 14:20:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=tWn2ALp/L5JrAW5ifFIzK0l4PR8=; b= OKSOhDlhegbUaRhZPYDozPhcaDyBhZ7C5WCfzEiMPJeaduUawSe0o4czBxV0sz/O 5oUtpgYODufy1/qZHrjXLofk1ep135qkIaPU9cAH03Mq8E/Z1hXtVwpalZzmGvni FSHoUnv1uYrtES73X0YTMJwznJDZH99BZsixOiGR1oA= Received: from mail.jurta.org (m91-129-103-27.cust.tele2.ee [91.129.103.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a46.g.dreamhost.com (Postfix) with ESMTPSA id 3928980010; Mon, 2 Mar 2020 14:20:04 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a46 From: Juri Linkov Organization: LINKOV.NET References: <59A3A231-5EC7-4869-81D5-46CE5DA2D75A@gmail.com> Date: Tue, 03 Mar 2020 00:03:10 +0200 In-Reply-To: <59A3A231-5EC7-4869-81D5-46CE5DA2D75A@gmail.com> (Howard Melman's message of "Sat, 28 Dec 2019 14:42:56 -0500") Message-ID: <87v9nm76z9.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedruddtgedgudeitdcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtsehmtderredtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddtfedrvdejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdefrddvjedprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopehhmhgvlhhmrghnsehgmhgrihhlrdgtohhm X-Spam-Score: -1.5 (-) 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.5 (--) --=-=-= Content-Type: text/plain > I tried this with emacs -Q on a mac using Gnu Emacs 26.3. > > Using customize-variable I set next-error-highlight to t ("Semipermanent > highlighting") and saved that value for the current session. > > I then ran M-x grep and got a *grep* buffer and moved through the errors > using n and p. The matches appeared in another window and were > highlighted but the highlighting disappeared after a short time (could > be the default value of 0.5 seconds) even if I didn't hit a key. > > My understanding of next-error-highlight is when set to t, the > highlighting should remain until I enter another command. Yet > it seems to disappear on it's own. Sorry for the delay, I looked at this bug report, and the solution for you is to customize next-error-highlight-no-select instead of next-error-highlight, because next-error-highlight-no-select affects the highlighting of non-selected windows displayed from the *grep* buffer with n and p keys. Before closing this bug report, I propose to improve the documentation: --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=next-error-highlight-no-select.patch diff --git a/doc/emacs/building.texi b/doc/emacs/building.texi index 272b08d08e..95bdca737d 100644 --- a/doc/emacs/building.texi +++ b/doc/emacs/building.texi @@ -214,6 +214,7 @@ Compilation Mode @kindex C-x ` @findex next-error @vindex next-error-highlight +@vindex next-error-highlight-no-select To visit errors sequentially, type @w{@kbd{C-x `}} (@code{next-error}), or equivalently @kbd{M-g M-n} or @kbd{M-g n}. This command can be invoked from any buffer, not just a Compilation @@ -258,7 +259,9 @@ Compilation Mode When Emacs visits the locus of an error message, it momentarily highlights the relevant source line. The duration of this highlight -is determined by the variable @code{next-error-highlight}. +is determined by the variable @code{next-error-highlight} for +loci in selected buffers, and @code{next-error-highlight-no-select} for +loci in non-selected buffers. @vindex compilation-context-lines If the @file{*compilation*} buffer is shown in a window with a left diff --git a/lisp/simple.el b/lisp/simple.el index 688dbcc947..d1e10850bf 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -76,6 +76,8 @@ next-error (defcustom next-error-highlight 0.5 "Highlighting of locations in selected source buffers. +See `next-error-highlight-no-select' to customize highlighting +of locations in non-selected buffers. If a number, highlight the locus in `next-error' face for the given time in seconds, or until the next command is executed. If t, highlight the locus until the next command is executed, or until @@ -91,7 +93,9 @@ next-error-highlight :version "22.1") (defcustom next-error-highlight-no-select 0.5 - "Highlighting of locations in `next-error-no-select'. + "Highlighting of locations in non-selected source buffers. +Usually non-selected buffers are displayed by `next-error-no-select'. +See `next-error-highlight' to customize highlighting of selected buffers. If number, highlight the locus in `next-error' face for given time in seconds. If t, highlight the locus indefinitely until some other locus replaces it. If nil, don't highlight the locus in the source buffer. --=-=-=-- From unknown Tue Jun 17 22:30:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38778: 26.3; next-error-highlight set to t doesn't seem semi-permanent Resent-From: Howard Melman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Mar 2020 02:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38778 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 38778@debbugs.gnu.org Received: via spool by 38778-submit@debbugs.gnu.org id=B38778.158320334114057 (code B ref 38778); Tue, 03 Mar 2020 02:43:01 +0000 Received: (at 38778) by debbugs.gnu.org; 3 Mar 2020 02:42:21 +0000 Received: from localhost ([127.0.0.1]:38540 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j8xVk-0003ef-Oj for submit@debbugs.gnu.org; Mon, 02 Mar 2020 21:42:20 -0500 Received: from mail-qk1-f170.google.com ([209.85.222.170]:36025) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j8xVi-0003eS-V5 for 38778@debbugs.gnu.org; Mon, 02 Mar 2020 21:42:19 -0500 Received: by mail-qk1-f170.google.com with SMTP id f3so2011283qkh.3 for <38778@debbugs.gnu.org>; Mon, 02 Mar 2020 18:42:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=T3I/cDR3BoaTyTCXNJlmxlgpM0bXMMmnd/f3TtGhqps=; b=c855ZMCTMfDBsVmiIO344T9fxb69/XTgOf6EQgg5XPdhSgcvGcZ0QpYFwqcjgrcsWB udXlO7DYJWpeCiMBGn3zU1m0NGXotSAkTnq+54DfVMmuWv/dUUqMY/FUN9K527f1nCuw t0UKPYGAH/3VcCmglbve3d4z5qw8o9mVhgnhNBia4ylQXg2GBsfzR6JwIG6HK4AWKA4L 5lkA99pd7xo44IOdyXZeMVP461lxbKS1CqBuA3KpgT7t3tAr380N2e89LAbwHZFZO7Sv Ixze3kd8JFIvji9WKNZJtNprZjOtdiFe+nGqahjK9RiAz07kKKmZ69oT+CJBC4+WYZAn hvfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=T3I/cDR3BoaTyTCXNJlmxlgpM0bXMMmnd/f3TtGhqps=; b=m/HBh7L8y9fA1Mt8jp0/v4f1/j4XR7gfGKsR9AyztE84OudvNPNFfBxviUgb/G6+tH 4tv0sniVQ1+2r8iZCiRXMlcDbz8bmxmowZyuZju4tIu+pTm1GoCgHzlCJQvtHUvrpcvS MhjiK+ypV4iwbYa9QhhPCIxhkL4xxV36vRGPMb71yadvXf8VjwOSgnwHDU6X7QOuTVTO xrtmUyxJdKVQ/nZ0hglSUwv3mME3ucHWOdVRWX/K2Xgx0h+Z8tXf1TSX9blmbTofzoGR hK0szpwlPbHqQ6n9n2k88ZFHURqp8XPFQKr2Z5s2mQ6dlWeEiBMXlZ8PeT/oyaA+Wdom ircg== X-Gm-Message-State: ANhLgQ1hnyOfp8DDYC6oZ8FjzQqnqPbi6D1dt8iiEB+Zskix2Swdk963 E1p890KJxJIp/EfkI0n6d5XZKfzfzuw= X-Google-Smtp-Source: ADFU+vvYE6G6ITFmCeGz3p30Tq7mMPAwl1OY4rd8jZbCD+IwWz0TT9wtIPNPQE7yDkCVjelEzNjxXA== X-Received: by 2002:a37:e313:: with SMTP id y19mr2240944qki.74.1583203333055; Mon, 02 Mar 2020 18:42:13 -0800 (PST) Received: from lumet.home (pool-108-26-232-211.bstnma.fios.verizon.net. [108.26.232.211]) by smtp.gmail.com with ESMTPSA id n74sm11277406qke.63.2020.03.02.18.42.11 for <38778@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 02 Mar 2020 18:42:12 -0800 (PST) From: Howard Melman Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Date: Mon, 2 Mar 2020 21:42:03 -0500 References: <59A3A231-5EC7-4869-81D5-46CE5DA2D75A@gmail.com> <87v9nm76z9.fsf@mail.linkov.net> In-Reply-To: <87v9nm76z9.fsf@mail.linkov.net> Message-Id: <486FC3EB-C295-491B-BB2B-E77E5369A29B@gmail.com> X-Mailer: Apple Mail (2.3445.104.11) X-Spam-Score: -1.5 (-) 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.5 (--) > On Mar 2, 2020, at 5:03 PM, Juri Linkov wrote: >=20 > Sorry for the delay, I looked at this bug report, and the solution for = you > is to customize next-error-highlight-no-select instead of = next-error-highlight, > because next-error-highlight-no-select affects the highlighting of > non-selected windows displayed from the *grep* buffer with n and p = keys. Thank you. Setting next-error-highlight-no-select does indeed give me = the behavior I want. > Before closing this bug report, I propose to improve the = documentation: These doc changes would have enabled me to figure this out on my own, so = I like them. Howard From unknown Tue Jun 17 22:30:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38778: 26.3; next-error-highlight set to t doesn't seem semi-permanent Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 03 Mar 2020 17:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38778 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov Cc: hmelman@gmail.com, 38778@debbugs.gnu.org Received: via spool by 38778-submit@debbugs.gnu.org id=B38778.15832559538353 (code B ref 38778); Tue, 03 Mar 2020 17:20:01 +0000 Received: (at 38778) by debbugs.gnu.org; 3 Mar 2020 17:19:13 +0000 Received: from localhost ([127.0.0.1]:39920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9BCK-0002Ae-Hq for submit@debbugs.gnu.org; Tue, 03 Mar 2020 12:19:13 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49257) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9BCJ-0002AS-GY for 38778@debbugs.gnu.org; Tue, 03 Mar 2020 12:19:12 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34577) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j9BCE-0008TT-0T; Tue, 03 Mar 2020 12:19:06 -0500 Received: from [176.228.60.248] (port=3439 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j9BCD-0006RL-9o; Tue, 03 Mar 2020 12:19:05 -0500 Date: Tue, 03 Mar 2020 19:18:58 +0200 Message-Id: <838skhxsot.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87v9nm76z9.fsf@mail.linkov.net> (message from Juri Linkov on Tue, 03 Mar 2020 00:03:10 +0200) References: <59A3A231-5EC7-4869-81D5-46CE5DA2D75A@gmail.com> <87v9nm76z9.fsf@mail.linkov.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) 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.7 (-) > From: Juri Linkov > Date: Tue, 03 Mar 2020 00:03:10 +0200 > Cc: 38778@debbugs.gnu.org > > Before closing this bug report, I propose to improve the documentation: Thanks, please push to the release branch, after taking care of a nit below. > When Emacs visits the locus of an error message, it momentarily > highlights the relevant source line. The duration of this highlight > -is determined by the variable @code{next-error-highlight}. > +is determined by the variable @code{next-error-highlight} for > +loci in selected buffers, and @code{next-error-highlight-no-select} for ^^^^^^^^^^^^^^^^^^^ There's only one selected buffer, so I'd suggest to say "in the selected buffer", singular. > (defcustom next-error-highlight 0.5 > "Highlighting of locations in selected source buffers. > +See `next-error-highlight-no-select' to customize highlighting > +of locations in non-selected buffers. > If a number, highlight the locus in `next-error' face for the given time > in seconds, or until the next command is executed. > If t, highlight the locus until the next command is executed, or until > @@ -91,7 +93,9 @@ next-error-highlight > :version "22.1") > > (defcustom next-error-highlight-no-select 0.5 > - "Highlighting of locations in `next-error-no-select'. > + "Highlighting of locations in non-selected source buffers. > +Usually non-selected buffers are displayed by `next-error-no-select'. > +See `next-error-highlight' to customize highlighting of selected buffers. > If number, highlight the locus in `next-error' face for given time in seconds. > If t, highlight the locus indefinitely until some other locus replaces it. > If nil, don't highlight the locus in the source buffer. In these two doc strings, please move the reference to the other variable to the end of the doc string. That is the usual place for "see also" kinds of text, because that way it doesn't disrupt the reading of the documentation of this variable. From unknown Tue Jun 17 22:30:41 2025 X-Loop: help-debbugs@gnu.org Subject: bug#38778: 26.3; next-error-highlight set to t doesn't seem semi-permanent Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 04 Mar 2020 00:11:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38778 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: hmelman@gmail.com, 38778@debbugs.gnu.org Received: via spool by 38778-submit@debbugs.gnu.org id=B38778.158328065821202 (code B ref 38778); Wed, 04 Mar 2020 00:11:03 +0000 Received: (at 38778) by debbugs.gnu.org; 4 Mar 2020 00:10:58 +0000 Received: from localhost ([127.0.0.1]:40165 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9Hco-0005Vt-GD for submit@debbugs.gnu.org; Tue, 03 Mar 2020 19:10:58 -0500 Received: from camel.birch.relay.mailchannels.net ([23.83.209.29]:59134) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9Hcm-0005Vi-JX; Tue, 03 Mar 2020 19:10:57 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 655D2501D0A; Wed, 4 Mar 2020 00:10:55 +0000 (UTC) Received: from pdx1-sub0-mail-a71.g.dreamhost.com (100-96-217-41.trex.outbound.svc.cluster.local [100.96.217.41]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id D4885501C9F; Wed, 4 Mar 2020 00:10:54 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from pdx1-sub0-mail-a71.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Wed, 04 Mar 2020 00:10:55 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Towering-Spicy: 55165576104930ee_1583280655115_796764042 X-MC-Loop-Signature: 1583280655114:1777953445 X-MC-Ingress-Time: 1583280655114 Received: from pdx1-sub0-mail-a71.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a71.g.dreamhost.com (Postfix) with ESMTP id 8E0227F5C0; Tue, 3 Mar 2020 16:10:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=go8vN0I3dzLXoy2rGmm9BbQ+fx4=; b= vAJ3HNitV5aNUPk7hyLUnWoIJSdmXaHGuiX+xDw9Cwi962ppeKiinBQdKBZJcn4X msENhBlPpuxubx83RPahDdWmzs2LgMcvrnDNf7eoS0hHp/93AL/dljdXY5ZuUZFq JjuHpnNssdN0g+gCv/aHrMgYCX4RE0h6NeMVWKq6rFE= Received: from mail.jurta.org (m91-129-103-27.cust.tele2.ee [91.129.103.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a71.g.dreamhost.com (Postfix) with ESMTPSA id 33A457F5C5; Tue, 3 Mar 2020 16:10:48 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a71 From: Juri Linkov Organization: LINKOV.NET References: <59A3A231-5EC7-4869-81D5-46CE5DA2D75A@gmail.com> <87v9nm76z9.fsf@mail.linkov.net> <838skhxsot.fsf@gnu.org> Date: Wed, 04 Mar 2020 01:48:38 +0200 In-Reply-To: <838skhxsot.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 03 Mar 2020 19:18:58 +0200") Message-ID: <87y2shxand.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedruddtjedgudelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutdefrddvjeenucevlhhushhtvghrufhiiigvpeefnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledruddtfedrvdejpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepvghlihiisehgnhhurdhorhhg X-Spam-Score: 0.0 (/) 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 (-) tags 38778 fixed close 38778 27.1 quit >> Before closing this bug report, I propose to improve the documentation: > > Thanks, please push to the release branch, after taking care of a nit > below. Pushed to the release branch with these changes, and closed.