[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: NTemacs doesn't understand RCS
From: |
Scott Thibault |
Subject: |
Re: NTemacs doesn't understand RCS |
Date: |
10 Nov 2004 03:22:05 -0800 |
> I see a potential bug that might prevent it from working: if the RCS
> file's contents have any leading or trailing whitespace, it will be
> taken as a literal part of the RCS directory name. Try replacing:
>
> (buffer-string))))
> with:
> (buffer-substring (progn
> (goto-char (point-min))
> (point))
> (if (re-search-forward "\n+\\'" nil t)
> (match-beginning 0)
> (point-max))))))
>
> > Is there a way to debug this code?
>
> See Stefan's response.
It's working! Thanks for the help. Using the debugger I could see
that it was in fact picking up a \n character as part of the filename.
--Scott