From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Patrick Brennan via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#62507: 28.2; Crash when editing TODO line with malformed tag Date: Tue, 28 Mar 2023 10:54:53 -0700 Message-ID: Reply-To: Patrick Brennan Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="00000000000023597e05f7f98fa9" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="476"; mail-complaints-to="usenet@ciao.gmane.io" To: 62507@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 28 21:28:32 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1phEzf-000ARR-Tj for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Mar 2023 21:28:32 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1phEzF-0006bC-Dv; Tue, 28 Mar 2023 15:28:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phEzD-0006aW-Ia for bug-gnu-emacs@gnu.org; Tue, 28 Mar 2023 15:28:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1phEzC-00041S-S0 for bug-gnu-emacs@gnu.org; Tue, 28 Mar 2023 15:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1phEzC-0004ku-Dd for bug-gnu-emacs@gnu.org; Tue, 28 Mar 2023 15:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Patrick Brennan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Mar 2023 19:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 62507 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.168003162418206 (code B ref -1); Tue, 28 Mar 2023 19:28:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 28 Mar 2023 19:27:04 +0000 Original-Received: from localhost ([127.0.0.1]:50725 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phEyE-0004jX-HU for submit@debbugs.gnu.org; Tue, 28 Mar 2023 15:27:04 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:52970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1phDXL-0002JC-Mv for submit@debbugs.gnu.org; Tue, 28 Mar 2023 13:55:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1phDXK-0002yF-Fu for bug-gnu-emacs@gnu.org; Tue, 28 Mar 2023 13:55:10 -0400 Original-Received: from mail-vs1-xe29.google.com ([2607:f8b0:4864:20::e29]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1phDXG-00058B-BL for bug-gnu-emacs@gnu.org; Tue, 28 Mar 2023 13:55:09 -0400 Original-Received: by mail-vs1-xe29.google.com with SMTP id g17so11057814vst.10 for ; Tue, 28 Mar 2023 10:55:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; t=1680026104; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=96xDX5wWdHQh4ZHwoTKG7sKoVXZ6K8Qr2Auj2dMo83s=; b=Fj65MulViBdEIa8LoU6HzPeMjIqzikOSz9PZ6Kb+sqn3eq20JMrW1HuRoo1kif27C6 P08G1Rl4swnu8FDnh9Ln0xRzSqlS45QG0P2lI8acWfCjpEjF1yc0uv+U6B3D4I2Ypll8 /kGTvla/77Fb5KNQU2mAUOigNvJpq2ft5Zlz59BNV2D7ge5QUNKa4tFRhdagCWgrRdPM 6dd81/K4OE2n17+Dr3ewnEPInDocctjsYs1gms43OcMi/U74b+APx6LkFsYNvLJAdgwx 6Y+Ydo5zI7vkGmhXHxgS5gKoQdBbl13huwj0HRoxnfKUe8XSzYrhfCwDW+rgckq/OA0c IGsg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680026104; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=96xDX5wWdHQh4ZHwoTKG7sKoVXZ6K8Qr2Auj2dMo83s=; b=neBkN9oIutIALS2S+mdfuwVUOL3g00kdn3GC6N9TQNyIDUUl9pGC8ffSjtDgUwgCNC 281V0KBedmpw+oT7wwfx4Kr29kKuocKbsG09TCthx+uMVLJL0Pb7zfY0yOg6b/oYyQDH N2Z0qdSo2mGPNFAvNH8D+8fvmBD4SxdWuxI1tGUj9thdggZG9C4w5LhLJBFLKPaP+w1f SS3lazjG3Mhu1u5Z26BiN8jqZ5/xKeK0pmVdiHFtalxMEOmIXZwOFEMWielBOLq52EIb y9yDKvd6xIp27A+xePxUWHAS/xXFhd3beoAuEPmURJtZzeljaI0NmcORGs4tbW5bEXqQ QBOA== X-Gm-Message-State: AAQBX9eib4/+lBH3LWi8NraJjZSFXa50D1YXLDdsgInfW33/yL12vVZt RqencRBBOdifl/PfFp6MSwyWE8U9fLHr6T/H5m7vE0RqnILyAwLi7RDxY3a5 X-Google-Smtp-Source: AKy350ZbtOGnyR7dcSDz3sTaE/cAecG98KRJ9wNpVUkqyE9i9n4nZlSYiNwbuyDnvV0pJrCseXaPyxMOlpb45Bhx84A= X-Received: by 2002:a67:d99b:0:b0:402:9b84:1be4 with SMTP id u27-20020a67d99b000000b004029b841be4mr8652948vsj.6.1680026103893; Tue, 28 Mar 2023 10:55:03 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::e29; envelope-from=patrickbrennan@google.com; helo=mail-vs1-xe29.google.com X-Spam_score_int: -175 X-Spam_score: -17.6 X-Spam_bar: ----------------- X-Spam_report: (-17.6 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 28 Mar 2023 15:27:01 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:258822 Archived-At: --00000000000023597e05f7f98fa9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable From: Patrick Brennan To: bug-gnu-emacs@gnu.org Subject: 28.2; Crash when editing TODO line with malformed tag Date: Tue, 28 Mar 2023 10:53:17 -0700 Message-ID: --text follows this line-- 1. Create or open a .org file with a top-level TODO item, e.g.: * TODO Do something special 2. Add a malformed tag by typing, so the line looks like this: * TODO Do something special :to-do:zoom: You will notice that Emacs/Org-mode doesn't highlight the tags. Also note that the tag "to-do" is malformed; tags aren't allowed to contain dashes. 3. Add a good tag by using C-c C-q, type "todo" and hit enter. Your line should now look like this: * TODO Do something :to-do:zoom: :todo: 4. Now put your cursor on the first colon on the line (col 21) and hit C-d repeatedly to delete the "tags" you placed earlier. 5. Crash! In GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.35, cairo version 1.16.0) of 2023-03-19, modified by Debian built on kokoro-ubuntu Windowing system distributor 'The X.Org Foundation', version 11.0.12101005 System Description: Debian GNU/Linux rodete Configured using: 'configure --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/libexec --localstatedir=3D/var/lib --infodir=3D/usr/share/info --mandir=3D/usr/share/man --with-libsystemd --with-pop=3Dyes --enable-locallisppath=3D/etc/google-emacs:/usr/local/share/google-emacs/2= 8.2+gg10+1.20230320.053433.rc252/site-lisp:/usr/local/share/google-emacs/si= te-lisp:/usr/share/google-emacs/28.2+gg10+1.20230320.053433.rc252/site-lisp= :/usr/share/google-emacs/site-lisp --with-sound=3Dalsa --without-gconf --with-mailutils --with-native-compilation --program-prefix=3Dgoogle- --disable-silent-rules GOOGLE_VERSION=3D28.2+gg10+1.20230320.053433.rc252 --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/libexec --localstatedir=3D/var/lib --infodir=3D/usr/share/info --mandir=3D/usr/share/man --with-libsystemd --with-pop=3Dyes --enable-locallisppath=3D/etc/google-emacs:/usr/local/share/google-emacs/2= 8.2+gg10+1.20230320.053433.rc252/site-lisp:/usr/local/share/google-emacs/si= te-lisp:/usr/share/google-emacs/28.2+gg10+1.20230320.053433.rc252/site-lisp= :/usr/share/google-emacs/site-lisp --with-sound=3Dalsa --without-gconf --with-mailutils --with-native-compilation --program-prefix=3Dgoogle- --disable-silent-rules GOOGLE_VERSION=3D28.2+gg10+1.20230320.053433.rc252 --with-cairo --with-x=3Dyes --with-x-toolkit=3Dgtk3 --with-toolkit-scroll-bars 'CFLAGS=3D-g -O2 -ffile-prefix-map=3D/build/google-emacs-81DL9e/google-emacs-28.2+gg10+1.20= 230320.053433.rc252=3D. -fstack-protector-strong -Wformat -Werror=3Dformat-security -Wall' 'CPPFLAGS=3D-Wdate-time -D_FORTIFY_SOURCE=3D2' LDFLAGS=3D-Wl,-z,relro' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=3Dibus locale-coding-system: utf-8-unix Major mode: Org Minor modes in effect: display-time-mode: t display-battery-mode: t global-auto-revert-mode: t google-emacs-support-show-upgrade-mode: t editorconfig-mode: t google3-build-global-integrate-build-manipulation-mode: t google3-build-integrate-build-manipulation-mode: t google-kg-mode: t shell-dirtrack-mode: t tooltip-mode: t global-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 auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t size-indication-mode: t column-number-mode: t line-number-mode: t auto-fill-function: org-auto-fill-function transient-mark-mode: t Load-path shadows: /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/f/f= -shortdoc hides /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/f/g= oogle/f-shortdoc /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/asy= nc/dired-async hides /usr/share/google-emacs/site-lisp/elpa/async-1.9.7/dired-async /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/asy= nc/smtpmail-async hides /usr/share/google-emacs/site-lisp/elpa/async-1.9.7/smtpmail-async /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/asy= nc/async hides /usr/share/google-emacs/site-lisp/elpa/async-1.9.7/async /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/asy= nc/async-bytecomp hides /usr/share/google-emacs/site-lisp/elpa/async-1.9.7/async-bytecomp /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/com= pany_mode/company-css hides /usr/share/google-emacs/site-lisp/elpa/company-0.9.13/company-css /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/com= pany_mode/company-bbdb hides /usr/share/google-emacs/site-lisp/elpa/company-0.9.13/company-bbdb /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/com= pany_mode/company-abbrev hides /usr/share/google-emacs/site-lisp/elpa/company-0.9.13/company-abbrev /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/com= pany_mode/company-ispell hides /usr/share/google-emacs/site-lisp/elpa/company-0.9.13/company-ispell /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/com= pany_mode/company-oddmuse hides /usr/share/google-emacs/site-lisp/elpa/company-0.9.13/company-oddmuse /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/com= pany_mode/company-cmake hides /usr/share/google-emacs/site-lisp/elpa/company-0.9.13/company-cmake /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/com= pany_mode/company-tempo hides /usr/share/google-emacs/site-lisp/elpa/company-0.9.13/company-tempo /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/com= pany_mode/company-nxml hides /usr/share/google-emacs/site-lisp/elpa/company-0.9.13/company-nxml /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/com= pany_mode/company-tng hides /usr/share/google-emacs/site-lisp/elpa/company-0.9.13/company-tng /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/com= pany_mode/company-keywords hides /usr/share/google-emacs/site-lisp/elpa/company-0.9.13/company-keyword= s /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/com= pany_mode/company-dabbrev hides /usr/share/google-emacs/site-lisp/elpa/company-0.9.13/company-dabbrev /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/com= pany_mode/company-template hides /usr/share/google-emacs/site-lisp/elpa/company-0.9.13/company-templat= e /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/com= pany_mode/company-capf hides /usr/share/google-emacs/site-lisp/elpa/company-0.9.13/company-capf /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/com= pany_mode/company-dabbrev-code hides /usr/share/google-emacs/site-lisp/elpa/company-0.9.13/company-dabbrev-code /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/com= pany_mode/company-clang hides /usr/share/google-emacs/site-lisp/elpa/company-0.9.13/company-clang /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/com= pany_mode/company-yasnippet hides /usr/share/google-emacs/site-lisp/elpa/company-0.9.13/company-yasnippet /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/com= pany_mode/company-semantic hides /usr/share/google-emacs/site-lisp/elpa/company-0.9.13/company-semanti= c /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/com= pany_mode/company-gtags hides /usr/share/google-emacs/site-lisp/elpa/company-0.9.13/company-gtags /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/com= pany_mode/company-files hides /usr/share/google-emacs/site-lisp/elpa/company-0.9.13/company-files /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/com= pany_mode/company hides /usr/share/google-emacs/site-lisp/elpa/company-0.9.13/company /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/com= pany_mode/company-elisp hides /usr/share/google-emacs/site-lisp/elpa/company-0.9.13/company-elisp /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/com= pany_mode/company-etags hides /usr/share/google-emacs/site-lisp/elpa/company-0.9.13/company-etags /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/das= h/dash hides /usr/share/google-emacs/site-lisp/elpa/dash-2.19.1/dash /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/epl= /epl hides /usr/share/google-emacs/site-lisp/elpa/epl-0.9/epl /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/f/f hides /usr/share/google-emacs/site-lisp/elpa/f-0.20.0/f /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/ht/= ht hides /usr/share/google-emacs/site-lisp/elpa/ht-2.3/ht /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/lv/= lv hides /usr/share/google-emacs/site-lisp/elpa/lv-0.15.0/lv /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/mar= kdown_mode/markdown-mode hides /usr/share/google-emacs/site-lisp/elpa/markdown-mode-2.5/markdown-mod= e /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/mem= oize/memoize hides /usr/share/google-emacs/site-lisp/elpa/memoize-1.1/memoize /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/pkg= _info/pkg-info hides /usr/share/google-emacs/site-lisp/elpa/pkg-info-0.6/pkg-info /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/pop= up/popup hides /usr/share/google-emacs/site-lisp/elpa/popup-0.5.8/popup /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/s/s hides /usr/share/google-emacs/site-lisp/elpa/s-1.12.0/s /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/spi= nner/spinner hides /usr/share/google-emacs/site-lisp/elpa/spinner-1.7.4/spinner /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/yas= nippet/yasnippet hides /usr/share/google-emacs/site-lisp/elpa/yasnippet-0.14.0/yasnippet /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/jso= nrpc/jsonrpc hides /usr/share/google-emacs/28.2+gg10+1.20230320.053433.rc252/lisp/jsonrp= c /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/tra= nsient/lisp/transient hides /usr/share/google-emacs/28.2+gg10+1.20230320.053433.rc252/lisp/transient /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/pro= ject/project hides /usr/share/google-emacs/28.2+gg10+1.20230320.053433.rc252/lisp/progmodes/pr= oject /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/fly= make/flymake hides /usr/share/google-emacs/28.2+gg10+1.20230320.053433.rc252/lisp/progmodes/fl= ymake /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/xre= f/xref hides /usr/share/google-emacs/28.2+gg10+1.20230320.053433.rc252/lisp/progmodes/xr= ef /usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/eld= oc/eldoc hides /usr/share/google-emacs/28.2+gg10+1.20230320.053433.rc252/lisp/emacs-lisp/e= ldoc Features: (shadow sort mail-extr emacsbug sendmail markdown-mode edit-indirect color org-duration diary-lib diary-loaddefs cal-iso vc-fig vc-hg diff-mode vc vc-dispatcher org-element avl-tree ol-eww eww url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-search eieio-opt speedbar ezimage dframe gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum shr kinsoku svg dom gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range message rmc puny rfc822 mml mml-sec epa derived epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums mail-utils mm-util mail-prsvr ol-docview doc-view jka-compr image-mode exif dired dired-loaddefs ol-bibtex ol-bbdb ol-w3m ol-doi org-link-doi editorconfig-core editorconfig-core-handle editorconfig-fnmatch face-remap org-agenda org-refile org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic bibtex org-keys oc org-loaddefs find-func cal-menu calendar cal-loaddefs ol org-compat org-macs edmacro kmacro time battery dbus ido-completing-read+ memoize cus-edit pp wid-edit minibuf-eldef ido xml cus-load finder-inf autorevert filenotify google google-emacs-support editorconfig google-log gud easy-mmode url-sso google3-build-fn google-imports google3 compile google-gud google-comint google-kg google-trailing-whitespace google-coding-style python-custom sh-script smie executable python tramp-sh tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat parse-time iso8601 time-date ls-lisp format-spec js imenu cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs google-codemaker google-process google-emacs-utilities advice with-editor shell pcomplete server compat compat-29 f f-shortdoc shortdoc text-property-search dash s aio generator emacs-google-config-loaddefs pcase google-paths xdg google-platform sql view thingatpt comint ansi-color ring comp comp-cstr warnings rx cl-extra help-mode package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib 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 cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting system-font-setting font-render-setting cairo move-toolbar gtk x-toolkit x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 459641 33881) (symbols 48 32879 1) (strings 32 122158 9499) (string-bytes 1 4752198) (vectors 16 65089) (vector-slots 8 1740541 240563) (floats 8 540 210) (intervals 56 2134 0) (buffers 992 15)) --00000000000023597e05f7f98fa9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
From: Patrick Brennan <patrickbrennan@google.com>
= To: bug-gnu-emacs@gnu.org
S= ubject: 28.2; Crash when editing TODO line with malformed tag
Date: Tue,= 28 Mar 2023 10:53:17 -0700
Message-ID: <cgwxa5zwvk36.fsf@google.com>
--text follows th= is line--

