From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#23101: 25.1; Error when visiting a symlink to a VC-controlled file on the command line Date: Wed, 23 Mar 2016 19:50:02 +0000 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11411506443942052ebca303 X-Trace: ger.gmane.org 1458771980 1651 80.91.229.3 (23 Mar 2016 22:26:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Mar 2016 22:26:20 +0000 (UTC) To: 23101@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 23 23:26:11 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1airEA-0000q4-Sd for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Mar 2016 23:26:11 +0100 Original-Received: from localhost ([::1]:46421 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1airEA-0007uH-9i for geb-bug-gnu-emacs@m.gmane.org; Wed, 23 Mar 2016 18:26:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47526) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1airE5-0007uA-79 for bug-gnu-emacs@gnu.org; Wed, 23 Mar 2016 18:26:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1airE3-0008H8-Fk for bug-gnu-emacs@gnu.org; Wed, 23 Mar 2016 18:26:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37753) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1airE3-0008H3-BC for bug-gnu-emacs@gnu.org; Wed, 23 Mar 2016 18:26:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1airE3-0003x1-76 for bug-gnu-emacs@gnu.org; Wed, 23 Mar 2016 18:26:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 23 Mar 2016 22:26:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23101 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.145877194915148 (code B ref -1); Wed, 23 Mar 2016 22:26:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Mar 2016 22:25:49 +0000 Original-Received: from localhost ([127.0.0.1]:34878 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1airDo-0003wE-Ot for submit@debbugs.gnu.org; Wed, 23 Mar 2016 18:25:49 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35060) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aionQ-0003ZC-PY for submit@debbugs.gnu.org; Wed, 23 Mar 2016 15:50:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aionK-0002Z4-2j for submit@debbugs.gnu.org; Wed, 23 Mar 2016 15:50:19 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41377) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aionJ-0002Z0-V9 for submit@debbugs.gnu.org; Wed, 23 Mar 2016 15:50:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aionH-0003Pl-GA for bug-gnu-emacs@gnu.org; Wed, 23 Mar 2016 15:50:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aionF-0002YC-RM for bug-gnu-emacs@gnu.org; Wed, 23 Mar 2016 15:50:15 -0400 Original-Received: from mail-lf0-x234.google.com ([2a00:1450:4010:c07::234]:36332) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aionF-0002Xn-E9 for bug-gnu-emacs@gnu.org; Wed, 23 Mar 2016 15:50:13 -0400 Original-Received: by mail-lf0-x234.google.com with SMTP id d82so19337703lfe.3 for ; Wed, 23 Mar 2016 12:50:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=JCXSA6hFuBRYL4dQWWa0oQIa/K6t9NuKifwRyzPoXnA=; b=aiQlIy90dhTIfwKNIdPF2V55+Jh49Kd69QaA4OwYK2lnFFOAA2xEfPDDihB16gtgZI aBY9LMT7STMvDIictaS87ZwPlcx9QMFZMhPwvV5RYbe8vkJP7p2vz6gAzI4783KCouZ8 wk3HN8r0f/5lct+qRwFQrTWWDB7xiyFJgOYcHSrAMdfdQ7ATV9lDtbf4Zmd6gfvS/UPD SOQDQUihD/yXUGhiEN4uV9wG5YDMcsmZUSjqqBjYhQ3lZACao4A5xlBIbW4SzOSl9w1F L+/u9OShg1JZd0EVdsEEP8aL6BYd5hVIUKUOmGxSKEikbP+f0O/H0RyHvuXce5eg7y7y h1Ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=JCXSA6hFuBRYL4dQWWa0oQIa/K6t9NuKifwRyzPoXnA=; b=eE9/MyB2FH8pB5WDQxxPIHqEi9EM4Xt8zSiUnixZDC8VnHK0aCtRflSWf6ingkY9Oj s6m8bhJjnOeyaCKgEakeDejcPjlRAhCTzyEaR7HG/ULz/+3zIcDVOUXFlTqatGfA9WZ4 FsFcmI3G/w9CjwPdbifFdCeR5tOVpJMcfiYRQ5Xmu10s0jAB2zMKRU8muy/YgSWFDS0C P6FFfet0bR3vczvQTsIIjjpwsiMKYKB+iy5tyzUrb8cc/jnC+WTGkrd4sa5vwZNtYHgk y74IVOKOj/W1+RpQWVpqJNgDhUL8QKT8VKPoc5mZe/SKg5ycoW7VQTj5Hl7KOsXCSBy+ mhTA== X-Gm-Message-State: AD7BkJIgXlKFtvBStqKYZbJQ7cPfgphMYfHEnc2hLn02l9VtsN+IE3DQH1p+MCVVHBlxG+KNIwd11xp7jjpadJpC X-Received: by 10.25.33.139 with SMTP id h133mr2047812lfh.159.1458762611413; Wed, 23 Mar 2016 12:50:11 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Wed, 23 Mar 2016 18:25:47 -0400 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:115422 Archived-At: --001a11411506443942052ebca303 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable emacs -Q -nw SYMLINK where SYMLINK is any symlink to a VC-controlled file. Emacs will display a curses-like dialog asking whether the symlink should be followed. After selecting Yes, a signal is raised and the file is not visited. Stack trace: Debugger entered--Lisp error: (wrong-type-argument arrayp nil) file-truename(nil) find-buffer-visiting(nil) vc-follow-link() vc-refresh-state() run-hooks(find-file-hook) after-find-file(nil t) find-file-noselect-1(# "~/emacs/README.link" nil nil "~/emacs/README" (3277016 64513)) find-file-noselect("/home/phst/emacs/README.link") #[1285 ".\204..\300.!\204..\301\302.\"\207\303\304.!.\"\305.!.... \242B\240\210\211q\210.\242\306U\2043.eb\210.\242Sy\210.\306\240\210.\242\3= 07W\204D.\310.\242S!\210.\306\240\207" [file-name-absolute-p message "Ignoring relative file name (%s) due to nil default-directory" expand-file-name command-line-normalize-file-name find-file-noselect 0 1 move-to-column] 10 "\n\n(fn DISPLAYABLE-BUFFERS DIR LINE COLUMN NAME)"]((nil) "~/emacs/" (0) (0) "README.link") command-line-1(("-f" "toggle-debug-on-error" "README.link")) command-line() normal-top-level() In GNU Emacs 25.1.50 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8) System Description: Ubuntu 14.04 LTS Configured using: 'configure --disable-build-details CFLAGS=3D-g' Configured features: XPM JPEG TIFF GIF PNG SOUND GSETTINGS NOTIFY FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Debugger Minor modes in effect: diff-auto-refine-mode: t 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 auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: 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. Debug on Error enabled globally Entering debugger... Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils debug vc-git diff-mode easy-mmode map seq byte-opt gv bytecomp byte-compile cconv cl-extra help-mode easymenu cl-loaddefs pcase cl-lib cus-load term/xterm xterm time-date mule-util tooltip cus-start eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win 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 term/tty-colors 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 obarray 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 inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 168760 10124) (symbols 48 21948 0) (miscs 40 48 94) (strings 32 54530 7129) (string-bytes 1 2271107) (vectors 16 20478) (vector-slots 8 465697 3482) (floats 8 331 146) (intervals 56 226 0) (buffers 976 13) (heap 1024 31200 857)) --=20 Google Germany GmbH Erika-Mann-Stra=C3=9Fe 33 80636 M=C3=BCnchen Registergericht und -nummer: Hamburg, HRB 86891 Sitz der Gesellschaft: Hamburg Gesch=C3=A4ftsf=C3=BChrer: Matthew Scott Sucherman, Paul Terence Manicle Diese E-Mail ist vertraulich. Wenn Sie nicht der richtige Adressat sind, leiten Sie diese bitte nicht weiter, informieren Sie den Absender und l=C3=B6schen Sie die E-Mail und alle Anh=C3=A4nge. Vielen Dank. This e-mail is confidential. If you are not the right addressee please do not forward it, please inform the sender, and please erase this e-mail including any attachments. Thanks. --001a11411506443942052ebca303 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


