GNU bug report logs - #1110
23.0.60; please provide a hook after ispell-change-dictionary

Previous Next

Package: emacs;

Reported by: zack <at> upsilon.cc (Stefano Zacchiroli)

Date: Tue, 7 Oct 2008 15:05:06 UTC

Severity: wishlist

Tags: fixed, patch

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 1110 in the body.
You can then email your comments to 1110 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#1110; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to zack <at> upsilon.cc (Stefano Zacchiroli):
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: zack <at> upsilon.cc (Stefano Zacchiroli)
To: emacs-pretest-bug <at> gnu.org
Cc: Ken Stevens <k.stevens <at> ieee.org>
Subject: 23.0.60; please provide a hook after ispell-change-dictionary
Date: Tue,  7 Oct 2008 16:55:24 +0200 (CEST)
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 <return> <backspace> <backspace> 
<return> D o e s SPC t h i s SPC b l i n k g SPC s 
o m e l i <C-backspace> <backspace> <backspace> SPC 
s o m e l i g <backspace> <backspace> <backspace> SPC 
l i g h t ? S-SPC ( O r SPC m a y b e SPC s h o <backspace> 
<backspace> <backspace> e x p l a i n s SPC t h a t 
SPC t <backspace> t h e SPC b u g SPC i s SPC n o t 
SPC a SPC t <backspace> <backspace> t SPC a l l SPC 
r e l a t e d SPC t o SPC i <backspace> 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 <escape> o <return> T h a n 
k s SPC a SPC l o t ! <return> C h e e r s . <escape> 
g g C-x # y C-h f i s p e l l - c h a <tab> <return> 
<help-echo> <help-echo> <help-echo> <help-echo> <down-mouse-1> 
<mouse-2> 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 <return> M-< C-x o M-x r e p o <tab> r 
t - e m <tab> <return>

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...




Severity set to `wishlist' from `normal' Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> emacsbugs.donarmstrong.com. (Tue, 07 Oct 2008 17:05:07 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#1110; Package emacs. (Thu, 20 Jun 2019 19:10:01 GMT) Full text and rfc822 format available.

Message #10 received at 1110 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: 1110 <at> debbugs.gnu.org
Cc: zack <at> upsilon.cc
Subject: Re: bug#1110: 23.0.60;
 please provide a hook after ispell-change-dictionary
Date: Thu, 20 Jun 2019 21:09:31 +0200
[Message part 1 (text/plain, inline)]
tags 1110 + patch
quit

zack <at> upsilon.cc (Stefano Zacchiroli) writes:
> As per subject: please provide a hook to which function can be
> registered to execute actions after ispell dictionary gets changed.

I wrote this up; see attached patch.

Not sure if this should be announced in NEWS, but I included an entry
for good measure.

Thanks,
Stefan Kangas
[0001-Add-new-ispell-change-dictionary-hook-Bug-1110.patch (application/octet-stream, attachment)]

Added tag(s) patch. Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Thu, 20 Jun 2019 19:10:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#1110; Package emacs. (Thu, 27 Jun 2019 18:04:01 GMT) Full text and rfc822 format available.

Message #15 received at 1110 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 1110 <at> debbugs.gnu.org, zack <at> upsilon.cc
Subject: Re: bug#1110: 23.0.60;
 please provide a hook after ispell-change-dictionary
Date: Thu, 27 Jun 2019 20:03:19 +0200
Stefan Kangas <stefan <at> marxist.se> writes:

> zack <at> upsilon.cc (Stefano Zacchiroli) writes:
>> As per subject: please provide a hook to which function can be
>> registered to execute actions after ispell dictionary gets changed.
>
> I wrote this up; see attached patch.
>
> Not sure if this should be announced in NEWS, but I included an entry
> for good measure.

Looks good; I've now applied it to the Emacs trunk.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 27 Jun 2019 18:04:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 27.1, send any further explanations to 1110 <at> debbugs.gnu.org and zack <at> upsilon.cc (Stefano Zacchiroli) Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 27 Jun 2019 18:04:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 26 Jul 2019 11:24:06 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 275 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.