GNU bug report logs - #77494
30.1; backward-up-list doesn't work as intended in php-ts-mode

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Umar Ahmad <ahmad.umar2008@HIDDEN>; Done: Juri Linkov <juri@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
bug marked as fixed in version 31.0.50, send any further explanations to 77494 <at> debbugs.gnu.org and Umar Ahmad <ahmad.umar2008@HIDDEN> Request was from Juri Linkov <juri@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 77494 <at> debbugs.gnu.org:


Received: (at 77494) by debbugs.gnu.org; 3 Apr 2025 16:45:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 03 12:45:58 2025
Received: from localhost ([127.0.0.1]:35422 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u0NhW-0002pn-0d
	for submit <at> debbugs.gnu.org; Thu, 03 Apr 2025 12:45:58 -0400
Received: from relay8-d.mail.gandi.net ([2001:4b98:dc4:8::228]:52069)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>)
 id 1u0NhS-0002Ww-Hg; Thu, 03 Apr 2025 12:45:55 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id D11624441C;
 Thu,  3 Apr 2025 16:45:41 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Umar Ahmad <ahmad.umar2008@HIDDEN>
Subject: Re: bug#77494: 30.1; backward-up-list doesn't work as intended in
 php-ts-mode
In-Reply-To: <CAFHo54etuk72ag3Q8a2LLTrf5VGV+1tz9Hhn3RM3yOYpBgsjBg@HIDDEN>
Organization: LINKOV.NET
References: <CAFHo54etuk72ag3Q8a2LLTrf5VGV+1tz9Hhn3RM3yOYpBgsjBg.ref@HIDDEN>
 <CAFHo54etuk72ag3Q8a2LLTrf5VGV+1tz9Hhn3RM3yOYpBgsjBg@HIDDEN>
Date: Thu, 03 Apr 2025 19:45:19 +0300
Message-ID: <87plht5h40.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-State: clean
X-GND-Score: -100
X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddukeeltdekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufgjohhffffkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucggtffrrghtthgvrhhnpeffgeetfeevlefhleejfeeuheeiudeitdffhfdutdekfeffgffhveehteegueekheenucfkphepledurdduvdelrddutdehrdduudejnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepledurdduvdelrddutdehrdduudejpdhhvghlohepmhgrihhlrdhgrghnughirdhnvghtpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhgspghrtghpthhtohepfedprhgtphhtthhopegtohhnthhrohhlseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepjeejgeelgeesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopegrhhhmrggurdhumhgrrhdvtddtkeeshigrhhhoohdrihhn
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 77494
Cc: 77494 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

close 77494 31.0.50
thanks

> backward-up-list stops at the start of php-doc string instead of going 
> further up the list to enclosing brackets when php-ts-mode is active
> [...]
> GNU Emacs 30.1 (build 2, aarch64-apple-darwin23.6.0,

Thanks for the report.  This is already fixed in GNU Emacs 31.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#77494; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 3 Apr 2025 15:32:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 03 11:32:51 2025
Received: from localhost ([127.0.0.1]:35243 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u0MYk-0005aj-Bp
	for submit <at> debbugs.gnu.org; Thu, 03 Apr 2025 11:32:51 -0400
Received: from lists.gnu.org ([2001:470:142::17]:32914)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <ahmad.umar2008@HIDDEN>)
 id 1u0MYh-0005aT-Iv
 for submit <at> debbugs.gnu.org; Thu, 03 Apr 2025 11:32:48 -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 <ahmad.umar2008@HIDDEN>)
 id 1u0MYa-0002n5-RI
 for bug-gnu-emacs@HIDDEN; Thu, 03 Apr 2025 11:32:41 -0400
