From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Bug in 4.19a Date: Tue, 4 Apr 2006 10:43:12 +0200 Message-ID: <6b9a182e5350c23876efa35b2e3c4838@science.uva.nl> References: <1710.1144139217@mafu.ws.chemie.tu-muenchen.de> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FQh89-0006Om-4P for emacs-orgmode@gnu.org; Tue, 04 Apr 2006 04:43:17 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FQh88-0006OI-6F for emacs-orgmode@gnu.org; Tue, 04 Apr 2006 04:43:16 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FQh87-0006OD-Us for emacs-orgmode@gnu.org; Tue, 04 Apr 2006 04:43:16 -0400 Received: from [146.50.4.51] (helo=imap.science.uva.nl) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FQhBN-0001zz-5f for emacs-orgmode@gnu.org; Tue, 04 Apr 2006 04:46:37 -0400 In-Reply-To: <1710.1144139217@mafu.ws.chemie.tu-muenchen.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: thomas.baumann@ch.tum.de Cc: emacs-orgmode@gnu.org 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 > "\\]+\\)" 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