unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: John Mastro <john.b.mastro@gmail.com>
To: 22982@debbugs.gnu.org
Cc: "N. Jackson" <nljlistbox2@gmail.com>
Subject: bug#22982: 25.0.92; Forms Mode seems to fail to open data file
Date: Thu, 10 Mar 2016 16:14:32 -0800	[thread overview]
Message-ID: <CAOj2CQRw=zAVu0395ne1p7rdZq3GnRD7B4fiEb01W9hkr--sww@mail.gmail.com> (raw)
In-Reply-To: <87io0t6gmu.fsf@gmail.com>

N. Jackson <nljlistbox2@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





  reply	other threads:[~2016-03-11  0:14 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-10 23:46 bug#22982: 25.0.92; Forms Mode seems to fail to open data file N. Jackson
2016-03-11  0:14 ` John Mastro [this message]
2016-03-11  0:19   ` John Mastro
2016-03-11 10:34     ` Eli Zaretskii
2016-03-11 10:33   ` Eli Zaretskii
2016-03-11 10:26 ` Eli Zaretskii
2016-03-11 12:49   ` N. Jackson
2016-03-11 13:25     ` N. Jackson
2016-03-11 15:02       ` Eli Zaretskii
2016-03-11 16:11         ` N. Jackson
2016-03-12 11:07           ` Eli Zaretskii
2016-03-12 16:01             ` N. Jackson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAOj2CQRw=zAVu0395ne1p7rdZq3GnRD7B4fiEb01W9hkr--sww@mail.gmail.com' \
    --to=john.b.mastro@gmail.com \
    --cc=22982@debbugs.gnu.org \
    --cc=nljlistbox2@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).