From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: bobf32@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#44185: 26.1; bookmark-jump failing to jump to correct location Date: Sun, 25 Oct 2020 16:14:00 +0000 Message-ID: References: <87r1pma044.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000097209505b2811b10" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3719"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44185@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 25 17:15:42 2020 Return-path: Envelope-to: geb-bug-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 1kWigH-0000rd-PT for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 25 Oct 2020 17:15:41 +0100 Original-Received: from localhost ([::1]:48400 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kWigG-0002mF-S2 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 25 Oct 2020 12:15:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWifg-0002m6-IQ for bug-gnu-emacs@gnu.org; Sun, 25 Oct 2020 12:15:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54117) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kWife-00008S-0A for bug-gnu-emacs@gnu.org; Sun, 25 Oct 2020 12:15:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kWifd-0003wW-Se for bug-gnu-emacs@gnu.org; Sun, 25 Oct 2020 12:15:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: bobf32@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Oct 2020 16:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44185 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 44185-submit@debbugs.gnu.org id=B44185.160364247615107 (code B ref 44185); Sun, 25 Oct 2020 16:15:01 +0000 Original-Received: (at 44185) by debbugs.gnu.org; 25 Oct 2020 16:14:36 +0000 Original-Received: from localhost ([127.0.0.1]:37430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWifD-0003va-CL for submit@debbugs.gnu.org; Sun, 25 Oct 2020 12:14:35 -0400 Original-Received: from mail-ej1-f43.google.com ([209.85.218.43]:34146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kWifA-0003vK-Ve for 44185@debbugs.gnu.org; Sun, 25 Oct 2020 12:14:34 -0400 Original-Received: by mail-ej1-f43.google.com with SMTP id gs25so9993493ejb.1 for <44185@debbugs.gnu.org>; Sun, 25 Oct 2020 09:14:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=G6ahowkml3ckErbCd7+S7fosWjTLRJB2lFloPUG6qSE=; b=ZMKEVYD8RkJomyIs0GnQb3+Oi/G7e2aZ+tGV++8NSLauo/94cubJ7+zEgFFTmVNTnI qxk6VkqvlLuV1DAZouYC4CzLAbd527Wd4gl1RhAN/IYFdvexjiF5L1/+bYFbfJGzzm3y gQKSCX5KmzdF4FFLZgcNqV6MHjleLQunUNwUj81fUBQIT9EjcnI8RMtyo/8XmhiPPjis D09Nn9LIIxqzXBMxt/PR2oFTbZeg05z8ibF9k5UHtGxmHis7q5P1Y431NGlzonl7Zs7D UGgrGto1bmvDmJtPOrcJEweHnJzpPJncgsMcXJ6Hm8+OKyElKnkCpOtypUja1gSoKppH FiAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=G6ahowkml3ckErbCd7+S7fosWjTLRJB2lFloPUG6qSE=; b=nFky/sxOWfPWkLXo3xxb8dy0R7LR5/ug/KZRqZ5IMuuFUKfjWRwBgYw3dOV838W/3a 7hWp4yvO3IbA3PKa3bfEeYATLU6iK5ye+ItXDj+19hfdsXoAaqd6tHBz2G7ssu+hjSpC /ZvnWwWTjQvgxMAg1SghtP89KdoknenKrSWwod1vpcC6u/m27sfbzyiv9Uko8FIZnXrT ax/AhfUo9Q8Toeivilnu+C2uKfxtfB/SJw1evdYq9hXB4+CLSuM1C0PWYKjmv0sD0Z/U TyBa4MI7h3D2CGJAQn7iSR2Y5814ZJwDv3vlGodz6Oh07oVtQKpoUkKHI4rX2Njl8Chj UmLQ== X-Gm-Message-State: AOAM533WXkzffFJ+vluZWdlm3pX5plV6SeTUgRBeyYL1xsDvIiITtcEG 9k/+UQdM6GVgfRuSyoidXztP7JHNFcIHlQs4LbM= X-Google-Smtp-Source: ABdhPJwKCP2GgMwbMWJLtkLEAAtOyC12ng6L7lwgLYrhnQkDHZcUb/WGRkFge++x0qxhd9KxDB1mPay4BnPYtFV6lhg= X-Received: by 2002:a17:906:c1c3:: with SMTP id bw3mr11473161ejb.126.1603642466965; Sun, 25 Oct 2020 09:14:26 -0700 (PDT) In-Reply-To: <87r1pma044.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:191510 Archived-At: --00000000000097209505b2811b10 Content-Type: text/plain; charset="UTF-8" Sure. I too am unable to replicate in 26.3, but see in 26.1. Here's the recipe: 1. emacs -Q -nw RET # Start emacs 2. C-x C-f ~/.bashrc RET # Load file 1 3. C-x C-f ~/.profile RET # Load file 2. 4. C-x r m a RET # Set bookmark a 5. C-n # Move to next line 6. C-x b RET # Switch to file 1 7. C-x r b a RET # Jump to bookmark a Doing this in 26.1 jumps to the correct file, .profile, but the current line is unchanged from that moved to in step 5. On Sun, 25 Oct 2020 at 13:47, Lars Ingebrigtsen wrote: > bobf32@gmail.com writes: > > > Steps to reproduce > > 1. Start Emacs > > 2. Load two files > > 3. Set a bookmark, using bookmark-set, named a in one of the files. > > 4. Move cursor to a line other than bookmark a (call it line x). > > 5. Switch buffers to file 2. > > 6. Execute bookmark-jump and navigate to bookmark a. > > > > Observed behaviour > > 1. The buffer containing bookmark a is made current, but the cursor > position is > > unchanged, at line x. > > I'm unable to reproduce this in Emacs 28 or Emacs 26.3. Could you give > a more detailed recipe, starting from "emacs -Q"? Here's what I did: > > larsi@xo:~/src/emacs/trunk$ /usr/bin/emacs -Q lisp/abbrev.el > lisp/autoarg.el > Went to the "This file is part" file and `C-x r m a RET', and `C-f' to > go to the next line. > `C-x o' to the other buffer. > `C-x r b a RET'. > I'm then popped to the abbrev.el buffer and with point on the correct > line. > > -- > (domestic pets only, the antidote for overdose, milk.) > bloggy blog: http://lars.ingebrigtsen.no > --00000000000097209505b2811b10 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Sure. I too am unable to replicate in 26.3, but see in 26.= 1. Here's the recipe:

