From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.bugs Subject: bug#32543: 26.1; list-matching-lines-jump-to-current breaks revert-buffer in occur-mode Date: Tue, 18 Sep 2018 21:33:47 +0900 Message-ID: <87fty77zo4.fsf@calancha-pc.dy.bbexcite.jp> References: <84223559-4256-4BC9-A603-4D6C11A8EF06@gmail.com> <87d0tw96l7.fsf@mail.linkov.net> <87o9deahfc.fsf@calancha-pc.dy.bbexcite.jp> <87ftyqryp2.fsf@mail.linkov.net> <87h8j2ao9e.fsf@calancha-pc.dy.bbexcite.jp> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1537273991 20235 195.159.176.226 (18 Sep 2018 12:33:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 18 Sep 2018 12:33:11 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) To: 32543-done@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 18 14:33:07 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g2FBi-00057z-A7 for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Sep 2018 14:33:06 +0200 Original-Received: from localhost ([::1]:40143 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g2FDp-0005RX-0z for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Sep 2018 08:35:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53581) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g2FDh-0005Op-5x for bug-gnu-emacs@gnu.org; Tue, 18 Sep 2018 08:35:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g2FDc-0003Dh-6V for bug-gnu-emacs@gnu.org; Tue, 18 Sep 2018 08:35:09 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39515) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g2FDa-0003BL-MS for bug-gnu-emacs@gnu.org; Tue, 18 Sep 2018 08:35:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g2FDa-0000G3-Hr for bug-gnu-emacs@gnu.org; Tue, 18 Sep 2018 08:35:02 -0400 Resent-From: Tino Calancha Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Tue, 18 Sep 2018 12:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 32543 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 32543@debbugs.gnu.org, tino.calancha@gmail.com, andreyk.mad@gmail.com Original-Received: via spool by 32543-done@debbugs.gnu.org id=D32543.1537274042900 (code D ref 32543); Tue, 18 Sep 2018 12:35:02 +0000 Original-Received: (at 32543-done) by debbugs.gnu.org; 18 Sep 2018 12:34:02 +0000 Original-Received: from localhost ([127.0.0.1]:43767 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g2FCc-0000ES-Ij for submit@debbugs.gnu.org; Tue, 18 Sep 2018 08:34:02 -0400 Original-Received: from mail-wr1-f50.google.com ([209.85.221.50]:35843) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g2FCb-0000Dz-91 for 32543-done@debbugs.gnu.org; Tue, 18 Sep 2018 08:34:01 -0400 Original-Received: by mail-wr1-f50.google.com with SMTP id e1-v6so1922738wrt.3 for <32543-done@debbugs.gnu.org>; Tue, 18 Sep 2018 05:34:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version; bh=L2UvHvRiXDtlsrEl51Dca5dczb1UzgsNZkmrJ2PXqSA=; b=sG4WBJJ34yYtoxp/jMHEVnBM6VBvdfau0jQcxIQleWKsqVlHj0ejrHeFNICrczXkeV uuyCVxkG2ik+hwWf75/550js1LGeTu+LSbGxl1jLErENBYjMYDMeSlMEUJiwoZ5Xjaz0 TljuhE+qQDKgdx++3ZCkz/w2qxzjXEqkmkp6uTClABBmEDz1kfjowIoMNgxnvtWWzBm5 poVu9vRDb2NPaKSl8UJfG2BIz+zDjcOox8bbVYXK4cdhvT0hv1/gdgdGJrT11mmL7dFq 1wUycEiDi91Zt4BB3FwDpJIg/KXVqas7kqphvcX9WE92wELPxh7Pn2dX8FAa/58uFBD+ LEKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=L2UvHvRiXDtlsrEl51Dca5dczb1UzgsNZkmrJ2PXqSA=; b=s/sXLlGwGId3vvGMsqBHOhaRkGmYlql/+VvRXnda35XQSqbTuhXf42EG2mGCsLowW7 DMO09gCYKB0/IT9vbHvp7fBZug+m78sKOBUEs9LgACOz8virDxdpBOzcVJrzyZ7DXNDw WB7m7zlY0s5XB/ci4Ebcz3f58iQtfEMoIWiYUUPjbn4eI7YJNap9/OCOGlm0o72JbO73 zjHkZ3BIw5tNyecxBmfQpZBzFZzEteT6ijejRsDngyvIPdJxsbBHQbk7CKtlLQLQi66i nQC8Sjd4B9iQmBvj5OqviI3nYmmyhO1zgVxu6MLNEOXUYGus6egoLeGKuVa7HbahUHaC EH1w== X-Gm-Message-State: APzg51A6OOVsSM02WqdW1eNBBXG8hK41Z/B/MNkac0QdakdT0Q5HNLaQ kYTj6BdPjF4nuFYQNfn5vFhshsjI X-Google-Smtp-Source: ANB0VdZx0gIoSxv10bfNSPKO3yF6bzGh50xicyb8bBcMTP5TzBI5KJ6LSBerWn/CW8/AWlyPOVCxNw== X-Received: by 2002:adf:fc84:: with SMTP id g4-v6mr5893512wrr.166.1537274035026; Tue, 18 Sep 2018 05:33:55 -0700 (PDT) Original-Received: from calancha-pc.dy.bbexcite.jp (15.red-83-50-151.dynamicip.rima-tde.net. [83.50.151.15]) by smtp.gmail.com with ESMTPSA id i4-v6sm14674627wrs.85.2018.09.18.05.33.53 for <32543-done@debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 Sep 2018 05:33:54 -0700 (PDT) In-Reply-To: <87h8j2ao9e.fsf@calancha-pc.dy.bbexcite.jp> (Tino Calancha's message of "Thu, 06 Sep 2018 19:55:41 +0900") 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: 208.118.235.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:150400 Archived-At: Tino Calancha writes: > Juri Linkov writes: > >>> + (let* ((region (occur--parse-occur-buffer)) >>> + (region-start (car region)) >>> + (region-end (cadr region)) >>> + (orig-line (caddr region)) >>> + (buffer (cadddr region)) >> >> Better to use (nth 1), (nth 2), (nth 3), ... > Yeah, it reads better. > Here is the updated patch: Fixed in master branch as commit 'Fix bug 32543' (75d9a55fae1c484aa6d213064931bfe3b65cf5dd)