unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: Live System User <nyc4bos@aol.com>
Cc: 28655@debbugs.gnu.org
Subject: bug#28655: 25.2; Problem with find-file-noselect
Date: Fri, 08 Dec 2017 15:19:10 -0500	[thread overview]
Message-ID: <uybmj9otvl.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <87vak0m3jt.fsf@localhost.localdomain.i-did-not-set--mail-host-address--so-tickle-me> (Live System User's message of "Sat, 30 Sep 2017 14:42:14 -0400")

Live System User wrote:

>         The partion where my /home directory is mounted became
>         unrelatedly readonly.
>
>         When I tried to visit a file, readonly "C-x C-r"
>         `(find-file-read-only),` I got the following
>         *Backtrace* (see below).
[...]
> Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
>   file-truename(nil)
>   find-file-noselect-1(#<buffer dt.el<2>> "~/dt.el" nil nil "~/dt.el" (6637 64770))
>   find-file-noselect("~/dt.el" nil nil t)
>   find-file("~/dt.el" t)
>   find-file--read-only(find-file "~/dt.el" t)
>   find-file-read-only("~/dt.el" t)
>   funcall-interactively(find-file-read-only "~/dt.el" t)
>   call-interactively(find-file-read-only nil nil)
>   command-execute(find-file-read-only)

I can't reproduce this. I tried with:

mount -t tmpfs -o size=10m tmpfs /mnt/
HOME=/mnt emacs-25.2 -Q &
...
mount -r -o remount /mnt/

and C-x C-r continues to work fine.

The above backtrace isn't detailed enough to debug this issue.
I can only guess that buffer-file-name somehow became nil.
How, I have no idea.






  reply	other threads:[~2017-12-08 20:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-30 18:42 bug#28655: 25.2; Problem with find-file-noselect Live System User
2017-12-08 20:19 ` Glenn Morris [this message]
2017-12-24  5:21   ` Live System User

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=uybmj9otvl.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=28655@debbugs.gnu.org \
    --cc=nyc4bos@aol.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).