1. emacs -Q -nw RET # Star= t emacs
2. C-x C-f ~/.bashrc RET # Load file 1
3. C-x C-f ~/.profile RET # Load file 2.=C2=A0
4. C-x r m = a RET # Set bookmark a
5. C-n # Move to next line
6= . C-x b RET # Switch to file 1
7. C-x r b a RET # Jump to bookmar= k a

Doing this in 26.1 jumps to the correct file, = .profile, but the current line is unchanged from that moved to in step 5.


On Sun, 25 Oct 2020 at 13:47, Lars Ingebrigtsen <larsi@gnus.org> wrot= e:
bobf32@gmail.com writes:

> Steps to reproduce
> 1. Start Emacs
> 2. Load two files
> 3. Set a bookmark, using bookmark-set, named a in one of the files. > 4. Move cursor to a line other than bookmark a (call it line x).
> 5. Switch buffers to file 2.
> 6. Execute bookmark-jump and navigate to bookmark a.
>
> Observed behaviour
> 1. The buffer containing bookmark a is made current, but the cursor po= sition is
> unchanged, at line x.

I'm unable to reproduce this in Emacs 28 or Emacs 26.3.=C2=A0 Could you= give
a more detailed recipe, starting from "emacs -Q"?=C2=A0 Here'= s what I did:

larsi@xo:~/src/emacs/trunk$ /usr/bin/emacs -Q lisp/abbrev.el lisp/autoarg.e= l
Went to the "This file is part" file and `C-x r m a RET', and= `C-f' to
go to the next line.
`C-x o' to the other buffer.
`C-x r b a RET'.
I'm then popped to the abbrev.el buffer and with point on the correct line.

--
(domestic pets only, the antidote for overdose, milk.)
=C2=A0 =C2=A0bloggy blog: http://lars.ingebrigtsen.no
--00000000000097209505b2811b10--