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: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#6313: closed (`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 message dated Sun, 30 May 2010 22:51:17 +0300
with message-id <83d3wdtbgq.fsf <at> gnu.org>
and subject line Re: bug#6313: `define-coding-system' docs - two disjoint entries for	`:eol-type'
has caused the GNU bug report #6313,
regarding `define-coding-system' docs - two disjoint entries for `:eol-type'
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> 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: 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\


[Message part 3 (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).


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

Previous Next


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