From: Fabian Brosda <f.brosda@gmx.de>
To: emacs-orgmode@gnu.org
Subject: [BUG] org-mobile: Arguments of expand-file-name are flipped [9.6.20 ( @ /home/fb/.config/emacs/elpa/org-9.6.20/)]
Date: Sat, 02 Mar 2024 19:28:20 +0100 [thread overview]
Message-ID: <87a5ngxzcr.fsf@gmx.de> (raw)
Hi,
just a very small issue I found, as I was wondering, why the agendas
file was included in the index, although it did not exist.
The problem is in org-mobile.el in Line 473, as the arguments to
expand-file-name are in the wrong order:
(when (file-exists-p (expand-file-name
org-mobile-directory "agendas.org"))
Linking to the exact spot on github:
https://github.com/bzg/org-mode/blob/main/lisp/org-mobile.el#L473
Would be great, if someone could fix this. All other uses of
expand-file-name in there seem to be fine.
Best regards
Fabian
Emacs : GNU Emacs 29.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.40, cairo version 1.18.0)
Package: Org mode version 9.6.20 ( @ /home/fb/.config/emacs/elpa/org-9.6.20/)
next reply other threads:[~2024-03-05 17:35 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-02 18:28 Fabian Brosda [this message]
2024-03-06 10:38 ` [BUG] org-mobile: Arguments of expand-file-name are flipped [9.6.20 ( @ /home/fb/.config/emacs/elpa/org-9.6.20/)] Ihor Radchenko
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87a5ngxzcr.fsf@gmx.de \
--to=f.brosda@gmx.de \
--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 public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).