From unknown Wed Aug 20 06:39:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10339: 24.0.91; Error opening pdf-file in dired using openwith-mode (win7) Resent-From: Thorsten NaN Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Dec 2011 11:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10339 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 10339@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.13244663348220 (code B ref -1); Wed, 21 Dec 2011 11:19:01 +0000 Received: (at submit) by debbugs.gnu.org; 21 Dec 2011 11:18:54 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RdKCD-00028W-3L for submit@debbugs.gnu.org; Wed, 21 Dec 2011 06:18:53 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RdIlq-0008VH-E3 for submit@debbugs.gnu.org; Wed, 21 Dec 2011 04:47:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RdIjk-0006IS-LP for submit@debbugs.gnu.org; Wed, 21 Dec 2011 04:45:31 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, HTML_MESSAGE,RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([140.186.70.17]:47788) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RdIjk-0006IO-Je for submit@debbugs.gnu.org; Wed, 21 Dec 2011 04:45:24 -0500 Received: from eggs.gnu.org ([140.186.70.92]:37916) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RdIji-0001Ye-TN for bug-gnu-emacs@gnu.org; Wed, 21 Dec 2011 04:45:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RdIjT-0006Bh-LS for bug-gnu-emacs@gnu.org; Wed, 21 Dec 2011 04:45:22 -0500 Received: from mail-we0-f169.google.com ([74.125.82.169]:65356) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RdIjT-0006Ak-BP for bug-gnu-emacs@gnu.org; Wed, 21 Dec 2011 04:45:07 -0500 Received: by werf1 with SMTP id f1so3351033wer.0 for ; Wed, 21 Dec 2011 01:45:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=WnAxIutez1NrDeJN0BLh7mV6h85pJaMW2F73rgBSioE=; b=Mxl8Hm0rzI8wrfkeoSdIRXxDAxSqrm0JidmG5vdg8eV26N+gOZ9wzL4g9h+9Zd90ew gaU0Lz0DYjCaf2x71l1ZlObUwPH++0fXluMarKjvyhnl/BuFJpIxwO4A/yQxaC8oLfXr mZkv1vvJ+vciqlh8p6O84pgQoCtcGLGgQioOM= MIME-Version: 1.0 Received: by 10.216.137.195 with SMTP id y45mr8825846wei.45.1324460704415; Wed, 21 Dec 2011 01:45:04 -0800 (PST) Received: by 10.216.12.203 with HTTP; Wed, 21 Dec 2011 01:45:04 -0800 (PST) Date: Wed, 21 Dec 2011 10:45:04 +0100 Message-ID: From: Thorsten NaN Content-Type: multipart/alternative; boundary=0016e6d7efc8ce3fc804b497095e X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -5.9 (-----) X-Mailman-Approved-At: Wed, 21 Dec 2011 06:18:51 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.9 (-----) --0016e6d7efc8ce3fc804b497095e Content-Type: text/plain; charset=ISO-8859-1 Hello Emacs Maintainers, 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(#> "~/.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) Cheers Thorsten PS I will be offline for 2 weeks from now In GNU Emacs 24.0.91.1 (i386-mingw-nt6.1.7601) of 2011-11-22 on MARVIN Windowing system distributor `Microsoft Corp.', version 6.1.7601 configured using `configure --with-gcc (4.6) --no-opt --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-2.10.1/include --ldflags -LD:/devel/emacs/libs/gnutls-2.10.1/lib' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: DEU value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Dired by name Minor modes in effect: openwith-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x d . e m a d s i RET C-s o p e n RET L y ^ p p f n n n n n n n n n n n n f n n f n n n n n n n n n n n n n n n n n n n n n n f C-x k RET M-x o p e n w RET f M-x r e p o r RET Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Mark saved where search started Load openwith.el? (y or n) y Loading c:/Users/tj2/.emacs.d/site-lisp/openwith.el (source)...done Load: 1 file. Openwith mode enabled find-file-noselect-1: Wrong type argument: arrayp, nil Making completion list... Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug help-mode view cus-start cus-load doc-view easymenu jka-compr image-mode openwith easy-mmode multi-isearch dired-aux dired regexp-opt time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) --0016e6d7efc8ce3fc804b497095e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello Emacs Maintainers,
Emacs 24 is great, but using openwith version 0= .8f, downloaded from
http://web.student.tuwien.ac.at/~e0225855/misc/openwit= h.el
I get an error when opening a pdf file in dired.

See my Stackoverfl= ow question for more info:
http://stackover= flow.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 p= df file
f (with point on 2test.pdf)

With M-x toggle-debug-on-erro= r I get:
Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
=A0 file-= truename(nil)
=A0 find-file-noselect-1(#<buffer 2test.pdf<2>>= ; "~/.emacs.d/org/projects/sandbox/2test.pdf" nil nil "~/.em= acs.d/org/projects/sandbox/2test.pdf" ((3328 6 . 23491) (16087 . 35227= )))
=A0 find-file-noselect("c:/Users/tj2/.emacs.d/org/projects/sandbox/2te= st.pdf" nil nil nil)
=A0 find-file("c:/Users/tj2/.emacs.d/org/= projects/sandbox/2test.pdf")
=A0 dired-find-file()
=A0 call-inte= ractively(dired-find-file nil nil)

Cheers
Thorsten

PS
I will be offline for 2 weeks from now<= br>

In GNU Emacs 24.0.91.1 (i386-mingw-nt6.1.7601)
=A0of 2011-11-= 22 on MARVIN
Windowing system distributor `Microsoft Corp.', version= 6.1.7601
configured using `configure --with-gcc (4.6) --no-opt --cflags -ID:/devel/e= macs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/= devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_= 1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/ema= cs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/d= evel/emacs/libs/gnutls-2.10.1/include --ldflags -LD:/devel/emacs/libs/gnutl= s-2.10.1/lib'

Important settings:
=A0 value of $LC_ALL: nil
=A0 value of $LC_CO= LLATE: nil
=A0 value of $LC_CTYPE: nil
=A0 value of $LC_MESSAGES: nil=
=A0 value of $LC_MONETARY: nil
=A0 value of $LC_NUMERIC: nil
=A0 = value of $LC_TIME: nil
=A0 value of $LANG: DEU
=A0 value of $XMODIFIERS: nil
=A0 locale-codi= ng-system: cp1252
=A0 default enable-multibyte-characters: t

Majo= r mode: Dired by name

Minor modes in effect:
=A0 openwith-mode: t=
=A0 tooltip-mode: t
=A0 mouse-wheel-mode: t
=A0 tool-bar-mode: t
=A0 menu-bar-mode: t
= =A0 file-name-shadow-mode: t
=A0 global-font-lock-mode: t
=A0 font-lo= ck-mode: t
=A0 blink-cursor-mode: t
=A0 auto-composition-mode: t
= =A0 auto-encryption-mode: t
=A0 auto-compression-mode: t
=A0 line-number-mode: t
=A0 transient-ma= rk-mode: t

Recent input:
C-x d . e m a <tab> d <tab> = s i <tab> RET C-s o p e
n RET <help-echo> L y ^ p p f n n n= n n n n n n n n
n f n n f n n n n n n n n n n n n n n n n n n n n n
n f C-x k RET M-x o= p e n w <tab> RET f M-x r e p o
<tab> r <tab> RET
Recent messages:
For information about GNU Emacs and the GNU system= , type C-h C-a.
Mark saved where search started
Load openwith.el? (y or n)=A0 y
Loadi= ng c:/Users/tj2/.emacs.d/site-lisp/openwith.el (source)...done
Load: 1 f= ile.
Openwith mode enabled
find-file-noselect-1: Wrong type argument:= arrayp, nil
Making completion list...

Load-path shadows:
None found.

F= eatures:
(shadow sort gnus-util mail-extr message format-spec rfc822 mml= mml-sec
mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc204= 5
ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheaderemacsbug help-mode view cus-start cus-load doc-view easymenu jka-compr
= image-mode openwith easy-mmode multi-isearch dired-aux dired regexp-opt
time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32
dis= p-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe
lisp-= mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse ji= t-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanes= e hebrew greek romanian slovak czech european ethiopic indian
cyrillic c= hinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer b= utton faces cus-face files text-properties overlay sha1 md5
base64 format env code-pages mule custom widget hashtable-print-readablebackquote make-network-process multi-tty emacs)

--0016e6d7efc8ce3fc804b497095e-- From unknown Wed Aug 20 06:39:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10339: 24.0.91; Error opening pdf-file in dired using openwith-mode (win7) Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 21 Dec 2011 12:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10339 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Thorsten NaN Cc: 10339@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 10339-submit@debbugs.gnu.org id=B10339.132446981013557 (code B ref 10339); Wed, 21 Dec 2011 12:17:01 +0000 Received: (at 10339) by debbugs.gnu.org; 21 Dec 2011 12:16:50 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RdL6H-0003Wa-Js for submit@debbugs.gnu.org; Wed, 21 Dec 2011 07:16:50 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RdL6E-0003WN-KU for 10339@debbugs.gnu.org; Wed, 21 Dec 2011 07:16:47 -0500 Received: from eliz by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RdL4E-0007w8-CO; Wed, 21 Dec 2011 07:14:42 -0500 Date: Wed, 21 Dec 2011 07:14:42 -0500 Message-Id: From: Eli Zaretskii In-reply-to: (message from Thorsten NaN on Wed, 21 Dec 2011 10:45:04 +0100) References: X-Spam-Score: -6.6 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) > Date: Wed, 21 Dec 2011 10:45:04 +0100 > From: Thorsten NaN > > 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(#> > "~/.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. From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 31 21:16:06 2011 Received: (at control) by debbugs.gnu.org; 1 Jan 2012 02:16:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RhAxy-0001r0-E9 for submit@debbugs.gnu.org; Sat, 31 Dec 2011 21:16:06 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RhAxw-0001qr-B6 for control@debbugs.gnu.org; Sat, 31 Dec 2011 21:16:04 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RhAux-0000HC-0d for control@debbugs.gnu.org; Sat, 31 Dec 2011 21:12:59 -0500 Date: Sat, 31 Dec 2011 21:12:59 -0500 Message-Id: Subject: control message for bug 10339 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) close 10339