emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-orgmode] Bug in 4.19a


From: Thomas Baumann
Subject: [Emacs-orgmode] Bug in 4.19a
Date: Tue, 04 Apr 2006 10:26:57 +0200

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]