unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Live System User <nyc4bos@aol.com>
To: Glenn Morris <rgm@gnu.org>
Cc: 28655@debbugs.gnu.org
Subject: bug#28655: 25.2; Problem with find-file-noselect
Date: Sun, 24 Dec 2017 00:21:48 -0500	[thread overview]
Message-ID: <87shc0itub.fsf@aol.com> (raw)
In-Reply-To: <uybmj9otvl.fsf@fencepost.gnu.org> (Glenn Morris's message of "Fri, 08 Dec 2017 15:19:10 -0500")

Glenn Morris <rgm@gnu.org> writes:

> 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.

 As the process is now gone, no additional info is no longer
 available, I guess this bug report can be closed.

 Thanks for looking into this.






      reply	other threads:[~2017-12-24  5:21 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
2017-12-24  5:21   ` Live System User [this message]

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=87shc0itub.fsf@aol.com \
    --to=nyc4bos@aol.com \
    --cc=28655@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    /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).