GNU bug report logs - #67747
M-RET broken regex error

Previous Next

Package: hyperbole;

Reported by: Samvid Mistry <mistrysamvid <at> gmail.com>

Date: Sun, 10 Dec 2023 11:30:03 UTC

Severity: normal

Done: Robert Weiner <rswgnu <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Samvid Mistry <mistrysamvid <at> gmail.com>
To: 67747 <at> debbugs.gnu.org
Subject: bug#67747: M-RET broken regex error
Date: Sun, 10 Dec 2023 12:47:33 +0530
Hey,

I just installed Hyperbole and was trying to play with it. It seems
there's something wrong with the regex to match the context. I have a
simple org file containing only the following content

```
* Projects
** TODO Some TODO
```

As I understand, if I press M-RET with my cursor on TODO keyword, it
should change states. Regardless, it shouldn't run into an error. I am
running into the following error.

```
Debugger entered--Lisp error: (invalid-regexp "Unmatched ) or \\)")
  looking-at("(?:^/\\)\\(\\(?:\\(?:\\(-\\|[[:alnum:]]\\{2,\\}\\)\\(?::\\)\\(...")
  hpath:remote-at-p()
  hpath:at-p()
  ibtypes::pathname()
  ibut:at-p()
  hbut:at-p()
  smart-org(nil)
  (let ((hrule:action #'actype:identity)) (smart-org current-prefix-arg))
  (and (not (hyperb:stack-frame '(smart-org))) (let ((hrule:action #'actype:identity)) (smart-org current-prefix-arg)))
  eval((and (not (hyperb:stack-frame '(smart-org))) (let ((hrule:action #'actype:identity)) (smart-org current-prefix-arg))))
  hkey-execute(nil)
  action-key-internal()
  action-key()
  hkey-either(nil)
  funcall-interactively(hkey-either nil)
  call-interactively(hkey-either nil nil)
  command-execute(hkey-either)
```

I get the same error while trying to open any of the links in Hyperbole Demo.

Specs:
GNU Emacs 29.1
MacOS 14.1.2
Hyperbole 8.0.0

-- 
Thanks,
Samvid




This bug report was last modified 1 year and 157 days ago.

Previous Next


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