all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: bobf32@gmail.com
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 44185@debbugs.gnu.org
Subject: bug#44185: 26.1; bookmark-jump failing to jump to correct location
Date: Sun, 25 Oct 2020 16:14:00 +0000	[thread overview]
Message-ID: <CAAbWmgoG4-OGRLefe26te3pGuNFVH0+QVLDOjOFwCyKLH5UhVQ@mail.gmail.com> (raw)
In-Reply-To: <87r1pma044.fsf@gnus.org>

[-- Attachment #1: Type: text/plain, Size: 1554 bytes --]

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
>

[-- Attachment #2: Type: text/html, Size: 2293 bytes --]

  reply	other threads:[~2020-10-25 16:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-23 21:20 bug#44185: 26.1; bookmark-jump failing to jump to correct location bobf32
2020-10-23 22:08 ` Drew Adams
2020-10-23 22:49   ` bobf32
2020-10-25 13:47 ` Lars Ingebrigtsen
2020-10-25 16:14   ` bobf32 [this message]
2020-10-25 16:42     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAAbWmgoG4-OGRLefe26te3pGuNFVH0+QVLDOjOFwCyKLH5UhVQ@mail.gmail.com \
    --to=bobf32@gmail.com \
    --cc=44185@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.