bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#44185: 26.1; bookmark-jump failing to jump to correct location


From: bobf32
Subject: bug#44185: 26.1; bookmark-jump failing to jump to correct location
Date: Sun, 25 Oct 2020 16:14:00 +0000

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 <larsi@gnus.org> 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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]