From unknown Sat Aug 16 12:40:35 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#79059 <79059@debbugs.gnu.org> To: bug#79059 <79059@debbugs.gnu.org> Subject: Status: 31.0.50; eshell-emit-prompt errors when front-sticky or rear-nonsticky properties are set to t Reply-To: bug#79059 <79059@debbugs.gnu.org> Date: Sat, 16 Aug 2025 19:40:35 +0000 retitle 79059 31.0.50; eshell-emit-prompt errors when front-sticky or rear-= nonsticky properties are set to t reassign 79059 emacs submitter 79059 L=C3=A1szl=C3=B3 Vask=C3=B3 severity 79059 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 20 06:50:29 2025 Received: (at submit) by debbugs.gnu.org; 20 Jul 2025 10:50:29 +0000 Received: from localhost ([127.0.0.1]:49065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1udRci-0003ZH-8K for submit@debbugs.gnu.org; Sun, 20 Jul 2025 06:50:28 -0400 Received: from lists.gnu.org ([2001:470:142::17]:47056) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1udQrU-00006H-QF for submit@debbugs.gnu.org; Sun, 20 Jul 2025 06:01:42 -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 1udQrI-0005tL-Pz for bug-gnu-emacs@gnu.org; Sun, 20 Jul 2025 06:01:29 -0400 Received: from fout-a1-smtp.messagingengine.com ([103.168.172.144]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1udQrG-0004nA-NP for bug-gnu-emacs@gnu.org; Sun, 20 Jul 2025 06:01:28 -0400 Received: from phl-compute-06.internal (phl-compute-06.phl.internal [10.202.2.46]) by mailfout.phl.internal (Postfix) with ESMTP id C3E45EC0038 for ; Sun, 20 Jul 2025 06:01:22 -0400 (EDT) Received: from phl-imap-02 ([10.202.2.81]) by phl-compute-06.internal (MEProxy); Sun, 20 Jul 2025 06:01:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vlaci.email; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:message-id:mime-version:reply-to:subject :subject:to:to; s=fm1; t=1753005682; x=1753092082; bh=o4FC4lHbeV lv9zXQHknSb55yhbykJ6JNzZMv9DNrykU=; b=C4Yebl3P8DWMHKyM11XqyoYsW8 GoFPztOp9UAapahfFA3KUhV6aFv+DLBy04S0TZ20t62AKNoo81tqtws5MKVsJWJi lO3iACvgpAkm4pzRsW1vPMtiDUA1pMOhrGWDHfkEFQc6CHPhmEN4xmzEw13HCYWP c9AMaAzJ23dNwEf8UhWBLWaI7m06Q/iG04FSIuetcIJnYSodJjgfB1S61w1TxSiV ra9kyHShJI6DkScdeenLfPHOywij3ixvv2q06HFxMVEk6xbODPLeIBnQtWKpaQFr lgtHEzE1T/EDl0Eckxu5Vp8rh/xSagRyBAUva2HN/RjLPiH0uf5Tm6UIDcVQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:message-id:mime-version:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1753005682; x=1753092082; bh=o4FC4lHbeVlv9zXQHknSb55yhbykJ6JNzZM v9DNrykU=; b=icsbES6uYrv47DQ5T01n45VtoZDxIYvcU96j/tUOaNdg9WOy275 nAJfaiHH/mytxOfG0sTvtwm4z9DLEotO0DIcSmmzUvbMfvIX3L8zR94oK5rtC8l/ zfi4pu3+FG7/wm3rshwcl+f8x3mFcyoi4TKa1sV+DmAhAtlNyjdL+D9bPPEGdGvH +4bT4ck+CTEq8gmjf9JpSrygFWHJ5s6PQ9r/b1pFQfZL/WNwfZnDYDH373NAxEP1 awGcAK/Sta7cOKha+Igfauxxdr2L56E8gmqlg3np5A7j4X7mlkDeA+3x8WaeYJU2 jRREKr54QFqpY+qQvpUXwbGOpery6khMPPQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdeikeeludcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhepofggfffhvffkufgtgfesthhqredtredtje enucfhrhhomhepnfojshiilhpkucggrghskhpkuceohhgvlhhlohesvhhlrggtihdrvghm rghilheqnecuggftrfgrthhtvghrnhepieefveekveelgefhfefgvdejuedvieekleekle duueefieekuddvffevhfejffeunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghm pehmrghilhhfrhhomhephhgvlhhlohesvhhlrggtihdrvghmrghilhdpnhgspghrtghpth htohepuddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepsghughdqghhnuhdqvghm rggtshesghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: i7e51475a:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 704C6700068; Sun, 20 Jul 2025 06:01:22 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 X-ThreadId: T856d89024711b5ca Date: Sun, 20 Jul 2025 12:00:55 +0200 From: =?UTF-8?Q?L=C3=A1szl=C3=B3_Vask=C3=B3?= To: bug-gnu-emacs@gnu.org Message-Id: <2c0b77a4-46d2-4019-812d-01c682c59a6e@app.fastmail.com> Subject: 31.0.50; eshell-emit-prompt errors when front-sticky or rear-nonsticky properties are set to t Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=103.168.172.144; envelope-from=hello@vlaci.email; helo=fout-a1-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 20 Jul 2025 06:50:22 -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.3 (/) Hello, Since df288d2e414 (bug#74230) eshell is more careful adding text properties to prompts using `eshell--append-text-property'. It's implementation assumes that `get-text-property' will always return a list. This is not true, as both `front-sticky' and `rear-nonsticky' properties can be set to t. Repro: -- 8< -- cat < /tmp/init-eshell-propertized-prompt.el ;; -*- lexical-binding: t; -*- (setq eshell-prompt-function=20 (defun propertizing-prompt () (setq eshell-prompt-string (propertize "test" 'rear-nonsticky t)= ))) (eshell) =20 EOF =20 emacs -Q --batch --load /tmp/init-eshell-propertized-prompt.el -- 8< -- Output: Loading eshell-alias... Loading eshell-alias...done Loading eshell-banner... Loading eshell-banner...done Loading eshell-basic... Loading eshell-basic...done Loading eshell-cmpl... Loading eshell-cmpl...done Loading eshell-extpipe... Loading eshell-extpipe...done Loading eshell-glob... Loading eshell-glob...done Loading eshell-hist... Loading eshell-hist...done Loading eshell-ls... Loading eshell-ls...done Loading eshell-pred... Loading eshell-pred...done Loading eshell-prompt... Loading eshell-prompt...done Loading eshell-script... Loading eshell-script...done Loading eshell-term... Loading eshell-term...done Loading eshell-unix... Loading eshell-unix...done Error: wrong-type-argument (sequencep t) eshell--append-text-property(0 4 rear-nonsticky (read-only font-lo= ck-face field) #("test" 0 4 (front-sticky (read-only font-lock-face fiel= d) font-lock-face eshell-prompt read-only t field prompt rear-nonsticky = t))) eshell-emit-prompt() run-hooks(eshell-post-command-hook) eshell-mode() eshell() load-with-code-conversion("/tmp/init-eshell-propertized-prompt.el"= "/tmp/init-eshell-propertized-prompt.el" nil t) command-line-1(("--load" "/tmp/init-eshell-propertized-prompt.el")) command-line() normal-top-level() debug-early-backtrace...done Wrong type argument: sequencep, t In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.49, cairo version 1.18.4) Repository revision: 382123e69e2c0cae39e44f9b72ca3674eaec2ad1 Repository branch: master System Description: NixOS 25.11 (Xantusia) Configured using: 'configure --prefix=3D/nix/store/463a7h9nwlk9yzni8s1cb7dhvi8k2dd0-emacs-igc-pgtk-20= 250716.0 --disable-build-details --with-modules --with-pgtk --with-compress-install --with-toolkit-scroll-bars --with-native-compilation --without-imagemagick --with-mailutils --without-small-ja-dic --with-tree-sitter --without-xinput2 --without-xwidgets --with-dbus --with-selinux --with-mps=3Dyes' Configured features: CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG LIBSELINUX LIBSYSTEMD LIBXML2 MODULES MPS NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB Important settings: value of $LANG: hu_HU.UTF-8 locale-coding-system: utf-8-unix Major mode: Eshell Minor modes in effect: eshell-prompt-mode: t eshell-pred-mode: t eshell-hist-mode: t eshell-cmpl-mode: t eshell-proc-mode: t eshell-arg-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 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 lisp-mnt message mailcap yank-media puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils compile comp-run comp-common em-unix em-term term disp-table shell ehelp em-script em-prompt text-property-search em-pred em-ls em-hist em-glob rx em-extpipe em-cmpl em-dirs em-basic em-banner em-alias esh-mode esh-var eshell esh-cmd generator cl-loaddefs cl-lib esh-ext esh-proc esh-opt esh-io byte-opt gv bytecomp byte-compile esh-arg pcomplete comint subr-x ansi-osc ansi-color ring esh-module esh-module-loaddefs esh-util files-x rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win touch-screen pgtk-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 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 dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk multi-tty move-toolbar make-network-process tty-child-frames native-compile mps emacs) Memory information: ((conses 24 0 0) (symbols 56 0 0) (strings 40 0 0) (string-bytes 1 0) (vectors 24 0) (vector-slots 8 0 0) (floats 24 0 0) (intervals 64 0 0) (buffers 1072 0)) -- L=C3=A1szl=C3=B3 Vask=C3=B3 From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 22 07:22:19 2025 Received: (at 79059) by debbugs.gnu.org; 22 Jul 2025 11:22:19 +0000 Received: from localhost ([127.0.0.1]:35632 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ueB4d-0004bd-1q for submit@debbugs.gnu.org; Tue, 22 Jul 2025 07:22:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39108) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ueB4a-0004bA-8k for 79059@debbugs.gnu.org; Tue, 22 Jul 2025 07:22:16 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ueB4U-0005gH-3w; Tue, 22 Jul 2025 07:22:10 -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=WDrMbZdHHT7Lat3Cv9jqwKxtNB4ymSc/rSKwTl3hde0=; b=Xq2gvdEug/mso2Q3TK16 6s21djw5wKCEm3eh8WSoDz+825K/r57m7pEDmJdTFlMbOAU13SjfNiRpxr3CtzbAf/yvUn6dSBt/X ybiRfqWXZkHpe8Ux/VUKUHEnUTwI5hIJGuQmPruEInhdEJ17JI/SmuAo726srdwmQh692ldu8Qiit hk0FLmGEqtqJAeRzjJaj3ZFPgkD4hmPM7x0E4OhuxoeOmnSWjiYaYWEn+502aPT9/S2wi6xInTzma d9F+eQ70nWHa2rJLN/dR2MMXN0b/U9y0U0zvc5zirdbD6bd3O+5YhyfMzsR+xL9di8+8AlaDLFH2Q 8vI/j4SB4yslNQ==; Date: Tue, 22 Jul 2025 14:22:06 +0300 Message-Id: <867c00bhcx.fsf@gnu.org> From: Eli Zaretskii To: =?utf-8?B?TMOhc3psw7MgVmFza8Oz?= , Jim Porter In-Reply-To: <2c0b77a4-46d2-4019-812d-01c682c59a6e@app.fastmail.com> (message from =?utf-8?B?TMOhc3psw7MgVmFza8Oz?= on Sun, 20 Jul 2025 12:00:55 +0200) Subject: Re: bug#79059: 31.0.50; eshell-emit-prompt errors when front-sticky or rear-nonsticky properties are set to t References: <2c0b77a4-46d2-4019-812d-01c682c59a6e@app.fastmail.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: 79059 Cc: 79059@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sun, 20 Jul 2025 12:00:55 +0200 > From: László Vaskó > > Hello, > > Since df288d2e414 (bug#74230) eshell is more careful adding text > properties to prompts using `eshell--append-text-property'. It's > implementation assumes that `get-text-property' will always return a > list. This is not true, as both `front-sticky' and `rear-nonsticky' > properties can be set to t. > > Repro: > > -- 8< -- > cat < /tmp/init-eshell-propertized-prompt.el > ;; -*- lexical-binding: t; -*- > (setq eshell-prompt-function > (defun propertizing-prompt () > (setq eshell-prompt-string (propertize "test" 'rear-nonsticky t)))) > (eshell) > EOF > emacs -Q --batch --load /tmp/init-eshell-propertized-prompt.el > -- 8< -- > > Output: > > Loading eshell-alias... > Loading eshell-alias...done > Loading eshell-banner... > Loading eshell-banner...done > Loading eshell-basic... > Loading eshell-basic...done > Loading eshell-cmpl... > Loading eshell-cmpl...done > Loading eshell-extpipe... > Loading eshell-extpipe...done > Loading eshell-glob... > Loading eshell-glob...done > Loading eshell-hist... > Loading eshell-hist...done > Loading eshell-ls... > Loading eshell-ls...done > Loading eshell-pred... > Loading eshell-pred...done > Loading eshell-prompt... > Loading eshell-prompt...done > Loading eshell-script... > Loading eshell-script...done > Loading eshell-term... > Loading eshell-term...done > Loading eshell-unix... > Loading eshell-unix...done > > Error: wrong-type-argument (sequencep t) > eshell--append-text-property(0 4 rear-nonsticky (read-only font-lock-face field) #("test" 0 4 (front-sticky (read-only font-lock-face field) font-lock-face eshell-prompt read-only t field prompt rear-nonsticky t))) > eshell-emit-prompt() > run-hooks(eshell-post-command-hook) > eshell-mode() > eshell() > load-with-code-conversion("/tmp/init-eshell-propertized-prompt.el" "/tmp/init-eshell-propertized-prompt.el" nil t) > command-line-1(("--load" "/tmp/init-eshell-propertized-prompt.el")) > command-line() > normal-top-level() > > debug-early-backtrace...done > Wrong type argument: sequencep, t Thanks. Jim, could you please look into this? From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 22 12:14:55 2025 Received: (at 79059) by debbugs.gnu.org; 22 Jul 2025 16:14:55 +0000 Received: from localhost ([127.0.0.1]:38596 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ueFdn-0008DG-At for submit@debbugs.gnu.org; Tue, 22 Jul 2025 12:14:55 -0400 Received: from mail-pl1-x62a.google.com ([2607:f8b0:4864:20::62a]:54668) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1ueFdk-0008CQ-Er for 79059@debbugs.gnu.org; Tue, 22 Jul 2025 12:14:53 -0400 Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-23dea2e01e4so68323895ad.1 for <79059@debbugs.gnu.org>; Tue, 22 Jul 2025 09:14:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1753200886; x=1753805686; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=sh5IPP38KV6Wmg6G9PAymFIwm1Ymc9SRyUxWDhPADns=; b=hiSVyxU/ZgSip68U7l93J6jzGgDQM/JqJzzMfiHccIEy7Mpm2WI2RIIgYch2GS4Uk7 Vzv/JnxmRqXM3btDNb924lE4XLJ4iGiV9F25CJ85HtIXV+luUWnVoR2NBDmJMsIUU4Ma ksQw3pagCqoj1ZeoTlsGohf+dYMzk4fyUkDpILf2HdPUbUDUk1qNhK5MKvWiN8nH/3yy lEzsUDqK8L+rpbPgjWq8f1nJrpYeaQfHu2hk9lJW5S1UMSqgV6SujemTQF4iTFZxOX9c Dn5hc4ip2bX3QbiiJSwZ6VaIylKfvaV0S/bGC5PgeeKXma+fg4FxXb/K0sbr5vZi7CID MIrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753200886; x=1753805686; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=sh5IPP38KV6Wmg6G9PAymFIwm1Ymc9SRyUxWDhPADns=; b=ioV3g9J59QpZ0RqEij4JquxYwUDX0X2/PLiHhRJgKgFQ3MIHo0FhntGSnhPIkDk5/o sb8+OegUJI9Oz+dVMB+vTquKPEexZaHoC6qsZBZ3Ey45+aPhmWrPJ2Tn6EqpGQy+PusH +3R72sCmZlrpIrRyYHty0znB0BRkjDQItTB8Ei8ZMHQHidPbHB8DwZusHCLq09eMizul xEXGCpykB7Q009HdpCn+AJXSHZmrwIrbVc+ql3vbLIgPIS+XFeiTIT71URCUj2pxGupZ 6+91jM4oFKFtEDpCs1nDGN4kqOKFWqevtmtfsEdzfc8V8HJRnCs8TMHF0X/zHSKym5uu eoMg== X-Forwarded-Encrypted: i=1; AJvYcCWhh2BtpuywoBYDyHRInM1WI8+ffk8Ej1lGXuSE/tOp8Zxzzz98bcHd8WY+F3BRRszNkKz21Q==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yy2B8m/gk0YLb53bzfS99yfR6ccZztrDFCml/aNvegKgBsXozN5 CwkvIhpGDGxNSCtlCv79SWB3tOZX4JNWojKGDzOK6xfOFZDfGOpAZmxvzL6dNw== X-Gm-Gg: ASbGncvm1Y/2PE3qEe0h018FRcLjZYHIcx2R8Nr3qYR1DM1/O6g6svZDJON/iFtsHjF qDSeimJrEl+Mx2JJByKC9lTzf1l4Ac4QcGeh+z4Zg1fNme7XrNKrz1rX4zDjF6vmkhQK2i0YAql qwhVp4/3LUrHzn6JxMVGb9+BqdH6RmkCTNNVGkvFi/Oizdlo6b6fdngB6n55Zb81D9iX5vahTez 2EftaV/XxWixTeLSACfHeiwDHGsIm4B6+2Ql9cjQuy7B7VzOSP3nszlXAGYu/n3TyOGYcOBeXQo C5BVwmdivaoJMrQDB5XLlqyexkC6qMU3AoKplAapkl8MObNid0PlDNcBuwgsePJQMTfBaIdSP6y lD6/bdQwWPbwj4vIOxE5OBl0wPwvyCwaIlow5fmyKzIVcJUtdenvv/Lg7ESIeU3OiuydTicEk3G fBiw== X-Google-Smtp-Source: AGHT+IETWhjIHvQpiUu+c4urzA2sX3wxn4HWWSHO7MyGRDcu8NI7tIKico+qPza8OKrtAFgQsYFe5w== X-Received: by 2002:a17:902:c40c:b0:234:ed31:fca7 with SMTP id d9443c01a7336-23e25780c0cmr362142925ad.48.1753200885844; Tue, 22 Jul 2025 09:14:45 -0700 (PDT) Received: from [192.168.1.2] (syn-076-168-144-128.res.spectrum.com. [76.168.144.128]) by smtp.googlemail.com with ESMTPSA id d9443c01a7336-23e3b6ef72bsm79396595ad.204.2025.07.22.09.14.44 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 22 Jul 2025 09:14:45 -0700 (PDT) Message-ID: Date: Tue, 22 Jul 2025 09:14:46 -0700 MIME-Version: 1.0 Subject: Re: bug#79059: 31.0.50; eshell-emit-prompt errors when front-sticky or rear-nonsticky properties are set to t Content-Language: en-US To: =?UTF-8?B?TMOhc3psw7MgVmFza8Oz?= , 79059@debbugs.gnu.org References: <2c0b77a4-46d2-4019-812d-01c682c59a6e@app.fastmail.com> From: Jim Porter In-Reply-To: <2c0b77a4-46d2-4019-812d-01c682c59a6e@app.fastmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 79059 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 (-) On 7/20/2025 3:00 AM, László Vaskó wrote: > Hello, > > Since df288d2e414 (bug#74230) eshell is more careful adding text > properties to prompts using `eshell--append-text-property'. It's > implementation assumes that `get-text-property' will always return a > list. This is not true, as both `front-sticky' and `rear-nonsticky' > properties can be set to t. > > Repro: > > -- 8< -- > cat < /tmp/init-eshell-propertized-prompt.el > ;; -*- lexical-binding: t; -*- > (setq eshell-prompt-function > (defun propertizing-prompt () > (setq eshell-prompt-string (propertize "test" 'rear-nonsticky t)))) > (eshell) > EOF > emacs -Q --batch --load /tmp/init-eshell-propertized-prompt.el > -- 8< -- When does this come up in practice? I think this could only happen if some code specifically customizes 'eshell-prompt-function' to set the stickiness properties this way. Is doing that necessary for something else that I'm missing? From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 22 15:53:02 2025 Received: (at 79059) by debbugs.gnu.org; 22 Jul 2025 19:53:02 +0000 Received: from localhost ([127.0.0.1]:39725 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ueJ2r-0005bs-3m for submit@debbugs.gnu.org; Tue, 22 Jul 2025 15:53:02 -0400 Received: from fhigh-a4-smtp.messagingengine.com ([103.168.172.155]:51969) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ueFlZ-0000QP-4i for 79059@debbugs.gnu.org; Tue, 22 Jul 2025 12:22:58 -0400 Received: from phl-compute-06.internal (phl-compute-06.phl.internal [10.202.2.46]) by mailfhigh.phl.internal (Postfix) with ESMTP id BF5FC14001EF; Tue, 22 Jul 2025 12:22:50 -0400 (EDT) Received: from phl-imap-02 ([10.202.2.81]) by phl-compute-06.internal (MEProxy); Tue, 22 Jul 2025 12:22:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vlaci.email; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1753201370; x=1753287770; bh=wZLj8uWkQnYHhKHReC85Ue3M3RO2WLDdXKCOdlBWL+c=; b= M9xsQlD9BF14WV/OrheMGhki7ujGqO6PZO0Ntft1kQMgaMsHph+u0sD9QLqmqkp4 fNX1aFpGJ3uyF5sTJbXma4ADQciwbUjyq9yWgLYzm4PdfMY04TuHBe1OUKTRbBwK Vmz062YA64OytVdmOZavxN+6ZQAtolIED33Ba5rCXkVkf3xfj4FrafDdoQppCKnz uF/zVpS9Wg8ZmJfjfA3H1055n/O/3mxnlLbqhEce51SLoYrLoJlQ4UHM8D2qip71 79+9f/MosV2HGgC+OI1KdvtlGx3PlTVUJDZn2IHF29n0pk0Z/Euy8zc7SlgxAlHa HZxkU5t2AeT84R5GkL2bOg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1753201370; x=1753287770; bh=w ZLj8uWkQnYHhKHReC85Ue3M3RO2WLDdXKCOdlBWL+c=; b=i5A7m66HIyJQdzZRW ZDhvSzhpOP9LG7qG+or93DFv46FlpdHjs6mRDOFDY44pEax3u8I5p3bKLSAEv1zF FeSsuuU5zkTUtoG0aUKGciRAlhxxkmoGVWwjYxZYUHUvJwNc8ELDteM4ldY9Grqf SduLM1TpMTXtqdAz+Kx+sAFUn5hJxm6S9MmnuSRghTMeRST5dnkWwh5sNwv3haGH DIAZuSTvtLbHf9QAcQyq0WbxzaaO7lkvn2UwGw+6/VURvVqGI8f1zZ5rS0iYOxKu Y4HGRzRG9slh1f5yK768wPUVPRbqpvxwwbhV2iFE2kytdEgoKZrOcve8jNINB2/o kR5Og== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdejheefjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhepofggfffhvffkjghfufgtgfesthhqredtre dtjeenucfhrhhomhepnfojshiilhpkucggrghskhpkuceohhgvlhhlohesvhhlrggtihdr vghmrghilheqnecuggftrfgrthhtvghrnhephfevueeiteefjeegtdehhffhleeftedtje dvhfeuudefieejueejvedtueduheeinecuffhomhgrihhnpehgihhthhhusgdrtghomhen ucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehhvghllh hosehvlhgrtghirdgvmhgrihhlpdhnsggprhgtphhtthhopedvpdhmohguvgepshhmthhp ohhuthdprhgtphhtthhopeejledtheelseguvggssghughhsrdhgnhhurdhorhhgpdhrtg hpthhtohepjhhpohhrthgvrhgsuhhgshesghhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: i7e51475a:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id 361E370006B; Tue, 22 Jul 2025 12:22:50 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 X-ThreadId: T856d89024711b5ca Date: Tue, 22 Jul 2025 18:22:29 +0200 From: =?UTF-8?Q?L=C3=A1szl=C3=B3_Vask=C3=B3?= To: "Jim Porter" , 79059@debbugs.gnu.org Message-Id: In-Reply-To: References: <2c0b77a4-46d2-4019-812d-01c682c59a6e@app.fastmail.com> Subject: Re: bug#79059: 31.0.50; eshell-emit-prompt errors when front-sticky or rear-nonsticky properties are set to t Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 79059 X-Mailman-Approved-At: Tue, 22 Jul 2025 15:52:59 -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: -1.7 (-) I've spiced up the prompt using nerd-icons, which set the rear-nonsticky= property: > (propertize icon > 'face face > 'font-lock-face face > 'display `(raise ,v-adjust) > 'rear-nonsticky t)))) https://github.com/rainstormstudio/nerd-icons.el/blob/main/nerd-icons.el= #L1368-L1372 On Tue, Jul 22, 2025, at 18:14, Jim Porter wrote: > On 7/20/2025 3:00 AM, L=C3=A1szl=C3=B3 Vask=C3=B3 wrote: >> Hello, >>=20 >> Since df288d2e414 (bug#74230) eshell is more careful adding text >> properties to prompts using `eshell--append-text-property'. It's >> implementation assumes that `get-text-property' will always return a >> list. This is not true, as both `front-sticky' and `rear-nonsticky' >> properties can be set to t. >>=20 >> Repro: >>=20 >> -- 8< -- >> cat < /tmp/init-eshell-propertized-prompt.el >> ;; -*- lexical-binding: t; -*- >> (setq eshell-prompt-function >> (defun propertizing-prompt () >> (setq eshell-prompt-string (propertize "test" 'rear-nonstick= y t)))) >> (eshell) >> EOF >> emacs -Q --batch --load /tmp/init-eshell-propertized-prompt.el >> -- 8< -- > > When does this come up in practice? I think this could only happen if=20 > some code specifically customizes 'eshell-prompt-function' to set the=20 > stickiness properties this way. Is doing that necessary for something=20 > else that I'm missing? From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 23 01:28:08 2025 Received: (at 79059-done) by debbugs.gnu.org; 23 Jul 2025 05:28:09 +0000 Received: from localhost ([127.0.0.1]:47381 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ueS1Q-0002Kz-IJ for submit@debbugs.gnu.org; Wed, 23 Jul 2025 01:28:08 -0400 Received: from mail-pl1-x634.google.com ([2607:f8b0:4864:20::634]:56440) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1ueS1N-0002KS-7v for 79059-done@debbugs.gnu.org; Wed, 23 Jul 2025 01:28:05 -0400 Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-236470b2dceso51336635ad.0 for <79059-done@debbugs.gnu.org>; Tue, 22 Jul 2025 22:28:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1753248479; x=1753853279; darn=debbugs.gnu.org; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=XZcCIXWwFi69OtgnhAPr6EVfQmrPVbAYR6PVHJkV4xw=; b=mD3lx9DnWU1u8JlnKcu3UAIkdHvvBT9h+KIRE2q/t4BaVDuVC5ysGHKwNf6TQMYo+V tIgPHFaD/SeV6KIu4wYDQFZRq7ThDlFBqSlI7mdueklFHvuNQE/3v+wFcJ5K3O45v7qY M7fTlirbWLQ9DWkTMGKuWo4Dr0hdCcz+uAr3Bg9z5cwilZxgR9FdwzKSLCSHfqW+qD/t F4PijVtv6OqsguxCnvv1ZpRfVz6P7QNIDL/jwH4gVceVYUOmh2va5j/AjnwNkf7SpL4b cFB66YWEB0nOqIJqpu9PB7CeahhlMDAax5J1K+fF623v+4okkI1jGpVdi66zts1vK5tW l/Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753248479; x=1753853279; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=XZcCIXWwFi69OtgnhAPr6EVfQmrPVbAYR6PVHJkV4xw=; b=WAhw0skFXhDoOlYj6AGsNCU9KQd26rc0QA1a1/9jzAzE53vniwow/FWoGHFvfX03f6 fbVe0l3UE/5rKjMFGOXSYUpPFY1HFYpiI+HGNqjLjPJ+miEwaJcxmYlinx77k0CtIxT7 2tZHTSSzOTlWgR9s+UeJ5N/vTRSuWH7B4h1zyISuzu/E+lzuVWBmYF2Hzy4loitMYEG8 X1kjqSR+eKGNjJZYqI2dvXkKMvWpzXdgLPA4ictVhT7K+9TZfEnV4TjbZFmsmijLefde A+TezmUhkydb85MmjZaaRM55/7NFNlAbQciEGwS3O8bSMHYhdMlBi23JDS6Qnye9rpE0 OE6w== X-Forwarded-Encrypted: i=1; AJvYcCUkbQvC7t06VTEKGJmHaIKGPyX+LKXQoHyg4FDAqVa8t2/z8mTNSyPuwgDNuMW2CvuKr5URss57jLfG@debbugs.gnu.org X-Gm-Message-State: AOJu0YyHCU4w0b9xC79bbhEO5ImxaDMKSmLqnqXeXMH6B5zvPb5xYzPz vFiQ2r4/caPZ3gTJORGtAsWY458NMRUF+Dux9chbDYRGLCdctHx+Y/YdC/VEpg== X-Gm-Gg: ASbGncu5u5De6+1cS5KQsTWDHD0mlUQOCesxYKr7xabJHJFa8iS9vd2K02ym/HQjCbR tTuxdNd9xOJpgDP5c5Xn3XLws1YD51enV0gBMWhePmsNoSGHmj+Ql8w33eCqC876dxaxOR1sUe8 PN9RiF++Pkh+0agLeTVKz0swm9Th3GvZYDoBXIbzVhkQ4Mh3pY0+6Q9NmsXyHhFP0vjN28l6ZdU /HmvGAVWGVH3OCSxDegOiF/Sxp+a3nUvn1zM+7nZWlu4YnV+o9JOc0C7biSx4qSdScRja3C8LnJ FjpvBgExsr+M3aX+sX2oUKDnkQoHMmpploMjmx9RfS2f0sQWR74lWxUpn5Xyxg6rIngNWCLKhlw rkb8MH/xBuitEVdbiMRhntPd56tveTIQIDN4mmUG9x52Hj5I+pEjWBRsuVSDCodb3xgloyrbJ4Z MQStA8Zc6mOLzU X-Google-Smtp-Source: AGHT+IEOTQnwssSedn0Y3GQaUfW/hQc0k4nG+xXsa4WiPGhtN1WV2Z3hFVn9hfcU2PUswJk/hTmhdg== X-Received: by 2002:a17:903:18a:b0:235:efbb:9539 with SMTP id d9443c01a7336-23f9814e312mr25215395ad.17.1753248478695; Tue, 22 Jul 2025 22:27:58 -0700 (PDT) Received: from [192.168.1.2] (syn-076-168-144-128.res.spectrum.com. [76.168.144.128]) by smtp.googlemail.com with ESMTPSA id d9443c01a7336-23e3b611f85sm88264255ad.64.2025.07.22.22.27.58 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 22 Jul 2025 22:27:58 -0700 (PDT) Message-ID: <99f94dca-9bf8-22e8-5a13-3400995a60fa@gmail.com> Date: Tue, 22 Jul 2025 22:27:58 -0700 MIME-Version: 1.0 Subject: Re: bug#79059: 31.0.50; eshell-emit-prompt errors when front-sticky or rear-nonsticky properties are set to t Content-Language: en-US To: =?UTF-8?B?TMOhc3psw7MgVmFza8Oz?= , 79059-done@debbugs.gnu.org References: <2c0b77a4-46d2-4019-812d-01c682c59a6e@app.fastmail.com> From: Jim Porter In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 79059-done 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 (-) On 7/22/2025 9:22 AM, László Vaskó wrote: > I've spiced up the prompt using nerd-icons, which set the rear-nonsticky property: > >> (propertize icon >> 'face face >> 'font-lock-face face >> 'display `(raise ,v-adjust) >> 'rear-nonsticky t)))) > https://github.com/rainstormstudio/nerd-icons.el/blob/main/nerd-icons.el#L1368-L1372 Thanks for the context. Merged a fix for this as 0d752f15b86, so closing this bug now (though if you still have any issues, let me know and I'll try to address them). From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 24 02:12:38 2025 Received: (at 79059-done) by debbugs.gnu.org; 24 Jul 2025 06:12:38 +0000 Received: from localhost ([127.0.0.1]:54123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uepC0-0002Tj-KY for submit@debbugs.gnu.org; Thu, 24 Jul 2025 02:12:38 -0400 Received: from fout-b5-smtp.messagingengine.com ([202.12.124.148]:40437) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ueZPE-0006ox-TT for 79059-done@debbugs.gnu.org; Wed, 23 Jul 2025 09:21:15 -0400 Received: from phl-compute-06.internal (phl-compute-06.phl.internal [10.202.2.46]) by mailfout.stl.internal (Postfix) with ESMTP id 7D00F1D005EA; Wed, 23 Jul 2025 09:21:06 -0400 (EDT) Received: from phl-imap-02 ([10.202.2.81]) by phl-compute-06.internal (MEProxy); Wed, 23 Jul 2025 09:21:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vlaci.email; h= cc:content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:subject :subject:to:to; s=fm1; t=1753276866; x=1753363266; bh=0YQZGQ2/Hf /LaQKJ2zOVKX/e6N7SOdJvama8YQCn0dE=; b=SU636Ok+dsa3v5+vN10qVUAA+8 mlgO5f6Ooqbmf82vp4nk6KHdKU1aGYtSlN+q7w4VmhO1Xi35zXHDM1CbP0sCIe4X PqH6s2eYSYYqrRizs3QalVecrLdg+1EChlKPuLkdHtr0j8xo+0ufxWFy9fdobkRI emdvUuLwf1GNUkB6Jmp35Et4pF9n4KWsSzqoIzl0kVXcDo5B8f0SbCUfUGFlyfYC QVPU+0bNqd8VSqUJMV6jhF8tRWm6PNc3R+o25XPkt6jXSZtEc+tYP+Jm2eBEiQDN xIvbMndiTWKroZ5UX5hBDnaN9vvbWndMBG64eE40KkYftRZOvo0dElbNxr3Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t= 1753276866; x=1753363266; bh=0YQZGQ2/Hf/LaQKJ2zOVKX/e6N7SOdJvama 8YQCn0dE=; b=gZ7Tm+6GRqBGCZ4UlhVXTzvVd/LDijv1yxBQUCUqDYuWhfl5WaZ QQuWRjRUfitz403nZAqaFk1hJHYWNzLhbCPaGW2LeOoxj93idclnD6hQdfJyamxt /c0So0hl1t0gyh/uHpJnqQN0FcFQlVTWtxBZi+G1TPhPGYJ8fKIP5az+r2B6N0Pw XlUMHJ5MpDV2raKFnrkqK6TtJRJE7+161SAJO6Djoi+A71fnDoW2tAQnHBJhJAVU pi7jND1Na6Nm3Q5R3rHPQJSgnexyyelfUfOYKYE2Ao6VZ7yAyzcY2zz/hForRHQJ n7M2KClpaliW2m3/NVgE6w6yPoAAQkAll+A== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeffedrtdefgdejjeeklecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecunecujfgurhepofggfffhvffkjghfufgtsegrtderreertd ejnecuhfhrohhmpefnjohsiihlkpcugggrshhkkpcuoehhvghllhhosehvlhgrtghirdgv mhgrihhlqeenucggtffrrghtthgvrhhnpeetieefleetgfffhfdtlefhleegvdeiveeiie evffekledvvdffteefkeegvdevleenucffohhmrghinhepghhithhhuhgsrdgtohhmnecu vehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhephhgvlhhloh esvhhlrggtihdrvghmrghilhdpnhgspghrtghpthhtohepvddpmhhouggvpehsmhhtphho uhhtpdhrtghpthhtohepjeeltdehledqughonhgvseguvggssghughhsrdhgnhhurdhorh hgpdhrtghpthhtohepjhhpohhrthgvrhgsuhhgshesghhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: i7e51475a:Fastmail Received: by mailuser.phl.internal (Postfix, from userid 501) id E085A700068; Wed, 23 Jul 2025 09:21:05 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface MIME-Version: 1.0 X-ThreadId: T856d89024711b5ca Date: Wed, 23 Jul 2025 15:20:44 +0200 From: =?UTF-8?Q?L=C3=A1szl=C3=B3_Vask=C3=B3?= To: "Jim Porter" , 79059-done@debbugs.gnu.org Message-Id: <2d344387-b945-4ad9-b85b-6565cc57e8d6@app.fastmail.com> In-Reply-To: <99f94dca-9bf8-22e8-5a13-3400995a60fa@gmail.com> References: <2c0b77a4-46d2-4019-812d-01c682c59a6e@app.fastmail.com> <99f94dca-9bf8-22e8-5a13-3400995a60fa@gmail.com> Subject: Re: bug#79059: 31.0.50; eshell-emit-prompt errors when front-sticky or rear-nonsticky properties are set to t Content-Type: multipart/alternative; boundary=56632b756c6349908fce0873f18d6b11 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 79059-done X-Mailman-Approved-At: Thu, 24 Jul 2025 02:12:35 -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: -1.7 (-) --56632b756c6349908fce0873f18d6b11 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I can confirm that the fix works. Thank you very much! On Wed, Jul 23, 2025, at 07:27, Jim Porter wrote: > On 7/22/2025 9:22 AM, L=C3=A1szl=C3=B3 Vask=C3=B3 wrote: > > I've spiced up the prompt using nerd-icons, which set the rear-nonst= icky property: > >=20 > >> (propertize icon > >> 'face face > >> 'font-lock-face face > >> 'display `(raise ,v-adjust) > >> 'rear-nonsticky t)))) > > https://github.com/rainstormstudio/nerd-icons.el/blob/main/nerd-icon= s.el#L1368-L1372 > Thanks for the context. Merged a fix for this as 0d752f15b86, so closi= ng=20 > this bug now (though if you still have any issues, let me know and I'l= l=20 > try to address them). >=20 --56632b756c6349908fce0873f18d6b11 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
I can confir= m that the fix works.
Thank you very much!

On Wed, Jul 23, 2025, at 07:27, Jim Porter wrote:
On 7/22/2025 9:22 AM, L=C3=A1sz= l=C3=B3 Vask=C3=B3 wrote:
> I've spiced up the prompt using= nerd-icons, which set the rear-nonsticky property:
> =
>>         = ;    (propertize icon
>>   = ;            = ;          'face face
=
>>          = ;            = ;   'font-lock-face face
>>   &= nbsp;           &= nbsp;         'display `(raise ,= v-adjust)
>>       &n= bsp;           &n= bsp;     'rear-nonsticky t))))
> <= a href=3D"https://github.com/rainstormstudio/nerd-icons.el/blob/main/ner= d-icons.el#L1368-L1372">https://github.com/rainstormstudio/nerd-icons.el= /blob/main/nerd-icons.el#L1368-L1372
Thanks for the contex= t. Merged a fix for this as 0d752f15b86, so closing 
this= bug now (though if you still have any issues, let me know and I'll = ;
try to address them).

=
--56632b756c6349908fce0873f18d6b11--