emacs-orgmode
[Top][All Lists]
Advanced

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

[Emacs-orgmode] Re: Bug in 4.19a


From: Carsten Dominik
Subject: [Emacs-orgmode] Re: Bug in 4.19a
Date: Tue, 4 Apr 2006 10:43:12 +0200

Yes, thanks.

This is a bug introduced when I changed the link format. Thanks. Will be fixed in the next version.

BTW, doe the MHE stuff work properly with the links?

- Carsten

On Apr 4, 2006, at 10:26, Thomas Baumann wrote:

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



--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477





reply via email to

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