From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: zack@upsilon.cc (Stefano Zacchiroli) Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1110: 23.0.60; please provide a hook after ispell-change-dictionary Date: Tue, 7 Oct 2008 16:55:24 +0200 (CEST) Message-ID: <20081007145524.C44C06052@usha.takhisis.invalid> Reply-To: Stefano Zacchiroli , 1110@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1223394685 7249 80.91.229.12 (7 Oct 2008 15:51:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Oct 2008 15:51:25 +0000 (UTC) Cc: Ken Stevens To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 07 17:52:19 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KnEjM-0003g0-RA for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Oct 2008 17:44:14 +0200 Original-Received: from localhost ([127.0.0.1]:43795 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnEiI-0002fP-Ad for geb-bug-gnu-emacs@m.gmane.org; Tue, 07 Oct 2008 11:43:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KnEhm-0002KY-Vi for bug-gnu-emacs@gnu.org; Tue, 07 Oct 2008 11:42:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KnEhi-0002HJ-Re for bug-gnu-emacs@gnu.org; Tue, 07 Oct 2008 11:42:33 -0400 Original-Received: from [199.232.76.173] (port=41376 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnEhi-0002HA-HW for bug-gnu-emacs@gnu.org; Tue, 07 Oct 2008 11:42:30 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:36805) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KnECN-0008Cc-QG for bug-gnu-emacs@gnu.org; Tue, 07 Oct 2008 11:10:11 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m97F9vsV026631; Tue, 7 Oct 2008 08:09:58 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m97F56dq025604; Tue, 7 Oct 2008 08:05:06 -0700 X-Loop: don@donarmstrong.com Resent-From: zack@upsilon.cc (Stefano Zacchiroli) Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 07 Oct 2008 15:05:06 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1110 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122339140823473 (code B ref -1); Tue, 07 Oct 2008 15:05:06 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 7 Oct 2008 14:56:48 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m97EuflX023467 for ; Tue, 7 Oct 2008 07:56:42 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:57072) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KnDx4-0002LD-VL for emacs-pretest-bug@gnu.org; Tue, 07 Oct 2008 10:54:19 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KnDzJ-0004cW-6x for emacs-pretest-bug@gnu.org; Tue, 07 Oct 2008 10:56:39 -0400 Original-Received: from fettunta.fettunta.org ([67.207.129.222]:46524) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KnDzI-0004br-NN for emacs-pretest-bug@gnu.org; Tue, 07 Oct 2008 10:56:36 -0400 Original-Received: from usha.takhisis.invalid (unknown [10.17.0.18]) by fettunta.fettunta.org (Postfix) with ESMTP id 52FC018262; Tue, 7 Oct 2008 14:56:35 +0000 (UTC) Original-Received: by usha.takhisis.invalid (Postfix, from userid 1000) id C44C06052; Tue, 7 Oct 2008 16:55:24 +0200 (CEST) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Tue, 07 Oct 2008 11:42:33 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:21212 gmane.emacs.pretest.bugs:23172 Archived-At: As per subject: please provide a hook to which function can be registered to execute actions after ispell dictionary gets changed. FWIW, my use case is in the combination with flyspell. When using that, if you have a spelled buffer, you want to re-spell it (using "flyspell-buffer") as soon as you change the dictionary. Having the required hook would enable doing so in a more clean way wrt advising. In GNU Emacs 23.0.60.1 (x86_64-pc-linux-gnu, GTK+ Version 2.12.11) of 2008-10-05 on elegiac, modified by Debian (emacs-snapshot package, version 1:20081005-1) Windowing system distributor `The X.Org Foundation', version 11.0.10402000 configured using `configure '--build' 'x86_64-linux-gnu' '--host' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/23.0.60/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.0.60/site-lisp:/usr/share/emacs/site-lisp' '--with-x=yes' '--with-x-toolkit=gtk' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu' 'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: en_US.UTF-8 value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: it_IT.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Fundamental Minor modes in effect: iswitchb-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: x j x j x j x j d d k o i D o e s SPC t h i s SPC b l i n k g SPC s o m e l i SPC s o m e l i g SPC l i g h t ? S-SPC ( O r SPC m a y b e SPC s h o e x p l a i n s SPC t h a t SPC t t h e SPC b u g SPC i s SPC n o t SPC a SPC t t SPC a l l SPC r e l a t e d SPC t o SPC i V i p e r SPC a n d SPC n e e d SPC t o SPC b e SPC l o o k e d SPC f o r SPC i n SPC s o m e SPC e m a c s c l i e n t SPC d e t a i l ? ) M-q o T h a n k s SPC a SPC l o t ! C h e e r s . g g C-x # y C-h f i s p e l l - c h a M-< C-s i s p e l l - c h a n g e - d i c t i o n a r y C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s C-s M-< C-x o M-x r e p o r t - e m Recent messages: Mark activated Save file /tmp/mutt-usha-1000-20151-2? (y or n) Wrote /tmp/mutt-usha-1000-20151-2 Type C-x 1 to delete the help window. uncompressing ispell.el.gz...done Note: file is write protected Mark set Mark saved where search started Mark set Making completion list...