GNU bug report logs - #70387
30.0.50; 'Warning Couldn't find space' when expanding Yasnippet snippet within an org-mode source block.

Previous Next

Package: emacs;

Reported by: Deric Bytes <dericbytes <at> gmail.com>

Date: Sun, 14 Apr 2024 19:48:03 UTC

Severity: normal

Found in version 30.0.50

To reply to this bug, email your comments to 70387 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#70387; Package emacs. (Sun, 14 Apr 2024 19:48:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Deric Bytes <dericbytes <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 14 Apr 2024 19:48:05 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Deric Bytes <dericbytes <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.50; 'Warning Couldn't find space' when expanding Yasnippet
 snippet within an org-mode source block.
Date: Sun, 14 Apr 2024 20:46:53 +0100
[Message part 1 (text/plain, inline)]
Start with a clean Emacs.

#+begin_src shell :results silent
  rm -rf ~/tmp/yas-test
  mkdir !$
  emacs --quick --init-directory=!$ !$/test.org
#+end_src

Add Yasnippet.

#+begin_src emacs-lisp :results silent
  (use-package yasnippet
           :ensure t)
#+end_src

Use this yasnippet snippet.

#+name: snippet1
#+begin_example quote
# key: di
# name: di
# --
($1)
"$0"
#+end_example

Save snippet in an emacs-lisp-mode group

#+begin_src emacs-lisp :var snippet=snippet1 :results silent
  (make-directory "~/tmp/yas-test/snippets/emacs-lisp-mode" t)
  (find-file "~/tmp/yas-test/snippets/emacs-lisp-mode/di")
  (insert snippet)
  (save-buffer)
  (kill-buffer)
#+end_src

Get emacs-lisp snippets to work in org-mode by adding .yas-parents

#+begin_src emacs-lisp :results silent
(let ((dir "~/tmp/yas-test/snippets/org-mode")
       (file ".yas-parents"))
    (make-directory dir)
    (find-file (expand-file-name file dir))
    (insert "emacs-lisp-mode")
    (save-buffer)
    (kill-buffer (current-buffer)))
#+end_src

