unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Elias Mårtenson" <lokedhs@gmail.com>
To: Yuri Khan <yuri.v.khan@gmail.com>
Cc: schwab@suse.de, emacs-devel <emacs-devel@gnu.org>
Subject: Re: goto-char doesn't stick
Date: Wed, 14 Jun 2017 19:09:45 +0800	[thread overview]
Message-ID: <CADtN0WK4fDSMgocT_HtT_KVRCktfRcxn3vMKkzZ6iY4rWH4OKw@mail.gmail.com> (raw)
In-Reply-To: <CADtN0WJdwdFhTL2_=ZQbADKT0p+PKCJKfkjqt7hNdQduq5bmCQ@mail.gmail.com>

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

On 14 Jun 2017 13:01, "Yuri Khan" <yuri.v.khan@gmail.com> wrote:

On Wed, Jun 14, 2017 at 5:32 PM, Elias Mårtenson <lokedhs@gmail.com> wrote:

> Correct. I want to change the position of point in a different buffer.

There is no such thing as “position of point in a different buffer”.

Or, rather, there is, but there is not one. For every window that is
showing the buffer, there is that window’s own position of point. But
if a buffer is not shown in any buffer, then it still has one position
of point.

Therefore, if you are trying to change the position of point in a
different buffer that is shown in a window, do it by selecting that
window, not by switching to that buffer in your window.


Point taken, but this clearly worked at some time in the past, since SLIME
does it, and assumes that it will work.

The way SLIME implements navigation is that it uses the mechanism outlined
above and later switches to the buffer (using pop-to-buffer or some other
mechanism depending on various parameters that I haven't fully figured
out). At some point in the past, this worked, and I'd like to know why it
stopped working.

If the current behaviour is correct, then I need to figure out how to fix
SLIME so I can send them a patch.

Regards,
Elias

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

  parent reply	other threads:[~2017-06-14 11:09 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-14  9:45 goto-char doesn't stick Elias Mårtenson
2017-06-14  9:48 ` Andreas Schwab
2017-06-14 10:02   ` Elias Mårtenson
2017-06-14 10:29     ` Andreas Schwab
2017-06-14 10:32       ` Elias Mårtenson
2017-06-14 11:01         ` Yuri Khan
     [not found]           ` <CADtN0WJdwdFhTL2_=ZQbADKT0p+PKCJKfkjqt7hNdQduq5bmCQ@mail.gmail.com>
2017-06-14 11:09             ` Elias Mårtenson [this message]
2017-06-14 10:22 ` Peder O. Klingenberg
2017-06-14 10:26 ` Noam Postavsky
2017-06-14 10:30   ` Elias Mårtenson
2017-06-14 11:13 ` Eli Zaretskii
2017-06-14 11:16   ` Elias Mårtenson
2017-06-14 14:33     ` Eli Zaretskii
2017-06-14 14:59       ` Elias Mårtenson
2017-06-14 15:28         ` Eli Zaretskii
2017-06-15  3:53         ` Alex
2017-06-14 14:05   ` Drew Adams
2017-06-14 14:53     ` Eli Zaretskii
2017-06-15  6:59   ` Stefan Monnier
2017-06-15 11:37     ` Noam Postavsky
2017-06-15 12:55       ` martin rudalics
2017-06-15 13:24       ` Stefan Monnier
2017-06-15 14:30         ` Eli Zaretskii
2017-06-15 17:11           ` Stefan Monnier
2017-06-15 18:25             ` Eli Zaretskii
2017-06-15 19:10               ` Elias Mårtenson
2017-06-15 19:25                 ` Eli Zaretskii
2017-06-15 22:51               ` martin rudalics
2017-06-16  2:00                 ` Stefan Monnier
2017-06-15 14:32       ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=CADtN0WK4fDSMgocT_HtT_KVRCktfRcxn3vMKkzZ6iY4rWH4OKw@mail.gmail.com \
    --to=lokedhs@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=schwab@suse.de \
    --cc=yuri.v.khan@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).