From: Thomas Baumann <thomas.baumann@ch.tum.de>
To: emacs-orgmode@gnu.org
Subject: Bug in 4.19a
Date: Tue, 04 Apr 2006 10:26:57 +0200 [thread overview]
Message-ID: <1710.1144139217@mafu.ws.chemie.tu-muenchen.de> (raw)
Hi Carsten,
in version 4.19a the interactive setting of file links is not working
anymore:
C-u C-c C-l
fails with
string-match: Wrong type argument: stringp, nil
Backtrace:
expand-file-name(nil)
(string-match (concat "^" (regexp-quote pwd) "\\(.+\\)") (expand-file-name link))
(cond ((equal complete-file ...) (setq link ...)) ((string-match ... ...) (setq link ...)) (t (setq link ...)))
(let ((pwd ...)) (cond (... ...) (... ...) (t ...)))
(cond ((save-excursion ... ...) (setq remove ...) (setq desc ...) (setq link ...)) (complete-file (setq file ...) (let ... ...)) (t (setq link ...) (setq entry ...) (if ... ...) (setq link ... desc ...)))
(let (link desc entry remove file (pos ...)) (cond (... ... ... ...) (complete-file ... ...) (t ... ... ... ...)) (if (string-match org-link-regexp link) (setq link ...)) (when (string-match "\\<file:\\(.+?\\)::\\([^>]+\\)" link) (let* ... ...)) (setq desc (read-string "Description: " desc)) (unless (string-match "\\S-" desc) (setq desc nil)) (if remove (apply ... remove)) (insert (org-make-link-string link desc)))
org-insert-link((4))
call-interactively(org-insert-link)
Greetings
Thomas
next reply other threads:[~2006-04-04 8:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-04 8:26 Thomas Baumann [this message]
2006-04-04 8:43 ` Bug in 4.19a Carsten Dominik
-- strict thread matches above, loose matches on Subject: below --
2006-04-04 8:52 Thomas Baumann
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=1710.1144139217@mafu.ws.chemie.tu-muenchen.de \
--to=thomas.baumann@ch.tum.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).