all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#16553: 24.3.50; `file-truename' returns a cons?  (wrong-type-argument stringp (...))
@ 2014-01-25 22:35 Drew Adams
  2014-01-25 23:09 ` Drew Adams
  0 siblings, 1 reply; 10+ messages in thread
From: Drew Adams @ 2014-01-25 22:35 UTC (permalink / raw)
  To: 16553

I ran into this when using my setup, not emacs -Q

Debugger entered--Lisp error: (wrong-type-argument stringp (require . fit-frame))
  file-name-nondirectory((require . fit-frame))
  file-name-sans-extension((require . fit-frame))
  help-fns--autoloaded-p(message-tab 
                         "d:/Emacs-24-2014-01-23/share/emacs/24.3.50/lisp/gnus/message.el")
  describe-function-1(message-tab)
  describe-key("	" 1 nil)
  call-interactively(describe-key nil nil)
  command-execute(describe-key)

I do redefine `describe-function-1', but I don't see why that should be
involved here.  It seems to me that the call to `help-fns--autoloaded-p'
is valid, and from then on only vanilla code is involved, AFAIK.

`help-fns--autoloaded-p' does this, at the start:

(let* ((file (file-name-sans-extension (file-truename file)))

From the above backtrace, I can only guess that `file-truename' applied
to that file name must be returning a cons.  However, if I use `M-:' to
evaluate:

(file-truename "d:/Emacs-24-2014-01-23/share/emacs/24.3.50/lisp/gnus/message.el")

then I get the same absolute file name back - no cons.  So I'm puzzled.

In GNU Emacs 24.3.50.1 (i686-pc-mingw32)
 of 2014-01-23 on ODIEONE
Bzr revision: 116129 monnier@iro.umontreal.ca-20140123150141-qopqqhpm8jqo8a18
Windowing system distributor `Microsoft Corp.', version 6.1.7601
Configured using:
 `configure --prefix=/c/Devel/emacs/binary --enable-checking=yes,glyphs
 'CFLAGS=-O0 -g3' LDFLAGS=-Lc:/Devel/emacs/lib
 CPPFLAGS=-Ic:/Devel/emacs/include'





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-02-10  3:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <<cfa22bc5-b446-4bdd-beb5-4050ea5f0fec@default>
     [not found] ` <<bbb39510-b1db-46ec-ae8e-0fcdab41da84@default>
     [not found]   ` <<83txcqaazz.fsf@gnu.org>
2014-01-26 18:33     ` bug#16553: 24.3.50; `file-truename' returns a cons? (wrong-type-argument stringp (...)) Drew Adams
2014-01-27  2:12       ` Stefan Monnier
2014-01-27  2:43         ` Drew Adams
2014-01-27  2:55           ` Stefan Monnier
2014-01-27  3:07             ` Drew Adams
2014-02-10  3:44       ` Lars Ingebrigtsen
2014-01-25 22:35 Drew Adams
2014-01-25 23:09 ` Drew Adams
2014-01-26  1:16   ` Glenn Morris
2014-01-26 17:50   ` Eli Zaretskii

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.