From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Error on store-link in Normal File Date: Sat, 8 May 2010 12:42:30 +0200 Message-ID: <3326FB01-16F0-49C5-A09E-CFAE2A97908B@gmail.com> References: <87y6fvr91a.wl%ded-law@ddoherty.net> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OAhUU-0000VZ-Gi for emacs-orgmode@gnu.org; Sat, 08 May 2010 06:42:38 -0400 Received: from [140.186.70.92] (port=46980 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OAhUT-0000VR-5A for emacs-orgmode@gnu.org; Sat, 08 May 2010 06:42:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OAhUQ-0004uN-Vc for emacs-orgmode@gnu.org; Sat, 08 May 2010 06:42:37 -0400 Received: from ey-out-1920.google.com ([74.125.78.150]:27307) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OAhUQ-0004uH-Q5 for emacs-orgmode@gnu.org; Sat, 08 May 2010 06:42:34 -0400 Received: by ey-out-1920.google.com with SMTP id 13so194825eye.34 for ; Sat, 08 May 2010 03:42:33 -0700 (PDT) In-Reply-To: <87y6fvr91a.wl%ded-law@ddoherty.net> 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: "Daniel E. Doherty" , reimar.finken@gmx.de Cc: Org-mode List Hi, this appears to be a bug in org-git-link.el, please get in touch with Reimar Finken - Carsten On May 7, 2010, at 6:06 PM, Daniel E. Doherty wrote: > > All, > > In doing a C-c l in a normal .tex file, I get an error, similar to > one I > was getting earlier in dired. The dired error is fixed, but I just > noticed today that I get a similar error when trying to store a link > within an buffer for an open file. > > Here is the trace: > > ,---- > | Debugger entered--Lisp error: (wrong-type-argument stringp nil) > | directory-file-name(nil) > | (file-name-directory (directory-file-name dirpath)) > | (let ((dirname ...) (basename ...)) (list dirname basename)) > | org-git-split-dirpath(nil) > | (let ((dirlist ...)) (when (string= ... "") (throw ... nil)) > (setq dir (first dirlist) relpath (concat ... relpath))) > | (while (not (file-exists-p ...)) (let (...) (when ... ...) (setq > dir ... relpath ...))) > | (catch (quote toplevel) (while (not ...) (let ... ... ...)) > (list (expand-file-name ".git" dir) relpath)) > | (let ((dir ...) (relpath ...)) (catch (quote toplevel) > (while ... ...) (list ... relpath))) > | org-git-gitrepos-p("~/tmfiles/Aegis Fire Protection/ > SunflowerFundingLLC/Petition.tex") > | (if (org-git-gitrepos-p file) (progn (org-store-link-props :type > "git" :link ...))) > | (when (org-git-gitrepos-p file) (org-store-link-props :type > "git" :link (org-git-create-git-link file))) > | (let ((file ...)) (when (org-git-gitrepos-p file) (org-store- > link-props :type "git" :link ...))) > | (progn (let (...) (when ... ...))) > | (if (buffer-file-name) (progn (let ... ...))) > | (when (buffer-file-name) (let (...) (when ... ...))) > | org-git-store-link() > | run-hook-with-args-until-success(org-git-store-link) > | org-store-link(nil) > | call-interactively(org-store-link nil nil) > `---- > > Regards, > -- > =============================================== > ,----[ Law Offices ] > | Daniel E. Doherty > | 7300 W. 110th Street, Suite 930 > | Overland Park, KS 66210 > | 913.338.7182 (Phone) > | 913,338.7164 (FAX) > `---- > ================================================ > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten