Loading ...
Sorry, an error occurred while loading the content.

214Re: [emacs-nxml-mode] Character entities

Expand Messages
  • Xavier Cazin
    Oct 3 12:26 PM
      Norman Walsh <normyahoo@...> writes:

      > ;;; XML Characters
      >
      > ;; Two #'s because I've got # bound to quoted-insert
      > (defvar unicode-charref-format "&##x%x;")
      >
      > (setq unicode-character-list-file "/home/ndw/emacs/unichars.el")
      > (load-file "/home/ndw/emacs/xmlunicode.el")

      Is unichars.el the same as the xmlchars.el you provide at
      http://nwalsh.com/emacs/xmlchars?

      When I replace the filenames by those where I saved xmlchars.el and
      xmlunicode.el, evaluating the code above complains that:

      Debugger entered--Lisp error: (void-variable unicode-character-list)
      (let ((ulist unicode-character-list)) (setq unicode-character-alist (list ...)) (setq ulist (cdr ulist)) (while ulist (nconc unicode-character-alist ...) (setq ulist ...)))
      eval-buffer(#<buffer *load*> nil "/tmp/xmlunicode.el" nil t)
      load-with-code-conversion("/tmp/xmlunicode.el" "/tmp/xmlunicode.el" nil nil)
      load("/tmp/xmlunicode.el" nil nil t)
      [...]

      FWIW, my emacs version is 21.2.1.

      -- Xavier.
    • Show all 25 messages in this topic