all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@elta.co.il>
Subject: Re: What does the coding system nil mean?
Date: 25 Jan 2004 08:10:58 +0200	[thread overview]
Message-ID: <uad4ch825.fsf@elta.co.il> (raw)
In-Reply-To: <m365f1571p.fsf@defun.localdomain> (message from Jesper Harder on Sat, 24 Jan 2004 23:13:38 +0100)

> Newsgroups: gnu.emacs.help
> From: Jesper Harder <harder@myrealbox.com>
> Date: Sat, 24 Jan 2004 23:13:38 +0100
> 
> So, can anyone explain what a nil coding system means?

It means, quite naturally, that no code-conversion should take place.
That is, the original text or string are left unaltered.

Try it:

  M-: (encode-coding-string "SOME STRING" nil) 
      => "SOME STRING"

(include non-ASCII characters in the string to convince yourself they
are not encoded).

I agree that this should be in the docs somewhere, e.g. in the docs of
the en/decoding primitives such as encode-coding-region and
decode-coding-string.  So a documentation bug report is probably in
order.

  reply	other threads:[~2004-01-25  6:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-24 22:13 What does the coding system nil mean? Jesper Harder
2004-01-25  6:10 ` Eli Zaretskii [this message]
     [not found] ` <mailman.1298.1075010993.928.help-gnu-emacs@gnu.org>
2004-01-25 21:09   ` Jesper Harder
2004-01-26  6:08     ` Eli Zaretskii
     [not found]     ` <mailman.1343.1075097239.928.help-gnu-emacs@gnu.org>
2004-01-26 15:07       ` Stefan Monnier
2004-01-26 17:28         ` Eli Zaretskii
2004-01-27 15:22         ` Oliver Scholz
2004-01-27 16:33           ` Stefan Monnier
2004-01-26 15:20       ` Jesper Harder
2004-01-26 17:26         ` Eli Zaretskii
2004-01-27 14:44         ` Oliver Scholz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uad4ch825.fsf@elta.co.il \
    --to=eliz@elta.co.il \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.