emacs -Q -nw SYMLINK

where SYMLINK is any symlink to a VC-controlled file. Emacs will
display a curses-like dialog asking whether the symlink should be
followed. After selecting Yes, a signal is raised and the file is not
visited. Stack trace:

Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
file-truename(nil)
find-buffer-visiting(nil)
vc-follow-link()
vc-refresh-state()
run-hooks(find-file-hook)
after-find-file(nil t)
find-file-noselect-1(# "~/emacs/README.link" nil nil "= ~/emacs/README" (3277016 64513))
find-file-noselect("/home/phst/emacs/README.link")
#[1285 ".\204..\300.!\204..\301\302.\"\207\303\304.!.\"= ;\305.!.... \242B\240\210\211q\210.\242\306U\2043.eb\210.\242Sy\210.\306\24= 0\210.\242\307W\204D.\310.\242S!\210.\306\240\207" [file-name-absolute= -p message "Ignoring relative file name (%s) due to nil default-direct= ory" expand-file-name command-line-normalize-file-name find-file-nosel= ect 0 1 move-to-column] 10 "\n\n(fn DISPLAYABLE-BUFFERS DIR LINE COLUM= N NAME)"]((nil) "~/emacs/" (0) (0) "README.link")
command-line-1(("-f" "toggle-debug-on-error" &quo= t;README.link"))
command-line()
normal-top-level()




In GNU Emacs 25.1.50 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.8)
System Description: Ubuntu 14.04 LTS

Configured using:
'configure --disable-build-details CFLAGS=3D-g'

Configured features:
XPM JPEG TIFF GIF PNG SOUND GSETTINGS NOTIFY FREETYPE XFT ZLIB
TOOLKIT_SCROLL_BARS GTK3 X11

Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix

Major mode: Debugger

Minor modes in effect:
diff-auto-refine-mode: t
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
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
buffer-read-only: 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.
Debug on Error enabled globally
Entering debugger...

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message dired dired-loaddefs format-spe= c
rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util
rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils debug vc-git diff-mode easy-mmode map seq
byte-opt gv bytecomp byte-compile cconv cl-extra help-mode easymenu
cl-loaddefs pcase cl-lib cus-load term/xterm xterm time-date mule-util
tooltip cus-start eldoc electric uniquify ediff-hook vc-hooks
lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar
dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mod= e
lisp-mode prog-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core
term/tty-colors 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
obarray 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 inotif= y
dynamic-setting system-font-setting font-render-setting move-toolbar gt= k
x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 168760 10124)
(symbols 48 21948 0)
(miscs 40 48 94)
(strings 32 54530 7129)
(string-bytes 1 2271107)
(vectors 16 20478)
(vector-slots 8 465697 3482)
(floats 8 331 146)
(intervals 56 226 0)
(buffers 976 13)
(heap 1024 31200 857))
--

Goo= gle Germany GmbH
Erika-Mann-Stra=C3=9Fe 33
80636 M=C3=BCnchen

Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Gesch=C3=A4ftsf=C3=BChrer: Matthew Scott Sucherman, Paul Terence Manicle

Diese E-Mail ist vertraulich. Wenn Sie nicht der richtige Ad= ressat sind, leiten Sie diese bitte nicht weiter, informieren Sie den Absen= der und l=C3=B6schen Sie die E-Mail und alle Anh=C3=A4nge. Vielen Dank.

This e-mail is confidential. If you are not the right addres= see please do not forward it, please inform the sender, and please erase th= is e-mail including any attachments. Thanks.

--001a11411506443942052ebca303--