1. Create or open a .org file with a top-level TODO item, = e.g.:

* TODO Do something special

2. Add a malformed tag by t= yping, so the line looks like this:

* TODO Do something special :to-= do:zoom:

You will notice that Emacs/Org-mode doesn't highlight t= he tags. Also
note that the tag "to-do" is malformed; tags are= n't allowed to contain
dashes.

3. Add a good tag by using C-c= C-q, type "todo" and hit enter. Your line
should now look lik= e this:

* TODO Do something =C2=A0:to-do:zoom: =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0:todo:

4. Now put your cursor = on the first colon on the line (col 21) and hit
C-d repeatedly to delete= the "tags" you placed earlier.

5. Crash!


In GN= U Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.35, cairo ver= sion 1.16.0)
=C2=A0of 2023-03-19, modified by Debian built on kokoro-ubu= ntu
Windowing system distributor 'The X.Org Foundation', version= 11.0.12101005
System Description: Debian GNU/Linux rodete

Config= ured using:
=C2=A0'configure --build x86_64-linux-gnu --prefix=3D/us= r
=C2=A0--sharedstatedir=3D/var/lib --libexecdir=3D/usr/libexec
=C2= =A0--localstatedir=3D/var/lib --infodir=3D/usr/share/info
=C2=A0--mandir= =3D/usr/share/man --with-libsystemd --with-pop=3Dyes
=C2=A0--enable-loca= llisppath=3D/etc/google-emacs:/usr/local/share/google-emacs/28.2+gg10+1.202= 30320.053433.rc252/site-lisp:/usr/local/share/google-emacs/site-lisp:/usr/s= hare/google-emacs/28.2+gg10+1.20230320.053433.rc252/site-lisp:/usr/share/go= ogle-emacs/site-lisp
=C2=A0--with-sound=3Dalsa --without-gconf --with-ma= ilutils
=C2=A0--with-native-compilation --program-prefix=3Dgoogle-
= =C2=A0--disable-silent-rules GOOGLE_VERSION=3D28.2+gg10+1.20230320.053433.r= c252
=C2=A0--build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/= var/lib
=C2=A0--libexecdir=3D/usr/libexec --localstatedir=3D/var/lib
= =C2=A0--infodir=3D/usr/share/info --mandir=3D/usr/share/man --with-libsyste= md
=C2=A0--with-pop=3Dyes
=C2=A0--enable-locallisppath=3D/etc/google-= emacs:/usr/local/share/google-emacs/28.2+gg10+1.20230320.053433.rc252/site-= lisp:/usr/local/share/google-emacs/site-lisp:/usr/share/google-emacs/28.2+g= g10+1.20230320.053433.rc252/site-lisp:/usr/share/google-emacs/site-lisp
= =C2=A0--with-sound=3Dalsa --without-gconf --with-mailutils
=C2=A0--with-= native-compilation --program-prefix=3Dgoogle-
=C2=A0--disable-silent-rul= es GOOGLE_VERSION=3D28.2+gg10+1.20230320.053433.rc252
=C2=A0--with-cairo= --with-x=3Dyes --with-x-toolkit=3Dgtk3
=C2=A0--with-toolkit-scroll-bars= 'CFLAGS=3D-g -O2
=C2=A0-ffile-prefix-map=3D/build/google-emacs-81DL= 9e/google-emacs-28.2+gg10+1.20230320.053433.rc252=3D. -fstack-protector-str= ong
=C2=A0-Wformat -Werror=3Dformat-security -Wall' 'CPPFLAGS=3D= -Wdate-time
=C2=A0-D_FORTIFY_SOURCE=3D2' LDFLAGS=3D-Wl,-z,relro'=

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS= GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIB= XML2 M17N_FLT MODULES
NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOM= P SOUND THREADS TIFF
TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB
<= br>Important settings:
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 valu= e of $XMODIFIERS: @im=3Dibus
=C2=A0 locale-coding-system: utf-8-unix
=
Major mode: Org

