From: Ihor Radchenko <yantar92@posteo.net>
To: Angela L <angeldjsyg@outlook.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] (error "rx ‘**’ range error") [9.7 (9.7-??-d6f3aed7b @ /Users/melody/.emacs.d/.local/straight/build-28.2/org/)]
Date: Tue, 08 Aug 2023 07:52:57 +0000 [thread overview]
Message-ID: <87zg32q8bq.fsf@localhost> (raw)
In-Reply-To: <PH8PR12MB696204A06D7F4EB8DBE74562DE0DA@PH8PR12MB6962.namprd12.prod.outlook.com>
Angela L <angeldjsyg@outlook.com> writes:
> It’s nil
This is unexpected.
AFAIK, org-roam-buffer-p is defined as
(defun org-roam-buffer-p (&optional buffer)
"Return t if BUFFER is for an Org-roam file.
If BUFFER is not specified, use the current buffer."
(let ((buffer (or buffer (current-buffer)))
path)
(with-current-buffer buffer
(and (derived-mode-p 'org-mode)
(setq path (buffer-file-name (buffer-base-buffer)))
(org-roam-file-p path)))))
And it does check (derived-mode-p 'org-mode).
May you please post the information displayed in C-h f org-roam-buffer-p?
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
next prev parent reply other threads:[~2023-08-08 7:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-02 5:56 [BUG] (error "rx ‘**’ range error") [9.7 (9.7-??-d6f3aed7b @ /Users/melody/.emacs.d/.local/straight/build-28.2/org/)] Angela L
2023-08-02 11:15 ` Ihor Radchenko
[not found] ` <PH8PR12MB696238BA3FE205B6D57EA779DE0BA@PH8PR12MB6962.namprd12.prod.outlook.com>
[not found] ` <878rat319f.fsf@localhost>
[not found] ` <PH8PR12MB6962771C678E097020A8F87DDE0CA@PH8PR12MB6962.namprd12.prod.outlook.com>
[not found] ` <87cyzyroti.fsf@localhost>
[not found] ` <PH8PR12MB6962A1E05B41F108D3A5D868DE0DA@PH8PR12MB6962.namprd12.prod.outlook.com>
2023-08-08 7:23 ` Ihor Radchenko
[not found] ` <PH8PR12MB6962147E71B097536A86D9B2DE0DA@PH8PR12MB6962.namprd12.prod.outlook.com>
2023-08-08 7:48 ` Ihor Radchenko
2023-08-08 7:49 ` Angela L
2023-08-08 7:52 ` Ihor Radchenko [this message]
2023-08-08 7:55 ` Angela L
2023-08-08 8:00 ` Ihor Radchenko
2023-08-08 8:01 ` Angela L
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zg32q8bq.fsf@localhost \
--to=yantar92@posteo.net \
--cc=angeldjsyg@outlook.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.