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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 6313 in the body.
You can then email your comments to 6313 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6313; Package emacs. (Sun, 30 May 2010 19:20:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to MON KEY <monkey <at> sandpframing.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 30 May 2010 19:20:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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\




Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sun, 30 May 2010 19:52:01 GMT) Full text and rfc822 format available.

Notification sent to MON KEY <monkey <at> sandpframing.com>:
bug acknowledged by developer. (Sun, 30 May 2010 19:52:01 GMT) Full text and rfc822 format available.

Message #10 received at 6313-done <at> debbugs.gnu.org (full text, mbox):

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).




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 28 Jun 2010 11:24:04 GMT) Full text and rfc822 format available.

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.