From unknown Sun Jun 22 20:56:58 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#64877 <64877@debbugs.gnu.org> To: bug#64877 <64877@debbugs.gnu.org> Subject: Status: 28.2; Hangs after M-indent-region to php file with html Reply-To: bug#64877 <64877@debbugs.gnu.org> Date: Mon, 23 Jun 2025 03:56:58 +0000 retitle 64877 28.2; Hangs after M-indent-region to php file with html reassign 64877 emacs submitter 64877 Oscar Megia L=C3=B3pez severity 64877 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 26 12:55:27 2023 Received: (at submit) by debbugs.gnu.org; 26 Jul 2023 16:55:28 +0000 Received: from localhost ([127.0.0.1]:49976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOhnL-00063J-3w for submit@debbugs.gnu.org; Wed, 26 Jul 2023 12:55:27 -0400 Received: from lists.gnu.org ([2001:470:142::17]:60700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qOg9c-0003Hq-Vi for submit@debbugs.gnu.org; Wed, 26 Jul 2023 11:10:21 -0400 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 1qOg9X-0000xI-Aa for bug-gnu-emacs@gnu.org; Wed, 26 Jul 2023 11:10:15 -0400 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qOg9U-000133-IU for bug-gnu-emacs@gnu.org; Wed, 26 Jul 2023 11:10:14 -0400 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-3fbc656873eso70080645e9.1 for ; Wed, 26 Jul 2023 08:10:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1690384208; x=1690989008; h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc :subject:date:message-id:reply-to; bh=L6wmuT3W2WnwlLOd9dbeB/R3oGjZ1ev5MxZWA79QXQc=; b=lV24G0jhkc3p1RkGvtJZPck2zjfV8A7Q+pWorJyrjV381ewrXTtQzHD3Hr9q1v7Cb7 hOROBTqD8Bd2d9nAIqmnCSOHToBbK8HuLVOeWnF7W2/8fQ6ZUcl5YagyWPKEUSTGVI1G aYIEFad9dZY92enHGnkFTGKs5TgZdUndEfO2cepXXFMgvGCHsMGHlvHLlbpwbFMpZsbu iDUc0xK/qpWJVjy9k706OGT4T5x6MzGY61N8qr9Jk45E2XcUbbnuV6UROmsgB912/HS9 4Ygx6eN2HifwgxTtgtyeDEXFk8E4MHZiZpDOWhqdizUj7PYcm0IWM/MQ31v9bl4SStNI jN1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690384208; x=1690989008; h=mime-version:user-agent:message-id:date:subject:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=L6wmuT3W2WnwlLOd9dbeB/R3oGjZ1ev5MxZWA79QXQc=; b=Mwcfgf+MlGyg69wx8e3qYasQ1OO8MF5MEV4avhlrev8BM837ms/9WoKmcHUrfcNbGt c0GdJes/bREDywq+mNyC1cwZ/BhJAWavZe/ffEjvTGTnjoInkFfUIrAU+9VgEC570VAt wcBZRXzDkkKakjfr1RVHPKmtqJ3MCQaH14WuWgbwzhUZ103TT+Ko7FGPWmAA1aBUvIcq xSCfr3Qa+TewafcULh6KK9qhj1mVgCQYKWavsL/s2AB4h1i8xSK+jrow3KHFrED27tW6 SFgxqtuClXUZrTmmJc48Rf8Ajc3LowRfXWjPBgLdSg92nUmo7tuD+j1nKJFQg7qDSp9l xsxg== X-Gm-Message-State: ABy/qLaroV8I2q1ImM0jLBMAA9rHOiXyFQry+XQwE32//hwWJcxX2SbZ 5Zg2uzpuWgvud5ewE8OsxtQHzCay6VeqyA== X-Google-Smtp-Source: APBJJlGXZElvIApfSLod39WMRVRRfUPY475xxT+HLEDi2aEWi/e/sr+T1360ofhUyNieKMuFkkGaJQ== X-Received: by 2002:a05:600c:2a4a:b0:3fd:30cb:18bd with SMTP id x10-20020a05600c2a4a00b003fd30cb18bdmr1775006wme.15.1690384208187; Wed, 26 Jul 2023 08:10:08 -0700 (PDT) Received: from torreasustufgamingpro (209.pool90-77-130.dynamic.orange.es. [90.77.130.209]) by smtp.gmail.com with ESMTPSA id 2-20020a05600c22c200b003fa96620b23sm2300237wmg.12.2023.07.26.08.10.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jul 2023 08:10:07 -0700 (PDT) From: =?utf-8?Q?Oscar_Megia_L=C3=B3pez?= To: bug-gnu-emacs@gnu.org Subject: 28.2; Hangs after M-indent-region to php file with html Date: Wed, 26 Jul 2023 17:10:02 +0200 Message-ID: <87v8e6r9o5.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2a00:1450:4864:20::32b; envelope-from=megia.oscar@gmail.com; helo=mail-wm1-x32b.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.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 26 Jul 2023 12:55:25 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) I added this line to ~/.emacs file: (setq-default tab-width 1) I typed these commands to a php file with html in active buffer: M-sgml-pretty-print M-whitespace-mode M-indent-region and hangs for a while (hours). After I can see a lot of tabs for each line (1950): https://bpa.st/PG3Q I know that could be a Lisp script issue, but emacs must answer is Lisp hangs. In GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.36, cairo version 1.17.6) of 2023-01-03 built on 2 System Description: Arch Linux Configured using: 'configure --sysconfdir=/etc --prefix=/usr --libexecdir=/usr/lib --localstatedir=/var --with-cairo --with-harfbuzz --with-libsystemd --with-modules --with-x-toolkit=gtk3 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/build/emacs/src=/usr/src/debug/emacs -flto=auto' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto'' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSYSTEMD LIBXML2 M17N_FLT MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB Important settings: value of $LANG: es_ES.UTF-8 locale-coding-system: utf-8-unix Major mode: Text Minor modes in effect: winner-mode: t delete-selection-mode: t save-place-mode: t cua-mode: t savehist-mode: t desktop-save-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 column-number-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc rfc822 mml mml-sec epa derived epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail ibuffer ibuffer-loaddefs term/tmux term/xterm xterm make-mode nroff-mode conf-mode add-log sh-script executable rng-xsd xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-enc xmltok mhtml-mode css-mode smie eww xdg url-queue shr kinsoku svg xml puny mm-url gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums mail-utils wid-edit mm-util mail-prsvr color js dired-aux dired dired-loaddefs enriched mule-util jka-compr info php-mode mode-local find-func imenu speedbar ezimage dframe cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align php-face time-date whitespace vc-git diff-mode easy-mmode vc-dispatcher web-mode advice disp-table php rx php-project flymake-proc flymake project compile text-property-search comint ansi-color warnings thingatpt cc-engine cc-vars cc-defs sgml-mode facemenu dom winner ring delsel saveplace cua-base cus-load savehist desktop frameset 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 emacs) Memory information: ((conses 16 354075 19144) (symbols 48 22033 2) (strings 32 72643 2718) (string-bytes 1 2417989) (vectors 16 34852) (vector-slots 8 565824 10730) (floats 8 176 315) (intervals 56 20057 3335) (buffers 992 155))