From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: bug#18: Fine-grained revert-buffer Date: Thu, 02 May 2019 17:27:08 -0400 Message-ID: References: <83d0l7x5og.fsf@gnu.org> <87ef5g26o9.fsf@tcd.ie> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="261150"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 18@debbugs.gnu.org, maurooaranda@gmail.com To: "Basil L. Contovounesios" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 02 23:28:15 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hMJFX-0015iC-2F for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 May 2019 23:28:15 +0200 Original-Received: from localhost ([127.0.0.1]:58765 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMJFW-0003EJ-1l for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 May 2019 17:28:14 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35506) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMJFM-0003DA-LO for bug-gnu-emacs@gnu.org; Thu, 02 May 2019 17:28:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hMJFK-0003UA-OH for bug-gnu-emacs@gnu.org; Thu, 02 May 2019 17:28:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33620) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hMJFJ-0003TZ-Vd for bug-gnu-emacs@gnu.org; Thu, 02 May 2019 17:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hMJFJ-0000by-Ph for bug-gnu-emacs@gnu.org; Thu, 02 May 2019 17:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Stallman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 02 May 2019 21:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18 X-GNU-PR-Package: emacs Original-Received: via spool by 18-submit@debbugs.gnu.org id=B18.15568324392293 (code B ref 18); Thu, 02 May 2019 21:28:01 +0000 Original-Received: (at 18) by debbugs.gnu.org; 2 May 2019 21:27:19 +0000 Original-Received: from localhost ([127.0.0.1]:47164 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMJEd-0000av-52 for submit@debbugs.gnu.org; Thu, 02 May 2019 17:27:19 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49035) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hMJEY-0000af-M0 for 18@debbugs.gnu.org; Thu, 02 May 2019 17:27:15 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52949) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMJET-0002i1-BW; Thu, 02 May 2019 17:27:09 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1hMJES-0003Z9-CZ; Thu, 02 May 2019 17:27:08 -0400 In-Reply-To: <87ef5g26o9.fsf@tcd.ie> (contovob@tcd.ie) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:158667 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > >> When I bumped into the problem of the marker being sent to the > >> beginning of the hunk, I started looking for something to get the > >> markers of the buffer, but didn't found anything at the Lisp level. > > > > We could introduce a function 'marker-list' based on BUF_MARKERS. There is a reason why you can't get a copy of that list: if anything else pointed to a copy of it, no marker in that buffer could be garbage collected. We should look for some other way to solve your problem. -- Dr Richard Stallman President, Free Software Foundation (https://gnu.org, https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)