[Date Prev] [Date Index] [Date Next]
[Thread Prev] [Thread Index] [Thread Next]

[xyzzy:07656] Re: inhibit-eol-conversion



山根さん、こんにちは。

	2001年10月21日(日)[19:48:52]の、
	[xyzzy:07655] Re: inhibit-eol-conversion
	への返事です。

  (let ((buf (create-new-buffer "test")))
    (set-buffer buf)
    (erase-buffer buf)
    (insert "\"a\nb\nc\"\n")
    (set-buffer-eol-code *eol-lf*)
    (write-file "c:/temp/eol.csv"))

とか

  (let ((*default-eol-code* *eol-lf*))
    (declare (special *default-eol-code*))
    (let ((buf (create-new-buffer "test")))
      (set-buffer buf)
      (erase-buffer buf)
      (insert "\"a\nb\nc\"\n")
      (write-file "c:/temp/eol.csv")))

とか。

-- 
亀井哲弥(KAMEI Tetsuya)
kamei@xxxxxxxxxxxx

Index Home