From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: Please test links Date: Sat, 15 Mar 2008 17:09:36 -0400 Message-ID: <87fxurd78v.fsf@gollum.intra.norang.ca> References: <3FE7D870-A0BF-48A7-A9B5-1023493C0861@science.uva.nl> <87od9fpzfz.fsf@gollum.intra.norang.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JaddQ-0001Fr-Sb for emacs-orgmode@gnu.org; Sat, 15 Mar 2008 17:09:44 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JaddN-0001FC-6X for emacs-orgmode@gnu.org; Sat, 15 Mar 2008 17:09:44 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JaddM-0001F9-WC for emacs-orgmode@gnu.org; Sat, 15 Mar 2008 17:09:41 -0400 Received: from mho-02-bos.mailhop.org ([63.208.196.179]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JaddM-0008ID-N9 for emacs-orgmode@gnu.org; Sat, 15 Mar 2008 17:09:40 -0400 Received: from cpe000102d0fe75-cm0012256ecbde.cpe.net.cable.rogers.com ([99.239.148.180] helo=mail.norang.ca) by mho-02-bos.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.68) (envelope-from ) id 1JaddK-000LxO-EV for emacs-orgmode@gnu.org; Sat, 15 Mar 2008 21:09:38 +0000 Received: from gollum.intra.norang.ca (gollum.intra.norang.ca [192.168.1.5]) by mail.norang.ca (8.13.8/8.13.8/Debian-3) with ESMTP id m2FL9aKY010575 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 15 Mar 2008 17:09:37 -0400 Received: from gollum.intra.norang.ca (localhost [127.0.0.1]) by gollum.intra.norang.ca (8.14.2/8.14.2/Debian-1) with ESMTP id m2FL9aN6024317 for ; Sat, 15 Mar 2008 17:09:36 -0400 In-Reply-To: <87od9fpzfz.fsf@gollum.intra.norang.ca> (Bernt Hansen's message of "Sat\, 15 Mar 2008 15\:19\:44 -0400") 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: emacs-orgmode@gnu.org Bernt Hansen writes: > Carsten Dominik writes: > >> Please report back which of these link types you are using, and >> if they are still working after a pull in your it repo. >> If not, I'd appreciate detailed backtraces so that this remaining >> issues can be fixed. > > I use bbdb and gnus links. > > Attempting to org-store-link in a gnus mail message > > Debugger entered--Lisp error: (error "Cannot link to a buffer which is not visiting a file") > signal(error ("Cannot link to a buffer which is not visiting a file")) > error("Cannot link to a buffer which is not visiting a file") > (cond ((run-hook-with-args-until-success ...) (setq link ... desc ...)) ((eq major-mode ...) (let ... ... ...)) ((eq major-mode ...) (setq cpltxt ... link ...) (org-store-link-props :type "w3" :url ...)) ((eq major-mode ...) (setq cpltxt ... link ...) (org-store-link-props :type "w3m" :url ...)) ((setq search ...) (setq link ...) (setq cpltxt ...)) ((eq major-mode ...) (setq cpltxt ... link ...) (org-store-link-props :type "image" :file buffer-file-name)) ((eq major-mode ...) (setq cpltxt ... link ...)) ((and buffer-file-name ...) (setq cpltxt ...) (when ... ...) (if ... ...) (setq link ...)) ((buffer-file-name ...) (setq cpltxt ...) (when ... ... ...) (setq link ...)) ((interactive-p) (error "Cannot link to a buffer which is not visiting a file")) (t (setq link nil))) > (let (link cpltxt desc description search txt) (cond (... ...) (... ...) (... ... ...) (... ... ...) (... ... ...) (... ... ...) (... ...) (... ... ... ... ...) (... ... ... ...) (... ...) (t ...)) (if (consp link) (setq cpltxt ... link ...)) (setq link (or link cpltxt) desc (or desc cpltxt)) (if (equal desc "NONE") (setq desc nil)) (if (and ... link) (progn ... ...) (and link ...))) > org-store-link(nil) > call-interactively(org-store-link) > execute-extended-command(nil) > call-interactively(execute-extended-command) This works now. Thanks. -Bernt