emacs-bug-tracker
[Top][All Lists]
Advanced

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

[Emacs-bug-tracker] bug#6313: closed (`define-coding-system' docs - two


From: GNU bug Tracking System
Subject: [Emacs-bug-tracker] bug#6313: closed (`define-coding-system' docs - two disjoint entries for `:eol-type')
Date: Sun, 30 May 2010 19:52:01 +0000

Your message dated Sun, 30 May 2010 22:51:17 +0300
with message-id <address@hidden>
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
address@hidden)


-- 
6313: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6313
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- 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 ((address@hidden 0))
  (with-temp-buffer
    (save-excursion (insert (documentation 'define-coding-system)))
    (while (search-forward-regexp "^`:eol-type'\n\nVALUE" nil t)
      (setf address@hidden (1+ address@hidden))))
  address@hidden)
=> 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\



--- End Message ---
--- Begin Message --- 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 <address@hidden>
> Cc: 
> 
> The `define-coding-system' docstring contains two disjoint descriptions for
> property `:eol-type' and expected values:

Thanks, I fixed this (revno 100486).


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]