bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25885: 26.0.50; yas-minor-mode fails to load with xml files


From: Mohammed Sadiq
Subject: bug#25885: 26.0.50; yas-minor-mode fails to load with xml files
Date: Mon, 27 Feb 2017 08:56:10 +0530 (IST)

> On February 27, 2017 at 8:15 AM npostavs@users.sourceforge.net wrote:
> I'm not able to reproduce.  Can you give a recipe starting from 'emacs
> -Q'?  Perhaps the contents of the xml file is significant?
> 
> Can you get a backtrace with debug-on-error?

Sure. Here is my .emacs:

(setq debug-on-error t)

(package-initialize)
(require 'yasnippet)
(yas-global-mode 1)


How I opened emacs (the test.xml file don't really exists)
(Also note: emacs -Q test.xml also spits the same error. So this has *nothing 
to do with
yasnippet*, which I initially thought):

emacs test.xml

Here is the output in debugger when I opened emacs:
Debugger entered--Lisp error: (invalid-function with-coding-priority)
  with-coding-priority((utf-8) undecided)
  xml-find-file-coding-system((insert-file-contents "/home/sadiq/test.xml" t 
nil nil nil))
  insert-file-contents("~/test.xml" t)
  find-file-noselect-1(#<buffer test.xml> "~/test.xml" nil nil "~/test.xml" nil)
  find-file-noselect("/home/sadiq/test.xml")
   #[1285 
"\204^@\301\302\"\207\303\304!\"\305!\242B\240\210\211q\210\242\306U\2043^@eb\210\242Sy\210\306\240\210\242\307W\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) "~/" (0) (0) "test.xml")
  command-line-1(("test.xml"))
  command-line()
  normal-top-level()


Note: I have replaced \0 (^@) with real ^@, to not get truncated at \0

I installed yasnippet from https://github.com/joaotavora/yasnippet HEAD from 
master (but, as I
said, this isn't an issue with yasnippet).

This issue is present only in the git master branch of GNU Emacs.

Thanks





reply via email to

[Prev in Thread] Current Thread [Next in Thread]