From unknown Sat Jun 21 10:36:04 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#56237 <56237@debbugs.gnu.org> To: bug#56237 <56237@debbugs.gnu.org> Subject: Status: 29.0.50; delete-forward-char fails to delete character Reply-To: bug#56237 <56237@debbugs.gnu.org> Date: Sat, 21 Jun 2025 17:36:04 +0000 retitle 56237 29.0.50; delete-forward-char fails to delete character=20 reassign 56237 emacs submitter 56237 visuweshm@gmail.com severity 56237 normal tag 56237 moreinfo thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 26 12:07:22 2022 Received: (at submit) by debbugs.gnu.org; 26 Jun 2022 16:07:22 +0000 Received: from localhost ([127.0.0.1]:48811 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5UnC-0002Bl-CH for submit@debbugs.gnu.org; Sun, 26 Jun 2022 12:07:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:59972) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5Un7-0002BX-8V for submit@debbugs.gnu.org; Sun, 26 Jun 2022 12:07:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53516) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5Un4-0000oa-OO for bug-gnu-emacs@gnu.org; Sun, 26 Jun 2022 12:07:15 -0400 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]:36394) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o5Un2-0000QT-PI for bug-gnu-emacs@gnu.org; Sun, 26 Jun 2022 12:07:14 -0400 Received: by mail-pf1-x444.google.com with SMTP id x138so4209283pfc.3 for ; Sun, 26 Jun 2022 09:07:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:user-agent:mime-version :content-transfer-encoding; bh=YMqRnn7Xg+b3KL+4GtDc2jZmy2WWQiNT0npC41M6Wv0=; b=SKResuI58Q+/D0WQIYLINq/3PyDYJhfgKoUcCSnQEtLaxCyFqZNoudJxdejPW/4bmg FVyVxOXgamxJf07L2S1NkVHnPT+NzNitzA5zoHCIJOr28V8zqedJ0HA/trLYDBujlBUZ +gPjR0nASdPMw6ojBGkkr5Op/8c5soKu2Jzc1vG6G2zqAp8xsxXY6if1HDN7m01Fj8mL rutQRq5A3wkrEapXIdg75j9dk/8rv9avKTNwv2ZUEBKLtW4zzH5ykhXU7NcFnbYPCEEF z3oRCxfbDneMRqB9Uivm9RuX+uwKvP6bzJrjA8QOdX0t+xSczVeSjrn/tuYuQ1BENkC0 3uzQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version:content-transfer-encoding; bh=YMqRnn7Xg+b3KL+4GtDc2jZmy2WWQiNT0npC41M6Wv0=; b=JtwqKtiSMBstlBOUXxA5NT6VtW2YzOcCW9mzfO1J5kHWgneNjUZFsheDnelM1pphaf kZkqh9LHsCh86Vnq93iFHFxKNjBDRLzM5EoMq03kv60UWpg3WAx/AfnilUC+RDfivrxA tL3GUSNMi0cHWcgm58YSWq+ezTHcm95hZzI8EX6Tyd4AD+OcZqGQDgCWQ/eI3CK1Wkix oc5cRPhyIRhY7ECPz0H7ne56ch8UZrC1AEroFjkNkC2rhMaVLzwo3qlZ+Q/Sj2auD5NQ QVO5AbUb7QYpyurSVO6CPbkDzPggqhpUNsbzQ3AaHq2SFv+X6MiFuSesZY1ZJ0Y96OxX RSEw== X-Gm-Message-State: AJIora8xPquotrb4DKa/ZKPjgNbpvIUIO6MFeVrc+qpR/V1k/HnMVoNR bTwt70dIEZ3Uhrpn950WT0XO4qe5G38= X-Google-Smtp-Source: AGRyM1t5+gfWAWe4hHrvz4a1OWCCHhg83wqWOFJYmEEiEo1Hp32i/Abpla8HIl/CQrAJ89yLowUJxQ== X-Received: by 2002:a62:5a81:0:b0:525:301a:1445 with SMTP id o123-20020a625a81000000b00525301a1445mr10195812pfb.53.1656259630204; Sun, 26 Jun 2022 09:07:10 -0700 (PDT) Received: from localhost ([49.204.136.42]) by smtp.gmail.com with ESMTPSA id p6-20020a170902780600b001620960f1dfsm5341152pll.198.2022.06.26.09.07.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Jun 2022 09:07:09 -0700 (PDT) From: visuweshm@gmail.com To: bug-gnu-emacs@gnu.org Subject: 29.0.50; delete-forward-char fails to delete character Date: Sun, 26 Jun 2022 21:37:07 +0530 Message-ID: <87v8sn9zo4.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::444; envelope-from=visuweshm@gmail.com; helo=mail-pf1-x444.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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.3 (-) X-Debbugs-Envelope-To: submit 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: -2.3 (--) delete-forward-char fails to delete if the point is between two composed characters. To demonstrate, 1. emacs -Q 2. Yank "=E0=AE=B0=E0=AF=81 =E0=AE=AA=E0=AF=8B" to the *scratch* bu= ffer 3. Place the cursor on the space character and say Observe how delete-forward-char does nothing. In GNU Emacs 29.0.50 (build 22, x86_64-pc-linux-gnu, X toolkit, Xaw scroll = bars) of 2022-06-25 built on astatine Repository revision: 376ecd5346496a4f11a3bc93814b03d7a884b841 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101003 System Description: Debian GNU/Linux 11 (bullseye) Configured using: 'configure --with-modules --with-sound=3Dalsa --with-x-toolkit=3Dlucid --with-json --without-xaw3d --without-gconf --without-libsystemd --with-x --without-cairo' Configured features: ACL DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LIBOTF LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XFT XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $LC_MONETARY: ta_IN.UTF-8 value of $LC_NUMERIC: ta_IN.UTF-8 value of $LANG: en_GB.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 show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils cus-start cus-load ind-util quail help-mode cl-loaddefs cl-lib rmc iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine 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 emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 110282 8844) (symbols 48 6549 0) (strings 32 40942 1993) (string-bytes 1 619696) (vectors 16 23168) (vector-slots 8 327896 13098) (floats 8 24 24) (intervals 56 2398 6) (buffers 992 11)) From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 26 12:13:58 2022 Received: (at 56237) by debbugs.gnu.org; 26 Jun 2022 16:13:58 +0000 Received: from localhost ([127.0.0.1]:48821 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5Uta-0002MO-Ha for submit@debbugs.gnu.org; Sun, 26 Jun 2022 12:13:58 -0400 Received: from mail-pl1-f194.google.com ([209.85.214.194]:46971) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5UtY-0002M9-OK for 56237@debbugs.gnu.org; Sun, 26 Jun 2022 12:13:57 -0400 Received: by mail-pl1-f194.google.com with SMTP id q18so6139147pld.13 for <56237@debbugs.gnu.org>; Sun, 26 Jun 2022 09:13:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:references:date:in-reply-to:message-id:user-agent :mime-version:content-transfer-encoding; bh=5P9CROgXnnMDIVcCmK2qTf+PxKLmh/EnTDYfbw5rBe8=; b=m7lVp6quGy26X8NzupuXPkQ6AphahM101AAposA6Yx4ngbxRbQe7qNado808RG61Sd ca+lqomMn93V8F1GmJwWn6boPU9iyZbFqv5LbUrMVbxeyt4CoS6K1lyAA4zjxZYRuj1o KFOdxwvFZivUcFjFT7UPXL+0+KeKLW2acCo8soYe9CMyiiEu6DmRgchxOJv96kiNJaqJ tWK31a/WIhpRiplt9N6d7VBpMUn/uR2+EsauDfDFC9V0ngueuTevmu/yCHubz5izjqOb P47vg9XpOjpYF2nEQnG1KnlsWULyUuhMIJXuDbNpRdbpVOC4F5PO/pZBWtTfDmG/dhKY 0GsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=5P9CROgXnnMDIVcCmK2qTf+PxKLmh/EnTDYfbw5rBe8=; b=XnCzhOUD2GVKzYr74DLGyssN5w44v9LrcQOmZIjA5gBTgPXJnK23/Spfi9NlKwjL6V x7oSkK5GDUk7iSuCnZ6A1MtlEyj7x/EvdSE68axYETj2dxB01FrJwCYG9KaBuaLe2q95 q49rMrjH+fZKHazc7lOq4vO9q6027MQS4S11Ut32exxa+kipnehh+bfSwcm7y3DTTySv ILJIOhFMb7wbuMpOs6WN97ftYfFyC2fh2TOs0eAHCeT4QoQPbxre0wjDIBVYZYF3cbqN IbQBzwN84BCHYHEXyolkAkPxKpfMZ8QVjqA+1Pp5ZS+pMZu7FBuiwDW9sDcVkkoKfbp0 HjGQ== X-Gm-Message-State: AJIora+bGpTQYWzwGl6IUMP8DpvQQnNP8D2i786cAB6RHm5eZE9uTHU+ 9oVXD5AUCygNWIVDKBkA66ZnQgmwvEY= X-Google-Smtp-Source: AGRyM1vPmKg7vYsbY8b5XYroCjGEOkxzKSMTjPtIOXwOTJiHgdqZ+ipS8lTp2aLwxezXVts1K7+0vQ== X-Received: by 2002:a17:902:da82:b0:16a:7ca5:36c0 with SMTP id j2-20020a170902da8200b0016a7ca536c0mr6931728plx.27.1656260030147; Sun, 26 Jun 2022 09:13:50 -0700 (PDT) Received: from localhost ([49.204.136.42]) by smtp.gmail.com with ESMTPSA id bi11-20020a170902bf0b00b0016892555955sm5381963plb.179.2022.06.26.09.13.49 for <56237@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Jun 2022 09:13:49 -0700 (PDT) From: Visuwesh To: 56237@debbugs.gnu.org Subject: Re: bug#56237: 29.0.50; delete-forward-char fails to delete character References: <87v8sn9zo4.fsf@gmail.com> Date: Sun, 26 Jun 2022 21:43:47 +0530 In-Reply-To: <87v8sn9zo4.fsf@gmail.com> (visuweshm@gmail.com's message of "Sun, 26 Jun 2022 21:37:07 +0530") Message-ID: <87r13b9zd0.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56237 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: -1.0 (-) [=E0=AE=9E=E0=AE=BE=E0=AE=AF=E0=AE=BF=E0=AE=B1=E0=AF=81 =E0=AE=9C=E0=AF=82= =E0=AE=A9=E0=AF=8D 26, 2022] visuweshm@gmail.com wrote: > delete-forward-char fails to delete if the point is between two composed > characters. To demonstrate, > > 1. emacs -Q > 2. Yank "=E0=AE=B0=E0=AF=81 =E0=AE=AA=E0=AF=8B" to the *scratch* = buffer > 3. Place the cursor on the space character and say > > Observe how delete-forward-char does nothing. It seems to have trouble with composed characters back to back: Say when point is over the first composed character in =E0=AE=AA=E0=AF= =8D=E0=AE=AA=E0=AF=8B, it deletes both the characters instead of just =E0=AE=AA=E0=AF=8D. But it cop= es fine when you have =E0=AE=B0=E0=AF=81=E0=AE=B0=E0=AF=82 and the point is over the fir= st composed character again. From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 26 12:19:03 2022 Received: (at 56237) by debbugs.gnu.org; 26 Jun 2022 16:19:03 +0000 Received: from localhost ([127.0.0.1]:48840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5UyV-0002WB-Fr for submit@debbugs.gnu.org; Sun, 26 Jun 2022 12:19:03 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5UyR-0002Ve-LD for 56237@debbugs.gnu.org; Sun, 26 Jun 2022 12:19:01 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50816) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5UyM-0002ZB-8X; Sun, 26 Jun 2022 12:18:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=OOdhKlQprYgoYp9kok9IBjPagQIrkTcXZbc/PZyXyk8=; b=aumNyroXhGr3GdeS9pXM an9ECOYUNBQp1UZnETaoWFP1W6fedotrzB/OHHNRAGaN+xoFWFlqyTjQR4/rdaK7fwMGklIBdEwGo O6nTMOxw6kw0yZDjg1RYMYamXx3lSW7qMEMMVAcmtRbKTISq5JO+/Rxz6Z+ZMSBpk625ObvWVTtAU kt/cMVyB3J5wPZBF9X57OTaU9gWmJI6En4f6bx8C/haWS0F0VTo1Xj8r7IS3AY2Pqn8UdePDw7WeE ugIhlt1dWekk6y38a7utjmuyWGYxpn9/iean6cjovekE6nPm0hW7eIKaizBcWHDqwHdwfKxKNGcoU 5tYg8hF44oZChg==; Received: from [87.69.77.57] (port=1409 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 1o5UyL-0004hp-Mw; Sun, 26 Jun 2022 12:18:54 -0400 Date: Sun, 26 Jun 2022 19:18:52 +0300 Message-Id: <83zghz8kk3.fsf@gnu.org> From: Eli Zaretskii To: visuweshm@gmail.com In-Reply-To: <87v8sn9zo4.fsf@gmail.com> (visuweshm@gmail.com) Subject: Re: bug#56237: 29.0.50; delete-forward-char fails to delete character References: <87v8sn9zo4.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56237 Cc: 56237@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 (---) > From: visuweshm@gmail.com > Date: Sun, 26 Jun 2022 21:37:07 +0530 > > delete-forward-char fails to delete if the point is between two composed > characters. To demonstrate, > > 1. emacs -Q > 2. Yank "ரு போ" to the *scratch* buffer > 3. Place the cursor on the space character and say > > Observe how delete-forward-char does nothing. This is a feature (new with Emacs 29): delete-forward-char deletes entire grapheme clusters. Use C-d if you want to delete individual codepoints inside a grapheme cluster. From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 26 12:24:28 2022 Received: (at 56237) by debbugs.gnu.org; 26 Jun 2022 16:24:28 +0000 Received: from localhost ([127.0.0.1]:48844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5V3k-0002eg-3A for submit@debbugs.gnu.org; Sun, 26 Jun 2022 12:24:28 -0400 Received: from quimby.gnus.org ([95.216.78.240]:56146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5V3i-0002eR-Eh for 56237@debbugs.gnu.org; Sun, 26 Jun 2022 12:24:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=SbaFVomSD0MjFt9CHe8AdJDxTFrf19Wui7zXnjyDt7U=; b=fA7V5ONZ/fPlpiYBe/z3SqkjQu 2NbSH9aKpT5J1jyzcSktO+kQqa5UHIacWW6TnY/1mk4bSYWrrukgj287Vjvw2u0fLspG6sETvV7nd 8iRPGdDIGY4ZHoz2FJQSIodpSZafhpsaaHf/nSYnMK2B9aD019stHtLnmI7edKQB6T9c=; 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 1o5V3Z-0003sH-0K; Sun, 26 Jun 2022 18:24:19 +0200 From: Lars Ingebrigtsen To: Eli Zaretskii Subject: Re: bug#56237: 29.0.50; delete-forward-char fails to delete character References: <87v8sn9zo4.fsf@gmail.com> <83zghz8kk3.fsf@gnu.org> Date: Sun, 26 Jun 2022 18:24:16 +0200 In-Reply-To: <83zghz8kk3.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 26 Jun 2022 19:18:52 +0300") Message-ID: <87a69zcs0f.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Eli Zaretskii writes: >> delete-forward-char fails to delete if the point is between two composed >> characters. To demonstrate, >> >> 1. emacs -Q >> 2. Yank "ரு போ" to the *scratch* buffer >> 3. Place the cursor o [...] 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: 56237 Cc: 56237@debbugs.gnu.org, visuweshm@gmail.com 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 (---) Eli Zaretskii writes: >> delete-forward-char fails to delete if the point is between two composed >> characters. To demonstrate, >>=20 >> 1. emacs -Q >> 2. Yank "=E0=AE=B0=E0=AF=81 =E0=AE=AA=E0=AF=8B" to the *scratch*= buffer >> 3. Place the cursor on the space character and say >>=20 >> Observe how delete-forward-char does nothing. > > This is a feature (new with Emacs 29): delete-forward-char deletes > entire grapheme clusters. Use C-d if you want to delete individual > codepoints inside a grapheme cluster. Putting point at the start of the line, you can hit three times to delete all characters on the line -- so there's three grapheme clusters, and that works fine. The problem is if you put point on the second cluster, does nothing, and that has to be a bug. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 26 12:26:12 2022 Received: (at 56237) by debbugs.gnu.org; 26 Jun 2022 16:26:12 +0000 Received: from localhost ([127.0.0.1]:48848 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5V5I-0002hO-FC for submit@debbugs.gnu.org; Sun, 26 Jun 2022 12:26:12 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:34544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5V5D-0002gn-JG for 56237@debbugs.gnu.org; Sun, 26 Jun 2022 12:26:03 -0400 Received: by mail-pf1-f194.google.com with SMTP id t21so6933427pfq.1 for <56237@debbugs.gnu.org>; Sun, 26 Jun 2022 09:25:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=GHMZYeqVPHOMYPIkeCtcDBeJ8rur/fiZN6KXxVLqJAk=; b=DNizcXO00I3zFjIDq4B/Yfc/fNP1BFfhqKzjCED5O5mppllRTPpLokrnXryaEtZr9P j4tsJBbhN3qCD2v/prqaN3+6v3b9Uxi5Ttt+GcJ+p3fS3oDvQYYRwbdHd8G/cnUtCUCr 0gBxRwlImvcIXH93EXqoxvnv4/XXR1/JhUER3d4j5nCdAza/qMdAFdAQk2VjlAJS2dw9 NQtKp2Ts+Zc6+kOJH/d7Zhb1DVKqro//9EkfdQlJUNvDJB0xsw6iPkvRTDaqqRfqaugl urZd7DMuEPJk06ZHm+xZYHC9JLK4g4/fTujF/+O2YZNGBXgLE1uQ+jHUYfZMpyMsjU9o H6Gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=GHMZYeqVPHOMYPIkeCtcDBeJ8rur/fiZN6KXxVLqJAk=; b=ZlTpGD5KRTLCxH5WJZWiUgbhIeZ5Z6O35hGAMOiFWV52I8fsyb/Z1CWFTbJhl4PvKv 4myAKQvCPQXFh6IQU7eLU4HOJsbijAXlZR2n/DiSHKLefkPV3BQBhIvJJteEBYWZhMyQ fh/zZWuK/rOIuoJMWhrfdNNNn2Lk7+Ntm6NuAJmoV1wD6ts38DruzscJvFu+k5Bm9COP PWjiuhseBoVJbLKa0BMeV2cJkLn0NGuoz0WvygN9tnN6ZJCqrMgQVMSDGpX0JKkOWVrx 00luEY+1f5disxdNBBQhS6rSqD7o77ozfPpf2EYuAU9xkrCZTyPum45L/7fMtTfAAkBC jmtA== X-Gm-Message-State: AJIora+loQwsZdD6WdaLHeySAvPkUYdq1JrWqE3Us0+0LrpmfZd+xeAF JpFy5D0MkLKLgfdCs98sgD0= X-Google-Smtp-Source: AGRyM1up7hdbaBakjwrLF5sBCtZ7cEVYyHiWcXM4dkNldyg3VpDF4PXbL+HtmFaqFxrwpWR09YKi5Q== X-Received: by 2002:a63:28b:0:b0:401:b84d:780f with SMTP id 133-20020a63028b000000b00401b84d780fmr8557737pgc.187.1656260753772; Sun, 26 Jun 2022 09:25:53 -0700 (PDT) Received: from localhost ([49.204.136.42]) by smtp.gmail.com with ESMTPSA id im23-20020a170902bb1700b00163daef3dc2sm5378246plb.84.2022.06.26.09.25.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Jun 2022 09:25:53 -0700 (PDT) From: Visuwesh To: Eli Zaretskii Subject: Re: bug#56237: 29.0.50; delete-forward-char fails to delete character References: <87v8sn9zo4.fsf@gmail.com> <83zghz8kk3.fsf@gnu.org> Date: Sun, 26 Jun 2022 21:55:50 +0530 In-Reply-To: <83zghz8kk3.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 26 Jun 2022 19:18:52 +0300") Message-ID: <87mtdz9ysx.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 56237 Cc: 56237@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: -1.0 (-) [=E0=AE=9E=E0=AE=BE=E0=AE=AF=E0=AE=BF=E0=AE=B1=E0=AF=81 =E0=AE=9C=E0=AF=82= =E0=AE=A9=E0=AF=8D 26, 2022] Eli Zaretskii wrote: >> From: visuweshm@gmail.com >> Date: Sun, 26 Jun 2022 21:37:07 +0530 >>=20 >> delete-forward-char fails to delete if the point is between two composed >> characters. To demonstrate, >>=20 >> 1. emacs -Q >> 2. Yank "=E0=AE=B0=E0=AF=81 =E0=AE=AA=E0=AF=8B" to the *scratch*= buffer >> 3. Place the cursor on the space character and say >>=20 >> Observe how delete-forward-char does nothing. > > This is a feature (new with Emacs 29): delete-forward-char deletes > entire grapheme clusters. Use C-d if you want to delete individual > codepoints inside a grapheme cluster. I'm not sure how this defeats my expectation though? I want the SPC to be deleted and it does it do it when the buffer contains "b b" with the point over SPC but it fails to do so when the buffer contains "=E0=AE=B0=E0= =AF=81 b" instead. I was under the impression that I could safely rebind C-d to delete-forward-char. From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 26 12:36:56 2022 Received: (at 56237) by debbugs.gnu.org; 26 Jun 2022 16:36:56 +0000 Received: from localhost ([127.0.0.1]:48874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5VFo-00059y-32 for submit@debbugs.gnu.org; Sun, 26 Jun 2022 12:36:56 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5VFi-00059d-Cw for 56237@debbugs.gnu.org; Sun, 26 Jun 2022 12:36:54 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50934) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5VFd-0001Dg-1I; Sun, 26 Jun 2022 12:36:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=lCcOO4arW8Zsm4V7d840vdjOlVWdyXEmoYRhdcd4oBQ=; b=IJ4B/VJan5k2Xl2DWk9l dWHdKl4mkf6qwiyjL4VvCCr1GUESKFjSPnIfUtpZh7XA+HiiWK+x/nyLYJycY6Xcqajq/829Ho5DR CUdwGWaBFpCrE8aO5F6mj0dIIsGqniPwVrnMYa0WHpuwojnsxYYaD5jl7Sq8ov+ajDFiEQXOa+A2J nxqOlukf+rOcrOtbTCyvUaZ93m+fP3TU64FaWo7pZC00dbs46DYub0JipoRr2Z2p4mgKBuGTgG+4I Rtx2YVxiQVBm5keSHdJX9q/MhvoPKInz2TwepS6Aa1Vao4rJq8ds89ENo43yC1DEXb7IAWijNMSHA 4w4+XFbGKi00SA==; Received: from [87.69.77.57] (port=2501 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 1o5VFc-0004R6-HN; Sun, 26 Jun 2022 12:36:44 -0400 Date: Sun, 26 Jun 2022 19:36:44 +0300 Message-Id: <83y1xj8jqb.fsf@gnu.org> From: Eli Zaretskii To: Visuwesh In-Reply-To: <87mtdz9ysx.fsf@gmail.com> (message from Visuwesh on Sun, 26 Jun 2022 21:55:50 +0530) Subject: Re: bug#56237: 29.0.50; delete-forward-char fails to delete character References: <87v8sn9zo4.fsf@gmail.com> <83zghz8kk3.fsf@gnu.org> <87mtdz9ysx.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56237 Cc: 56237@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 (---) > From: Visuwesh > Cc: 56237@debbugs.gnu.org > Date: Sun, 26 Jun 2022 21:55:50 +0530 > > [ஞாயிறு ஜூன் 26, 2022] Eli Zaretskii wrote: > > >> From: visuweshm@gmail.com > >> Date: Sun, 26 Jun 2022 21:37:07 +0530 > >> > >> delete-forward-char fails to delete if the point is between two composed > >> characters. To demonstrate, > >> > >> 1. emacs -Q > >> 2. Yank "ரு போ" to the *scratch* buffer > >> 3. Place the cursor on the space character and say > >> > >> Observe how delete-forward-char does nothing. > > > > This is a feature (new with Emacs 29): delete-forward-char deletes > > entire grapheme clusters. Use C-d if you want to delete individual > > codepoints inside a grapheme cluster. > > I'm not sure how this defeats my expectation though? I want the SPC to > be deleted and it does it do it when the buffer contains "b b" with the > point over SPC but it fails to do so when the buffer contains "ரு b" > instead. I was under the impression that I could safely rebind C-d to > delete-forward-char. Sorry, I misunderstood the report. I tried to fix this now on master. From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 26 12:38:38 2022 Received: (at 56237) by debbugs.gnu.org; 26 Jun 2022 16:38:39 +0000 Received: from localhost ([127.0.0.1]:48879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5VHS-0005Cb-LO for submit@debbugs.gnu.org; Sun, 26 Jun 2022 12:38:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:44954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5VHR-0005CQ-Pu for 56237@debbugs.gnu.org; Sun, 26 Jun 2022 12:38:38 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50950) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5VHM-0001gu-HT; Sun, 26 Jun 2022 12:38:32 -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=UuP2uYMKzTYenk0efuIxU4uCT1tlLW/ymQzaaCQuq3Q=; b=hm43i1epvn22 NMnqLu/iNBGrP4gX9U8aQ0KsVa5hkW2RxqiOv4jB9tL26JOwKU+6s0/pqKD9qVDAk5doHZ8o/eDDX iJXXzMOAQzvX15r0wWBx8kf8FYVx9DhKm8kmU6l91sB8XVjYdepRFRovZcH4zELMmG01wJPGjNzZT OVQDPyIGjFoPDtVCHgT2UXoaUJx2vo5JyMDsK90AQPDG4MzJsdQJsyZBjj7xP6Mz/KvDYYrmFBiyq 7TwsxdLJGc1r+5W9P+Zz0IscD3IKqiaO6bIFCy8eEde+IVKdbC687QFFKmsei5HfzCaqPqrxhXoeq e9jsc9UYtvVsghF0V0s0+w==; Received: from [87.69.77.57] (port=2614 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 1o5VHM-0004ci-0V; Sun, 26 Jun 2022 12:38:32 -0400 Date: Sun, 26 Jun 2022 19:38:32 +0300 Message-Id: <83wnd38jnb.fsf@gnu.org> From: Eli Zaretskii To: Visuwesh In-Reply-To: <87mtdz9ysx.fsf@gmail.com> (message from Visuwesh on Sun, 26 Jun 2022 21:55:50 +0530) Subject: Re: bug#56237: 29.0.50; delete-forward-char fails to delete character References: <87v8sn9zo4.fsf@gmail.com> <83zghz8kk3.fsf@gnu.org> <87mtdz9ysx.fsf@gmail.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56237 Cc: 56237@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 (---) > From: Visuwesh > Cc: 56237@debbugs.gnu.org > Date: Sun, 26 Jun 2022 21:55:50 +0530 > > I was under the impression that I could safely rebind C-d to > delete-forward-char. The main point is not the key binding: there's nothing magic in C-d per se. The point is the delete-char and delete-forward-char behave differently inside composed sequences, and that's intentional. From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 26 12:48:05 2022 Received: (at 56237) by debbugs.gnu.org; 26 Jun 2022 16:48:05 +0000 Received: from localhost ([127.0.0.1]:48889 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5VQb-0005So-0d for submit@debbugs.gnu.org; Sun, 26 Jun 2022 12:48:05 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:40758) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5VQY-0005Rp-D1 for 56237@debbugs.gnu.org; Sun, 26 Jun 2022 12:48:03 -0400 Received: by mail-pg1-f196.google.com with SMTP id 9so6965913pgd.7 for <56237@debbugs.gnu.org>; Sun, 26 Jun 2022 09:48:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=YUZOdAl1URbWIAWs63UKjmC4I+NDfrYaZ/ntz8VE0+E=; b=JMkZ2H53LuPnMwAViEdcTuIcXY7eJG/L6RFsVuJIZcH/pxbFcmf5B62+TY3JY3w5gT BN4WqbiGIPi3r+zrHp70qfFWNz5sAYUZc9wdGNvndEnjX2iSzacx30TzfECZMdDUEasC WW3iNMkYKd9hliPhi91jSB62NioBs9ADqDC5qmatrH8ONvww/phd12r6BULmGOyoJIDX NfdpP+6rMQ5Svphwsw+EmsR/dwEz4AS0EB0hWobSKk6PZNEJzKl9hojr6rykS+S8+CpM ExAw8jKRUAV4i48d/tcn4Rb3OWWYEz1rqA3888iGQfLVKm0Jasdciqoy0lRuizZzEQD8 Gb2A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=YUZOdAl1URbWIAWs63UKjmC4I+NDfrYaZ/ntz8VE0+E=; b=3qTJcNYoePukRdB/MWTL3/dsOsy73gMwKxlg2Dmg8vcymeS9zUCrQBfh6NjNGAt+sd aXZo4zxeDbMhQE0HyaTQglg+fN8ffi7XpQ6szP8mSJcZuATHNqdoTHxIQiRtS4PO1Z5Z AyGxhEP1jQIUh3rWjnn4Ukh3aWMqAB0z2Nd+s6wFS9cDnYHT7OfKz6eKTTqtQ8ALlq97 dCSDulzgDFsOlPqjCunmhKIrnVADEYI4DP7eTd4n2Gq1DXhM2dgPt+5tv04spQlvVUiZ PJCVUE3QPjDFS1s37j8kr+rNjfZWnPWqGavGZxKtGFl8ln+ppUMwGUQKqgat6LYWJEBn rA+w== X-Gm-Message-State: AJIora/KlRNFs4LVSESqtuqdC3nqo9YONv4YlG3n5ynW+5IcY1EQtWrQ EEihhPmenlwB/mPfaqGrRHBoctuG4t8= X-Google-Smtp-Source: AGRyM1v5bFqy8o6dP20R4CLgTVqmBSmWhIEHI7o9vVL7xAFk/eFiYC7vbGr7/O3NW6qpYI5blnhVpA== X-Received: by 2002:a63:6dca:0:b0:40c:aac5:a671 with SMTP id i193-20020a636dca000000b0040caac5a671mr8996231pgc.198.1656262076329; Sun, 26 Jun 2022 09:47:56 -0700 (PDT) Received: from localhost ([49.204.136.42]) by smtp.gmail.com with ESMTPSA id a5-20020a1709027e4500b0016784c93f23sm5385219pln.197.2022.06.26.09.47.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Jun 2022 09:47:55 -0700 (PDT) From: Visuwesh To: Eli Zaretskii Subject: Re: bug#56237: 29.0.50; delete-forward-char fails to delete character References: <87v8sn9zo4.fsf@gmail.com> <83zghz8kk3.fsf@gnu.org> <87mtdz9ysx.fsf@gmail.com> <83y1xj8jqb.fsf@gnu.org> Date: Sun, 26 Jun 2022 22:17:53 +0530 In-Reply-To: <83y1xj8jqb.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 26 Jun 2022 19:36:44 +0300") Message-ID: <87fsjr9xs6.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56237 Cc: 56237@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: -1.0 (-) [=E0=AE=9E=E0=AE=BE=E0=AE=AF=E0=AE=BF=E0=AE=B1=E0=AF=81 =E0=AE=9C=E0=AF=82= =E0=AE=A9=E0=AF=8D 26, 2022] Eli Zaretskii wrote: > Sorry, I misunderstood the report. > > I tried to fix this now on master. Thanks for the quick fix! Unfortunately, delete-forward-char still deletes two clusters instead of one in "=E0=AE=AA=E0=AF=8D=E0=AE=AA=E0=AF= =8B". :( I.e., |=E0=AE=AA=E0=AF=8D=E0=AE=AA=E0=AF=8B becomes | where | denotes the point. [=E0=AE=9E=E0=AE=BE=E0=AE=AF=E0=AE=BF=E0=AE=B1=E0=AF=81 =E0=AE=9C=E0=AF=82= =E0=AE=A9=E0=AF=8D 26, 2022] Eli Zaretskii wrote: >> From: Visuwesh >> Cc: 56237@debbugs.gnu.org >> Date: Sun, 26 Jun 2022 21:55:50 +0530 >>=20 >> I was under the impression that I could safely rebind C-d to >> delete-forward-char. > > The main point is not the key binding: there's nothing magic in C-d > per se. The point is the delete-char and delete-forward-char behave > differently inside composed sequences, and that's intentional. Right. For my use case, I never need go into the composed sequence so I rebound C-d to delete-forward. From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 26 12:57:53 2022 Received: (at 56237) by debbugs.gnu.org; 26 Jun 2022 16:57:53 +0000 Received: from localhost ([127.0.0.1]:48894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5Va5-0005gq-5F for submit@debbugs.gnu.org; Sun, 26 Jun 2022 12:57:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47120) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5Va4-0005gf-8g for 56237@debbugs.gnu.org; Sun, 26 Jun 2022 12:57:52 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50990) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5VZy-0004SW-Tc; Sun, 26 Jun 2022 12:57:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=q6Uwrzw39BKHu/KeY+jhmkV8ova+4S61Fq9PO0B8tUU=; b=E0cwDAKgUDuv02fUIaWh M7oqgHWb75G4lbnF9FUtFP9tiAp9t/LfP+fbDJ6JwaVL0DAkAb/NE8WAky++jPlrPrE6b02FZECGw 0tLfoKcATnAVySX917A9j3s03mu6tROFUGoRmFWTrQzfq3E5u4hkVYSV+R9q41uqKwfPz+9sqkfyY iNrBr4obEJSNTpJuU9SXc/gT0Ym/WGKyV2LVYNsmnGuvVM0z5zZ61SxEDgLXNPuckijskl5l8Gec7 RE9G0RHGBAro9p6OZjxIcSlIYA+w9xOgKUs3GiwB6kqRKehG2XK5jBbp3H32ALCcsn6IX9dNOsYa7 w/BiDu0pvjkpoA==; Received: from [87.69.77.57] (port=3792 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 1o5VZy-000869-CQ; Sun, 26 Jun 2022 12:57:46 -0400 Date: Sun, 26 Jun 2022 19:57:46 +0300 Message-Id: <83v8sn8ir9.fsf@gnu.org> From: Eli Zaretskii To: Visuwesh In-Reply-To: <87fsjr9xs6.fsf@gmail.com> (message from Visuwesh on Sun, 26 Jun 2022 22:17:53 +0530) Subject: Re: bug#56237: 29.0.50; delete-forward-char fails to delete character References: <87v8sn9zo4.fsf@gmail.com> <83zghz8kk3.fsf@gnu.org> <87mtdz9ysx.fsf@gmail.com> <83y1xj8jqb.fsf@gnu.org> <87fsjr9xs6.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56237 Cc: 56237@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 (---) > From: Visuwesh > Cc: 56237@debbugs.gnu.org > Date: Sun, 26 Jun 2022 22:17:53 +0530 > > [ஞாயிறு ஜூன் 26, 2022] Eli Zaretskii wrote: > > > Sorry, I misunderstood the report. > > > > I tried to fix this now on master. > > Thanks for the quick fix! Unfortunately, delete-forward-char still > deletes two clusters instead of one in "ப்போ". :( They aren't two clusters, they are two graphemes that are part of a single grapheme cluster. Invoke find-composition, and you will see that it returns a single composition there. > I.e., > > |ப்போ becomes | > > where | denotes the point. This is the intended behavior. From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 26 13:06:44 2022 Received: (at 56237) by debbugs.gnu.org; 26 Jun 2022 17:06:44 +0000 Received: from localhost ([127.0.0.1]:48913 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5Vie-0005w6-83 for submit@debbugs.gnu.org; Sun, 26 Jun 2022 13:06:44 -0400 Received: from mail-pj1-f68.google.com ([209.85.216.68]:51946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5Vib-0005vr-9c for 56237@debbugs.gnu.org; Sun, 26 Jun 2022 13:06:43 -0400 Received: by mail-pj1-f68.google.com with SMTP id l2so5981613pjf.1 for <56237@debbugs.gnu.org>; Sun, 26 Jun 2022 10:06:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=1dn0Cx0xFtz+k27AobQJpJ7uJNDsNV22rm9fH3ngIh0=; b=HlfrWhNSmxjDuleDKmzzatXUmk5tjcf6M8Qt0Oty9patUlrKpC/hbiEBqeCcn26MpL LCvS0gIs4TYTJvVon9A5SIvccnbvAxUTMJq0essioW9Cny2t4euvkXw/FcH3hJXAopSe vsQyyX4gUNxQbeROk9ecicTr8zvV+CykkQjwLDHeyMitUzwfWRPMmgFvO3eQWHvp4vAs losVV2UJ0kNLDJq9te5nRsZVtY+kn5khp87br6teD80eZ0d+/tnvmcv3skF2uP47g+Sa u89RDXwDwdGEOAk8J0c6G2/wtd2huFOrdrprw5LlUfkA8inf2XV3pJcPUV+ZeJR/0FDt kRpg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=1dn0Cx0xFtz+k27AobQJpJ7uJNDsNV22rm9fH3ngIh0=; b=DwGst/6qN8T7ZgRNxHqn4/Ji9ed+xGZcpYukTUMF2YLv0rnzObV8PKRzDJaZXfUr+b uZN/XntIgGD2rqkiWHu7/mIfXmK8GSgFKUQStcPMx2MhgTV9BzNWCO8CJTfOdgvUzbw0 eQolwUZex4s3H5G4DcEiL2vy6NO4CveK3TYOJ9RV+HxPpsPEC+1LkDar+9pcSirDeUEo i28B887Sm4mAbPLMzFSQ75pY6VW66hogNY7yY09OqWrpJLOPbVV4WO1P8XMbNxv56jag LWQc2LfkixM5S6wERIBnKI1LkqQ+jTnS4teeHMJDQFz4RGYIws4aNAlxMiBSXlM58DUP AlBQ== X-Gm-Message-State: AJIora/qOHiibCpVqJG44jWi1ODNfaYFAKG4O5d2jKWjyj1rdNeglXII 9DgoQkxsK+0cmX5Ayjh2G7c= X-Google-Smtp-Source: AGRyM1tt3yGukKcdCgh5Gvk2ygwriVZJj8wmAFbwH0sWkjQRQbJQX/rya3JjZvTQqjBrOG3uWg88jg== X-Received: by 2002:a17:90a:b284:b0:1e3:826b:d11d with SMTP id c4-20020a17090ab28400b001e3826bd11dmr10764748pjr.79.1656263195312; Sun, 26 Jun 2022 10:06:35 -0700 (PDT) Received: from localhost ([49.204.136.42]) by smtp.gmail.com with ESMTPSA id i21-20020a63e455000000b0040cfb5151fcsm5363661pgk.74.2022.06.26.10.06.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Jun 2022 10:06:34 -0700 (PDT) From: Visuwesh To: Eli Zaretskii Subject: Re: bug#56237: 29.0.50; delete-forward-char fails to delete character References: <87v8sn9zo4.fsf@gmail.com> <83zghz8kk3.fsf@gnu.org> <87mtdz9ysx.fsf@gmail.com> <83y1xj8jqb.fsf@gnu.org> <87fsjr9xs6.fsf@gmail.com> <83v8sn8ir9.fsf@gnu.org> Date: Sun, 26 Jun 2022 22:36:31 +0530 In-Reply-To: <83v8sn8ir9.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 26 Jun 2022 19:57:46 +0300") Message-ID: <87bkuf9wx4.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56237 Cc: 56237@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: -1.0 (-) [=E0=AE=9E=E0=AE=BE=E0=AE=AF=E0=AE=BF=E0=AE=B1=E0=AF=81 =E0=AE=9C=E0=AF=82= =E0=AE=A9=E0=AF=8D 26, 2022] Eli Zaretskii wrote: >> From: Visuwesh >> Cc: 56237@debbugs.gnu.org >> Date: Sun, 26 Jun 2022 22:17:53 +0530 >>=20 >> [=E0=AE=9E=E0=AE=BE=E0=AE=AF=E0=AE=BF=E0=AE=B1=E0=AF=81 =E0=AE=9C=E0=AF= =82=E0=AE=A9=E0=AF=8D 26, 2022] Eli Zaretskii wrote: >>=20 >> > Sorry, I misunderstood the report. >> > >> > I tried to fix this now on master. >>=20 >> Thanks for the quick fix! Unfortunately, delete-forward-char still >> deletes two clusters instead of one in "=E0=AE=AA=E0=AF=8D=E0=AE=AA=E0= =AF=8B". :( > > They aren't two clusters, they are two graphemes that are part of a > single grapheme cluster. > > Invoke find-composition, and you will see that it returns a single > composition there. > If find-composition is indeed right, then the return value is very unintuvitive as a native speaker: =E0=AE=AA=E0=AF=8D and =E0=AE=AA=E0=AF=8B= are two separate characters and combining them into a single cluster is weird...=20=20 Am I right in thinking that a grapheme cluster is made up of characters that can be grouped together to produce a single "letter" on screen? If so, the behaviour of find-composition is still confusing since I need to say C-f twice to move over =E0=AE=AA=E0=AF=8D=E0=AE=AA=E0=AF=8B. >> I.e., >>=20 >> |=E0=AE=AA=E0=AF=8D=E0=AE=AA=E0=AF=8B becomes | >>=20 >> where | denotes the point. > > This is the intended behavior. From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 26 13:27:06 2022 Received: (at 56237) by debbugs.gnu.org; 26 Jun 2022 17:27:06 +0000 Received: from localhost ([127.0.0.1]:48932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5W2M-0000A4-GJ for submit@debbugs.gnu.org; Sun, 26 Jun 2022 13:27:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5W2I-00009W-1M for 56237@debbugs.gnu.org; Sun, 26 Jun 2022 13:27:05 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51290) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5W2C-0002tH-OQ; Sun, 26 Jun 2022 13:26:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=6BP8DNQt1QF4ugRqTnVDkZ5vl2isqjnYpgnZY3BOeLs=; b=Fztx5cgXA3ZePephS9U/ kDRgbfaZOeGIZ2KCsbFQXr4Cahg1lEBy1vxGOLRLH1aXpkxsOhjTQOQ2+ZEOfDDKY9xq+i5QVcCzd 19IpQDTQsJvrf9a73R7tnw70BLtIQmYwskCqKPff5BZfMNaMUadYNM72qo46BuuENBL5SawUAOERU gjhUQD3INOBZ/9KhDgPvwXdV1k/6ZGUpwrTJSkFRvOKFCUSL5KPR1b60uFg8/O6odXppmVW0yQvzH 3a48ZHm0lSZxDBrCd/7ChykPuq8vmdPaIYwWAqDAPvKz7t59trijpzU9urj32Bg5KFTcIAPvxcO+q LcvfjwWxYimsbg==; Received: from [87.69.77.57] (port=1633 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 1o5W2C-0008UE-4I; Sun, 26 Jun 2022 13:26:56 -0400 Date: Sun, 26 Jun 2022 20:26:56 +0300 Message-Id: <83tu878hen.fsf@gnu.org> From: Eli Zaretskii To: Visuwesh In-Reply-To: <87bkuf9wx4.fsf@gmail.com> (message from Visuwesh on Sun, 26 Jun 2022 22:36:31 +0530) Subject: Re: bug#56237: 29.0.50; delete-forward-char fails to delete character References: <87v8sn9zo4.fsf@gmail.com> <83zghz8kk3.fsf@gnu.org> <87mtdz9ysx.fsf@gmail.com> <83y1xj8jqb.fsf@gnu.org> <87fsjr9xs6.fsf@gmail.com> <83v8sn8ir9.fsf@gnu.org> <87bkuf9wx4.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56237 Cc: 56237@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 (---) > From: Visuwesh > Cc: 56237@debbugs.gnu.org > Date: Sun, 26 Jun 2022 22:36:31 +0530 > > > Invoke find-composition, and you will see that it returns a single > > composition there. > > If find-composition is indeed right, then the return value is very > unintuvitive as a native speaker: ப் and போ are two separate characters > and combining them into a single cluster is weird... Maybe you are right, but then Someone(TM) will have to either modify find-composition or explain how to interpret its return value differently from what we do now. What is now in delete-forward-char expresses my level of knowledge in this area, which admittedly is limited. > Am I right in thinking that a grapheme cluster is made up of characters > that can be grouped together to produce a single "letter" on screen? The fact that you quote "letter" already means that we have terminology problem, because I don't think you will be able to define it rigorously enough for this purpose. I don't think we have a definition of a grapheme cluster in Emacs terms that is always correct, given that these decisions are in many cases delegated to the shaping engine. > If so, the behaviour of find-composition is still confusing since I > need to say C-f twice to move over ப்போ. Could be. If it confuses too much, you are free to use delete-char to delete one codepoint at a time. What delete-forward-char codes is a convenience feature, so if it is sub-optimal in some rare cases, that's not a catastrophe, I think. From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 26 14:01:32 2022 Received: (at 56237) by debbugs.gnu.org; 26 Jun 2022 18:01:32 +0000 Received: from localhost ([127.0.0.1]:48964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5WZg-00013V-7r for submit@debbugs.gnu.org; Sun, 26 Jun 2022 14:01:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:56514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5WZS-000136-Cj for 56237@debbugs.gnu.org; Sun, 26 Jun 2022 14:01:30 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5WZL-00023D-Ef; Sun, 26 Jun 2022 14:01:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=gusvCB8Di3E9DJn0EwXbf9tcsBQUDGd+cmNwcJnqPAM=; b=nJlIWVMcYJUIXNtRRbln U6a2qYIr4oVxjBxJzlfCUZ99etP8FZxoXRxCT/fr3ThFV59EyUhbjAGExtDz1BIwTNwNdRWfNaELT hj0KEkN1UHxDFeZSrw+HC+SjqgoSSXn01oPYvth8XZEHljQWN5hJswm829ZFHe38m5igF875PTv1G jAzWIJurpHcw0MRrFpCiviYkryCivZYSdpUmY7hC8hnOQWT6M8PqMQch8W9McBQ49AP7E/43PrVeM nGCOdnzRuDlnJFrHK0eGDvKodZCxUdAkGbxYpdsnnL8bC/FQQyz96WwgsKgKIDyAOrwgT+Nwg56ds VgADffxf5yYHvQ==; Received: from [87.69.77.57] (port=3724 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 1o5WZK-00045W-MW; Sun, 26 Jun 2022 14:01:11 -0400 Date: Sun, 26 Jun 2022 21:01:10 +0300 Message-Id: <83sfnr8ftl.fsf@gnu.org> From: Eli Zaretskii To: visuweshm@gmail.com In-Reply-To: <83tu878hen.fsf@gnu.org> (message from Eli Zaretskii on Sun, 26 Jun 2022 20:26:56 +0300) Subject: Re: bug#56237: 29.0.50; delete-forward-char fails to delete character References: <87v8sn9zo4.fsf@gmail.com> <83zghz8kk3.fsf@gnu.org> <87mtdz9ysx.fsf@gmail.com> <83y1xj8jqb.fsf@gnu.org> <87fsjr9xs6.fsf@gmail.com> <83v8sn8ir9.fsf@gnu.org> <87bkuf9wx4.fsf@gmail.com> <83tu878hen.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56237 Cc: 56237@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: 56237@debbugs.gnu.org > Date: Sun, 26 Jun 2022 20:26:56 +0300 > From: Eli Zaretskii > > > From: Visuwesh > > Cc: 56237@debbugs.gnu.org > > Date: Sun, 26 Jun 2022 22:36:31 +0530 > > > > > Invoke find-composition, and you will see that it returns a single > > > composition there. > > > > If find-composition is indeed right, then the return value is very > > unintuvitive as a native speaker: ப் and போ are two separate characters > > and combining them into a single cluster is weird... > > Maybe you are right, but then Someone(TM) will have to either modify > find-composition or explain how to interpret its return value > differently from what we do now. What is now in delete-forward-char > expresses my level of knowledge in this area, which admittedly is > limited. > [...] > If so, the behaviour of find-composition is still confusing since I > need to say C-f twice to move over ப்போ. Mmm... that gave an idea. Let me see if I can come up with something. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 27 01:31:23 2022 Received: (at 56237) by debbugs.gnu.org; 27 Jun 2022 05:31:23 +0000 Received: from localhost ([127.0.0.1]:49500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5hLG-0001W3-OV for submit@debbugs.gnu.org; Mon, 27 Jun 2022 01:31:23 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:42973) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5hLE-0001Vm-8o for 56237@debbugs.gnu.org; Mon, 27 Jun 2022 01:31:20 -0400 Received: by mail-pf1-f193.google.com with SMTP id d17so7930226pfq.9 for <56237@debbugs.gnu.org>; Sun, 26 Jun 2022 22:31:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=yy2Ou/REe8ji5xDwESNZ8nX8oZHGqUhZPPUvs4FBn34=; b=oNpxxQdqpaOzuy8VnXfhNdUFXwWP5+6SviSbF+uaJ0CV5y4z7JPV1IQz50yekSPOXW I7i2np9f3+QL3iJz7n1BzsprF7XuMbDyNTEKwelnLaIEw9DZ/3elkP9IcYQPLUa4ccgD gkmrPj6CCnSsX8A7w+fouSATzwtL9DN8ih+53eT+WTNxdz3jzT9aMD+/znAosHwGy0/s NN0iU32OFzg+wtDv+pslsA6kfCEkEKXNU1BQEnOhDy7rWGB3n1D04tSV3D2sDra1JL2b AKTAVwelNgMuPkGnENwZ4w7xsuAmNwfYaGoVNS08kQQgqCBtjPpmFIC6tOq28Wq6Qj0q By9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=yy2Ou/REe8ji5xDwESNZ8nX8oZHGqUhZPPUvs4FBn34=; b=f88KLM1H/F/Cbkb+7WLWRfPSIGicRa4/JVzTvJNmVCBLrb7aPxzwrBrtUgN8F+EEtK yeNFOSd5dr+sNLzH6M+gU6iF7MAxj+YDOQu2ptjdFlXGVzJ6KMxo14Gok2bCD/gs12Ih lB4eem7DZKo1ZzxpykFSacOOiuj+tOtbfxAKrZhUcq/y0xvh3GNK7vW+OToI57v37c49 zzWY5s2fBzHJVdsONJvi8nlPF+v2OHzzFrkKCPNplLF9suKzmhH5UctdwQPmHNiYEh/l rv6rdYDocB4UNW8+w7Ekvt0M7AIlU30HUqcVaCAWWZKbO+Dl4Xa7GGkkZkBOsrf1QUOe sDrg== X-Gm-Message-State: AJIora/JnN26VyGwUS2N9f//ZI6XN7tbePtdfkGqHTj03dF4SNEB3OrO E/7QecAgnWyX1gBHIpLBTYI= X-Google-Smtp-Source: AGRyM1s+ZsP3oKEK9BbFisBzdLDWUTSThgRI7uj94QNL9yKN32C0TOo4o30792OyrSA5YwZxTuEWxQ== X-Received: by 2002:a63:a749:0:b0:40c:57e0:86c0 with SMTP id w9-20020a63a749000000b0040c57e086c0mr11250392pgo.265.1656307874076; Sun, 26 Jun 2022 22:31:14 -0700 (PDT) Received: from localhost ([49.204.143.183]) by smtp.gmail.com with ESMTPSA id a8-20020a656048000000b003db7de758besm6199771pgp.5.2022.06.26.22.31.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Jun 2022 22:31:13 -0700 (PDT) From: Visuwesh To: Eli Zaretskii Subject: Re: bug#56237: 29.0.50; delete-forward-char fails to delete character References: <87v8sn9zo4.fsf@gmail.com> <83zghz8kk3.fsf@gnu.org> <87mtdz9ysx.fsf@gmail.com> <83y1xj8jqb.fsf@gnu.org> <87fsjr9xs6.fsf@gmail.com> <83v8sn8ir9.fsf@gnu.org> <87bkuf9wx4.fsf@gmail.com> <83tu878hen.fsf@gnu.org> Date: Mon, 27 Jun 2022 11:01:03 +0530 In-Reply-To: <83tu878hen.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 26 Jun 2022 20:26:56 +0300") Message-ID: <87sfnqoep4.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56237 Cc: 56237@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: -1.0 (-) [=E0=AE=9E=E0=AE=BE=E0=AE=AF=E0=AE=BF=E0=AE=B1=E0=AF=81 =E0=AE=9C=E0=AF=82= =E0=AE=A9=E0=AF=8D 26, 2022] Eli Zaretskii wrote: >> From: Visuwesh >> Cc: 56237@debbugs.gnu.org >> Date: Sun, 26 Jun 2022 22:36:31 +0530 >>=20 >> > Invoke find-composition, and you will see that it returns a single >> > composition there. >>=20 >> If find-composition is indeed right, then the return value is very >> unintuvitive as a native speaker: =E0=AE=AA=E0=AF=8D and =E0=AE=AA=E0=AF= =8B are two separate characters >> and combining them into a single cluster is weird...=20=20 > > Maybe you are right, but then Someone(TM) will have to either modify > find-composition or explain how to interpret its return value > differently from what we do now. What is now in delete-forward-char > expresses my level of knowledge in this area, which admittedly is > limited. > Turns out that Someone=E2=84=A2 was closer to us than I thought: describe-c= har. With a bit of edebug and reading the code in composition.h (for the LGLYPH_* macros) and defsubst's in composite.el, I think I figured out the logic: We need to call find-composition with a non-nil DETAIL-P argument to get the gstring. The gstring contains the glyphs that will be used to construct the grapheme cluster [1]. According to composition.h, those glyphs which have the same FROM and TO indices are part of the same grapheme cluster so to get the actual length of individual codepoints, we need to calculate the number of glyphs which have an equal FROM and TO indices. Understanding all this, I came up with the following code: (let* ((composition (find-composition 0 nil "=E0=AE=AA=E0=AF=8D=E0=AE= =AA=E0=AF=8B" t)) (gstring (nth 2 composition)) (num-glyphs (lgstring-glyph-len gstring)) (i 1) (from (lglyph-from (lgstring-glyph gstring 0))) (to (lglyph-to (lgstring-glyph gstring 0)))) (while (and (< i num-glyphs) (=3D from (lglyph-from (lgstring-glyph gstring i))) (=3D to (lglyph-to (lgstring-glyph gstring i)))) (setq i (1+ i))) i) here i is the number of characters we need to delete using delete-char. [1] For the gstring format, see composition-get-gstring. But I think we should test this code in cases where a grapheme cluster contains more than two codepoints since all the composed characters in Tamil are made up of two Unicode codepoints. I can't test it on emojis since I don't know of an Emoji font that won't crash potentially Xft and has enough coverage. >> Am I right in thinking that a grapheme cluster is made up of characters >> that can be grouped together to produce a single "letter" on screen? > > The fact that you quote "letter" already means that we have > terminology problem, because I don't think you will be able to define > it rigorously enough for this purpose. > > I don't think we have a definition of a grapheme cluster in Emacs > terms that is always correct, given that these decisions are in many > cases delegated to the shaping engine. > I quoted "letter" because I was thinking of emojis. I should have been more explicit, sorry about that. >> If so, the behaviour of find-composition is still confusing since I >> need to say C-f twice to move over =E0=AE=AA=E0=AF=8D=E0=AE=AA=E0=AF=8B. > > Could be. If it confuses too much, you are free to use delete-char to > delete one codepoint at a time. What delete-forward-char codes is a > convenience feature, so if it is sub-optimal in some rare cases, > that's not a catastrophe, I think. Unfortunately, the places where the current code of delete-forward-char fails are far too frequent to put up with the switch between delete-char and delete-forward-char. =E0=AE=AA=E0=AF=8D=E0=AE=AA=E0=AF=8B is only a si= ngle example, in fact, delete-forward-char fails whenever a cluster which contains a consonant and a virama is followed by another Tamil character. [=E0=AE=9E=E0=AE=BE=E0=AE=AF=E0=AE=BF=E0=AE=B1=E0=AF=81 =E0=AE=9C=E0=AF=82= =E0=AE=A9=E0=AF=8D 26, 2022] Eli Zaretskii wrote: >> If so, the behaviour of find-composition is still confusing since I >> need to say C-f twice to move over =E0=AE=AA=E0=AF=8D=E0=AE=AA=E0=AF=8B. > > Mmm... that gave an idea. Let me see if I can come up with something. It could be a false alarm since the clusters in Tamil are all are made up of two Unicode codepoints. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 27 01:47:38 2022 Received: (at 56237) by debbugs.gnu.org; 27 Jun 2022 05:47:39 +0000 Received: from localhost ([127.0.0.1]:49506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5hb0-0001se-Bx for submit@debbugs.gnu.org; Mon, 27 Jun 2022 01:47:38 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:40484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5haw-0001ru-Sc for 56237@debbugs.gnu.org; Mon, 27 Jun 2022 01:47:37 -0400 Received: by mail-pl1-f195.google.com with SMTP id b2so212725plx.7 for <56237@debbugs.gnu.org>; Sun, 26 Jun 2022 22:47:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=v4hF07EaA3zLOXMN1DUVmdSPQBvjHUbKk8DLlMDAva8=; b=TqmzCmqJvmqsN2df80k6nuOP2WNAWYMUv78y9xibLeP2RzyAOJl4yhrjcUhRvSQ1rU p/kSzSJKPUIDGXMdg/I40Xdn5fN4Vjfu0ZHLAZL/w9ZnKWpYjHyfG5YzIUFDni/LfHUh OtRprutTktULRAtqMZOsVfgT9AJB4sDBtSE9gOpy2IDrEkqcWslfoG+KpHxrHYBiKgUd I3PoHQQjVXZasI9pzLryC9TjUJsnbhjwHi6ls36OheG6dDwzIOVuzLNNCpkNFqX9v+ZB RX/lclXadzXEraJtmrSgyyxapTt1DQVtUO3oAhKiCHFkIDjkaGB5ypUYcyfx1H0pu5B9 q9HA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=v4hF07EaA3zLOXMN1DUVmdSPQBvjHUbKk8DLlMDAva8=; b=T9fg6hQtXy4S5U9t85TpAS4GdvZucjvnCBqaRdxtLuvUwQ5NfTrrFxXIMIgK9r1UpR +l+8/gfLSN6SqiDF6bGe6wncdaQxnJzckr9pBkU7XaIWz6M6ZzZFa2md3zeUoj2c8NQO 9u8qFezNMAGlfiN081MSiIt3+COLIk7Hw2X/KcN3LGsbLv9jRwwXV4cPNjsep/ccPXZA EhFPuO/GG2U2HDWU6hP8e6uc2/XXf+gX45XxNapRpo6MgZ6MC3rlNXVH5WBopC7b9TPV V5NuNesjzkPUflN8uAAE0EoKxr3psctzeSv3eSd1zP4v6xBkOFY0miDV6UH1iO9FnWAf Vhsw== X-Gm-Message-State: AJIora/l3SgZzCaWoXL18i1ujMKdm3epfYUlHevcQG52qlk42MsaXmBB VsVOM21Tk06QJ04jjuYvz4y8DCb9ckk= X-Google-Smtp-Source: AGRyM1ujXcm1/2aFyGNP8Tftw9eXoFASQdOWyblhkPA8zekBR3nRQKugounlIaJ1seG3jna4mXYU7w== X-Received: by 2002:a17:902:c948:b0:16a:58f4:c142 with SMTP id i8-20020a170902c94800b0016a58f4c142mr13231473pla.103.1656308848871; Sun, 26 Jun 2022 22:47:28 -0700 (PDT) Received: from localhost ([49.204.143.183]) by smtp.gmail.com with ESMTPSA id g26-20020aa7819a000000b0052548b87bd1sm6168803pfi.46.2022.06.26.22.47.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 26 Jun 2022 22:47:28 -0700 (PDT) From: Visuwesh To: Eli Zaretskii Subject: Re: bug#56237: 29.0.50; delete-forward-char fails to delete character References: <87v8sn9zo4.fsf@gmail.com> <83zghz8kk3.fsf@gnu.org> <87mtdz9ysx.fsf@gmail.com> <83y1xj8jqb.fsf@gnu.org> <87fsjr9xs6.fsf@gmail.com> <83v8sn8ir9.fsf@gnu.org> <87bkuf9wx4.fsf@gmail.com> <83tu878hen.fsf@gnu.org> <87sfnqoep4.fsf@gmail.com> Date: Mon, 27 Jun 2022 11:17:25 +0530 In-Reply-To: <87sfnqoep4.fsf@gmail.com> (Visuwesh's message of "Mon, 27 Jun 2022 11:01:03 +0530") Message-ID: <87o7yeodxu.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56237 Cc: 56237@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: -1.0 (-) [=E0=AE=A4=E0=AE=BF=E0=AE=99=E0=AF=8D=E0=AE=95=E0=AE=B3=E0=AF=8D =E0=AE=9C= =E0=AF=82=E0=AE=A9=E0=AF=8D 27, 2022] Visuwesh wrote: > [=E0=AE=9E=E0=AE=BE=E0=AE=AF=E0=AE=BF=E0=AE=B1=E0=AF=81 =E0=AE=9C=E0=AF= =82=E0=AE=A9=E0=AF=8D 26, 2022] Eli Zaretskii wrote: > >>> From: Visuwesh >>> Cc: 56237@debbugs.gnu.org >>> Date: Sun, 26 Jun 2022 22:36:31 +0530 >>>=20 >>> > Invoke find-composition, and you will see that it returns a single >>> > composition there. >>>=20 >>> If find-composition is indeed right, then the return value is very >>> unintuvitive as a native speaker: =E0=AE=AA=E0=AF=8D and =E0=AE=AA=E0= =AF=8B are two separate characters >>> and combining them into a single cluster is weird...=20=20 >> >> Maybe you are right, but then Someone(TM) will have to either modify >> find-composition or explain how to interpret its return value >> differently from what we do now. What is now in delete-forward-char >> expresses my level of knowledge in this area, which admittedly is >> limited. >> > > Turns out that Someone=E2=84=A2 was closer to us than I thought: describe= -char. > With a bit of edebug and reading the code in composition.h (for the > LGLYPH_* macros) and defsubst's in composite.el, I think I figured out > the logic: > > We need to call find-composition with a non-nil DETAIL-P argument to get > the gstring. The gstring contains the glyphs that will be used to > construct the grapheme cluster [1]. According to composition.h, those > glyphs which have the same FROM and TO indices are part of the same > grapheme cluster so to get the actual length of individual codepoints, > we need to calculate the number of glyphs which have an equal FROM and > TO indices. > > Understanding all this, I came up with the following code: > > (let* ((composition (find-composition 0 nil "=E0=AE=AA=E0=AF=8D=E0=AE= =AA=E0=AF=8B" t)) > (gstring (nth 2 composition)) > (num-glyphs (lgstring-glyph-len gstring)) > (i 1) > (from (lglyph-from (lgstring-glyph gstring 0))) > (to (lglyph-to (lgstring-glyph gstring 0)))) > (while (and (< i num-glyphs) > (=3D from (lglyph-from (lgstring-glyph gstring i))) > (=3D to (lglyph-to (lgstring-glyph gstring i)))) > (setq i (1+ i))) > i) > > here i is the number of characters we need to delete using delete-char. > > [1] For the gstring format, see composition-get-gstring. > > But I think we should test this code in cases where a grapheme cluster > contains more than two codepoints since all the composed characters in > Tamil are made up of two Unicode codepoints. I can't test it on emojis > since I don't know of an Emoji font that won't crash potentially Xft and > has enough coverage. > I got my hopes too high. :( This fails for the simple case of =E0=AE=B0=E0=AF=81 (C-u C-x =3D also fail= s!) so I guess we are back to square one. Although =E0=AE=B0=E0=AF=81 is composed from 0B= B0 0BC1, the gstring only has one glyph. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 27 08:39:51 2022 Received: (at 56237) by debbugs.gnu.org; 27 Jun 2022 12:39:51 +0000 Received: from localhost ([127.0.0.1]:50256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5o1v-0007we-FL for submit@debbugs.gnu.org; Mon, 27 Jun 2022 08:39:51 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35998) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5o1u-0007wT-CV for 56237@debbugs.gnu.org; Mon, 27 Jun 2022 08:39:50 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37048) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5o1p-0006lj-1g; Mon, 27 Jun 2022 08:39:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=7yBB4d05+kOqG3cujv53AEP+2Lc6hhYDSjMxztqOVd4=; b=Pwe/UVztoKlXVPJ0RtRU WzsH/zcZtspY4tcFhKxeO+bzc5qy+vwJf5L0deVrGUH4GgDucnMSTq7xvMZNUAdovGvjQcz6wCj8i SnFNSa10m8h2CLurMoHmsORfz03o2jDKn9UPRh3E3Wpy8TcHpE6MFObDnvGVzbIHerqvL+MGuQH/i X5YHrmywxuhk8n5EME6Aa5eh8VREervDrvgg+MLa+8it6OxeziAMvlioNFwZLh7M0TJvkrwQWK7p9 klIWJBaOAtoR45B/qZMPg3B8O1vg8D+3QAb2/CNDe1bPTgOXKcyI3oBJi1kS7BC24oawTE6o4g0g7 eWKAGY0BEPl7GQ==; Received: from [87.69.77.57] (port=4265 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 1o5o1o-0007SY-GQ; Mon, 27 Jun 2022 08:39:44 -0400 Date: Mon, 27 Jun 2022 15:39:46 +0300 Message-Id: <83fsjq8elp.fsf@gnu.org> From: Eli Zaretskii To: Visuwesh In-Reply-To: <87o7yeodxu.fsf@gmail.com> (message from Visuwesh on Mon, 27 Jun 2022 11:17:25 +0530) Subject: Re: bug#56237: 29.0.50; delete-forward-char fails to delete character References: <87v8sn9zo4.fsf@gmail.com> <83zghz8kk3.fsf@gnu.org> <87mtdz9ysx.fsf@gmail.com> <83y1xj8jqb.fsf@gnu.org> <87fsjr9xs6.fsf@gmail.com> <83v8sn8ir9.fsf@gnu.org> <87bkuf9wx4.fsf@gmail.com> <83tu878hen.fsf@gnu.org> <87sfnqoep4.fsf@gmail.com> <87o7yeodxu.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56237 Cc: 56237@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 (---) > From: Visuwesh > Cc: 56237@debbugs.gnu.org > Date: Mon, 27 Jun 2022 11:17:25 +0530 > > > (let* ((composition (find-composition 0 nil "ப்போ" t)) > > (gstring (nth 2 composition)) > > (num-glyphs (lgstring-glyph-len gstring)) > > (i 1) > > (from (lglyph-from (lgstring-glyph gstring 0))) > > (to (lglyph-to (lgstring-glyph gstring 0)))) > > (while (and (< i num-glyphs) > > (= from (lglyph-from (lgstring-glyph gstring i))) > > (= to (lglyph-to (lgstring-glyph gstring i)))) > > (setq i (1+ i))) > > i) > > > > here i is the number of characters we need to delete using delete-char. > > > > [1] For the gstring format, see composition-get-gstring. > > > > But I think we should test this code in cases where a grapheme cluster > > contains more than two codepoints since all the composed characters in > > Tamil are made up of two Unicode codepoints. I can't test it on emojis > > since I don't know of an Emoji font that won't crash potentially Xft and > > has enough coverage. > > > > I got my hopes too high. :( > > This fails for the simple case of ரு (C-u C-x = also fails!) so I guess > we are back to square one. Although ரு is composed from 0BB0 0BC1, the > gstring only has one glyph. Yes, composition of N characters can in general produce M glyphs, where M can be smaller, equal, or greater than N. It's a many-to-many operation, and we cannot rely on getting the same number of glyphs as the number of codepoints we compose. The idea is nevertheless correct (I had the same one), it just needs some fine-tuning. (And "C-x =" tries to solve a different problem: how to match each glyph with a codepoint, and that problem is in general insoluble, so it's a small wonder that it fails.) Please try the latest master, I hope delete-forward-char now behaves better. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 27 10:40:06 2022 Received: (at 56237) by debbugs.gnu.org; 27 Jun 2022 14:40:06 +0000 Received: from localhost ([127.0.0.1]:52989 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5puI-0003CU-6L for submit@debbugs.gnu.org; Mon, 27 Jun 2022 10:40:06 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:43840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5puF-0003BL-B5 for 56237@debbugs.gnu.org; Mon, 27 Jun 2022 10:40:05 -0400 Received: by mail-pf1-f195.google.com with SMTP id 136so4100471pfy.10 for <56237@debbugs.gnu.org>; Mon, 27 Jun 2022 07:40:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mime-version:content-transfer-encoding; bh=k3f2PQG8CynPM3HgJYvWf/CwDY9RTUeViFR+42D8UDY=; b=FbTk1POBDaqPHxYxVxUNQriLmOkh8w2XFu+DklNuuZOP6Fcp5S/L3APlOS/6xy245N 3ExRWffwaHd1dGRM7uDnntbcpoLFuYkEwd61AEuhJFXDjofl4B/1LQblyrRSyI+IALBc Hu4Jy3iXJpCQydz5rOOWEfekx34+9JJRdzcUcJx0u13GX/W2f4BAC7Bn7h69QYakyDUn +70Ms+f3uLfThQxj8EPEI1Kx+CJ6asppr0IkaR/IsJ++hdor1sPc/o8pxBjlL4KpbqA1 2WPQv7PbQ7jmvfpgEc0ZW/jMnZjk/bG9wwm2gowN0dU2xf4J8xggW/Wy7B3HWQE+ov1T CC6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:date:message-id :references:user-agent:mime-version:content-transfer-encoding; bh=k3f2PQG8CynPM3HgJYvWf/CwDY9RTUeViFR+42D8UDY=; b=zzJkmBoa3LXAr6O6iNLac+TOBmJLW03WlOQLsBnp+uQyxHJxKvpg/k5qbEAywYS9jG iq/IdAy1Ldi5A5AMEeYYCVUhx5ydP01+YlJqm9lKlkU5vDbWi9Le/ANQ2N5FvuEfWbM0 RYhg8kWVmAILGJ21FJ04JUYRv7PcW+cIitcQRhXNXzotHQPMzjBd1qUMXZfmP/iGScoh K/vUKqTccu2mLXcLHWE1iZLxpDR2FrtQKr7iR1fgzfIGRJfsBN2p2Lm9tfrXGr3McQ9I kF4iWmYHcD259govuCa7q75Z6hQKVTeddENkCmVQbjO/6yKxrghBlocWfEI16wbnOcsl q0kw== X-Gm-Message-State: AJIora+qvRGtTRt/5TUpYyVBflokZbEd5qeozwZfsXAtfDEpvjaTsSft 0A1/RTMtWKK+8U7cHEHFk6A= X-Google-Smtp-Source: AGRyM1vPeihxhEvdCPiw7imkY2mcgnZauiSSeO+Gymzm6JKmmeXPyJOp4C3bGe7Y4cAnNN6S0IGcvg== X-Received: by 2002:a05:6a00:84a:b0:525:6396:ae62 with SMTP id q10-20020a056a00084a00b005256396ae62mr15294241pfk.31.1656340797290; Mon, 27 Jun 2022 07:39:57 -0700 (PDT) Received: from localhost ([49.205.80.236]) by smtp.gmail.com with ESMTPSA id p66-20020a625b45000000b0051b9ecb53e6sm7423170pfb.105.2022.06.27.07.39.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 Jun 2022 07:39:56 -0700 (PDT) From: Visuwesh To: Eli Zaretskii Subject: Re: bug#56237: 29.0.50; delete-forward-char fails to delete character In-Reply-To: <83fsjq8elp.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 27 Jun 2022 15:39:46 +0300") Date: Mon, 27 Jun 2022 19:54:42 +0530 Message-ID: <87v8sm5glx.fsf@gmail.com> References: <87v8sn9zo4.fsf@gmail.com> <83zghz8kk3.fsf@gnu.org> <87mtdz9ysx.fsf@gmail.com> <83y1xj8jqb.fsf@gnu.org> <87fsjr9xs6.fsf@gmail.com> <83v8sn8ir9.fsf@gnu.org> <87bkuf9wx4.fsf@gmail.com> <83tu878hen.fsf@gnu.org> <87sfnqoep4.fsf@gmail.com> <87o7yeodxu.fsf@gmail.com> <83fsjq8elp.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56237 Cc: 56237@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: -1.0 (-) [=E0=AE=A4=E0=AE=BF=E0=AE=99=E0=AF=8D=E0=AE=95=E0=AE=B3=E0=AF=8D =E0=AE=9C= =E0=AF=82=E0=AE=A9=E0=AF=8D 27, 2022] Eli Zaretskii wrote: > Yes, composition of N characters can in general produce M glyphs, > where M can be smaller, equal, or greater than N. It's a many-to-many > operation, and we cannot rely on getting the same number of glyphs as > the number of codepoints we compose. > > The idea is nevertheless correct (I had the same one), it just needs > some fine-tuning. (And "C-x =3D" tries to solve a different problem: > how to match each glyph with a codepoint, and that problem is in > general insoluble, so it's a small wonder that it fails.) > Right, thanks for the explanation. > Please try the latest master, I hope delete-forward-char now behaves > better. Thanks, it is much better now! It doesn't fail on the cases that I had problems with so far. From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 27 11:53:38 2022 Received: (at 56237) by debbugs.gnu.org; 27 Jun 2022 15:53:38 +0000 Received: from localhost ([127.0.0.1]:53059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5r3S-0007Bw-Bf for submit@debbugs.gnu.org; Mon, 27 Jun 2022 11:53:38 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o5r3P-0007Bj-Jv for 56237@debbugs.gnu.org; Mon, 27 Jun 2022 11:53:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39298) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o5r3K-0006NB-52; Mon, 27 Jun 2022 11:53:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=kYuo+DIoIzCduwrVzz2Lb5bGmzspBAa17zHfqZ1JGw4=; b=MDZK2fh7wBdNbaQRIXcR d6k/9TOgBHapwg+l3zQUUs7HEYkD/MneM8PpquXNgl3nIOKuI5aqJwZw3GPfc6vBaNicYry1f+Zuu y3P6EsbWA5k1K2ff9eEWj3rumOcb2jXq/nXVM6VffN0ti/su4cx7puMz7a3hpJa9xhY71e0bAG67d bqpDfuOGKZKJTw/HSY1c1H4dJ41j3+BHNrSEzFgdw2+GI0EjUtvHFU4jgvM8dcQTqMQU6p/dR5BBV Ze63Sb3nVpDW1ZH/pL8bQymnyFNY0LLmQa+YCubBFbcz+rfze52AyzYGfIDvQ0a2KrpPgo6z9m7uP 6rtytzUO98Lpqg==; Received: from [87.69.77.57] (port=4343 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 1o5r3J-0007oS-Jt; Mon, 27 Jun 2022 11:53:29 -0400 Date: Mon, 27 Jun 2022 18:53:31 +0300 Message-Id: <835ykm85ms.fsf@gnu.org> From: Eli Zaretskii To: Visuwesh In-Reply-To: <87v8sm5glx.fsf@gmail.com> (message from Visuwesh on Mon, 27 Jun 2022 19:54:42 +0530) Subject: Re: bug#56237: 29.0.50; delete-forward-char fails to delete character References: <87v8sn9zo4.fsf@gmail.com> <83zghz8kk3.fsf@gnu.org> <87mtdz9ysx.fsf@gmail.com> <83y1xj8jqb.fsf@gnu.org> <87fsjr9xs6.fsf@gmail.com> <83v8sn8ir9.fsf@gnu.org> <87bkuf9wx4.fsf@gmail.com> <83tu878hen.fsf@gnu.org> <87sfnqoep4.fsf@gmail.com> <87o7yeodxu.fsf@gmail.com> <83fsjq8elp.fsf@gnu.org> <87v8sm5glx.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56237 Cc: 56237@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 (---) > From: Visuwesh > Cc: 56237@debbugs.gnu.org > Date: Mon, 27 Jun 2022 19:54:42 +0530 > > [திங்கள் ஜூன் 27, 2022] Eli Zaretskii wrote: > > > Yes, composition of N characters can in general produce M glyphs, > > where M can be smaller, equal, or greater than N. It's a many-to-many > > operation, and we cannot rely on getting the same number of glyphs as > > the number of codepoints we compose. > > > > The idea is nevertheless correct (I had the same one), it just needs > > some fine-tuning. (And "C-x =" tries to solve a different problem: > > how to match each glyph with a codepoint, and that problem is in > > general insoluble, so it's a small wonder that it fails.) > > > > Right, thanks for the explanation. > > > Please try the latest master, I hope delete-forward-char now behaves > > better. > > Thanks, it is much better now! It doesn't fail on the cases that I had > problems with so far. Thanks for testing, and feel free to close whenever you feel satisfied ;-) From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 29 13:24:32 2022 Received: (at control) by debbugs.gnu.org; 29 Jun 2022 17:24:32 +0000 Received: from localhost ([127.0.0.1]:60112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6bQU-0001K8-L5 for submit@debbugs.gnu.org; Wed, 29 Jun 2022 13:24:32 -0400 Received: from quimby.gnus.org ([95.216.78.240]:34008) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6bQP-0001Jr-Fg for control@debbugs.gnu.org; Wed, 29 Jun 2022 13:24:30 -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=hdoEuyW2573iWrswwF7pvo8LyXjGMQa5xt8XcK3ANOg=; b=ElgWHBdYJmELhwi/epWQyJromi k29mQg4MCn89SFcbJ1E4lDYzDIbtNcWE0Oftp9ILsI5KonABrxV8MWPOwcDWJ8Ew8iVAu6ls0HkD/ AulcZ1DIDtkeTcf6asj2weaEN2wWnvGgVTVJcHtVT6cvpotFT4O3oPvgGEcWYVT2W/Ho=; 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 1o6bQH-0002Jz-3A for control@debbugs.gnu.org; Wed, 29 Jun 2022 19:24:19 +0200 Date: Wed, 29 Jun 2022 19:24:15 +0200 Message-Id: <87sfnnfkn4.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #56237 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 56237 + 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 56237 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 02 03:04:02 2022 Received: (at 56237) by debbugs.gnu.org; 2 Jul 2022 07:04:02 +0000 Received: from localhost ([127.0.0.1]:39589 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7XAg-0004EI-1D for submit@debbugs.gnu.org; Sat, 02 Jul 2022 03:04:02 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:38583) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7XAe-0004Dl-53; Sat, 02 Jul 2022 03:04:00 -0400 Received: by mail-pf1-f194.google.com with SMTP id k9so4382315pfg.5; Sat, 02 Jul 2022 00:04:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=vLolTxKLz+5B8z1IFTT5FDQ+XfAPZs80gXOPUaCEspo=; b=IhWgPKUm4kT2aBXLZ0ZhVXxqiZXre2Xhm7hf4n0jw1cxCdgJXNespvZcq5sQ6r0SPl waAEwVY0v8siTfSwHsDV8dMuIokDW6fI76xkDFfqkNLHm3/QYbIK6ymUqglYIvAOCabe ps9DgNmbhzRPZh7YC+dinPjvgP4FG8nJfams0RCFm6rJx9Q87jEQszjEO0bVY0zO9D+K D0H3aqe7s9OsV4VOsgFtVMmGuHO15GFKRQ0idrXYyddQGEjq3m8l99SRJRRUYw3cOYDt 8z1xCVniffYRGjcviUuc6ome43WchcqbauNzcZsU6UXLfeZYdrLWrbtINZdaT4oA59r+ rkNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=vLolTxKLz+5B8z1IFTT5FDQ+XfAPZs80gXOPUaCEspo=; b=XqGfyze8MQiqjn+0+7bGwbzMQzLqkzlC7e0OeKUqiJa+RvnO8xzno742qCFB1rOdpk NBilSAgzP1ATg0mzaH31mhvCoioHwfnWWtVtD3m9P8qjQWzo3ljQnwdVDjwW5MXehH3r tLBU9YsnSTXpZcmzfROYgZbyTIU5FgVkNqFDVnu2waugG0kOaK29C4WPw8tBxjnn10Ep i4or/fEWPp5YG2G69O4VjY2J1wx7s5FU6DriFE/rhvKa4j2QmoXIPBCD+jSIBNPgqOjh HOgY4GCoZj41PUW744nu+bkBk9Vs7trnopom4WuRE65ODVFo/YtPKFSIVwQMvPcB28QJ ZSbA== X-Gm-Message-State: AJIora/0+FdEhNRguQ1m4rliORg7GOeMIUCDtiKaHL5P8ZsbvZrhInie ISFL0mi3pNH44ZK3ZvhGR6q9gKYCciM= X-Google-Smtp-Source: AGRyM1scGMVwgSuuvpmV5tgJeqd+Tq8fK+P6bzwfaoI8mPWBW0VthQashQRkbP5FOL7Q8cGZU4N5Fw== X-Received: by 2002:a63:1a09:0:b0:3fd:ac2b:3876 with SMTP id a9-20020a631a09000000b003fdac2b3876mr15547722pga.457.1656745434049; Sat, 02 Jul 2022 00:03:54 -0700 (PDT) Received: from localhost ([49.205.82.58]) by smtp.gmail.com with ESMTPSA id x12-20020a17090a1f8c00b001ef307e1deesm5295068pja.18.2022.07.02.00.03.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Jul 2022 00:03:53 -0700 (PDT) From: Visuwesh To: Eli Zaretskii Subject: Re: bug#56237: 29.0.50; delete-forward-char fails to delete character References: <87v8sn9zo4.fsf@gmail.com> <83zghz8kk3.fsf@gnu.org> <87mtdz9ysx.fsf@gmail.com> <83y1xj8jqb.fsf@gnu.org> <87fsjr9xs6.fsf@gmail.com> <83v8sn8ir9.fsf@gnu.org> <87bkuf9wx4.fsf@gmail.com> <83tu878hen.fsf@gnu.org> <87sfnqoep4.fsf@gmail.com> <87o7yeodxu.fsf@gmail.com> <83fsjq8elp.fsf@gnu.org> <87v8sm5glx.fsf@gmail.com> <835ykm85ms.fsf@gnu.org> Date: Sat, 02 Jul 2022 12:33:51 +0530 In-Reply-To: <835ykm85ms.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 27 Jun 2022 18:53:31 +0300") Message-ID: <87h740j8rs.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56237 Cc: 56237@debbugs.gnu.org, 56237-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: -1.0 (-) [=E0=AE=A4=E0=AE=BF=E0=AE=99=E0=AF=8D=E0=AE=95=E0=AE=B3=E0=AF=8D =E0=AE=9C= =E0=AF=82=E0=AE=A9=E0=AF=8D 27, 2022] Eli Zaretskii wrote: >> Thanks, it is much better now! It doesn't fail on the cases that I had >> problems with so far. > > Thanks for testing, and feel free to close whenever you feel satisfied ;-) Closing issue since I haven't noticed anything funny. Thanks again for the quick fixes! From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 16 08:51:03 2022 Received: (at 56237) by debbugs.gnu.org; 16 Jul 2022 12:51:03 +0000 Received: from localhost ([127.0.0.1]:43223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oChGA-0006Da-Vk for submit@debbugs.gnu.org; Sat, 16 Jul 2022 08:51:03 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:41684) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oChG5-0006Cy-BG; Sat, 16 Jul 2022 08:51:01 -0400 Received: by mail-pf1-f194.google.com with SMTP id l124so6809362pfl.8; Sat, 16 Jul 2022 05:50:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :user-agent:mime-version:content-transfer-encoding; bh=n9bt6j8pxoDgFa3/Z5t5t+6/hIIruSM3oGYCg+30dW4=; b=A5GxIDzZ0U0siTg15qBQt63nA6VJl+KBpNFlBOhx9JjOeiKelR5QGattLQTop4eICK ZHFA/K72kCnliC0wovP6uhZmCZFd4btdXJC9zvUOR7GpwGMCNrHyfTZ/smKUu8y7Qaza T+ahWKl6lV12gG6NJLkzRxrZxnzd5UoBte17BQY6ngtFXFv7+6yyF8lO+PUFezs8aoi3 xGnsUbou794YpTy1KAi0s+zvM23W2c1l9s/ybXyDtNVeGNOaATU5pxbLMkpF5zp7NQEI JpEHzVBGAwisIU9BKeW+HmpHq33pL6VDLoLC8mEQZfta30Q8FgCZC651XGYZlKXyXokK qoww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:user-agent:mime-version:content-transfer-encoding; bh=n9bt6j8pxoDgFa3/Z5t5t+6/hIIruSM3oGYCg+30dW4=; b=YELARBEBTfW9azQMl3oXWAWcmU6ZEkxzDKF1UV+Wk7Q+tYwA1By6eGaHVaT59QeKue u5aOLFPs4P1dnxN1IWHa6gaKtpilvUEShM5PqasHtYvyhmjN83PyJ6toc1B17e8Wythp hauFk9KvSyQtwbuS0RQcYHNkKsS+3W0jDoBiYXEcbxprMvCyDbSGm95kW3kpbGevHmwV PNdqmDnq7S3uff7CX7S3+TWkvkFS+44LWJodsCVTilbF3b03j8EJ8bJ5QHDvUPK4dwRE nA6dVBujWnscIggi8CPfVPraLrJ02JbCF46h4OwacQTO9SSZjEfgkD0n47vxRmCgkJ+f 7mSw== X-Gm-Message-State: AJIora/oOisQPR2m3MXWaWhXX/r3wbHIzfQ87j1PTtpmf1P+JYNJU1fD meuk1c7RS/Z7hgOS1Foz1tI= X-Google-Smtp-Source: AGRyM1tNCeWkvfkPlrhAfNKAmqBEtdY9b8VbffeVLYKZc30fmoOMkxX2bMjbdauwdc0L2CRQo3J3Lw== X-Received: by 2002:a05:6a00:16c1:b0:520:6ede:24fb with SMTP id l1-20020a056a0016c100b005206ede24fbmr19037595pfc.7.1657975851331; Sat, 16 Jul 2022 05:50:51 -0700 (PDT) Received: from localhost ([49.205.85.181]) by smtp.gmail.com with ESMTPSA id f5-20020a170902684500b0016c4147e48csm5433541pln.275.2022.07.16.05.50.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Jul 2022 05:50:49 -0700 (PDT) From: Visuwesh To: Eli Zaretskii Subject: Re: bug#56237: 29.0.50; delete-forward-char fails to delete character In-Reply-To: <87h740j8rs.fsf@gmail.com> (Visuwesh's message of "Sat, 02 Jul 2022 12:33:51 +0530") References: <87v8sn9zo4.fsf@gmail.com> <83zghz8kk3.fsf@gnu.org> <87mtdz9ysx.fsf@gmail.com> <83y1xj8jqb.fsf@gnu.org> <87fsjr9xs6.fsf@gmail.com> <83v8sn8ir9.fsf@gnu.org> <87bkuf9wx4.fsf@gmail.com> <83tu878hen.fsf@gnu.org> <87sfnqoep4.fsf@gmail.com> <87o7yeodxu.fsf@gmail.com> <83fsjq8elp.fsf@gnu.org> <87v8sm5glx.fsf@gmail.com> <835ykm85ms.fsf@gnu.org> <87h740j8rs.fsf@gmail.com> Date: Sat, 16 Jul 2022 18:20:46 +0530 Message-ID: <87edylfcgp.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56237 Cc: 56237@debbugs.gnu.org, 56237-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: -1.0 (-) reopen 56237 thanks [=E0=AE=9A=E0=AE=A9=E0=AE=BF =E0=AE=9C=E0=AF=82=E0=AE=B2=E0=AF=88 02, 2022]= Visuwesh wrote: > [=E0=AE=A4=E0=AE=BF=E0=AE=99=E0=AF=8D=E0=AE=95=E0=AE=B3=E0=AF=8D =E0=AE= =9C=E0=AF=82=E0=AE=A9=E0=AF=8D 27, 2022] Eli Zaretskii wrote: > >>> Thanks, it is much better now! It doesn't fail on the cases that I had >>> problems with so far. >> >> Thanks for testing, and feel free to close whenever you feel satisfied ;= -) > > Closing issue since I haven't noticed anything funny. Thanks again for > the quick fixes! This command somehow to have been regressed. With the HEAD at 0190dff96a, the command works perfectly fine but with current master, it fails to delete by entire clusters: it behaves identical to delete-char. With the point being |, |=E0=AE=B0=E0=AF=81 after , becomes |=E0=AF=81 instead of |. Can you please take a look, Eli? From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 16 09:32:12 2022 Received: (at 56237-done) by debbugs.gnu.org; 16 Jul 2022 13:32:12 +0000 Received: from localhost ([127.0.0.1]:43258 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oChtz-0000vO-K1 for submit@debbugs.gnu.org; Sat, 16 Jul 2022 09:32:11 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57174) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oChtv-0000v9-FK for 56237-done@debbugs.gnu.org; Sat, 16 Jul 2022 09:32:10 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58098) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oChtq-0001QN-8e; Sat, 16 Jul 2022 09:32:02 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=LZgb8XzEB4OxHEVVsysfBpfNRybEZmZ62bNqPJOavJU=; b=nDsPGDIs8GCJmIcPFOkd D89n75I+dWs3Fm2cTWnT84NjIgXzSTNhTJZ+mCUUzzFNxDIoj1Zs4i8Q5HTUH3AqBzn55FxsiVLaf DUGBItlcWhcKrM4fFxcbKU/vuxQEzPTppTEReXeAUg7g4aCZspJO7mUND1BXp4lnSBicPiytuIFn4 Ro4g0h5Umtc99+7UvE/8WK/qS719cIztvJsrYR5WbjdaF1BRE8eUc4sQUNQrg8Wrhg+DsgqmVRHRg XuPP2hFZi+Tyvzy910Xw/a5uVMMGB+b16mCNv5kOP/mBCxI1wV+22+HqbzSDrtCVy1pJdF8GIEe7t tcpKcHKcItoXtA==; Received: from [87.69.77.57] (port=1864 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 1oChtp-0006fh-OJ; Sat, 16 Jul 2022 09:32:02 -0400 Date: Sat, 16 Jul 2022 16:31:51 +0300 Message-Id: <83lestqj3s.fsf@gnu.org> From: Eli Zaretskii To: Visuwesh In-Reply-To: <87edylfcgp.fsf@gmail.com> (message from Visuwesh on Sat, 16 Jul 2022 18:20:46 +0530) Subject: Re: bug#56237: 29.0.50; delete-forward-char fails to delete character References: <87v8sn9zo4.fsf@gmail.com> <83zghz8kk3.fsf@gnu.org> <87mtdz9ysx.fsf@gmail.com> <83y1xj8jqb.fsf@gnu.org> <87fsjr9xs6.fsf@gmail.com> <83v8sn8ir9.fsf@gnu.org> <87bkuf9wx4.fsf@gmail.com> <83tu878hen.fsf@gnu.org> <87sfnqoep4.fsf@gmail.com> <87o7yeodxu.fsf@gmail.com> <83fsjq8elp.fsf@gnu.org> <87v8sm5glx.fsf@gmail.com> <835ykm85ms.fsf@gnu.org> <87h740j8rs.fsf@gmail.com> <87edylfcgp.fsf@gmail.com> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 56237-done Cc: 56237-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 (---) > From: Visuwesh > Cc: 56237@debbugs.gnu.org, 56237-done@debbugs.gnu.org > Date: Sat, 16 Jul 2022 18:20:46 +0530 > > This command somehow to have been regressed. With the HEAD at > 0190dff96a, the command works perfectly fine but with current master, it > fails to delete by entire clusters: it behaves identical to delete-char. > > With the point being |, > > |ரு > > after , becomes > > |ு > > instead of |. > > Can you please take a look, Eli? Thanks, now fixed. Please in the future always open a new bug instead of reopening an old one, because regression is almost never due to the same problem that was originally fixed, and our bugs should be per programming error, not per external manifestations of that error. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 16 09:43:29 2022 Received: (at 56237-done) by debbugs.gnu.org; 16 Jul 2022 13:43:29 +0000 Received: from localhost ([127.0.0.1]:43286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCi4v-0001D3-7K for submit@debbugs.gnu.org; Sat, 16 Jul 2022 09:43:29 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:39681) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oCi4s-0001Cp-Us for 56237-done@debbugs.gnu.org; Sat, 16 Jul 2022 09:43:28 -0400 Received: by mail-pg1-f195.google.com with SMTP id q16so3658900pgq.6 for <56237-done@debbugs.gnu.org>; Sat, 16 Jul 2022 06:43:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :user-agent:mime-version:content-transfer-encoding; bh=j6WQaSXKxvbGodvVsjzx5lIabFO0TXNsTorOetXhSgk=; b=fKEvp/0LwlB1py+8I8VZ+TIS+3PA7WVYPvcm3LMxzMYox8YWA9QGWiXhsngtA7pCP7 FufFuhizI3P1sgJL1ykG+S6bcH4NFcf/D09UrS+gawgF8F/9i3ff/BotPzpvxXZB/vSB B87LVuJhP//uPbFo7aghrS6wetabUY9LaAvmI1lGgo7UdyPGIwnvkAbpLPVIikIIdF97 +tLwfZxNNqKa6xU4yRsvNJTnyZYfIhBT+Ij4ZlkSEg/Wm1Fuz5mnkCWlKholubJrjopY VFJPKUVnYwizxcRVIoNypkRiINNU64kGiPIdnoYIGp9DPywgLixvgRGN3kOvXPPGzeUE Sm/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:user-agent:mime-version:content-transfer-encoding; bh=j6WQaSXKxvbGodvVsjzx5lIabFO0TXNsTorOetXhSgk=; b=5OGKrgKPbRcyNDopva5rqQ3WOYz9T4ispyZIzByjgJuskGBEWITzdwKB1GbDJ4bzDF 3+7O06JzTTsYg4P4aWRVzmhRoksEVuIUaxwtTxGNnpcSdGvZ66nt3yOz/i8fSffUO0nq RY39gZazAEaAVxNCn4rgBlB/nc9dKZsWBGO+hY+J++Vna8+aNAocCru474LI9T1/UujD Jr78qsNwFZSB+IkUUh2gBDsSmuHc+ZFcBi/x2AwRS0UQa2yjPqh8lsrupOzmlqNbBALz V1NM+fPPsL8XgMe53JHDvVuJnisi7rEfZ/TwPjeMzA7EBjo381ENB/LFB5zCFFMyk8IE U4Ag== X-Gm-Message-State: AJIora+9IC2idPTd8rh1/H35oWSUCPwL78VolCOWV2tlQ/DLjNqMqYHY a1An7xKRspr+4LVTyBSIPCM= X-Google-Smtp-Source: AGRyM1spVPTAFWEO9DpHAyQc6NvTWw5zBiAlzGUDCI0F94rYdtLihB9LDGe/FbFJZtUXuc43qGSsqQ== X-Received: by 2002:a63:e818:0:b0:419:ade7:d429 with SMTP id s24-20020a63e818000000b00419ade7d429mr12778959pgh.560.1657979000776; Sat, 16 Jul 2022 06:43:20 -0700 (PDT) Received: from localhost ([49.205.85.181]) by smtp.gmail.com with ESMTPSA id m5-20020a63f605000000b003fbb455040dsm4983813pgh.84.2022.07.16.06.43.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 16 Jul 2022 06:43:18 -0700 (PDT) From: Visuwesh To: Eli Zaretskii Subject: Re: bug#56237: 29.0.50; delete-forward-char fails to delete character In-Reply-To: <83lestqj3s.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 16 Jul 2022 16:31:51 +0300") References: <87v8sn9zo4.fsf@gmail.com> <83zghz8kk3.fsf@gnu.org> <87mtdz9ysx.fsf@gmail.com> <83y1xj8jqb.fsf@gnu.org> <87fsjr9xs6.fsf@gmail.com> <83v8sn8ir9.fsf@gnu.org> <87bkuf9wx4.fsf@gmail.com> <83tu878hen.fsf@gnu.org> <87sfnqoep4.fsf@gmail.com> <87o7yeodxu.fsf@gmail.com> <83fsjq8elp.fsf@gnu.org> <87v8sm5glx.fsf@gmail.com> <835ykm85ms.fsf@gnu.org> <87h740j8rs.fsf@gmail.com> <87edylfcgp.fsf@gmail.com> <83lestqj3s.fsf@gnu.org> Date: Sat, 16 Jul 2022 19:13:15 +0530 Message-ID: <87a699fa18.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56237-done Cc: 56237-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: -1.0 (-) [=E0=AE=9A=E0=AE=A9=E0=AE=BF =E0=AE=9C=E0=AF=82=E0=AE=B2=E0=AF=88 16, 2022]= Eli Zaretskii wrote: >> From: Visuwesh >> Cc: 56237@debbugs.gnu.org, 56237-done@debbugs.gnu.org >> Date: Sat, 16 Jul 2022 18:20:46 +0530 >>=20 >> This command somehow to have been regressed. With the HEAD at >> 0190dff96a, the command works perfectly fine but with current master, it >> fails to delete by entire clusters: it behaves identical to delete-char. >>=20 >> With the point being |, >>=20 >> |=E0=AE=B0=E0=AF=81 >>=20 >> after , becomes >>=20 >> |=E0=AF=81 >>=20 >> instead of |. >>=20 >> Can you please take a look, Eli? > > Thanks, now fixed. Thanks! can confirm that it is fixed. > Please in the future always open a new bug instead of reopening an old > one, because regression is almost never due to the same problem that > was originally fixed, and our bugs should be per programming error, > not per external manifestations of that error. OK, noted. From unknown Sat Jun 21 10:36:04 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, 14 Aug 2022 11:24:06 +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