From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mohammed Sadiq Newsgroups: gmane.emacs.bugs 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) Message-ID: <1586197258.5036.1488165970968@webmail.mailhostbox.com> References: <87wpccjrf1.fsf@rose> <87fuj0e4i5.fsf@users.sourceforge.net> Reply-To: Mohammed Sadiq NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1488166038 12896 195.159.176.226 (27 Feb 2017 03:27:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 27 Feb 2017 03:27:18 +0000 (UTC) Cc: 25885@debbugs.gnu.org To: npostavs@users.sourceforge.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 27 04:27:14 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 1ciBxu-0002Sw-0Z for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Feb 2017 04:27:10 +0100 Original-Received: from localhost ([::1]:50057 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ciBxz-0004WW-Pp for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Feb 2017 22:27:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43569) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ciBxp-0004Uk-S0 for bug-gnu-emacs@gnu.org; Sun, 26 Feb 2017 22:27:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ciBxm-0006hA-OD for bug-gnu-emacs@gnu.org; Sun, 26 Feb 2017 22:27:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59183) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ciBxm-0006h6-Gk for bug-gnu-emacs@gnu.org; Sun, 26 Feb 2017 22:27:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ciBxm-0000dz-BO for bug-gnu-emacs@gnu.org; Sun, 26 Feb 2017 22:27:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mohammed Sadiq Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 27 Feb 2017 03:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25885 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25885-submit@debbugs.gnu.org id=B25885.14881659842427 (code B ref 25885); Mon, 27 Feb 2017 03:27:02 +0000 Original-Received: (at 25885) by debbugs.gnu.org; 27 Feb 2017 03:26:24 +0000 Original-Received: from localhost ([127.0.0.1]:57382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ciBxA-0000d5-1l for submit@debbugs.gnu.org; Sun, 26 Feb 2017 22:26:24 -0500 Original-Received: from us2-ob4-6.mailhostbox.com ([208.91.199.215]:49482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ciBx7-0000cx-TF for 25885@debbugs.gnu.org; Sun, 26 Feb 2017 22:26:22 -0500 Original-Received: from 172.16.214.62 (unknown [172.16.214.62]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: sadiq@sadiqpk.org) by us2.outbound.mailhostbox.com (Postfix) with ESMTPSA id EC9451C1637; Mon, 27 Feb 2017 03:26:10 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sadiqpk.org; s=20160628; t=1488165971; bh=MQRtW1ItPJduXotE/AVerRxiZ5lL2opIWocnFi2bb1g=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject; b=Rb5+rW4ldqqmAxmLuRtaai/YTL/MnC3TJbSNbB4cIXRjWZCT0uJ4FnFcvly4iKdi+ GjRFm+NiH+EjRt5OQ5J5in8ibTT0goig2E9/PdsPptJ+b3L7aw5pzbcDF4zTTi380B bTPUjOw+K9DSpw8KiAQ0VG7EpwtdbaH199D2Idxg= In-Reply-To: <87fuj0e4i5.fsf@users.sourceforge.net> X-Priority: 3 Importance: Medium X-Mailer: Open-Xchange Mailer v7.8.1-Rev14 X-Originating-Client: open-xchange-appsuite X-CMAE-Score: 0 X-CMAE-Analysis: v=2.2 cv=bdwbaKHB c=1 sm=1 tr=0 a=Ejo+fC9hko1e0+RChf/zrg==:117 a=IkcTkHD0fZMA:10 a=iJK4r9SQDz-yUxlH_SwA:9 a=QEXdDO2ut3YA:10 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:129862 Archived-At: > 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? >=20 > 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 *nothi= ng 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(# "~/test.xml" nil nil "~/test.xml"= nil) find-file-noselect("/home/sadiq/test.xml") #[1285 "=03\204=0F^@\301\302=02\"\207\303\304=02!=05\"\305=01!=06=06=01= =06=08\242B\240\210\211q\210=04\242\306U\2043^@eb\210=04\242Sy\210=04\306\2= 40\210=03\242\307W\204D^@\310=04\242S!\210=03\306\240\207" [file-name-absol= ute-p message "Ignoring relative file name (%s) due to nil default-director= y" 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)"]((n= il) "~/" (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 fro= m 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