unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* \r\n confuses #! !#
@ 2004-03-10 14:23 Bill Schottstaedt
  2004-03-21  2:02 ` Marius Vollmer
  0 siblings, 1 reply; 2+ messages in thread
From: Bill Schottstaedt @ 2004-03-10 14:23 UTC (permalink / raw)
  Cc: k.s.matheussen

read.c (line 271 in 1.6.4, 286 in CVS):

in skip_scsh_block_comment (SCM port)

       if (history == (('\n' << 24) | ('!' << 16) | ('#' << 8) | '\n'))

gets confused if the text editor uses \r\n rather than \n.

(This is possible with emacs, though I'm not sure how).



_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-guile


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: \r\n confuses #! !#
  2004-03-10 14:23 \r\n confuses #! !# Bill Schottstaedt
@ 2004-03-21  2:02 ` Marius Vollmer
  0 siblings, 0 replies; 2+ messages in thread
From: Marius Vollmer @ 2004-03-21  2:02 UTC (permalink / raw)
  Cc: bug-guile, k.s.matheussen

Bill Schottstaedt <bil@ccrma.Stanford.EDU> writes:

> read.c (line 271 in 1.6.4, 286 in CVS):
>
> in skip_scsh_block_comment (SCM port)
>
>        if (history == (('\n' << 24) | ('!' << 16) | ('#' << 8) | '\n'))
>
> gets confused if the text editor uses \r\n rather than \n.

Fixed, thanks!

> (This is possible with emacs, though I'm not sure how).

You can select the 'dos' coding system for saving a file, for example.

-- 
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405


_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-guile


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-03-21  2:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-10 14:23 \r\n confuses #! !# Bill Schottstaedt
2004-03-21  2:02 ` Marius Vollmer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).