Received: from sonic301-20.consmr.mail.sg3.yahoo.com ([106.10.242.83])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <ahmad.umar2008@HIDDEN>)
 id 1u0MYX-00041t-OU
 for bug-gnu-emacs@HIDDEN; Thu, 03 Apr 2025 11:32:40 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.in; s=s2048;
 t=1743694349; bh=Rql2OidPBWL2F9rIzQm5jV6vqmc9UQc8j83w0SBPhEQ=;
 h=From:Date:Subject:To:References:From:Subject:Reply-To;
 b=LKAQ9toDCMbIv/AcZxJdI/0LLj42dwRj/fSJyOAS69AZ7O0pXpqt0zPhkIaspvcPTBeaRIAsXK3Os2FunJBog3dQ+kxLPH49fbV14TYIXDr2cNOfs9LbuSxAX4DWGCI5ew2YkguVJK/a9odSI/bQt58gMKi0n7ga/cFLKiAJWlZ6vn1VoRLYiEqCfkZlS4gAIGs9gPup71RmDeSCPxL1fBpLXYXLUzL8z+0IBSGOOnSifc1e0r9J2XypxVwdMLeWAqTjpeS0/LUoHqhToxE5Ub5cusMeiF99FECvpc4bpZCfq1xmDTFkYXLAbynq6ojXM19fpQk7HEwIL0MDzbcybQ==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1743694349; bh=zIDmXpKIuKasM6jP44Q5I3ullGY3A77TMbwUVMB66j2=;
 h=X-Sonic-MF:From:Date:Subject:To:From:Subject;
 b=WJNKiUMHfV2hfpT7o2GB/8vi+NGNB+cg2iwiG8SNsUDmTS7caey9hCWfTSb+qNxJGhzXMSEVGmNJVA4IXpHc0S8bvdmB505LYy8lTat1ksxCvK8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VglIZNbXgV
 HP3M7cRnuXU7z5VNumlhkfU.nk3BrulxdcVm.cC6khKLRwCt.fu7dBG6TGHsBzpJTS7cKWbAg.kS
 ojYkM3g7DJNETDrs0j5uoIvjbXoOMmVNfKVpdcNGHdJNRMl.U1blbMZpRorKUaH26mOA68Lo8efI
 9S6c43WKuBW6su.1OAEzrfXas6UDKsPuP.D0HvItHssQqi3zO7xJnkJ0jeWrnbV4G5mnkrEc7RNs
 KB8lAxqFGq.5snfx8C9gKCrDdgZZBE10YHnIy2sHhlT9qdrMvTubJ5Fuou2JcrSUchB5ju71S_W4
 tE7xFSyoSpumJ96JDI1S3_pvgd8SsJETfwGtI1Z7SLo9t85rElKkGLEE7cGKTUnFG9E53kpogk9N
 6Ra.IN48D3cp7JVOjL4e6KHKVKsKI82GUhg5GloimedzAcCI-
