emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Alain.Cochard@unistra.fr
To: emacs-orgmode@gnu.org
Subject: Irrelevant/misleading error message (due to bad syntax in init-file)
Date: Tue, 15 May 2018 13:25:45 +0200	[thread overview]
Message-ID: <23290.50105.737996.252220@frac.u-strasbg.fr> (raw)


Hello.  

I do the following.

The file ~/.emacs.debug contains:

  (add-to-list 'load-path "/home/cochard/Org/Coch-git/org-mode/lisp")
  (setq org-agenda-files '"/tmp/bug-agenda.org") ; <- bad syntax!
  (find-file "/tmp/bug-agenda2.org") ; <- empty file

The file /tmp/bug-agenda.org contains:

   * Foo :bar:

I run:

   emacs -debug-init -Q -l ~/.emacs.debug

NB: there is no message caused by "-debug-init" related to the bad
syntax in the setq instruction.

When in the empty "bug-agenda2.org", if I do "M-x org-agenda m" I, get
(temporarily) in the minibuffer:

   Use M-x make-directory RET RET to create the directory and its
   parents

In the minibuffer, if I type "<TAB>" or "b<TAB>" or "ba<TAB>" or
"bar"<TAB>, I get "[No match]".  If after either of these 4 "<TAB>" I
hit the "<Return>" key, I get:

   Non-existent agenda file ~/org/* Foo :bar:.  [R]emove from list or
   [A]bort?

NB: I don't have an "~/org" file or directory.

I have:

   Emacs : GNU Emacs 24.5.1 (x86_64-redhat-linux-gnu, GTK+ Version
   3.18.9) of 2016-04-11 on buildvm-25.phx2.fedoraproject.org Package:
   Org mode version 9.1.13 (release_9.1.13-755-gc46fcd @
   /home/cochard/Org/Coch-git/org-mode/lisp/)

I apologize if this issue is too minor (or otherwise inappropriate) to
be reported -- please let me know if so.

Regards


-- 
EOST (École et Observatoire des Sciences de la Terre) 
IPG (Institut de Physique du Globe) | alain.cochard@unistra.fr
5 rue René Descartes   [bureau 106] | Phone: +33 (0)3 68 85 50 44 
F-67084 Strasbourg Cedex, France    | Fax:   +33 (0)3 68 85 01 25     

             reply	other threads:[~2018-05-15 11:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-15 11:25 Alain.Cochard [this message]
2018-05-15 17:50 ` Irrelevant/misleading error message (due to bad syntax in init-file) Nick Dokos

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=23290.50105.737996.252220@frac.u-strasbg.fr \
    --to=alain.cochard@unistra.fr \
    --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).