GNU bug report logs - #10339
24.0.91; Error opening pdf-file in dired using openwith-mode (win7)

Previous Next

Package: emacs;

Reported by: Thorsten NaN <quintfall <at> googlemail.com>

Date: Wed, 21 Dec 2011 11:19:01 UTC

Severity: normal

Tags: notabug

Found in version 24.0.91

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 10339 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Thorsten NaN <quintfall <at> googlemail.com>
Cc: 10339 <at> debbugs.gnu.org
Subject: Re: bug#10339: 24.0.91;
	Error opening pdf-file in dired using openwith-mode (win7)
Date: Wed, 21 Dec 2011 07:14:42 -0500
> Date: Wed, 21 Dec 2011 10:45:04 +0100
> From: Thorsten NaN <quintfall <at> googlemail.com>
> 
> Emacs 24 is great, but using openwith version 0.8f, downloaded from
> http://web.student.tuwien.ac.at/~e0225855/misc/openwith.el
> I get an error when opening a pdf file in dired.
> 
> See my Stackoverflow question for more info:
> http://stackoverflow.com/questions/8566045/emacs-lisp-problems-with-filename-string-on-win7
> 
> Recipe:
> emacs -Q
> C-x d ~/.emacs.d/site-lisp/
> L (with point on openwith.el)
> C-x d ~/.emacs.d/org/projects/sandbox/ ;just an arbitrary pdf file
> f (with point on 2test.pdf)
> 
> With M-x toggle-debug-on-error I get:
> Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
>   file-truename(nil)
>   find-file-noselect-1(#<buffer 2test.pdf<2>>
> "~/.emacs.d/org/projects/sandbox/2test.pdf" nil nil
> "~/.emacs.d/org/projects/sandbox/2test.pdf" ((3328 6 . 23491) (16087 .
> 35227)))
>   find-file-noselect("c:/Users/tj2/.emacs.d/org/projects/sandbox/2test.pdf"
> nil nil nil)
>   find-file("c:/Users/tj2/.emacs.d/org/projects/sandbox/2test.pdf")
>   dired-find-file()
>   call-interactively(dired-find-file nil nil)

I think it's a bug in openwith.el: it doesn't set buffer-file-name,
which find-file-noselect-1 needs.




This bug report was last modified 13 years and 208 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.