Minor modes in effect:
=C2=A0 display-time-mo= de: t
=C2=A0 display-battery-mode: t
=C2=A0 global-auto-revert-mode: = t
=C2=A0 google-emacs-support-show-upgrade-mode: t
=C2=A0 editorconfi= g-mode: t
=C2=A0 google3-build-global-integrate-build-manipulation-mode:= t
=C2=A0 google3-build-integrate-build-manipulation-mode: t
=C2=A0 g= oogle-kg-mode: t
=C2=A0 shell-dirtrack-mode: t
=C2=A0 tooltip-mode: t=
=C2=A0 global-eldoc-mode: t
=C2=A0 show-paren-mode: t
=C2=A0 elec= tric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tool-bar-mode: = t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 g= lobal-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-= mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: = t
=C2=A0 auto-compression-mode: t
=C2=A0 size-indication-mode: t
= =C2=A0 column-number-mode: t
=C2=A0 line-number-mode: t
=C2=A0 auto-f= ill-function: org-auto-fill-function
=C2=A0 transient-mark-mode: t
Load-path shadows:
/usr/share/google-emacs/site-lisp/emacs-google-conf= ig/third_party/elisp/f/f-shortdoc hides /usr/share/google-emacs/site-lisp/e= macs-google-config/third_party/elisp/f/google/f-shortdoc
/usr/share/goog= le-emacs/site-lisp/emacs-google-config/third_party/elisp/async/dired-async = hides /usr/share/google-emacs/site-lisp/elpa/async-1.9.7/dired-async
/us= r/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/async/= smtpmail-async hides /usr/share/google-emacs/site-lisp/elpa/async-1.9.7/smt= pmail-async
/usr/share/google-emacs/site-lisp/emacs-google-config/third_= party/elisp/async/async hides /usr/share/google-emacs/site-lisp/elpa/async-= 1.9.7/async
/usr/share/google-emacs/site-lisp/emacs-google-config/third_= party/elisp/async/async-bytecomp hides /usr/share/google-emacs/site-lisp/el= pa/async-1.9.7/async-bytecomp
/usr/share/google-emacs/site-lisp/emacs-go= ogle-config/third_party/elisp/company_mode/company-css hides /usr/share/goo= gle-emacs/site-lisp/elpa/company-0.9.13/company-css
/usr/share/google-em= acs/site-lisp/emacs-google-config/third_party/elisp/company_mode/company-bb= db hides /usr/share/google-emacs/site-lisp/elpa/company-0.9.13/company-bbdb=
/usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp= /company_mode/company-abbrev hides /usr/share/google-emacs/site-lisp/elpa/c= ompany-0.9.13/company-abbrev
/usr/share/google-emacs/site-lisp/emacs-goo= gle-config/third_party/elisp/company_mode/company-ispell hides /usr/share/g= oogle-emacs/site-lisp/elpa/company-0.9.13/company-ispell
/usr/share/goog= le-emacs/site-lisp/emacs-google-config/third_party/elisp/company_mode/compa= ny-oddmuse hides /usr/share/google-emacs/site-lisp/elpa/company-0.9.13/comp= any-oddmuse
/usr/share/google-emacs/site-lisp/emacs-google-config/third_= party/elisp/company_mode/company-cmake hides /usr/share/google-emacs/site-l= isp/elpa/company-0.9.13/company-cmake
/usr/share/google-emacs/site-lisp/= emacs-google-config/third_party/elisp/company_mode/company-tempo hides /usr= /share/google-emacs/site-lisp/elpa/company-0.9.13/company-tempo
/usr/sha= re/google-emacs/site-lisp/emacs-google-config/third_party/elisp/company_mod= e/company-nxml hides /usr/share/google-emacs/site-lisp/elpa/company-0.9.13/= company-nxml
/usr/share/google-emacs/site-lisp/emacs-google-config/third= _party/elisp/company_mode/company-tng hides /usr/share/google-emacs/site-li= sp/elpa/company-0.9.13/company-tng
/usr/share/google-emacs/site-lisp/ema= cs-google-config/third_party/elisp/company_mode/company-keywords hides /usr= /share/google-emacs/site-lisp/elpa/company-0.9.13/company-keywords
/usr/= share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/company_= mode/company-dabbrev hides /usr/share/google-emacs/site-lisp/elpa/company-0= .9.13/company-dabbrev
/usr/share/google-emacs/site-lisp/emacs-google-con= fig/third_party/elisp/company_mode/company-template hides /usr/share/google= -emacs/site-lisp/elpa/company-0.9.13/company-template
/usr/share/google-= emacs/site-lisp/emacs-google-config/third_party/elisp/company_mode/company-= capf hides /usr/share/google-emacs/site-lisp/elpa/company-0.9.13/company-ca= pf
/usr/share/google-emacs/site-lisp/emacs-google-config/third_party/eli= sp/company_mode/company-dabbrev-code hides /usr/share/google-emacs/site-lis= p/elpa/company-0.9.13/company-dabbrev-code
/usr/share/google-emacs/site-= lisp/emacs-google-config/third_party/elisp/company_mode/company-clang hides= /usr/share/google-emacs/site-lisp/elpa/company-0.9.13/company-clang
/us= r/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/compan= y_mode/company-yasnippet hides /usr/share/google-emacs/site-lisp/elpa/compa= ny-0.9.13/company-yasnippet
/usr/share/google-emacs/site-lisp/emacs-goog= le-config/third_party/elisp/company_mode/company-semantic hides /usr/share/= google-emacs/site-lisp/elpa/company-0.9.13/company-semantic
/usr/share/g= oogle-emacs/site-lisp/emacs-google-config/third_party/elisp/company_mode/co= mpany-gtags hides /usr/share/google-emacs/site-lisp/elpa/company-0.9.13/com= pany-gtags
/usr/share/google-emacs/site-lisp/emacs-google-config/third_p= arty/elisp/company_mode/company-files hides /usr/share/google-emacs/site-li= sp/elpa/company-0.9.13/company-files
/usr/share/google-emacs/site-lisp/e= macs-google-config/third_party/elisp/company_mode/company hides /usr/share/= google-emacs/site-lisp/elpa/company-0.9.13/company
/usr/share/google-ema= cs/site-lisp/emacs-google-config/third_party/elisp/company_mode/company-eli= sp hides /usr/share/google-emacs/site-lisp/elpa/company-0.9.13/company-elis= p
/usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elis= p/company_mode/company-etags hides /usr/share/google-emacs/site-lisp/elpa/c= ompany-0.9.13/company-etags
/usr/share/google-emacs/site-lisp/emacs-goog= le-config/third_party/elisp/dash/dash hides /usr/share/google-emacs/site-li= sp/elpa/dash-2.19.1/dash
/usr/share/google-emacs/site-lisp/emacs-google-= config/third_party/elisp/epl/epl hides /usr/share/google-emacs/site-lisp/el= pa/epl-0.9/epl
/usr/share/google-emacs/site-lisp/emacs-google-config/thi= rd_party/elisp/f/f hides /usr/share/google-emacs/site-lisp/elpa/f-0.20.0/f<= br>/usr/share/google-emacs/site-lisp/emacs-google-config/third_party/elisp/= ht/ht hides /usr/share/google-emacs/site-lisp/elpa/ht-2.3/ht
/usr/share/= google-emacs/site-lisp/emacs-google-config/third_party/elisp/lv/lv hides /u= sr/share/google-emacs/site-lisp/elpa/lv-0.15.0/lv
/usr/share/google-emac= s/site-lisp/emacs-google-config/third_party/elisp/markdown_mode/markdown-mo= de hides /usr/share/google-emacs/site-lisp/elpa/markdown-mode-2.5/markdown-= mode
/usr/share/google-emacs/site-lisp/emacs-google-config/third_party/e= lisp/memoize/memoize hides /usr/share/google-emacs/site-lisp/elpa/memoize-1= .1/memoize
/usr/share/google-emacs/site-lisp/emacs-google-config/third_p= arty/elisp/pkg_info/pkg-info hides /usr/share/google-emacs/site-lisp/elpa/p= kg-info-0.6/pkg-info
/usr/share/google-emacs/site-lisp/emacs-google-conf= ig/third_party/elisp/popup/popup hides /usr/share/google-emacs/site-lisp/el= pa/popup-0.5.8/popup
/usr/share/google-emacs/site-lisp/emacs-google-conf= ig/third_party/elisp/s/s hides /usr/share/google-emacs/site-lisp/elpa/s-1.1= 2.0/s
/usr/share/google-emacs/site-lisp/emacs-google-config/third_party/= elisp/spinner/spinner hides /usr/share/google-emacs/site-lisp/elpa/spinner-= 1.7.4/spinner
/usr/share/google-emacs/site-lisp/emacs-google-config/thir= d_party/elisp/yasnippet/yasnippet hides /usr/share/google-emacs/site-lisp/e= lpa/yasnippet-0.14.0/yasnippet
/usr/share/google-emacs/site-lisp/emacs-g= oogle-config/third_party/elisp/jsonrpc/jsonrpc hides /usr/share/google-emac= s/28.2+gg10+1.20230320.053433.rc252/lisp/jsonrpc
/usr/share/google-emacs= /site-lisp/emacs-google-config/third_party/elisp/transient/lisp/transient h= ides /usr/share/google-emacs/28.2+gg10+1.20230320.053433.rc252/lisp/transie= nt
/usr/share/google-emacs/site-lisp/emacs-google-config/third_party/eli= sp/project/project hides /usr/share/google-emacs/28.2+gg10+1.20230320.05343= 3.rc252/lisp/progmodes/project
/usr/share/google-emacs/site-lisp/emacs-g= oogle-config/third_party/elisp/flymake/flymake hides /usr/share/google-emac= s/28.2+gg10+1.20230320.053433.rc252/lisp/progmodes/flymake
/usr/share/go= ogle-emacs/site-lisp/emacs-google-config/third_party/elisp/xref/xref hides = /usr/share/google-emacs/28.2+gg10+1.20230320.053433.rc252/lisp/progmodes/xr= ef
/usr/share/google-emacs/site-lisp/emacs-google-config/third_party/eli= sp/eldoc/eldoc hides /usr/share/google-emacs/28.2+gg10+1.20230320.053433.rc= 252/lisp/emacs-lisp/eldoc

