From unknown Fri Jun 20 07:29:30 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#56219 <56219@debbugs.gnu.org> To: bug#56219 <56219@debbugs.gnu.org> Subject: Status: 27.1; ispell-word broken when colorization is turned off Reply-To: bug#56219 <56219@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:29:30 +0000 retitle 56219 27.1; ispell-word broken when colorization is turned off reassign 56219 emacs submitter 56219 "Karl O. Pinc" severity 56219 normal tag 56219 moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 25 15:58:14 2022 Received: (at submit) by debbugs.gnu.org; 25 Jun 2022 19:58:14 +0000 Received: from localhost ([127.0.0.1]:46232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5Bv0-0002Ft-Gy for submit@debbugs.gnu.org; Sat, 25 Jun 2022 15:58:14 -0400 Received: from lists.gnu.org ([209.51.188.17]:60018) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5BaR-0001jO-9T for submit@debbugs.gnu.org; Sat, 25 Jun 2022 15:36:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5BaQ-0000ia-VD for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2022 15:36:54 -0400 Received: from janus.karlpinc.com ([173.161.46.12]:55077 helo=smtp.karlpinc.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5BaP-0000PJ-2E for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2022 15:36:54 -0400 Received: from slate.karlpinc.com (gllauthhost.karlpinc.com [192.168.1.14]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp.karlpinc.com (Postfix) with ESMTPS id 873C5A0B5 for ; Sat, 25 Jun 2022 14:27:59 -0500 (CDT) Received: from slate.karlpinc.com (localhost [IPv6:::1]) by slate.karlpinc.com (Postfix) with ESMTPS id 4EBEE3FB39 for ; Sat, 25 Jun 2022 14:27:59 -0500 (CDT) Date: Sat, 25 Jun 2022 14:27:53 -0500 From: "Karl O. Pinc" To: bug-gnu-emacs@gnu.org Subject: 27.1; ispell-word broken when colorization is turned off Message-ID: <20220625142753.4336079f@slate.karlpinc.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=173.161.46.12; envelope-from=kop@karlpinc.com; helo=smtp.karlpinc.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sat, 25 Jun 2022 15:58:08 -0400 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: -3.3 (---) From: "Karl O. Pinc" To: bug-gnu-emacs@gnu.org Subject: 27.1; ispell-word broken when colorization is turned off bug: Turning colors off breaks "M-x ispell-word". All but the first character of the mis-spelled word are left in the buffer, with the first character replaced with the corrected spelling. (ispell-region and ispell-buffer continue to work.) Features: Hello, Steps to reproduce: Debian stable, bullseye (11.3). Install the "emacs-nox" package. Start emacs with: emacs -nw -Q --color=never You will be in the *scratch* buffer. Type "bufer", then "M-x ispell-word". Choose a correction. (For me, choice 0 is "buffer".) Note that the first character of "bufer" is replaced with "buffer", so that after correction what is left is "bufferufer", with point after the first "r". Alternate ways to reproduce. Any of the following produce the Using M-$ instead of "M-x ispell-word". Adding "(set-frame-parameter nil 'tty-color-mode -1)" to '.emacs'. Adding (if (not (assoc 'tty-color-mode default-frame-alist)) (push (cons 'tty-color-mode -1) default-frame-alist)) to '.emacs'. Adding (if (not (assoc 'tty-color-mode default-frame-alist)) (push (cons 'tty-color-mode 'never) default-frame-alist)) to '.emacs'. I have had this problem a very long time. (10 years?) And am only now reporting it. In GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu) of 2021-03-27, modified by Debian built on x86-conova-01 System Description: Debian GNU/Linux 11 (bullseye) Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/27.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/27.1/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --enable-libsystemd --with-pop=yes --enable-locallisppath=/etc/emacs:/usr/local/share/emacs/27.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/27.1/site-lisp:/usr/share/emacs/site-lisp --with-sound=alsa --without-gconf --with-mailutils --with-x=no --without-gsettings 'CFLAGS=-g -O2 -ffile-prefix-map=/build/emacs-LlFm6W/emacs-27.1+1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall' 'CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2' LDFLAGS=-Wl,-z,relro' Configured features: SOUND GPM DBUS NOTIFY INOTIFY ACL LIBSELINUX GNUTLS LIBXML2 ZLIB XIM MODULES THREADS LIBSYSTEMD JSON PDUMPER LCMS2 GMP Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t menu-bar-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 line-number-mode: t transient-mark-mode: t Load-path shadows: None found. (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail tool-bar rmail-loaddefs text-property-search time-date subr-x seq mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils term/xterm xterm byte-opt gv bytecomp byte-compile cconv regexp-opt tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded 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 threads dbusbind inotify lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 47363 6959) (symbols 48 6038 1) (strings 32 15913 1819) (string-bytes 1 511690) (vectors 16 7343) (vector-slots 8 81739 7228) (floats 8 22 253) (intervals 56 225 2) (buffers 1000 12)) -- Karl Free Software: "You don't pay back, you pay forward." -- Robert A. Heinlein From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 26 03:24:38 2022 Received: (at 56219) by debbugs.gnu.org; 26 Jun 2022 07:24:39 +0000 Received: from localhost ([127.0.0.1]:46620 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5MdK-0004jv-NO for submit@debbugs.gnu.org; Sun, 26 Jun 2022 03:24:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5MdJ-0004jj-Aa for 56219@debbugs.gnu.org; Sun, 26 Jun 2022 03:24:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:44914) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5MdD-0003RM-T8; Sun, 26 Jun 2022 03:24:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=5bJCiEKhO7lVCPY1+d9lroAsEZJoHEe/RW2HyFbS320=; b=C2yH0RbJrT7J ZuPhMyIhYB3uwCKEdTxV7AYdDEvg7/zaERueKk1THkfoUIxznrBB8QqhURvJz+yuTq+vMgD8bDVzV DJ5mnhz22dN9amlW1Z1WA+gt6DYvenHJnwfr1/HVeuaw24M5pao1jqnHbiH/Z8zIMosd4IJV6cHdj nMFSfcaV3tR3KJF6snvhrbvbJX/jsMpsJOttk1FRlWrQ8t3E9VUW5HlXSz0tfnJHSqZtaBbDDv+Cz 0+Qx6b+/5Ahh/fSOhOXmT0q61caTL+tUeZ+wpI+lNE+A2+Iw9WbehxL8FWO9JbkMQ+J/otmdnnueV CveL0pK/v1xF6aLlO1daog==; Received: from [87.69.77.57] (port=3308 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5MdC-00089C-V9; Sun, 26 Jun 2022 03:24:31 -0400 Date: Sun, 26 Jun 2022 10:24:30 +0300 Message-Id: <83h747anv5.fsf@gnu.org> From: Eli Zaretskii To: "Karl O. Pinc" In-Reply-To: <20220625142753.4336079f@slate.karlpinc.com> (kop@karlpinc.com) Subject: Re: bug#56219: 27.1; ispell-word broken when colorization is turned off References: <20220625142753.4336079f@slate.karlpinc.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56219 Cc: 56219@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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sat, 25 Jun 2022 14:27:53 -0500 > From: "Karl O. Pinc" > > Start emacs with: emacs -nw -Q --color=never > > You will be in the *scratch* buffer. > > Type "bufer", then "M-x ispell-word". Choose a correction. > (For me, choice 0 is "buffer".) Note that the first > character of "bufer" is replaced with "buffer", so that after > correction what is left is "bufferufer", with point after the > first "r". Thanks. This is a 15-year-old bug. Should be fixed now on the master branch. From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 26 08:48:13 2022 Received: (at control) by debbugs.gnu.org; 26 Jun 2022 12:48:13 +0000 Received: from localhost ([127.0.0.1]:46909 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5RgT-0000JL-3R for submit@debbugs.gnu.org; Sun, 26 Jun 2022 08:48:13 -0400 Received: from quimby.gnus.org ([95.216.78.240]:54114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5RgS-0000Is-4y for control@debbugs.gnu.org; Sun, 26 Jun 2022 08:48:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Mjd/XkO3aQyy3v9Kg/Fmv0wtwkwIra+dwlDZjqDsRkU=; b=R6H/oErLD6z2bynFf+nmOXwYVB jj2RR9YYx5TjLK5t0+uuD9bDWsVu5BaWvG/GeR5Cror3INpM4lhFhjHdnzmv30QhXCIimDno0YBvd fMrjvCAaKdy3bChObI+/F7zzjBtND10XYR1B6T1QvUwW6SsuPK51oXsgGrCufxlBZS30=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o5RgK-00021l-6z for control@debbugs.gnu.org; Sun, 26 Jun 2022 14:48:06 +0200 Date: Sun, 26 Jun 2022 14:48:03 +0200 Message-Id: <8735frh9q4.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #56219 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 56219 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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: -3.3 (---) tags 56219 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 03 03:14:35 2022 Received: (at 56219-done) by debbugs.gnu.org; 3 Jul 2022 07:14:36 +0000 Received: from localhost ([127.0.0.1]:43160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7toR-0003XJ-NF for submit@debbugs.gnu.org; Sun, 03 Jul 2022 03:14:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59316) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7toO-0003X5-8A for 56219-done@debbugs.gnu.org; Sun, 03 Jul 2022 03:14:33 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:33732) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7toI-00010D-KN; Sun, 03 Jul 2022 03:14:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=EmXnTb+tfRFbSxZ9Ik9pJFVt3QExpP71MUzw9X4PC74=; b=h1L2niVVQkH8 W9D+wMnjVRG/eE46m8PK1f7HAMvqhU+g3z6R3iXkURjmaFMCuleW7vTgJXRfpRnBuecBA4Nw737Ix 9Klu+d3wpKHzJ/+YD5MqFQY6+dSynMXxkyPNMyQMtM71DyqXYN2hXT6PFYGKLr9bY+D4FcQMZLQey 66zqbdBdOQVE6T/YQoVOaKUPmxAahvP7ExGUtrIlPB2sGqQv2pAdHTtuRu1Tq+JKejOUnABnh0pUv XRB+VlrpoIoCI2t1Jt74/8jzCTxNICTr/S8reBYfjKmoqMvgAtE2PxN57gWFiCIpardKTSLgie0yE +2qWTKzMLJkyK4I+NrDApA==; Received: from [87.69.77.57] (port=1558 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7toI-0004ux-4Q; Sun, 03 Jul 2022 03:14:26 -0400 Date: Sun, 03 Jul 2022 10:14:14 +0300 Message-Id: <83wncuacs9.fsf@gnu.org> From: Eli Zaretskii To: kop@karlpinc.com In-Reply-To: <83h747anv5.fsf@gnu.org> (message from Eli Zaretskii on Sun, 26 Jun 2022 10:24:30 +0300) Subject: Re: bug#56219: 27.1; ispell-word broken when colorization is turned off References: <20220625142753.4336079f@slate.karlpinc.com> <83h747anv5.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56219-done Cc: 56219-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: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: 56219@debbugs.gnu.org > Date: Sun, 26 Jun 2022 10:24:30 +0300 > From: Eli Zaretskii > > > Date: Sat, 25 Jun 2022 14:27:53 -0500 > > From: "Karl O. Pinc" > > > > Start emacs with: emacs -nw -Q --color=never > > > > You will be in the *scratch* buffer. > > > > Type "bufer", then "M-x ispell-word". Choose a correction. > > (For me, choice 0 is "buffer".) Note that the first > > character of "bufer" is replaced with "buffer", so that after > > correction what is left is "bufferufer", with point after the > > first "r". > > Thanks. This is a 15-year-old bug. Should be fixed now on the master > branch. No further comments, so I'm marking this bug done. From unknown Fri Jun 20 07:29:30 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 31 Jul 2022 11: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