X-Sonic-MF: <ahmad.umar2008@HIDDEN>
X-Sonic-ID: d80dc200-8ccc-40e6-bdbb-3f722b2e0e2d
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic301.consmr.mail.sg3.yahoo.com with HTTP; Thu, 3 Apr 2025 15:32:29 +0000
Received: by hermes--production-bf1-745f8664bc-pv77c (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID 990791e33c8c71941897de086946bcc3; 
 Thu, 03 Apr 2025 15:32:27 +0000 (UTC)
Received: by mail-qk1-f177.google.com with SMTP id
 af79cd13be357-7c559b3eb0bso61056185a.1
 for <bug-gnu-emacs@HIDDEN>; Thu, 03 Apr 2025 08:32:27 -0700 (PDT)
X-Gm-Message-State: AOJu0YxucDJLuuV5WEGUzMov+WfEhUiG2w3SXmXo70X1Qq5aCfyujuIV
 ksd6OsJglOl+CadDSqur0XOsuX2YMtf5EFKdmosf/ykWwwtBweGD9adnjGH+rNu33kAuesPwzSb
 Ya1bkAXvD83XbyVPODufIyeO/T2Y=
X-Google-Smtp-Source: AGHT+IFHlCSM4E3/peoxi/4cb3b4EF14tdaiRxTx83nPBrL5i4wB268wPJYcOqJQe9FHZmAKzd8Ef4rT7G303lvfCfU=
X-Received: by 2002:a05:620a:2801:b0:7c5:a463:397b with SMTP id
 af79cd13be357-7c69071d9e1mr2589961785a.20.1743694344762; Thu, 03 Apr 2025
 08:32:24 -0700 (PDT)
MIME-Version: 1.0
From: Umar Ahmad <ahmad.umar2008@HIDDEN>
Date: Thu, 3 Apr 2025 21:02:12 +0530
X-Gmail-Original-Message-ID: <CAFHo54etuk72ag3Q8a2LLTrf5VGV+1tz9Hhn3RM3yOYpBgsjBg@HIDDEN>
X-Gm-Features: ATxdqUEnSNUJeyXlmoPtQEGqmC8aj1ug9cm_kjqusCYPsJ9oMwT_KzEoX7rKAgQ
Message-ID: <CAFHo54etuk72ag3Q8a2LLTrf5VGV+1tz9Hhn3RM3yOYpBgsjBg@HIDDEN>
Subject: 30.1; backward-up-list doesn't work as intended in php-ts-mode
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/alternative; boundary="000000000000043da90631e17a4a"
References: <CAFHo54etuk72ag3Q8a2LLTrf5VGV+1tz9Hhn3RM3yOYpBgsjBg.ref@HIDDEN>
X-Mailer: WebService/1.1.23590
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 11428
Received-SPF: pass client-ip=106.10.242.83;
 envelope-from=ahmad.umar2008@HIDDEN;
 helo=sonic301-20.consmr.mail.sg3.yahoo.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.1 (/)

--000000000000043da90631e17a4a
Content-Type: text/plain; charset="UTF-8"

backward-up-list stops at the start of php-doc string instead of going
further up the list to enclosing brackets when php-ts-mode is active

Replicating with emacs -Q
* emacs -Q
* (required once if not already done) M-x php-ts-mode-install-parsers
* M-x switch-to-buffer *temp*
* M-x php-ts-mode
* yank the following php snippet in the buffer
<?php
class Hello {
    /** @var string */
    private $name;
    /**
     * @return void
     */
    public function setName() :void {
        retur|n;
    }
}
* consider | as the point position (line:9)
* M-x backward-up-list
* point correctly moves to { after the function (line:8)
* M-x backward-up-list
* [Bug] point moves to / character (line:5)
* M-x backward-up-list
* [Bug] echo area logs "At top level"

Expectation was that the point would move to the {
on line 2 after the second backward-up-list command




 GNU Emacs 30.1 (build 2, aarch64-apple-darwin23.6.0, NS
 appkit-2487.70 Version 14.7.3 (Build 23H417)) of 2025-03-22 built on
 Umars-Macbook-Pro
Windowing system distributor 'Apple', version 10.3.2487
System Description:  macOS 14.7.5

Configured using:
 'configure --disable-dependency-tracking --disable-silent-rules
 --enable-locallisppath=/opt/homebrew/share/emacs/site-lisp
 --infodir=/opt/homebrew/Cellar/emacs-plus@30/30.1/share/info/emacs
 --prefix=/opt/homebrew/Cellar/emacs-plus@30/30.1
 --with-native-compilation=aot --with-xml2 --with-gnutls
 --without-compress-install --without-dbus --without-imagemagick
 --with-modules --with-rsvg --with-webp --with-xwidgets --with-ns
 --disable-ns-self-contained 'CFLAGS=-O2 -DFD_SETSIZE=10000
 -DDARWIN_UNLIMITED_SELECT -I/opt/homebrew/opt/sqlite/include
 -I/opt/homebrew/opt/gcc/include -I/opt/homebrew/opt/libgccjit/include'
 'LDFLAGS=-L/opt/homebrew/opt/sqlite/lib -L/opt/homebrew/lib/gcc/14
 -I/opt/homebrew/opt/gcc/include -I/opt/homebrew/opt/libgccjit/include''

Configured features:
ACL GIF GLIB GMP GNUTLS JPEG LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY
KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS
TREE_SITTER WEBP XIM XWIDGETS ZLIB

Important settings:
  value of $LC_ALL: en_US.UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: PHP

Minor modes in effect:
  display-line-numbers-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
  minibuffer-regexp-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 yank-media dired dired-loaddefs
rfc822 mml mml-sec epa derived epg rfc6068 epg-config mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
sendmail rfc2047 rfc2045 ietf-drums display-line-numbers rx html-ts-mode
php-ts-mode comint ansi-osc ansi-color ring js cc-mode cc-fonts cc-guess
cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs css-mode
smie sgml-mode facemenu imenu eww xdg url-queue thingatpt shr pixel-fill
kinsoku url-file svg xml dom browse-url url url-proxy url-privacy
url-expand url-methods url-history url-cookie generate-lisp-file
url-domsuf url-util url-parse auth-source cl-seq eieio eieio-core
cl-macs icons password-cache json map byte-opt gv bytecomp byte-compile
url-vars mailcap puny mm-url gnus nnheader gnus-util
text-property-search time-date subr-x mail-utils range wid-edit mm-util
mail-prsvr color c-ts-common treesit cl-loaddefs cl-lib rmc iso-transl
tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize
mule-util term/common-win 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 theme-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 xwidget-internal kqueue cocoa ns lcms2 multi-tty
make-network-process native-compile emacs)

Memory information:
((conses 16 160600 10230) (symbols 48 13333 0) (strings 32 42165 3963)
 (string-bytes 1 1383167) (vectors 16 21407)
 (vector-slots 8 280373 8131) (floats 8 183 10) (intervals 56 329 0)
 (buffers 992 11))



-- 
Regards,
Umar Ahmad

--000000000000043da90631e17a4a
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>backward-up-list stops at the start of php-doc string=
 instead of going=C2=A0</div><div>further up the list to enclosing brackets=
 when php-ts-mode is active<br><br>Replicating with emacs -Q</div><div>* em=
acs -Q</div><div>* (required once if not already done) M-x php-ts-mode-inst=
all-parsers</div><div>* M-x switch-to-buffer *temp*<br>* M-x php-ts-mode<br=
>* yank the following php snippet in the buffer<br>&lt;?php<br>class Hello =
{<br>=C2=A0 =C2=A0 /** @var string */<br>=C2=A0 =C2=A0 private $name;<br>=
=C2=A0 =C2=A0 /**<br>=C2=A0 =C2=A0 =C2=A0* @return void<br>=C2=A0 =C2=A0 =
=C2=A0*/<br>=C2=A0 =C2=A0 public function setName() :void {<br>=C2=A0 =C2=
=A0 =C2=A0 =C2=A0 retur|n;<br>=C2=A0 =C2=A0 }<br>}<br>* consider | as the p=
oint position (line:9)<br>* M-x backward-up-list<br>* point correctly moves=
 to { after the function (line:8)<br>* M-x backward-up-list<br>* [Bug] poin=
t moves to / character (line:5)<br>* M-x backward-up-list<br>* [Bug] echo a=
rea logs &quot;At top level&quot;<br><br>Expectation was that the point wou=
ld move to the {=C2=A0</div><div>on line 2 after the second backward-up-lis=
t command<br><br><br><br><br>=C2=A0GNU Emacs 30.1 (build 2, aarch64-apple-d=
arwin23.6.0, NS<br>=C2=A0appkit-2487.70 Version 14.7.3 (Build 23H417)) of 2=
025-03-22 built on<br>=C2=A0Umars-Macbook-Pro<br>Windowing system distribut=
or &#39;Apple&#39;, version 10.3.2487<br>System Description: =C2=A0macOS 14=
.7.5<br><br>Configured using:<br>=C2=A0&#39;configure --disable-dependency-=
tracking --disable-silent-rules<br>=C2=A0--enable-locallisppath=3D/opt/home=
brew/share/emacs/site-lisp<br>=C2=A0--infodir=3D/opt/homebrew/Cellar/emacs-=
plus@30/30.1/share/info/emacs<br>=C2=A0--prefix=3D/opt/homebrew/Cellar/emac=
s-plus@30/30.1<br>=C2=A0--with-native-compilation=3Daot --with-xml2 --with-=
gnutls<br>=C2=A0--without-compress-install --without-dbus --without-imagema=
gick<br>=C2=A0--with-modules --with-rsvg --with-webp --with-xwidgets --with=
-ns<br>=C2=A0--disable-ns-self-contained &#39;CFLAGS=3D-O2 -DFD_SETSIZE=3D1=
0000<br>=C2=A0-DDARWIN_UNLIMITED_SELECT -I/opt/homebrew/opt/sqlite/include<=
br>=C2=A0-I/opt/homebrew/opt/gcc/include -I/opt/homebrew/opt/libgccjit/incl=
ude&#39;<br>=C2=A0&#39;LDFLAGS=3D-L/opt/homebrew/opt/sqlite/lib -L/opt/home=
brew/lib/gcc/14<br>=C2=A0-I/opt/homebrew/opt/gcc/include -I/opt/homebrew/op=
t/libgccjit/include&#39;&#39;<br><br>Configured features:<br>ACL GIF GLIB G=
MP GNUTLS JPEG LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY<br>KQUEUE NS PDUMPE=
R PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS<br>TREE_SITTER WEBP XIM=
 XWIDGETS ZLIB<br><br>Important settings:<br>=C2=A0 value of $LC_ALL: en_US=
.UTF-8<br>=C2=A0 value of $LANG: en_US.UTF-8<br>=C2=A0 locale-coding-system=
: utf-8-unix<br><br>Major mode: PHP<br><br>Minor modes in effect:<br>=C2=A0=
 display-line-numbers-mode: t<br>=C2=A0 tooltip-mode: t<br>=C2=A0 global-el=
doc-mode: t<br>=C2=A0 show-paren-mode: t<br>=C2=A0 electric-indent-mode: t<=
br>=C2=A0 mouse-wheel-mode: t<br>=C2=A0 tool-bar-mode: t<br>=C2=A0 menu-bar=
-mode: t<br>=C2=A0 file-name-shadow-mode: t<br>=C2=A0 global-font-lock-mode=
: t<br>=C2=A0 font-lock-mode: t<br>=C2=A0 blink-cursor-mode: t<br>=C2=A0 mi=
nibuffer-regexp-mode: t<br>=C2=A0 line-number-mode: t<br>=C2=A0 indent-tabs=
-mode: t<br>=C2=A0 transient-mark-mode: t<br>=C2=A0 auto-composition-mode: =
t<br>=C2=A0 auto-encryption-mode: t<br>=C2=A0 auto-compression-mode: t<br><=
br>Load-path shadows:<br>None found.<br><br>Features:<br>(shadow sort mail-=
extr emacsbug message yank-media dired dired-loaddefs<br>rfc822 mml mml-sec=
 epa derived epg rfc6068 epg-config mm-decode<br>mm-bodies mm-encode mail-p=
arse rfc2231 mailabbrev gmm-utils mailheader<br>sendmail rfc2047 rfc2045 ie=
tf-drums display-line-numbers rx html-ts-mode<br>php-ts-mode comint ansi-os=
c ansi-color ring js cc-mode cc-fonts cc-guess<br>cc-menus cc-cmds cc-style=
s cc-align cc-engine cc-vars cc-defs css-mode<br>smie sgml-mode facemenu im=
enu eww xdg url-queue thingatpt shr pixel-fill<br>kinsoku url-file svg xml =
dom browse-url url url-proxy url-privacy<br>url-expand url-methods url-hist=
ory url-cookie generate-lisp-file<br>url-domsuf url-util url-parse auth-sou=
rce cl-seq eieio eieio-core<br>cl-macs icons password-cache json map byte-o=
pt gv bytecomp byte-compile<br>url-vars mailcap puny mm-url gnus nnheader g=
nus-util<br>text-property-search time-date subr-x mail-utils range wid-edit=
 mm-util<br>mail-prsvr color c-ts-common treesit cl-loaddefs cl-lib rmc iso=
-transl<br>tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks<=
br>lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize<br>mu=
le-util term/common-win tool-bar dnd fontset image regexp-opt fringe<br>tab=
ulated-list replace newcomment text-mode lisp-mode prog-mode register<br>pa=
ge tab-bar menu-bar rfn-eshadow isearch easymenu timer select<br>scroll-bar=
 mouse jit-lock font-lock syntax font-core term/tty-colors<br>frame minibuf=
fer nadvice seq simple cl-generic indonesian philippine<br>cham georgian ut=
f-8-lang misc-lang vietnamese tibetan thai tai-viet lao<br>korean japanese =
eucjp-ms cp51932 hebrew greek romanian slovak czech<br>european ethiopic in=
dian cyrillic chinese composite emoji-zwj charscript<br>charprop case-table=
 epa-hook jka-cmpr-hook help abbrev obarray oclosure<br>cl-preloaded button=
 loaddefs theme-loaddefs faces cus-face macroexp<br>files window text-prope=
rties overlay sha1 md5 base64 format env<br>code-pages mule custom widget k=
eymap hashtable-print-readable backquote<br>threads xwidget-internal kqueue=
 cocoa ns lcms2 multi-tty<br>make-network-process native-compile emacs)<br>=
<br>Memory information:<br>((conses 16 160600 10230) (symbols 48 13333 0) (=
strings 32 42165 3963)<br>=C2=A0(string-bytes 1 1383167) (vectors 16 21407)=
<br>=C2=A0(vector-slots 8 280373 8131) (floats 8 183 10) (intervals 56 329 =
0)<br>=C2=A0(buffers 992 11))<br><br><br clear=3D"all"></div><br><span clas=
s=3D"gmail_signature_prefix">-- </span><br><div dir=3D"ltr" class=3D"gmail_=
signature" data-smartmail=3D"gmail_signature"><div dir=3D"ltr">Regards,<br>=
Umar Ahmad<br></div></div></div>

--000000000000043da90631e17a4a--




Acknowledgement sent to Umar Ahmad <ahmad.umar2008@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#77494; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 3 Apr 2025 17:00:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.