From unknown Fri Jun 20 07:10:15 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#18263 <18263@debbugs.gnu.org> To: bug#18263 <18263@debbugs.gnu.org> Subject: Status: occur-edit-mode can lose its text properties Reply-To: bug#18263 <18263@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:10:15 +0000 retitle 18263 occur-edit-mode can lose its text properties reassign 18263 emacs submitter 18263 Yuriy Pitometsu severity 18263 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 13 17:37:47 2014 Received: (at submit) by debbugs.gnu.org; 13 Aug 2014 21:37:47 +0000 Received: from localhost ([127.0.0.1]:42425 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XHgEs-0001kp-OX for submit@debbugs.gnu.org; Wed, 13 Aug 2014 17:37:47 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58255) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XHg6U-0001WT-TN for submit@debbugs.gnu.org; Wed, 13 Aug 2014 17:29:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XHg6O-00076C-OM for submit@debbugs.gnu.org; Wed, 13 Aug 2014 17:29:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:40568) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHg6O-000761-MG for submit@debbugs.gnu.org; Wed, 13 Aug 2014 17:29:00 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59958) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHg6N-0004Ea-Vi for bug-gnu-emacs@gnu.org; Wed, 13 Aug 2014 17:29:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XHg6M-00074o-Kb for bug-gnu-emacs@gnu.org; Wed, 13 Aug 2014 17:28:59 -0400 Received: from mail-vc0-x232.google.com ([2607:f8b0:400c:c03::232]:52512) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XHg6M-00074d-FS for bug-gnu-emacs@gnu.org; Wed, 13 Aug 2014 17:28:58 -0400 Received: by mail-vc0-f178.google.com with SMTP id la4so431337vcb.37 for ; Wed, 13 Aug 2014 14:28:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=TcEQcxudUHt2YaNdF7H0wQhdVsn/JYWcwUY/MW64IFk=; b=Fy3DvVYeRccEj4OC944VwljShXCh9eQHsMk4E44Yu+WrJWC95LDQZtfN1H482AsDuz 2jdIoGRB8euJMSOBezflwCJ8p2tFNlFzI0omwfqUW4YNW1ZUyj1wqEuiDU2kLEWXx7wc pvRM6tECx/jMpgZkigNFprZ9iEh7vm37WlyrBcctH6lRPR0ClnSIOoEZfBIz0muBYAcQ caQeFcq7E2mUSrZCfxSTPCXU7LWHaqtOIFtoB4qubwXQ1TUB4lEerWlsEKXs0Plktq47 C8CQxkTkVXKnK2qU4OCkB7mGihLj8fnkCRiVyqyKF31Lq0iGXNxVT9FWJiqKYCb5Wiif fY9w== MIME-Version: 1.0 X-Received: by 10.220.59.65 with SMTP id k1mr242457vch.22.1407965337454; Wed, 13 Aug 2014 14:28:57 -0700 (PDT) Received: by 10.220.152.18 with HTTP; Wed, 13 Aug 2014 14:28:57 -0700 (PDT) Date: Thu, 14 Aug 2014 00:28:57 +0300 Message-ID: Subject: Wrong type argument: markerp, nil From: Yuriy Pitometsu To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=001a11c29502cb8ff10500897950 X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 13 Aug 2014 17:37:45 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -4.0 (----) --001a11c29502cb8ff10500897950 Content-Type: text/plain; charset=UTF-8 On pure Emacs: open some buffer M-s-o for occur then e for occur-edit-mode, then M-x replace-regexp [ ^I]+ RET SPC RET ;; try to replace excess spaces or tabs by just one space symbol in matched strings Error in minibuffer => Wrong type argument: markerp, nil OS X, Emacs 24.3 -- Best regards, Yuriy Pitomets --001a11c29502cb8ff10500897950 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On pure = Emacs:
open some buffer = M-s-o for occur
then e for occur-edit-mode, th= en M-x replace-regexp [ ^I]+ RET SPC RET
;; try to replace excess space= s or tabs by just one space symbol in matched strings

Error in minibuffer =3D> Wrong type argument: markerp, nil<= /span>
OS X, Emacs 24.3

