From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#1110: 23.0.60; please provide a hook after ispell-change-dictionary Date: Thu, 20 Jun 2019 21:09:31 +0200 Message-ID: References: <20081007145524.C44C06052@usha.takhisis.invalid> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="0000000000009bd30d058bc61650" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="43024"; mail-complaints-to="usenet@blaine.gmane.org" Cc: zack@upsilon.cc To: 1110@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 20 21:44:42 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1he2zA-000B3l-S9 for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Jun 2019 21:44:40 +0200 Original-Received: from localhost ([::1]:52526 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1he2z7-00032J-GU for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Jun 2019 15:44:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50023) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1he2Rh-0001Yy-Ox for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2019 15:10:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1he2Rf-0000LF-Ir for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2019 15:10:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35747) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1he2Rd-0000J4-UY for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2019 15:10:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1he2Rd-0002wD-Na for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2019 15:10:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <20081007145524.C44C06052@usha.takhisis.invalid> Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Jun 2019 19:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 1110 X-GNU-PR-Package: emacs Original-Received: via spool by 1110-submit@debbugs.gnu.org id=B1110.156105779111260 (code B ref 1110); Thu, 20 Jun 2019 19:10:01 +0000 Original-Received: (at 1110) by debbugs.gnu.org; 20 Jun 2019 19:09:51 +0000 Original-Received: from localhost ([127.0.0.1]:49289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1he2RT-0002vW-As for submit@debbugs.gnu.org; Thu, 20 Jun 2019 15:09:51 -0400 Original-Received: from mail-wm1-f54.google.com ([209.85.128.54]:53431) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1he2RQ-0002v7-Ln for 1110@debbugs.gnu.org; Thu, 20 Jun 2019 15:09:49 -0400 Original-Received: by mail-wm1-f54.google.com with SMTP id x15so4097164wmj.3 for <1110@debbugs.gnu.org>; Thu, 20 Jun 2019 12:09:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=LPeu8C23Ckn9jekDp00AS8buRmBqEd4WZnFw3WjMjj8=; b=fHWCls5I3ZE/zIBsScFd2lAUx+wk+BISIuZLeksKXlRvuOp/6hMRr9br+tGPQYEAiM BfCY8Bi3NMYwXfYnM3Zyt8T9zM8L/iMRpcNMLaoJNMrBU2O+0jBZUE9Us8lyK98RaqOs 54tv2v+Z4K4KISG2miZ+SpchluFrzl6WjQh5eVkQrPUeJuRw8BICYOLmwt65Z7Yp6KdI YHYsV3gmjJ3Eh5g7/tOOkoJUqUxqKuOgrbySnq6C1VG6wRl4kqKhHoeYm0CL+F4wwXEw dUYd9GA9TVjWCPKGV7GBjlTFdGSG8YUT2BAcFSsJfcl28augK3jXtXJ2hHkJx3rRlOFT p94A== X-Gm-Message-State: APjAAAUXUC7j65iCep9j+xRovJ03qag6ByHzKOJJdZpnkef2bwyom4Eg A0qWPxL4BZWi1P3OwHf/3H3sIeWReSsBPpxZM0sq6yA0 X-Google-Smtp-Source: APXvYqwPHpkAF/fb0jin1unYnUG2IIJPLDLRe3FT5Jh45ADPCMmx/53NDo6d32qlOvlWfKNv32nunXmbv7e+6NS607M= X-Received: by 2002:a1c:700b:: with SMTP id l11mr696574wmc.106.1561057782637; Thu, 20 Jun 2019 12:09:42 -0700 (PDT) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:160910 Archived-At: --0000000000009bd30d058bc61650 Content-Type: text/plain; charset="UTF-8" tags 1110 + patch quit zack@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 --0000000000009bd30d058bc61650 Content-Type: application/octet-stream; name="0001-Add-new-ispell-change-dictionary-hook-Bug-1110.patch" Content-Disposition: attachment; filename="0001-Add-new-ispell-change-dictionary-hook-Bug-1110.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_jx51g3940 RnJvbSA1YjM3OTlhNmRkYzczYmJlNDhiZmE1MGMxMGEzNzhkNzA4MThlMDkzIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBTdGVmYW4gS2FuZ2FzIDxzdGVmYW5rYW5nYXNAZ21haWwuY29t PgpEYXRlOiBUaHUsIDIwIEp1biAyMDE5IDIwOjQ5OjUxICswMjAwClN1YmplY3Q6IFtQQVRDSF0g QWRkIG5ldyBpc3BlbGwtY2hhbmdlLWRpY3Rpb25hcnktaG9vayAoQnVnIzExMTApCgoqIGxpc3Av dGV4dG1vZGVzL2lzcGVsbC5lbCAoaXNwZWxsLWNoYW5nZS1kaWN0aW9uYXJ5LWhvb2spOiBOZXcg aG9vay4KKGlzcGVsbC1jaGFuZ2UtZGljdGlvbmFyeSk6IENhbGwgbmV3IGhvb2suCi0tLQogZXRj L05FV1MgICAgICAgICAgICAgICAgIHwgOCArKysrKysrKwogbGlzcC90ZXh0bW9kZXMvaXNwZWxs LmVsIHwgOSArKysrKysrLS0KIDIgZmlsZXMgY2hhbmdlZCwgMTUgaW5zZXJ0aW9ucygrKSwgMiBk ZWxldGlvbnMoLSkKCmRpZmYgLS1naXQgYS9ldGMvTkVXUyBiL2V0Yy9ORVdTCmluZGV4IGUzMDIz MjE2YWMuLmZmMjViNzYxOTkgMTAwNjQ0Ci0tLSBhL2V0Yy9ORVdTCisrKyBiL2V0Yy9ORVdTCkBA IC0xNTIzLDYgKzE1MjMsMTQgQEAgYnVmZmVyIHBlcmlvZGljYWxseSB3aGVuICdhdXRvLXJldmVy dC1hdm9pZC1wb2xsaW5nJyBpcyBub24tbmlsLgogKioqICdib29rbWFyay1maWxlJyBhbmQgJ2Jv b2ttYXJrLW9sZC1kZWZ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