From: Eli Zaretskii <eliz@gnu.org>
To: David Bremner <david@tethera.net>
Cc: 24950-done@debbugs.gnu.org
Subject: bug#24950: 25.1; shr-string-pixel-width cannot be called from a dedicated buffer
Date: Sun, 20 Nov 2016 21:10:13 +0200 [thread overview]
Message-ID: <83ziku7ysq.fsf@gnu.org> (raw)
In-Reply-To: <87lgweuhgw.fsf@tethera.net> (message from David Bremner on Sun, 20 Nov 2016 14:35:59 -0400)
> From: David Bremner <david@tethera.net>
> Cc: 24950@debbugs.gnu.org
> Date: Sun, 20 Nov 2016 14:35:59 -0400
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > Thanks for the recipe. Does the patch below solve your problem?
> >
> > (save-window-excursion
> > + ;; Avoid errors if the selected window is a dedicated one,
> > + ;; and they just want to insert a document into it.
> > + (set-window-dedicated-p nil nil)
> > (set-window-buffer nil (current-buffer))
>
> Yes, that seems to fix the problem (including the original crash in
> notmuch which motivated the report).
Thanks, pushed to the emacs-25 branch.
prev parent reply other threads:[~2016-11-20 19:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-11-16 2:42 bug#24950: 25.1; shr-string-pixel-width cannot be called from a dedicated buffer David Bremner
2016-11-20 16:28 ` Eli Zaretskii
2016-11-20 18:35 ` David Bremner
2016-11-20 19:10 ` Eli Zaretskii [this message]
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=83ziku7ysq.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=24950-done@debbugs.gnu.org \
--cc=david@tethera.net \
/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.