From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric Chun via Users list for the GNU Emacs text editor Newsgroups: gmane.emacs.help Subject: Compilation mode next error isn't searching all buffers Date: Sun, 1 Jan 2023 19:30:33 +0000 (UTC) Message-ID: <1175902378.3467541.1672601433900@mail.yahoo.com> References: <1175902378.3467541.1672601433900.ref@mail.yahoo.com> Reply-To: Eric Chun Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4349"; mail-complaints-to="usenet@ciao.gmane.io" To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 01 20:31:25 2023 Return-path: Envelope-to: geh-help-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 1pC43J-0000wX-AD for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 01 Jan 2023 20:31:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pC42h-0002aO-LC; Sun, 01 Jan 2023 14:30:47 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pC42d-0002Zr-8m for help-gnu-emacs@gnu.org; Sun, 01 Jan 2023 14:30:43 -0500 Original-Received: from sonic309-14.consmr.mail.bf2.yahoo.com ([74.6.129.124]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pC42b-0006Z4-5N for help-gnu-emacs@gnu.org; Sun, 01 Jan 2023 14:30:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1672601436; bh=6WrzCkJM3Pz5sB8oQulFQIRBe93DziFLJFRUoDUuN6U=; h=Date:From:Reply-To:To:Subject:References:From:Subject:Reply-To; b=hSNRZCAgZq88gOScEB7DWbxQUpNk3FdDv7bs/3GLZzg9ZUTwFHVRSaVxHRr2bu9gdyzc1A5/SMZXL47oKK3Epu+YGvkEYG/wO2Y+U3eAdkQh40aswr0l9q3o4Ywlmnmhl1DK971HLIp6uph8RLcTgIrc2IAabW3zJl7qpOz2ilJbB09sCUqpATOCad3ptOW1iHmI2cF4IQCEnL3BbpFaZMyrSHqUWDgJqH1o/THvTsrbn/Nw71YlOv3rAkMjsJrvU826Z9wZkdkANsHjagz2V1EdpCRZHblAb0yOIdH9Rjr3HIwzU9624Z74TTdAVXChcJylZt6r25trqlWOc7zs3w== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1672601436; bh=kBGHGzhSNBLlnbtRe6arpMOyuxUMrFafUlHxp/8ZsrV=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=hIppJy+pTXoOoKD1QighEd1Xuxx0Ecpht2n4hHgC2QEvLkmhq8Gz+JoFWRGnLFxhAJGWfyIF15nt4VK/o1u8QcMvCmXbt735lCeAe8GldVq/m3r7K0VnWUu86RsSQihXLJPD5V16Y/J4a8cI1iFkW5H8823ITfj7w2eeABgnOOkBvWRif7AaKOS6xZ5KgxavgxF+3r2E0C4m7PxvLDlcOIPnDueM9c+wV1M+K2hyupnQ35z9QUf25f+yFZrHp3wDwgN5FiLfdIsH8m1gAk+4b9EF1ClmfrEBuRqwNABSQA14SJbVbP0hEvH2srSYUyyRhFmfiavmFZblIzHnWR631g== X-YMail-OSG: 8TqtqzoVM1kQbfGeAOOLuJdPqk2A4nEC6ZxJf6lnV_xXeW1UyShRrpLIrPjEb9x 5lIYbqlJkculGtYbkQ0m.2FEgkWkYcgE1d_tmHse39OmVQIc0x1f_VfTQm97T1FvNSIhgPmwHrzT ljHbxrGVk0pBqfgijT0bzBdwM4xrtKA68P2jpNbtKE9f89Kik5IOfZvJ94GVlILsIo_aGXnSPATG wB7hve8jixt2LBQoa.60c7orilfN8UY70MHjDujbkWdIXbO5QfE6.z4e1Jm_g7rlP6Ufz1fms03m ntbyp8pC2Rm1jGY71gXE5FYdpLPqtJuUG6QdjMkP2Flp8IWR3K3UeWFTluuSEExE7NxH1XjjkgR. EcpuDYfsjDt7hJzcwfmxcbYXpzx_2lb1W0ipwayo4E2Ac_5J3g8nqZHoe2plegYBdjruFSmi.BS6 hggpp8S_7CdMpcE5mWY9CU..iNJO4ct2R2Q.FYbTAIrxh0roYPA2bWzyTvWZ6fzwVLppf0KIrve3 yEVHL8EAkJHRnCTo1zuQnXgnpzR8S_R2kDgIHhhUiW.VHKEbobpMskwcqq6LNd.5et81hLX1lRmp rkXZg6pmBz1bkQSNgzka2hYIoXzyGHi8PM4G92zY5zxcppe8.pk23Qblo.6lpqFFyAagHWrlrBXx PKknPcz_fS.TO49PEgeSkgtn6X5b4uopTEsATvk4I7fyxWfsKiIoUThOZR5TMFa7RUqDe4nw5Rt8 eTiHAQTiX7mypZr1F66YkKFkKhwV3HnWfQOrPsA3h8otCo.z1B4I9opltpjYcmdNOiToYDiKJoTB O0ER32I6bI7ARgV2vyGaksgfde8g3ld9gWi4rS.42O X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.bf2.yahoo.com with HTTP; Sun, 1 Jan 2023 19:30:36 +0000 X-Mailer: WebService/1.1.20982 YMailNorrin Received-SPF: pass client-ip=74.6.129.124; envelope-from=eyc8@yahoo.com; helo=sonic309-14.consmr.mail.bf2.yahoo.com X-Spam_score_int: -15 X-Spam_score: -1.6 X-Spam_bar: - X-Spam_report: (-1.6 / 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, FREEMAIL_REPLYTO_END_DIGIT=0.25, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-ACL-Warn: , Eric Chun Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:142086 Archived-At: I see the following at=C2=A0Compilation Mode (GNU Emacs Manual):"If the cur= rent buffer contains error messages or matches, these commands will iterate= through them; otherwise, Emacs looks for a buffer containing error message= s or matches amongst the windows of the selected frame (if the variable nex= t-error-find-buffer-function is customized to the value next-error-buffer-o= n-selected-frame), then for a buffer used previously by next-error or previ= ous-error, and finally all other buffers." This seems to indicate that next-error function should switch to other buff= ers if there are no other errors in current buffer, but that doesn't seem t= o happen. Here are the steps I followed:* First, I open an org file in Emacs.* I then= create a sparse tree using a regular expression.* I then type M-g M-n to m= ove to the next occurrence of my search string but it doesn't work.=C2=A0 I= get a message saying "user-error: Moved past last grep hit".* I kill the p= re-existing "*grep*" buffer in Emacs.* I then try M-g M-n again and it work= s. Why doesn't next-error function jump to the next occurrence of search strin= g found in current buffer?=C2=A0 It seems to still be looking for occurrenc= es in the grep buffer. I'm using Emacs 28.2 on CentOS7.