[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#14986: Latest Emacs trunk crashes when changing Ispell dictionary
From: |
Eli Zaretskii |
Subject: |
bug#14986: Latest Emacs trunk crashes when changing Ispell dictionary |
Date: |
Tue, 30 Jul 2013 19:12:50 +0300 |
> From: "Sebastien Vauban" <sva-news@mygooglest.com>
> Date: Tue, 30 Jul 2013 17:00:13 +0200
>
> When using the following code on any buffer (email, document, etc.):
>
> --8<---------------cut here---------------start------------->8---
> (defun my/flyspell-toggle-dictionary ()
> "Change the dictionary."
> (interactive)
> (let ((dict (or ispell-local-dictionary
> ispell-dictionary)))
> (setq dict (if (string= dict "francais") "american" "francais"))
> (message "Switched to %S" dict)
> (sit-for 0.5)
> (ispell-change-dictionary dict)
> (when flyspell-mode
> (flyspell-buffer))))
> --8<---------------cut here---------------end--------------->8---
>
> I've had multiple crashes (3 or 4, over 2 days) with the latest Emacs trunk.
>
> The crash happens at the exact time of calling the above code (through a key
> binding).
Any chance of getting a backtrace from GDB?