In a file with `org-mode' active.
add the following source block
note there is an indent of a space before the #'s

 #+name: test
 #+begin_src emacs-lisp
 2
 di
 #+end_src

GOTCHA:
I used this file to run the tests
I did an indent-buffer and lost the extra
space before the test source block.
The expansion works when no indent.

Activate Yasnippet in the test org buffer.

#+begin_src emacs-lisp :results silent
  (yas-minor-mode 1)
#+end_src

 Tell yasnippet about the new emacs-lisp-mode snippet and
 org-mode .yas-parents.

#+begin_src emacs-lisp :results silent
   (yas-reload-all)
#+end_src

place cursor after *di* in source block above and press TAB

#+begin_src text :results code
  ⛔ Warning (yasnippet): Couldn’t find: "[[:space:]
  ]*\"[[:space:]
  ]*\\(\\)[[:space:]
  ]*\""
#+end_src


NOTE:

A collection of things had to be in place to generate this.

Works when:

org source block has no indent i.e. remove space before ' #+'
the source block has no property i.e #+name
the expansion trigger is the only thing in the source block
the expansion trigger is after contents but still on the first line
there is only one snippet variable
all the snippet variables are on same line
the quotes around $0 are removed
the parenthesis around $1 are removed

It does not work when content is above the yas trigger.
i.e. 2 is above the 'di' yas trigger key








In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo
 version 1.18.0, Xaw3d scroll bars) of 2024-04-14 built on
 no-control-x1c
Repository revision: 3d3602055264ca3095b7f28ca7e27a6f2782649a
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101007
System Description: Ubuntu 23.10

Configured using:
 'configure --with-mailutils --with-modules --with-imagemagick --prefix
 /home/no-control/installs --bindir=/home/no-control/bin
 --with-native-compilation --with-tree-sitter --with-x-toolkit=lucid'

Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ IMAGEMAGICK
JPEG LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES
NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3
THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP X11 XAW3D XDBE XIM
XINPUT2 XPM LUCID ZLIB

Important settings:
  value of $LANG: en_GB.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: Org

Minor modes in effect:
  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 two-column kmacro help-fns ox-odt
rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse
nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar org-agenda
ox-html table ox-ascii ox-publish ox ert-x ert ewoc warnings edebug
debug backtrace color yasnippet pcase yasnippet-autoloads easy-mmode
loaddefs-gen lisp-mnt radix-tree tar-mode arc-mode archive-mode cus-edit
pp cus-start cus-load mm-archive network-stream url-cache url-http
url-auth url-gw nsm finder-inf package url-handlers use-package-ensure
use-package-core sh-script smie treesit executable org-element
org-persist org-id org-refile avl-tree generator oc-basic cl-extra
help-mode ol-eww eww xdg url-queue thingatpt mm-url ol-rmail ol-mhe
ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015 mm-view mml-smime
smime gnutls dig gnus-sum shr pixel-fill kinsoku url-file svg dom
gnus-group gnus-undo gnus-start gnus-dbus dbus compile comp-run
comp-common xml gnus-cloud nnimap nnmail 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 json map byte-opt gv bytecomp byte-compile
url-vars mail-source utf7 nnoo parse-time gnus-spec gnus-int gnus-range
message sendmail mailcap yank-media puny rfc822 mml mml-sec
password-cache epa derived epg rfc6068 epg-config mm-decode mm-bodies
mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev
gmm-utils mailheader gnus-win gnus nnheader gnus-util
text-property-search mail-utils range mm-util mail-prsvr wid-edit
ol-docview doc-view filenotify jka-compr image-mode exif dired
dired-loaddefs ol-bibtex bibtex iso8601 ol-bbdb ol-w3m ol-doi
org-link-doi org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro
org-src ob-comint org-pcomplete pcomplete comint ansi-osc ansi-color
ring org-list org-footnote org-faces org-entities time-date subr-x
noutline outline icons org-version ob-emacs-lisp ob-core ob-eval
org-cycle org-table ol rx org-fold org-fold-core org-keys oc
org-loaddefs find-func cal-menu calendar cal-loaddefs org-compat
org-macs format-spec cl-loaddefs cl-lib rmc iso-transl tooltip cconv
eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type
elisp-mode mwheel term/x-win x-win term/common-win x-dnd touch-screen
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 lcms2 dynamic-setting system-font-setting font-render-setting
cairo x-toolkit xinput2 x multi-tty move-toolbar make-network-process
native-compile emacs)

Memory information:
((conses 16 591095 113255) (symbols 48 30094 4)
 (strings 32 173018 6038) (string-bytes 1 5053704) (vectors 16 91376)
 (vector-slots 8 1601641 57977) (floats 8 878 363)
 (intervals 56 3503 146) (buffers 992 21))
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#70387; Package emacs. (Fri, 21 Feb 2025 04:48:16 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: no-control to-edit <nocontroltoedit <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: bug#70387 - 31.0.50; Warning (yasnippet): Couldn't find [[:space:]]
Date: Fri, 21 Feb 2025 04:03:16 +0000
[Message part 1 (text/plain, inline)]
There has been no response to the bug bug#70387 or the issue reported on
the yasnippet github page on April 12, 2024.

I have created an Ert test for it.

yas-expand in yasnippet-0.14.1.0.20250112.175154 throws warning

p.s. is there a more idiomatic way of checking for warnings in Ert

"⛔ Warning (yasnippet): Couldn’t find:
\"[[:space:]\n]*\\\"[[:space:]\n]*\\\\(\\\\)[[:space:]\n]*\\\"\"\n"


;; rm -rf ~/tmp/yas-test
;; mkdir !$
;; emacs --quick --init-directory=!$ this-file

(require 'package)
(add-to-list 'package-archives '("gnu-devel" . "https://elpa.gnu.org/devel/")
t)
(package-initialize)
(package-refresh-contents)

(package-install 'yasnippet)
(use-package yasnippet)

(defun warning-buffer-contents-no-properties ()
  "Return contents of *Warnings* buffer, without properties"
  (when-let* ((buf (get-buffer "*Warnings*")))
    (with-current-buffer buf
      (buffer-substring-no-properties (point-min) (point-max)))))

(defun my-create-yasnippet-snippets ()
  "Create a snippet called `could-not-find-space'.
      Add it to the group `emacs-lisp-mode'
      Allow `org-mode' to inherit `emacs-lisp-mode' snippets"
  (let* ((snippet-key "could-not-find-space")
    (snippet-content (concat
      " ($1)\n"
      "  \"$0\""))
    (snippet-def (list
          snippet-key
          snippet-content
          nil
          nil
          nil
          nil
          nil))
    (snippet-defs (list snippet-def))
    (mode 'emacs-lisp-mode))

    (yas-define-snippets mode
    snippet-defs)
    (yas--define-parents 'org-mode
    '(emacs-lisp-mode))))

(ert-deftest could-not-find-space ()
  "yas-expand should not throw the warning - Couldn't find [[:space:]]"
  (my-create-yasnippet-snippets)

  (ignore-error
      (kill-buffer "*Warnings"))

  (let ((org-mode-buffer-contents
    (concat
     "#+name: test \n"
     "#+begin_src emacs-lisp\n"
     "     2\n"
     "   could-not-find-space| \n"
     "#+end_src")))


    (with-temp-buffer
      (org-mode)
      (setq org-edit-src-content-indentation 1)
      (yas-minor-mode 1)
      (insert org-mode-buffer-contents)
      (goto-char (point-min))
      (search-forward "|")
      (delete-char -1)
      (call-interactively 'yas-expand)
      (buffer-substring-no-properties (point-min) (point-max))))

  (should (equal (warning-buffer-contents-no-properties)
    nil)))


(ert t)







In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
 3.24.38, cairo version 1.16.0) of 2025-02-21 built on slug
Repository revision: 4411d0de1d5cbf308440982084ad7e15a18efaf2
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101007
System Description: LMDE 6 (faye)

Configured using:
 'configure --with-mailutils --with-modules --with-imagemagick
 --prefix=/home/no-control/local/installs
 --bindir=/home/no-control/local/bin --with-native-compilation
 --with-tree-sitter'

Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ IMAGEMAGICK
JPEG LCMS2 LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER
PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS
TREE_SITTER WEBP X11 XDBE XIM XINERAMA XINPUT2 XPM XRANDR GTK3 ZLIB

Important settings:
  value of $LANG: en_GB.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix

Major mode: ERT-Results

Minor modes in effect:
  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
  buffer-read-only: 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 oc-basic ol-eww eww vtable mule-util
url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect
gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum shr
pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start
gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 nnoo
parse-time gnus-spec gnus-int gnus-range gnus-win gnus nnheader range
ol-docview doc-view filenotify jka-compr image-mode exif ol-bibtex
bibtex iso8601 ol-bbdb ol-w3m ol-doi org-link-doi use-package-core
ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn
nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar
org-agenda ox-html table ox-ascii ox-publish ox org-attach org-element
org-persist org-id org-refile org-element-ast inline avl-tree generator
org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src
sh-script smie treesit executable ob-comint org-pcomplete pcomplete
org-list org-footnote org-faces org-entities noutline outline
org-version ob-emacs-lisp ob-core ob-eval org-cycle org-table ol
org-fold org-fold-core org-keys oc org-loaddefs thingatpt cal-menu
calendar cal-loaddefs org-compat org-macs format-spec ert-x ert ewoc
warnings edebug debug backtrace find-func color yasnippet pcase cl-extra
help-mode yasnippet-autoloads easy-mmode loaddefs-gen lisp-mnt
radix-tree tar-mode arc-mode archive-mode cus-edit pp cus-start cus-load
wid-edit mm-archive message sendmail yank-media dired dired-loaddefs
rfc822 mml mml-sec epa derived gnus-util time-date mailabbrev gmm-utils
mailheader mm-decode mm-bodies mm-encode mail-utils gnutls
network-stream url-cache url-http url-auth mail-parse rfc2231 rfc2047
rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm puny compile
text-property-search comint ansi-osc ansi-color ring comp-run
comp-common rx epg rfc6068 epg-config finder-inf package browse-url xdg
url url-proxy url-privacy url-expand url-methods url-history url-cookie
generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse
auth-source cl-seq eieio eieio-core cl-macs icons password-cache json
subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib
rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win
term/common-win x-dnd touch-screen 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 oclodb
files window text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget keymap hashtable-print-readable backquote
threads dbusbind inotify lcms2 dynamic-setting system-font-setting
font-render-setting cairo gtk x-toolkit xinput2 x multi-tty move-toolbar
make-network-process tty-child-frames native-compile emacs)

Memory information:
((conses 16 411783 32541) (symbols 48 30614 0)
 (strings 32 124515 6677) (string-bytes 1 3456886) (vectors 16 61641)
 (vector-slots 8 591036 21567) (floats 8 455 85) (intervals 56 787 0)
 (buffers 992 15))
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#70387; Package emacs. (Fri, 21 Feb 2025 05:53:02 GMT) Full text and rfc822 format available.

Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):

From: no-control to-edit <nocontroltoedit <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#70387 - 31.0.50;
 Warning (yasnippet): Couldn't find [[:space:]]
Date: Fri, 21 Feb 2025 05:52:04 +0000
[Message part 1 (text/plain, inline)]
The problem might be the function `yas--goto-saved-location'

Why does it use lwarn intead of warn?, it has the disadvantage of that I
could not use

(setq debug-on-message "yasnippet")

to turn the warning into an error and see what was creating the warning
message.

On Fri, Feb 21, 2025 at 4:03 AM no-control to-edit <
nocontroltoedit <at> gmail.com> wrote:

> There has been no response to the bug bug#70387 or the issue reported on
> the yasnippet github page on April 12, 2024.
>
> I have created an Ert test for it.
>
> yas-expand in yasnippet-0.14.1.0.20250112.175154 throws warning
>
> p.s. is there a more idiomatic way of checking for warnings in Ert
>
> "⛔ Warning (yasnippet): Couldn’t find:
> \"[[:space:]\n]*\\\"[[:space:]\n]*\\\\(\\\\)[[:space:]\n]*\\\"\"\n"
>
>
> ;; rm -rf ~/tmp/yas-test
> ;; mkdir !$
> ;; emacs --quick --init-directory=!$ this-file
>
> (require 'package)
> (add-to-list 'package-archives '("gnu-devel" . "
> https://elpa.gnu.org/devel/") t)
> (package-initialize)
> (package-refresh-contents)
>
> (package-install 'yasnippet)
> (use-package yasnippet)
>
> (defun warning-buffer-contents-no-properties ()
>   "Return contents of *Warnings* buffer, without properties"
>   (when-let* ((buf (get-buffer "*Warnings*")))
>     (with-current-buffer buf
>       (buffer-substring-no-properties (point-min) (point-max)))))
>
> (defun my-create-yasnippet-snippets ()
>   "Create a snippet called `could-not-find-space'.
>       Add it to the group `emacs-lisp-mode'
>       Allow `org-mode' to inherit `emacs-lisp-mode' snippets"
>   (let* ((snippet-key "could-not-find-space")
>     (snippet-content (concat
>       " ($1)\n"
>       "  \"$0\""))
>     (snippet-def (list
>           snippet-key
>           snippet-content
>           nil
>           nil
>           nil
>           nil
>           nil))
>     (snippet-defs (list snippet-def))
>     (mode 'emacs-lisp-mode))
>
>     (yas-define-snippets mode
>     snippet-defs)
>     (yas--define-parents 'org-mode
>     '(emacs-lisp-mode))))
>
> (ert-deftest could-not-find-space ()
>   "yas-expand should not throw the warning - Couldn't find [[:space:]]"
>   (my-create-yasnippet-snippets)
>
>   (ignore-error
>       (kill-buffer "*Warnings"))
>
>   (let ((org-mode-buffer-contents
>     (concat
>      "#+name: test \n"
>      "#+begin_src emacs-lisp\n"
>      "     2\n"
>      "   could-not-find-space| \n"
>      "#+end_src")))
>
>
>     (with-temp-buffer
>       (org-mode)
>       (setq org-edit-src-content-indentation 1)
>       (yas-minor-mode 1)
>       (insert org-mode-buffer-contents)
>       (goto-char (point-min))
>       (search-forward "|")
>       (delete-char -1)
>       (call-interactively 'yas-expand)
>       (buffer-substring-no-properties (point-min) (point-max))))
>
>   (should (equal (warning-buffer-contents-no-properties)
>     nil)))
>
>
> (ert t)
>
>
>
>
>
>
>
> In GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
>  3.24.38, cairo version 1.16.0) of 2025-02-21 built on slug
> Repository revision: 4411d0de1d5cbf308440982084ad7e15a18efaf2
> Repository branch: master
> Windowing system distributor 'The X.Org Foundation', version 11.0.12101007
> System Description: LMDE 6 (faye)
>
> Configured using:
>  'configure --with-mailutils --with-modules --with-imagemagick
>  --prefix=/home/no-control/local/installs
>  --bindir=/home/no-control/local/bin --with-native-compilation
>  --with-tree-sitter'
>
> Configured features:
> CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ IMAGEMAGICK
> JPEG LCMS2 LIBSELINUX LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER
> PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS
> TREE_SITTER WEBP X11 XDBE XIM XINERAMA XINPUT2 XPM XRANDR GTK3 ZLIB
>
> Important settings:
>   value of $LANG: en_GB.UTF-8
>   value of $XMODIFIERS: @im=ibus
>   locale-coding-system: utf-8-unix
>
> Major mode: ERT-Results
>
> Minor modes in effect:
>   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
>   buffer-read-only: 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 oc-basic ol-eww eww vtable mule-util
> url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect
> gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum shr
> pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start
> gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 nnoo
> parse-time gnus-spec gnus-int gnus-range gnus-win gnus nnheader range
> ol-docview doc-view filenotify jka-compr image-mode exif ol-bibtex
> bibtex iso8601 ol-bbdb ol-w3m ol-doi org-link-doi use-package-core
> ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn
> nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar
> org-agenda ox-html table ox-ascii ox-publish ox org-attach org-element
> org-persist org-id org-refile org-element-ast inline avl-tree generator
> org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src
> sh-script smie treesit executable ob-comint org-pcomplete pcomplete
> org-list org-footnote org-faces org-entities noutline outline
> org-version ob-emacs-lisp ob-core ob-eval org-cycle org-table ol
> org-fold org-fold-core org-keys oc org-loaddefs thingatpt cal-menu
> calendar cal-loaddefs org-compat org-macs format-spec ert-x ert ewoc
> warnings edebug debug backtrace find-func color yasnippet pcase cl-extra
> help-mode yasnippet-autoloads easy-mmode loaddefs-gen lisp-mnt
> radix-tree tar-mode arc-mode archive-mode cus-edit pp cus-start cus-load
> wid-edit mm-archive message sendmail yank-media dired dired-loaddefs
> rfc822 mml mml-sec epa derived gnus-util time-date mailabbrev gmm-utils
> mailheader mm-decode mm-bodies mm-encode mail-utils gnutls
> network-stream url-cache url-http url-auth mail-parse rfc2231 rfc2047
> rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm puny compile
> text-property-search comint ansi-osc ansi-color ring comp-run
> comp-common rx epg rfc6068 epg-config finder-inf package browse-url xdg
> url url-proxy url-privacy url-expand url-methods url-history url-cookie
> generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse
> auth-source cl-seq eieio eieio-core cl-macs icons password-cache json
> subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib
> rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook
> vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win
> term/common-win x-dnd touch-screen 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 oclodb
> files window text-properties overlay sha1 md5 base64 format env
> code-pages mule custom widget keymap hashtable-print-readable backquote
> threads dbusbind inotify lcms2 dynamic-setting system-font-setting
> font-render-setting cairo gtk x-toolkit xinput2 x multi-tty move-toolbar
> make-network-process tty-child-frames native-compile emacs)
>
> Memory information:
> ((conses 16 411783 32541) (symbols 48 30614 0)
>  (strings 32 124515 6677) (string-bytes 1 3456886) (vectors 16 61641)
>  (vector-slots 8 591036 21567) (floats 8 455 85) (intervals 56 787 0)
>  (buffers 992 15))
>
>
>
>
>
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#70387; Package emacs. (Fri, 21 Feb 2025 07:51:02 GMT) Full text and rfc822 format available.

Message #14 received at 70387 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: no-control to-edit <nocontroltoedit <at> gmail.com>
Cc: 70387 <at> debbugs.gnu.org
Subject: Re: bug#70387: - 31.0.50;
 Warning (yasnippet): Couldn't find [[:space:]]
Date: Fri, 21 Feb 2025 09:50:41 +0200
> From: no-control to-edit <nocontroltoedit <at> gmail.com>
> Date: Fri, 21 Feb 2025 04:03:16 +0000
> 
> There has been no response to the bug bug#70387 or the issue reported on the yasnippet github page on
> April 12, 2024.

I guess the yasnippet developers are less active than we'd like them
to be, or missed that report?

Can someone who uses yasnippet please take a look and see what happens
here?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#70387; Package emacs. (Fri, 21 Feb 2025 17:55:02 GMT) Full text and rfc822 format available.

Message #17 received at 70387 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>,
 no-control to-edit <nocontroltoedit <at> gmail.com>
Cc: 70387 <at> debbugs.gnu.org, Noam Postavsky <npostavs <at> gmail.com>
Subject: Re: bug#70387: - 31.0.50;
 Warning (yasnippet): Couldn't find [[:space:]]
Date: Fri, 21 Feb 2025 17:54:25 +0000
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: no-control to-edit <nocontroltoedit <at> gmail.com>
>> Date: Fri, 21 Feb 2025 04:03:16 +0000
>>
>> There has been no response to the bug bug#70387 or the issue reported on the yasnippet github page on
>> April 12, 2024.
>
> I guess the yasnippet developers are less active than we'd like them
> to be, or missed that report?
>
> Can someone who uses yasnippet please take a look and see what happens
> here?

Noam Postavsky is marked as the maintainer, so I'm Cc:ing him here.




This bug report was last modified 55 days ago.

Previous Next


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