GNU bug report logs - #22982
25.0.92; Forms Mode seems to fail to open data file

Previous Next

Package: emacs;

Reported by: nljlistbox2 <at> gmail.com (N. Jackson)

Date: Thu, 10 Mar 2016 23:47:02 UTC

Severity: normal

Found in version 25.0.92

Done: nljlistbox2 <at> gmail.com (N. Jackson)

Bug is archived. No further changes may be made.

Full log


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

From: John Mastro <john.b.mastro <at> gmail.com>
To: 22982 <at> debbugs.gnu.org
Cc: "N. Jackson" <nljlistbox2 <at> gmail.com>
Subject: Re: bug#22982: 25.0.92; Forms Mode seems to fail to open data file
Date: Thu, 10 Mar 2016 16:14:32 -0800
N. Jackson <nljlistbox2 <at> gmail.com> wrote:
> I get the error "Wrong-type-argument: stringp, nil" when I try to start
> Forms Mode with
>
>     M-x forms-find-file RET ~/Documents/test-forms.el RET
>
> The backtrace is:
>
>     Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>       expand-file-name(nil)
>       find-file-noselect(nil)
>       forms-mode(t)
>       forms-find-file("~/Documents/test-forms.el")
>       funcall-interactively(forms-find-file "~/Documents/test-forms.el")
>       call-interactively(forms-find-file record nil)
>       command-execute(forms-find-file record)
>       execute-extended-command(nil "forms-find-file" nil)
>       funcall-interactively(execute-extended-command nil "forms-find-file" nil)
>       call-interactively(execute-extended-command nil nil)
>       command-execute(execute-extended-command)

Confirmed on Emacs 25.

This seems to be caused by the call ‘(set-visited-file-name nil)’ in
‘forms-mode’. Before that call, ‘forms-file’ is "/etc/passwd";
afterward, it is nil.

-- 
john




This bug report was last modified 9 years and 69 days ago.

Previous Next


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