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

RE: [emacs-nxml-mode] Re: internal error

Expand Messages
  • david.pawson@rnib.org.uk
    ... From: sw_paulwarwicker [mailto:sw_paulwarwicker@yahoo.co.uk] We fixed up the rnc file as it was incorrect, but the following will fix the code $ diff
    Message 1 of 6 , Mar 31 3:59 AM
    • 0 Attachment
      -----Original Message-----
      From: sw_paulwarwicker [mailto:sw_paulwarwicker@...]

      We fixed up the rnc file as it was incorrect, but the
      following will fix the code

      $ diff rng-util.el rng-util_fixed.el
      164c164
      < (when (string-match "\\` " string)
      ---
      > (when (string-match "\` " string)
      166c166
      < (when (string-match " \\'" string)
      ---
      > (when (string-match " \'" string)

      Thanks Paul, I'll try that.

      regards DaveP

      -
      DISCLAIMER:

      NOTICE: The information contained in this email and any attachments is
      confidential and may be privileged. If you are not the intended
      recipient you should not use, disclose, distribute or copy any of the
      content of it or of any attachment; you are requested to notify the
      sender immediately of your receipt of the email and then to delete it
      and any attachments from your system.

      RNIB endeavours to ensure that emails and any attachments generated by
      its staff are free from viruses or other contaminants. However, it
      cannot accept any responsibility for any such which are transmitted.
      We therefore recommend you scan all attachments.

      Please note that the statements and views expressed in this email and
      any attachments are those of the author and do not necessarily represent
      those of RNIB.

      RNIB Registered Charity Number: 226227

      Website: http://www.rnib.org.uk
    • James Clark
      ... That s not right. Try this instead: ... *************** *** 164,170 **** (when (string-match ` string) (setq string (substring string 1))) (when
      Message 2 of 6 , Jul 26, 2004
      • 0 Attachment
        On Wed, 2004-03-31 at 17:41, sw_paulwarwicker wrote:

        > You can reproduce similar using:
        >
        > (rng-collapse-space "false ")
        >
        > We fixed up the rnc file as it was incorrect, but the following will
        > fix the code
        >
        > $ diff rng-util.el rng-util_fixed.el
        > 164c164
        > < (when (string-match "\\` " string)
        > ---
        > > (when (string-match "\` " string)
        > 166c166
        > < (when (string-match " \\'" string)
        > ---
        > > (when (string-match " \'" string)
        >

        That's not right. Try this instead:

        *** rng-util.el.~1.25.~ 2003-10-22 16:18:45.000000000 +0700
        --- rng-util.el 2004-07-27 00:20:52.821547384 +0700
        ***************
        *** 164,170 ****
        (when (string-match "\\` " string)
        (setq string (substring string 1)))
        (when (string-match " \\'" string)
        ! (setq string (substring 0 -1)))
        string)

        (provide 'rng-util)
        --- 164,170 ----
        (when (string-match "\\` " string)
        (setq string (substring string 1)))
        (when (string-match " \\'" string)
        ! (setq string (substring string 0 -1)))
        string)

        (provide 'rng-util)

        James
        --
        To send me mail, replace auth-only by public in the from address.
      • Chris Ryland
        James-- Is this fix in the latest nxml release? ... Cheers! --Chris Ryland / Em Software, Inc. / www.emsoftware.com
        Message 3 of 6 , Sep 2, 2004
        • 0 Attachment
          James--

          Is this fix in the latest nxml release?

          On Jul 26, 2004, at 1:23 PM, James Clark wrote:

          > On Wed, 2004-03-31 at 17:41, sw_paulwarwicker wrote:
          >
          >> You can reproduce similar using:
          >>
          >> (rng-collapse-space "false ")
          >>
          >> We fixed up the rnc file as it was incorrect, but the following will
          >> fix the code
          >>
          >> $ diff rng-util.el rng-util_fixed.el
          >> 164c164
          >> < (when (string-match "\\` " string)
          >> ---
          >>> (when (string-match "\` " string)
          >> 166c166
          >> < (when (string-match " \\'" string)
          >> ---
          >>> (when (string-match " \'" string)
          >>
          >
          > That's not right. Try this instead:
          >
          > *** rng-util.el.~1.25.~ 2003-10-22 16:18:45.000000000 +0700
          > --- rng-util.el 2004-07-27 00:20:52.821547384 +0700
          > ***************
          > *** 164,170 ****
          > (when (string-match "\\` " string)
          > (setq string (substring string 1)))
          > (when (string-match " \\'" string)
          > ! (setq string (substring 0 -1)))
          > string)
          >
          > (provide 'rng-util)
          > --- 164,170 ----
          > (when (string-match "\\` " string)
          > (setq string (substring string 1)))
          > (when (string-match " \\'" string)
          > ! (setq string (substring string 0 -1)))
          > string)
          >
          > (provide 'rng-util)
          >
          > James
          > --
          > To send me mail, replace auth-only by public in the from address.
          >
          >
          >
          >
          >
          > Yahoo! Groups Links
          >
          >
          >
          >
          >
          >

          Cheers!
          --Chris Ryland / Em Software, Inc. / www.emsoftware.com
        • James Clark
          ... No: I made that fix just after I did the last release. ... -- To send me mail, replace auth-only by public in the from address.
          Message 4 of 6 , Sep 2, 2004
          • 0 Attachment
            On Fri, 2004-09-03 at 01:27, Chris Ryland wrote:
            > James--
            >
            > Is this fix in the latest nxml release?

            No: I made that fix just after I did the last release.

            > On Jul 26, 2004, at 1:23 PM, James Clark wrote:
            >
            > > On Wed, 2004-03-31 at 17:41, sw_paulwarwicker wrote:
            > >
            > >> You can reproduce similar using:
            > >>
            > >> (rng-collapse-space "false ")
            > >>
            > >> We fixed up the rnc file as it was incorrect, but the following will
            > >> fix the code
            > >>
            > >> $ diff rng-util.el rng-util_fixed.el
            > >> 164c164
            > >> < (when (string-match "\\` " string)
            > >> ---
            > >>> (when (string-match "\` " string)
            > >> 166c166
            > >> < (when (string-match " \\'" string)
            > >> ---
            > >>> (when (string-match " \'" string)
            > >>
            > >
            > > That's not right. Try this instead:
            > >
            > > *** rng-util.el.~1.25.~ 2003-10-22 16:18:45.000000000 +0700
            > > --- rng-util.el 2004-07-27 00:20:52.821547384 +0700
            > > ***************
            > > *** 164,170 ****
            > > (when (string-match "\\` " string)
            > > (setq string (substring string 1)))
            > > (when (string-match " \\'" string)
            > > ! (setq string (substring 0 -1)))
            > > string)
            > >
            > > (provide 'rng-util)
            > > --- 164,170 ----
            > > (when (string-match "\\` " string)
            > > (setq string (substring string 1)))
            > > (when (string-match " \\'" string)
            > > ! (setq string (substring string 0 -1)))
            > > string)
            > >
            > > (provide 'rng-util)
            > >
            > > James
            > > --
            > > To send me mail, replace auth-only by public in the from address.
            > >
            > >
            > >
            > >
            > >
            > > Yahoo! Groups Links
            > >
            > >
            > >
            > >
            > >
            > >
            >
            > Cheers!
            > --Chris Ryland / Em Software, Inc. / www.emsoftware.com
            >
            >
            >
            >
            >
            > Yahoo! Groups Links
            >
            >
            >
            >
            --
            To send me mail, replace auth-only by public in the from address.
          Your message has been successfully submitted and would be delivered to recipients shortly.