[Top][All Lists]

[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 address@hidden 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)

(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)
[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")

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.


reply via email to

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