--=C2=A0
=C2=A0 Best regards,
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 Yuriy Pitomets

--001a11c29502cb8ff10500897950-- From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 13 21:22:35 2014 Received: (at 18263) by debbugs.gnu.org; 14 Aug 2014 01:22:35 +0000 Received: from localhost ([127.0.0.1]:42570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XHjkR-0007fL-70 for submit@debbugs.gnu.org; Wed, 13 Aug 2014 21:22:35 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:51626 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XHjkP-0007fC-N5 for 18263@debbugs.gnu.org; Wed, 13 Aug 2014 21:22:34 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1XHjkO-0006eh-TO; Wed, 13 Aug 2014 21:22:32 -0400 From: Glenn Morris To: Yuriy Pitometsu Subject: Re: bug#18263: Wrong type argument: markerp, nil References: X-Spook: Aladdin CIA Ft. Bragg Honduras Osama Steve Case AGT. AMME X-Ran: I{+9OThy9(q)9N8'*;&f;[hoIt2/tGpnR/^-2}>}f#pDos:\lDaF:n4?`rT9#'o*O*!&sq X-Hue: magenta X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 13 Aug 2014 21:22:32 -0400 In-Reply-To: (Yuriy Pitometsu's message of "Thu, 14 Aug 2014 00:28:57 +0300") Message-ID: <7lk36b3lwn.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: 18263 Cc: 18263@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.7 (-----) Yuriy Pitometsu wrote: > On pure Emacs: > open some buffer M-s-o for occur > then e for occur-edit-mode, then M-x replace-regexp [ ^I]+ RET SPC RET > ;; try to replace excess spaces or tabs by just one space symbol in matched > strings > > Error in minibuffer => Wrong type argument: markerp, nil The short answer is that replace-regexp removes the text properties that occur-edit-mode relies on. From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 13 21:24:02 2014 Received: (at control) by debbugs.gnu.org; 14 Aug 2014 01:24:02 +0000 Received: from localhost ([127.0.0.1]:42574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XHjlp-0007i8-Po for submit@debbugs.gnu.org; Wed, 13 Aug 2014 21:24:02 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:51648 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XHjlo-0007i1-Em for control@debbugs.gnu.org; Wed, 13 Aug 2014 21:24:00 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1XHjlo-0006rt-4B for control@debbugs.gnu.org; Wed, 13 Aug 2014 21:24:00 -0400 Date: Wed, 13 Aug 2014 21:24:00 -0400 Message-Id: Subject: control message for bug 18263 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.7 (-----) retitle 18263 occur-edit-mode can lose its text properties From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 13 21:30:00 2014 Received: (at 18263) by debbugs.gnu.org; 14 Aug 2014 01:30:00 +0000 Received: from localhost ([127.0.0.1]:42580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XHjrb-0007sp-K0 for submit@debbugs.gnu.org; Wed, 13 Aug 2014 21:29:59 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:51752 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XHjrZ-0007sh-4D for 18263@debbugs.gnu.org; Wed, 13 Aug 2014 21:29:57 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1XHjrY-0001nG-8G; Wed, 13 Aug 2014 21:29:56 -0400 From: Glenn Morris To: Yuriy Pitometsu Subject: Re: bug#18263: Wrong type argument: markerp, nil References: <7lk36b3lwn.fsf@fencepost.gnu.org> X-Spook: SAFE emc NATO SCUD missile Project Monarch Perl-RSA X-Ran: (@960=Z0[;i+pxInX-8n).$w4)c07;Y1:$^y}KE`WUzpoq7\?%Re'SU%|IA,F[!/w>3{6e X-Hue: blue X-Debbugs-No-Ack: yes X-Attribution: GM Date: Wed, 13 Aug 2014 21:29:55 -0400 In-Reply-To: <7lk36b3lwn.fsf@fencepost.gnu.org> (Glenn Morris's message of "Wed, 13 Aug 2014 21:22:32 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.7 (-----) X-Debbugs-Envelope-To: 18263 Cc: 18263@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 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: -5.7 (-----) Glenn Morris wrote: > The short answer is that replace-regexp removes the text properties that > occur-edit-mode relies on. I guess no-one expected you to edit the start of the line (the line number prefix that is not part of the actual source buffer). Maybe it should be read-only like the header line is (though then you would still get an error trying to replace-regexp). Or displayed using an overlay? From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 19 11:41:44 2021 Received: (at 18263) by debbugs.gnu.org; 19 Aug 2021 15:41:44 +0000 Received: from localhost ([127.0.0.1]:60696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGkAp-0008OI-Nv for submit@debbugs.gnu.org; Thu, 19 Aug 2021 11:41:43 -0400 Received: from quimby.gnus.org ([95.216.78.240]:50838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGkAo-0008O2-3O for 18263@debbugs.gnu.org; Thu, 19 Aug 2021 11:41:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References: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=N/LygAqDFIm0Hwd5VkVL7hokYFufADXHbchj5zKc3FA=; b=dXJSWMn3bh1dFhY6ys5IdbkFsh D747ucoB6KC0mDFL3W0qapigICUekvopgCAejeI55XTWWeGwOb5KUMbYbjpgodWiz1UQKRbc6CXMl TGS/7qqtXtDfh8ua0j2Gx07xxTVWe1jOPtcfzk5pgiRWMe2I/ZPeoiyeIKmLde+Mr9Jg=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mGkAd-0007jP-MY; Thu, 19 Aug 2021 17:41:35 +0200 From: Lars Ingebrigtsen To: Yuriy Pitometsu Subject: Re: bug#18263: occur-edit-mode can lose its text properties References: Date: Thu, 19 Aug 2021 17:41:31 +0200 In-Reply-To: (Yuriy Pitometsu's message of "Thu, 14 Aug 2014 00:28:57 +0300") Message-ID: <87o89t4f2s.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Yuriy Pitometsu writes: > On pure Emacs: > open some buffer M-s-o for occur > then e for occur-edit-mode, then M-x replace-regexp [ ^I]+ RET SPC RET > ;; try to replace excess spaces or tabs by just one space symbol in match [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 18263 Cc: 18263@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 (---) Yuriy Pitometsu writes: > On pure Emacs: > open some buffer M-s-o for occur > then e for occur-edit-mode, then M-x replace-regexp [ ^I]+ RET SPC RET > ;; try to replace excess spaces or tabs by just one space symbol in matched > strings > > Error in minibuffer => Wrong type argument: markerp, nil Glenn Morris writes: > I guess no-one expected you to edit the start of the line (the line > number prefix that is not part of the actual source buffer). > Maybe it should be read-only like the header line is > (though then you would still get an error trying to replace-regexp). > Or displayed using an overlay? In Emacs 28, the stuff at the start of the line (that shouldn't be removed) has been made read-only, so it looks like somebody fixed this in the years since it was reported, so I'm closing this bug report. If there's still issues in this area, please respond to the debbugs address and we'll reopen. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 19 11:41:50 2021 Received: (at control) by debbugs.gnu.org; 19 Aug 2021 15:41:50 +0000 Received: from localhost ([127.0.0.1]:60699 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGkAw-0008Oc-0G for submit@debbugs.gnu.org; Thu, 19 Aug 2021 11:41:50 -0400 Received: from quimby.gnus.org ([95.216.78.240]:50852) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mGkAu-0008OF-8N for control@debbugs.gnu.org; Thu, 19 Aug 2021 11:41:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=+BKFunZwsithM22S5DV9Q7QMC59es51ZuHAjBctqL3k=; b=kKfP80ATrrm34hWDiAQCA1xnPL KY4RYS2ihpBufH6wmIShyhPfGBpCvy20w5PDkHx6J9pxdbczdzTWglwa2T+yza3nN4BvIPHzoN9hG vSsAaNUQCYzvPlVaN6bx9HY0kSI6K00fhSm4ebRd50OVgke5jJlecpiszTHF7ENYFGvA=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mGkAm-0007jX-Ag for control@debbugs.gnu.org; Thu, 19 Aug 2021 17:41:42 +0200 Date: Thu, 19 Aug 2021 17:41:39 +0200 Message-Id: <87mtpd4f2k.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #18263 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 18263 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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 (---) close 18263 quit From unknown Fri Jun 20 07:10:15 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 17 Sep 2021 11:24:06 +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