From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Live System User Newsgroups: gmane.emacs.bugs Subject: bug#28655: 25.2; Problem with find-file-noselect Date: Sat, 30 Sep 2017 14:42:14 -0400 Message-ID: <87vak0m3jt.fsf@localhost.localdomain.i-did-not-set--mail-host-address--so-tickle-me> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1506796993 2104 195.159.176.226 (30 Sep 2017 18:43:13 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 30 Sep 2017 18:43:13 +0000 (UTC) Cc: nyc4bos@aol.com To: 28655@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 30 20:43:05 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dyMj9-0008Gm-Uc for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Sep 2017 20:43:04 +0200 Original-Received: from localhost ([::1]:40084 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dyMjH-0004yo-A9 for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Sep 2017 14:43:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47324) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dyMjB-0004yf-Na for bug-gnu-emacs@gnu.org; Sat, 30 Sep 2017 14:43:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dyMj8-0001an-Ag for bug-gnu-emacs@gnu.org; Sat, 30 Sep 2017 14:43:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60984) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dyMj8-0001ae-5j for bug-gnu-emacs@gnu.org; Sat, 30 Sep 2017 14:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dyMj7-0004qW-WA for bug-gnu-emacs@gnu.org; Sat, 30 Sep 2017 14:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Live System User Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Sep 2017 18:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28655 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.150679696218600 (code B ref -1); Sat, 30 Sep 2017 18:43:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Sep 2017 18:42:42 +0000 Original-Received: from localhost ([127.0.0.1]:41432 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dyMin-0004pv-M4 for submit@debbugs.gnu.org; Sat, 30 Sep 2017 14:42:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dyMim-0004pj-K1 for submit@debbugs.gnu.org; Sat, 30 Sep 2017 14:42:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dyMif-0001Hl-Rs for submit@debbugs.gnu.org; Sat, 30 Sep 2017 14:42:35 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:39002) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dyMif-0001Hb-Oo for submit@debbugs.gnu.org; Sat, 30 Sep 2017 14:42:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dyMie-0004wi-9A for bug-gnu-emacs@gnu.org; Sat, 30 Sep 2017 14:42:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dyMia-0001DX-Rr for bug-gnu-emacs@gnu.org; Sat, 30 Sep 2017 14:42:32 -0400 Original-Received: from omr-m008e.mx.aol.com ([204.29.186.7]:57602) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dyMia-0001Ay-Mi for bug-gnu-emacs@gnu.org; Sat, 30 Sep 2017 14:42:28 -0400 Original-Received: from mtaout-mcd02.mx.aol.com (mtaout-mcd02.mx.aol.com [172.26.223.206]) by omr-m008e.mx.aol.com (Outbound Mail Relay) with ESMTP id 52CD7380007F for ; Sat, 30 Sep 2017 14:42:25 -0400 (EDT) Original-Received: from localhost.localdomain (c-73-16-70-190.hsd1.ma.comcast.net [73.16.70.190]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mtaout-mcd02.mx.aol.com (MUA/Third Party Client Interface) with ESMTPSA id BD22D38000089; Sat, 30 Sep 2017 14:42:24 -0400 (EDT) x-aol-global-disposition: G DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mx.aol.com; s=20150623; t=1506796945; bh=KLtnv0Esj48Jq51Xn7NL+ROrGpQXsaPfv1lViLnLHcc=; h=From:To:Subject:Message-ID:Date:MIME-Version:Content-Type; b=lNvWKaNiM6up6CE6MpFlDfQEKotae111p8KnXsZphblHelr4IHTVAkUnMZqjNfUXf BIGRflYEVGWV+EBQVEXRWCDQWOPQV0oTb/AOE6gJylgzC9LCK+gA/qi//exuNu3ieo HKtmHPLxMpS6Vpp5aSTM+9nhx2Mx9RE7iVyvpJ0E= x-aol-sid: 3039ac1adfce59cfe5901cb0 X-AOL-IP: 73.16.70.190 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:137702 Archived-At: Hi, I experienced a problem with `find-file-noselect`. 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). ` Executing `(find-file-noselect)` and `(file-truemame)` interactively yeilds the expected reults: M-: (find-file-noselect "~/dt.el" nil nil t) # [I don't get the "(wrong-type-argument arrayp nil)" error as in the *Backtrace] M-: (file-truename "~/dt.el") "/home/liveuser/dt.el" I realize that this is an unusal circumstance but peraps there is some way that Emacs could be able to visit a file in readonly-mode when the underlying filesystem has become readonly. Thanks. Debugger entered--Lisp error: (wrong-type-argument arrayp nil) file-truename(nil) find-file-noselect-1(#> "~/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) In GNU Emacs 25.2.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.20.10) of 2017-05-02 built on buildvm-17.phx2.fedoraproject.org Windowing system distributor 'Fedora Project', version 11.0.11803000 Configured using: 'configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3 --with-gpm=no --with-xwidgets --with-modules build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' LDFLAGS=-Wl,-z,relro PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES XWIDGETS Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-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 messages: For information about GNU Emacs and the GNU system, type C-h C-a. C-h C-g is undefined Quit Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting xwidget-internal move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 87122 4895) (symbols 48 19809 0) (miscs 40 46 121) (strings 32 14396 3615) (string-bytes 1 411943) (vectors 16 12387) (vector-slots 8 435119 4250) (floats 8 168 181) (intervals 56 257 0) (buffers 976 17) (heap 1024 23593 1100))