Features:
(shadow sort mail-extr emacsb= ug sendmail markdown-mode edit-indirect
color org-duration diary-lib dia= ry-loaddefs cal-iso vc-fig vc-hg
diff-mode vc vc-dispatcher org-element = avl-tree ol-eww eww url-queue
mm-url ol-rmail ol-mhe ol-irc ol-info ol-g= nus nnselect gnus-search
eieio-opt speedbar ezimage dframe gnus-art mm-u= u mml2015 mm-view
mml-smime smime dig gnus-sum shr kinsoku svg dom gnus-= group gnus-undo
gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-sourc= e utf7 netrc
nnoo gnus-spec gnus-int gnus-range message rmc puny rfc822 = mml mml-sec
epa derived epg rfc6068 epg-config mm-decode mm-bodies mm-en= code
mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnusnnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums
mail= -utils mm-util mail-prsvr ol-docview doc-view jka-compr image-mode
exif = dired dired-loaddefs ol-bibtex ol-bbdb ol-w3m ol-doi org-link-doi
editor= config-core editorconfig-core-handle editorconfig-fnmatch
face-remap org= -agenda org-refile org ob ob-tangle ob-ref ob-lob ob-table
ob-exp org-ma= cro org-footnote org-src ob-comint org-pcomplete org-list
org-faces org-= entities noutline outline org-version ob-emacs-lisp
ob-core ob-eval org-= table oc-basic bibtex org-keys oc org-loaddefs
find-func cal-menu calend= ar cal-loaddefs ol org-compat org-macs edmacro
kmacro time battery dbus = ido-completing-read+ memoize cus-edit pp
wid-edit minibuf-eldef ido xml = cus-load finder-inf autorevert filenotify
google google-emacs-support ed= itorconfig google-log gud easy-mmode
url-sso google3-build-fn google-imp= orts google3 compile google-gud
google-comint google-kg google-trailing-= whitespace google-coding-style
python-custom sh-script smie executable p= ython tramp-sh tramp
tramp-loaddefs trampver tramp-integration files-x t= ramp-compat
parse-time iso8601 time-date ls-lisp format-spec js imenu cc= -mode
cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc= -vars
cc-defs google-codemaker google-process google-emacs-utilities adv= ice
with-editor shell pcomplete server compat compat-29 f f-shortdoc
= shortdoc text-property-search dash s aio generator
emacs-google-config-l= oaddefs pcase google-paths xdg google-platform sql
view thingatpt comint= ansi-color ring comp comp-cstr warnings rx
cl-extra help-mode package b= rowse-url url url-proxy url-privacy
url-expand url-methods url-history u= rl-cookie url-domsuf url-util
mailcap url-handlers url-parse auth-source= cl-seq eieio eieio-core
cl-macs eieio-loaddefs password-cache json subr= -x map url-vars seq
byte-opt gv bytecomp byte-compile cconv cl-loaddefs = cl-lib iso-transl
tooltip eldoc paren electric uniquify ediff-hook vc-ho= oks
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 cl-generic
c= ham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
k= orean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
europ= ean ethiopic indian cyrillic chinese composite emoji-zwj charscript
char= prop case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-pre= loaded nadvice button loaddefs faces cus-face macroexp files
window text= -properties overlay sha1 md5 base64 format env code-pages
mule custom wi= dget hashtable-print-readable backquote threads dbusbind
inotify lcms2 d= ynamic-setting system-font-setting font-render-setting
cairo move-toolba= r gtk x-toolkit x multi-tty make-network-process
native-compile emacs)
Memory information:
((conses 16 459641 33881)
=C2=A0(symbols 48= 32879 1)
=C2=A0(strings 32 122158 9499)
=C2=A0(string-bytes 1 475219= 8)
=C2=A0(vectors 16 65089)
=C2=A0(vector-slots 8 1740541 240563)
= =C2=A0(floats 8 540 210)
=C2=A0(intervals 56 2134 0)
=C2=A0(buffers 9= 92 15))

--00000000000023597e05f7f98fa9--