emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Re: Bug in 4.19a
@ 2006-04-04  8:52 Thomas Baumann
  0 siblings, 0 replies; 3+ messages in thread
From: Thomas Baumann @ 2006-04-04  8:52 UTC (permalink / raw)
  To: Carsten Dominik; +Cc: emacs-orgmode

> BTW, does the MHE stuff work properly with the links?

up to now no problems.

Thomas

^ permalink raw reply	[flat|nested] 3+ messages in thread
* Bug in 4.19a
@ 2006-04-04  8:26 Thomas Baumann
  2006-04-04  8:43 ` Carsten Dominik
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Baumann @ 2006-04-04  8:26 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-04-04  8:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-04  8:52 Bug in 4.19a Thomas Baumann
  -- strict thread matches above, loose matches on Subject: below --
2006-04-04  8:26 Thomas Baumann
2006-04-04  8:43 ` Carsten Dominik

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).