From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 22 17:00:17 2014 Received: (at submit) by debbugs.gnu.org; 22 Sep 2014 21:00:17 +0000 Received: from localhost ([127.0.0.1]:49240 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XWAiV-0003UJ-JS for submit@debbugs.gnu.org; Mon, 22 Sep 2014 17:00:16 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38988) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XWAiP-0003U7-W6 for submit@debbugs.gnu.org; Mon, 22 Sep 2014 17:00:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWAiH-00065E-21 for submit@debbugs.gnu.org; Mon, 22 Sep 2014 17:00:09 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.8 required=5.0 tests=AC_HTML_NONSENSE_TAGS, BAYES_50, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:47498) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWAiG-00063n-WE for submit@debbugs.gnu.org; Mon, 22 Sep 2014 17:00:01 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40549) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XWAi4-0007PX-JM for bug-gnu-emacs@gnu.org; Mon, 22 Sep 2014 16:59:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XWAhx-00061Q-39 for bug-gnu-emacs@gnu.org; Mon, 22 Sep 2014 16:59:48 -0400 Received: from gproxy8-pub.mail.unifiedlayer.com ([67.222.33.93]:34154) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1XWAhw-0005zy-MW for bug-gnu-emacs@gnu.org; Mon, 22 Sep 2014 16:59:41 -0400 Received: (qmail 18766 invoked by uid 0); 22 Sep 2014 20:59:31 -0000 Received: from unknown (HELO cmgw3) (10.0.90.84) by gproxy8.mail.unifiedlayer.com with SMTP; 22 Sep 2014 20:59:31 -0000 Received: from box522.bluehost.com ([74.220.219.122]) by cmgw3 with id uSzS1o0072f2jeq01SzVzw; Mon, 22 Sep 2014 20:59:30 -0600 X-Authority-Analysis: v=2.1 cv=F6LEKMRN c=1 sm=1 tr=0 a=GsOEXm/OWkKvwdLVJsfwcA==:117 a=GsOEXm/OWkKvwdLVJsfwcA==:17 a=cNaOj0WVAAAA:8 a=f5113yIGAAAA:8 a=3tj8RBOIlDMA:10 a=JxMQPqBvycwA:10 a=_cZRQKYwz3QA:10 a=zstS-IiYAAAA:8 a=PnD2wP_eR3oA:10 a=oMhZhQ4-4PIA:10 a=MZBg0apV23IGkLJZn50A:9 a=1oCfsftpAtUvZQXn:21 a=GdqtWcH2t547TaY3:21 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:Date:Subject:To:From; bh=YSxvdSZwAiOpx3UEOHfp+K4pIyUPiGN7VZfvnwURjvI=; b=N7lMmOdT5FLTT/Gr3dBKsOBkS66TjruSeacA4gDUlu79wz3G9AWfxPHP0/XJ26NTFf1m0e/+IWRpkdfvnUecz1MmpPNWVyz3kLVCXJ+UiLLqIbbVNt4paUO5wk5P2v3A; Received: from [71.33.141.119] (port=47555 helo=bapiya) by box522.bluehost.com with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.82) (envelope-from ) id 1XWAhi-0008DR-OY; Mon, 22 Sep 2014 14:59:27 -0600 From: Tom Tromey To: bug-gnu-emacs@gnu.org Subject: 24.4.50; flyspell-prog-mode and lisp interaction X-Attribution: Tom Date: Mon, 22 Sep 2014 14:59:23 -0600 Message-ID: <877g0vtlqs.fsf@tromey.com> MIME-Version: 1.0 Content-Type: text/plain X-Identified-User: {36111:box522.bluehost.com:elynrobi:tromey.com} {sentby:smtp auth 71.33.141.119 authed with tom+tromey.com} X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) I ran emacs -Q. Then in *scratch*, M-x flyspell-prog-mode Then typed `(igno' I expected this to complete to `(ignore', because point it not in a comment or string. However, flyspell instead changes this to `(Gino'. In GNU Emacs 24.4.50.9 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.9) of 2014-09-21 on bapiya Repository revision: 117912 eggert@cs.ucla.edu-20140921224924-sd071p5m85o5v0n5 Windowing system distributor `Fedora Project', version 11.0.11404000 Configured using: `configure --prefix=/home/tromey/Emacs/install' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix Major mode: Emacs-Lisp Minor modes in effect: diff-auto-refine-mode: t flyspell-mode: t eldoc-mode: t which-function-mode: t global-auto-revert-mode: t desktop-save-mode: t erc-services-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t savehist-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t auto-fill-function: do-auto-fill Recent input: n SPC q n C-l M-g M-g M-g M-g C-u C-p C-u C-n C-u C-n C-p SPC 2 SPC n q C-u C-n n n SPC SPC q M-g p SPC SPC M S-SPC = C-a C-s SPC . SPC C-a SPC C-u q s y C-l q y C-c b C-c b C-z n C-x b E M M-< C-o C-o b u g ! SPC SPC s o m e SPC s t a r t u p SPC b u g s SPC s t i l l ? b u g SPC w i t h SPC e l i s p - v - s SPC s - f l y s p e l l C-x C-s SPC C-z n C-x b p r o j C-p C-a C-/ C-n C-n C-n C-n C-z n c o m p i l e SPC - v s - SPC l o n g SPC l i n e s C-x C-s C-c C-g M-x w e b j e m C-g C-h f f l y s p e l l - p r o g C-x o C-n C-u C-f C-f C-x 1 C-u C-n C-p C-l M-f M-f M-b C-s C-w C-w C-w C-w C-w C-s C-s C-s C-r C-r 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-r C-r C-s C-s C-s C-l C-a C-u C-n C-p C-s f l C-s C-r C-r C-w C-w C-w C-w C-r C-n M-< C-v C-s C-a M-x r e p o r t - e m Recent messages: Delete excess backup versions of /home/tromey/EMACS? (y or n) y Wrote /home/tromey/EMACS Undo! Saving file /home/tromey/EMACS... Wrote /home/tromey/EMACS C-c C-g is undefined Quit Type C-x 1 to delete the help window. uncompressing flyspell.el.gz...done Mark saved where search started [2 times] Load-path shadows: /home/tromey/.emacs.d/elpa/css-mode-1.0/css-mode hides /home/tromey/Emacs/install/share/emacs/24.4.50/lisp/textmodes/css-mode /home/tromey/.emacs.d/elpa/bubbles-0.5/bubbles hides /home/tromey/Emacs/install/share/emacs/24.4.50/lisp/play/bubbles Features: (shadow emacsbug eieio-opt speedbar sb-image ezimage dframe webjump misearch multi-isearch mailalias bbdb-sc supercite regi mail-hist nnir shr-color color shr flow-fill mm-archive gnus-html browse-url xml url-cache mm-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse url-vars bbdb-gui bbdb-hooks mule-util sort smiley gnus-cite gnus-bcklg help-mode qp gnus-async gnus-ml disp-table gnus-topic nndraft nnmh nnfolder utf-7 bbdb-gnus bbdb-snarf mail-extr bbdb-com warnings cl gv gnutls network-stream starttls gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg nntp gnus-cache gnus-registry registry eieio-base gnus-art mm-uu mml2015 epg-config mm-view mml-smime smime dig mailcap gnus-sum gnus-group gnus-undo smtpmail sendmail gnus-start gnus-cloud nnimap nnmail mail-source tls utf7 netrc nnoo parse-time gnus-spec gnus-int gnus-range gnus-win gnus gnus-ems nnheader message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader smerge-mode diff-mode autoconf autoconf-mode tcl goto-addr add-log make-mode js bug-reference vc-arch vc-mtn sgml-mode vc-hg python json org-element org-rmail org-mhe org-irc org-info org-gnus org-docview doc-view jka-compr image-mode org-bibtex bibtex org-bbdb org-w3m org org-macro org-footnote org-pcomplete org-list org-faces org-entities noutline outline easy-mmode org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs org-loaddefs vc-sccs vc-svn vc-cvs vc-rcs dired vc-git vc-bzr cc-mode cc-fonts cc-guess cc-menus cc-cmds flyspell ispell eldoc diminish projectile edmacro kmacro pkg-info find-func lisp-mnt epl grep compile dash s appt diary-lib diary-loaddefs cal-menu calendar cal-loaddefs which-func imenu minimap autorevert filenotify desktop frameset cus-start cus-load status erc-services erc-list erc-menu erc-join erc-ring erc-networks erc-pcomplete pcomplete erc-track erc-match erc-button wid-edit cl-loaddefs cl-lib erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat format-spec auth-source eieio byte-opt bytecomp byte-compile cconv eieio-core gnus-util mm-util mail-prsvr password-cache thingatpt pp advice help-fns vc-dir ewoc vc vc-dispatcher cc-styles cc-align cc-engine cc-vars cc-defs bbdb timezone ange-ftp comint ansi-color ring server savehist dwarf-mode-autoloads gdb-shell-autoloads jabber-autoloads lisppaste-autoloads pydoc-info-autoloads info-look info easymenu weblogger-autoloads package bbdb-autoloads time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 824342 93810) (symbols 48 103803 1) (miscs 40 41455 1409) (strings 32 319152 53034) (string-bytes 1 6841097) (vectors 16 95060) (vector-slots 8 2134901 69630) (floats 8 543 1030) (intervals 56 22343 535) (buffers 976 248) (heap 1024 95642 21310)) Tom From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 07 23:38:15 2015 Received: (at 18533) by debbugs.gnu.org; 8 Dec 2015 04:38:15 +0000 Received: from localhost ([127.0.0.1]:42234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1a6A2Z-0003Up-2t for submit@debbugs.gnu.org; Mon, 07 Dec 2015 23:38:15 -0500 Received: from gproxy8-pub.mail.unifiedlayer.com ([67.222.33.93]:36881) by debbugs.gnu.org with smtp (Exim 4.80) (envelope-from ) id 1a6A2F-0003Tz-0Q for 18533@debbugs.gnu.org; Mon, 07 Dec 2015 23:38:14 -0500 Received: (qmail 16521 invoked by uid 0); 8 Dec 2015 04:37:53 -0000 Received: from unknown (HELO cmgw2) (10.0.90.83) by gproxy8.mail.unifiedlayer.com with SMTP; 8 Dec 2015 04:37:53 -0000 Received: from box522.bluehost.com ([74.220.219.122]) by cmgw2 with id qsdk1r00A2f2jeq01sdnFS; Mon, 07 Dec 2015 21:37:51 -0700 X-Authority-Analysis: v=2.1 cv=dqRIVTQ4 c=1 sm=1 tr=0 a=GsOEXm/OWkKvwdLVJsfwcA==:117 a=GsOEXm/OWkKvwdLVJsfwcA==:17 a=cNaOj0WVAAAA:8 a=f5113yIGAAAA:8 a=zstS-IiYAAAA:8 a=PnD2wP_eR3oA:10 a=wHJbHFqUzoEA:10 a=wUQvQvOEmiQA:10 a=jyq98Y6ysYMFjUuzJw8A:9 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From; bh=ybLubNi/h6UTZPvMYgBpDxuBwwRIzuhZCi8fLX9SWiw=; b=FGpF8wHh+eH7uMLbALhY+yeqrW2/QviVd1mx4ZboyXfFYmsSxvM8GoZNUqZNl7CxIHxyAitedg+/jixAuTkVtCznhODVgP6cj2UrhVaSQzVlxb24TRodRbnW2hLPx2t5; Received: from [207.190.10.41] (port=54435 helo=pokyo) by box522.bluehost.com with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1a6A25-0003wg-Mm; Mon, 07 Dec 2015 21:37:45 -0700 From: Tom Tromey To: Tom Tromey Subject: Re: bug#18533: 24.4.50; flyspell-prog-mode and lisp interaction References: <877g0vtlqs.fsf@tromey.com> X-Attribution: Tom Date: Mon, 07 Dec 2015 23:37:42 -0500 In-Reply-To: <877g0vtlqs.fsf@tromey.com> (Tom Tromey's message of "Mon, 22 Sep 2014 14:59:23 -0600") Message-ID: <87si3deesp.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Identified-User: {36111:box522.bluehost.com:elynrobi:tromey.com} {sentby:smtp auth 207.190.10.41 authed with tom+tromey.com} X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18533 Cc: 18533@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Tom> I ran emacs -Q. Tom> Then in *scratch*, M-x flyspell-prog-mode Tom> Then typed `(igno' Tom> I expected this to complete to `(ignore', because point it not in a Tom> comment or string. Tom> However, flyspell instead changes this to `(Gino'. FWIW I solved this to my own satisfaction by setting flyspell-use-meta-tab to nil. This isn't maybe quite as nice as having the key binding automatically be aware of flyspell-prog-mode, but it's good enough for me. Tom From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 27 12:34:38 2015 Received: (at 18533) by debbugs.gnu.org; 27 Dec 2015 17:34:38 +0000 Received: from localhost ([127.0.0.1]:44652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDFDK-00027p-8Q for submit@debbugs.gnu.org; Sun, 27 Dec 2015 12:34:38 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37873) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDFDH-00027X-Oo for 18533@debbugs.gnu.org; Sun, 27 Dec 2015 12:34:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aDFD7-0008U0-Rh for 18533@debbugs.gnu.org; Sun, 27 Dec 2015 12:34:30 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43960) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aDFD7-0008Tv-OD; Sun, 27 Dec 2015 12:34:25 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2354 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aDFD7-0007Ad-2w; Sun, 27 Dec 2015 12:34:25 -0500 Date: Sun, 27 Dec 2015 19:35:13 +0200 Message-Id: <831ta7hk1a.fsf@gnu.org> From: Eli Zaretskii To: Tom Tromey In-reply-to: <87si3deesp.fsf@tromey.com> (message from Tom Tromey on Mon, 07 Dec 2015 23:37:42 -0500) Subject: Re: bug#18533: 24.4.50; flyspell-prog-mode and lisp interaction References: <877g0vtlqs.fsf@tromey.com> <87si3deesp.fsf@tromey.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 18533 Cc: 18533@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) [Resending, as my original message didn't make it to the bug tracker.] > From: Tom Tromey > Date: Mon, 07 Dec 2015 23:37:42 -0500 > Cc: 18533@debbugs.gnu.org > > Tom> I ran emacs -Q. > Tom> Then in *scratch*, M-x flyspell-prog-mode > Tom> Then typed `(igno' > > Tom> I expected this to complete to `(ignore', because point it not in a > Tom> comment or string. > Tom> However, flyspell instead changes this to `(Gino'. > > FWIW I solved this to my own satisfaction by setting > flyspell-use-meta-tab to nil. This isn't maybe quite as nice as having > the key binding automatically be aware of flyspell-prog-mode, but it's > good enough for me. Thanks, and sorry for letting this issue fall through the cracks for so long. Looking at the code, it sounds like the behavior you expected was never intended to happen. However, I found that a relatively simple change can do what you want. Does the patch below look reasonable? --- lisp/textmodes/flyspell.el~4 2015-11-11 07:57:35.000000000 +0200 +++ lisp/textmodes/flyspell.el 2015-12-08 19:01:54.033105000 +0200 @@ -399,6 +399,9 @@ (interactive) (setq flyspell-generic-check-word-predicate #'flyspell-generic-progmode-verify) + (setq-local flyspell--prev-meta-tab-binding + (or (local-key-binding "\M-\t" t) + (global-key-binding "\M-\t" t))) (flyspell-mode 1) (run-hooks 'flyspell-prog-mode-hook)) @@ -1904,6 +1907,15 @@ "Correct the current word. This command proposes various successive corrections for the current word." (interactive) + ;; If we are not in the construct where flyspell should be active, + ;; invoke the original binding of M-TAB, if that was recorded. + (if (and (local-variable-p 'flyspell--prev-meta-tab-binding) + (commandp flyspell--prev-meta-tab-binding t) + (fboundp flyspell-generic-check-word-predicate) + (not (funcall flyspell-generic-check-word-predicate)) + (equal (where-is-internal 'flyspell-auto-correct-word nil t) + [?\M-\t])) + (call-interactively flyspell--prev-meta-tab-binding) (let ((pos (point)) (old-max (point-max))) ;; Use the correct dictionary. @@ -2002,7 +2014,7 @@ (point) old-max)))))))))) (setq flyspell-auto-correct-pos (point)) - (ispell-pdict-save t))))))) + (ispell-pdict-save t)))))))) ;;*---------------------------------------------------------------------*/ ;;* flyspell-auto-correct-previous-pos ... */ From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 28 15:32:26 2015 Received: (at 18533) by debbugs.gnu.org; 28 Dec 2015 20:32:26 +0000 Received: from localhost ([127.0.0.1]:46795 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aDeSw-0006da-IJ for submit@debbugs.gnu.org; Mon, 28 Dec 2015 15:32:26 -0500 Received: from gproxy1-pub.mail.unifiedlayer.com ([69.89.25.95]:33734) by debbugs.gnu.org with smtp (Exim 4.84) (envelope-from ) id 1aDeSu-0006dS-Uw for 18533@debbugs.gnu.org; Mon, 28 Dec 2015 15:32:25 -0500 Received: (qmail 11118 invoked by uid 0); 28 Dec 2015 20:32:22 -0000 Received: from unknown (HELO cmgw3) (10.0.90.84) by gproxy1.mail.unifiedlayer.com with SMTP; 28 Dec 2015 20:32:22 -0000 Received: from box522.bluehost.com ([74.220.219.122]) by cmgw3 with id zFYA1r01R2f2jeq01FYDYq; Mon, 28 Dec 2015 20:32:19 -0700 X-Authority-Analysis: v=2.1 cv=bej4Do/B c=1 sm=1 tr=0 a=GsOEXm/OWkKvwdLVJsfwcA==:117 a=GsOEXm/OWkKvwdLVJsfwcA==:17 a=cNaOj0WVAAAA:8 a=f5113yIGAAAA:8 a=zstS-IiYAAAA:8 a=PnD2wP_eR3oA:10 a=ZXz5CzTIrgoA:10 a=wUQvQvOEmiQA:10 a=bMM3AUTR82d2XxE7czIA:9 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References:Subject:Cc:To:From; bh=/TmKf7V8AZ/06slZo909vlLb2T/QXCllcuSVNbpoR20=; b=ipmRT4fL9GuIq9DUhjhJU8SYF7tgotOlFftdxNR1vnbeex3dTKfQxIztfn/fsZeDe0SCMCYcLnKUaqrLvvBXyUuRg4swcbDNuZYlbuOYQjI38Y6j1C/RGCsxNLwsWGk/; Received: from [75.171.194.137] (port=59466 helo=bapiya) by box522.bluehost.com with esmtpsa (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.84) (envelope-from ) id 1aDeSj-00041s-4y; Mon, 28 Dec 2015 13:32:13 -0700 From: Tom Tromey To: Eli Zaretskii Subject: Re: bug#18533: 24.4.50; flyspell-prog-mode and lisp interaction References: <877g0vtlqs.fsf@tromey.com> <87si3deesp.fsf@tromey.com> <831ta7hk1a.fsf@gnu.org> X-Attribution: Tom Date: Mon, 28 Dec 2015 13:32:09 -0700 In-Reply-To: <831ta7hk1a.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 27 Dec 2015 19:35:13 +0200") Message-ID: <874mf22u2e.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Identified-User: {36111:box522.bluehost.com:elynrobi:tromey.com} {sentby:smtp auth 75.171.194.137 authed with tom+tromey.com} X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18533 Cc: 18533@debbugs.gnu.org, Tom Tromey X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Eli> Looking at the code, it sounds like the behavior you expected was Eli> never intended to happen. However, I found that a relatively simple Eli> change can do what you want. Does the patch below look reasonable? Yes, thank you. Tom From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 31 10:45:01 2015 Received: (at 18533-done) by debbugs.gnu.org; 31 Dec 2015 15:45:01 +0000 Received: from localhost ([127.0.0.1]:51877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aEfPR-0002I9-27 for submit@debbugs.gnu.org; Thu, 31 Dec 2015 10:45:01 -0500 Received: from eggs.gnu.org ([208.118.235.92]:49291) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aEfPQ-0002Hu-71 for 18533-done@debbugs.gnu.org; Thu, 31 Dec 2015 10:45:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aEfPH-000240-Ti for 18533-done@debbugs.gnu.org; Thu, 31 Dec 2015 10:44:55 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59500) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aEfPH-00023s-QF; Thu, 31 Dec 2015 10:44:51 -0500 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2283 helo=HOME-C4E4A596F7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aEfPH-0001VJ-6M; Thu, 31 Dec 2015 10:44:51 -0500 Date: Thu, 31 Dec 2015 17:45:32 +0200 Message-Id: <83fuyibp0j.fsf@gnu.org> From: Eli Zaretskii To: Tom Tromey In-reply-to: <874mf22u2e.fsf@tromey.com> (message from Tom Tromey on Mon, 28 Dec 2015 13:32:09 -0700) Subject: Re: bug#18533: 24.4.50; flyspell-prog-mode and lisp interaction References: <877g0vtlqs.fsf@tromey.com> <87si3deesp.fsf@tromey.com> <831ta7hk1a.fsf@gnu.org> <874mf22u2e.fsf@tromey.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 18533-done Cc: 18533-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > From: Tom Tromey > Cc: Tom Tromey , 18533@debbugs.gnu.org > Date: Mon, 28 Dec 2015 13:32:09 -0700 > > Eli> Looking at the code, it sounds like the behavior you expected was > Eli> never intended to happen. However, I found that a relatively simple > Eli> change can do what you want. Does the patch below look reasonable? > > Yes, thank you. Thanks, I pushed this to the emacs-25 branch. From unknown Sun Jun 22 22:42:51 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 29 Jan 2016 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator