From: martin rudalics <rudalics@gmx.at>
To: 24368@debbugs.gnu.org
Subject: bug#24368: 25.1; Assertion failure in attach_marker
Date: Mon, 05 Sep 2016 16:30:42 +0200 [thread overview]
Message-ID: <57CD8192.4090905@gmx.at> (raw)
In-Reply-To: <57CD1DE1.9090003@gmx.at>
The reason behind this bug is the following construct in
‘window--state-get-1’:
,@(when buffer
;; All buffer related things go in here.
(let ((point (window-point window))
(start (window-start window)))
`((buffer
,(buffer-name buffer)
(selected . ,selected)
(hscroll . ,(window-hscroll window))
(fringes . ,(window-fringes window))
(margins . ,(window-margins window))
(scroll-bars . ,(window-scroll-bars window))
(vscroll . ,(window-vscroll window))
(dedicated . ,(window-dedicated-p window))
(point . ,(if writable point
(copy-marker point
(buffer-local-value
'window-point-insertion-type
buffer))))
(start . ,(if writable start (copy-marker start)))))))))
This saves `point' and `start' as markers in the wrong buffer - in my
example *help* and not *scratch*. A silly bug but I don't even know how
to put in a ‘with-current-buffer’ with all those backslashes :-(
The ensuing assertion failure should not happen though - somehow we
don't recognize that we set a marker in the wrong buffer.
martin
next prev parent reply other threads:[~2016-09-05 14:30 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-05 7:25 bug#24368: 25.1; Assertion failure in attach_marker martin rudalics
2016-09-05 14:30 ` martin rudalics [this message]
2016-09-05 14:35 ` martin rudalics
2016-09-05 14:45 ` martin rudalics
2016-09-05 16:26 ` Eli Zaretskii
2016-09-05 15:04 ` martin rudalics
2016-09-05 16:25 ` Eli Zaretskii
2016-09-05 17:34 ` martin rudalics
2016-09-05 17:52 ` Eli Zaretskii
2016-09-05 17:58 ` martin rudalics
2016-09-05 18:25 ` Eli Zaretskii
2016-09-05 20:28 ` martin rudalics
2016-09-06 6:44 ` martin rudalics
2016-09-06 14:50 ` Noam Postavsky
2016-09-06 15:35 ` martin rudalics
2016-09-06 15:52 ` Eli Zaretskii
2016-09-06 15:08 ` Eli Zaretskii
2016-09-06 16:09 ` martin rudalics
2016-09-06 16:39 ` Eli Zaretskii
2016-09-06 16:50 ` Eli Zaretskii
2016-09-07 14:52 ` martin rudalics
2016-09-07 15:06 ` Eli Zaretskii
2016-09-07 15:19 ` martin rudalics
2016-09-07 15:47 ` Eli Zaretskii
2016-10-07 8:52 ` martin rudalics
2016-09-06 17:28 ` martin rudalics
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=57CD8192.4090905@gmx.at \
--to=rudalics@gmx.at \
--cc=24368@debbugs.gnu.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.