GNU bug report logs - #6313
`define-coding-system' docs - two disjoint entries for `:eol-type'

Previous Next

Package: emacs;

Reported by: MON KEY <monkey <at> sandpframing.com>

Date: Sun, 30 May 2010 19:20:03 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: MON KEY <monkey <at> sandpframing.com>
Subject: bug#6313: closed (Re: bug#6313: `define-coding-system' docs - two
 disjoint entries for	`:eol-type')
Date: Sun, 30 May 2010 19:52:01 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#6313: `define-coding-system' docs - two disjoint entries for `:eol-type'

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 6313 <at> debbugs.gnu.org.

-- 
6313: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6313
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: MON KEY <monkey <at> sandpframing.com>
Cc: 6313-done <at> debbugs.gnu.org
Subject: Re: bug#6313: `define-coding-system' docs - two disjoint entries
	for	`:eol-type'
Date: Sun, 30 May 2010 22:51:17 +0300
> Date: Sun, 30 May 2010 15:19:45 -0400
> From: MON KEY <monkey <at> sandpframing.com>
> Cc: 
> 
> The `define-coding-system' docstring contains two disjoint descriptions for
> property `:eol-type' and expected values:

Thanks, I fixed this (revno 100486).

[Message part 3 (message/rfc822, inline)]
From: MON KEY <monkey <at> sandpframing.com>
To: bug-gnu-emacs <at> gnu.org
Subject: `define-coding-system' docs - two disjoint entries for `:eol-type'
Date: Sun, 30 May 2010 15:19:45 -0400
The `define-coding-system' docstring contains two disjoint descriptions for
property `:eol-type' and expected values:

(let ((eols <at> bols 0))
  (with-temp-buffer
    (save-excursion (insert (documentation 'define-coding-system)))
    (while (search-forward-regexp "^`:eol-type'\n\nVALUE" nil t)
      (setf eols <at> bols (1+ eols <at> bols))))
  eols <at> bols)
=> 2

(documentation 'define-coding-system)

,---- First occurrence:
| `:eol-type'
|
| VALUE is the EOL (end-of-line) format of the coding system.  It must
| be one of `unix', `dos', `mac'.  The symbol `unix' means Unix-like EOL
| (i.e. single LF), `dos' means DOS-like EOL (i.e. sequence of CR LF),
| and `mac' means Mac-like EOL (i.e. single CR).  If omitted, on
| decoding by the coding system, Emacs automatically detects the EOL
| format of the source text.
`----

,---- Second occurrence:
| `:eol-type'
|
| VALUE must be `unix', `dos', `mac'.  The symbol `unix' means Unix-like
| EOL (LF), `dos' means DOS-like EOL (CRLF), and `mac' means Mac-like
| EOL (CR).  If omitted, on decoding, the coding system detects EOL
| format automatically, and on encoding, uses Unix-like EOL.
`----

--
/s_P\



This bug report was last modified 14 years and 355 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.