all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Luc Teirlinck <teirllm@dms.auburn.edu>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: utf-translate-cjk-mode undocumented
Date: Fri, 30 Jul 2004 10:45:32 -0500 (CDT)	[thread overview]
Message-ID: <200407301545.i6UFjWX13500@raven.dms.auburn.edu> (raw)
In-Reply-To: <jek6wlhouj.fsf@sykes.suse.de> (message from Andreas Schwab on Fri, 30 Jul 2004 10:38:12 +0200)

Andreas Schwab wrote (in response to Richard Stallman:

   >     This is a minor-mode toggle.
   >
   > Could you fix the doc string accordingly?

   I think prepending "Toggle" to the doc string is enough to make it
   clear.  Do you agree?

The first line ia already six characters longer than the maximum
allowed 67 (for apropos).  It still does not mention that this is a
minor mode.  It does not say what the ARG argument does.  It refers to
the function as being a customizable _option_ (variable) in the last
paragraph.  I believe that the following would fix all of this:

===File ~/utf8.el-diff======================================
*** utf-8.el	13 Jun 2004 17:49:29 -0500	1.40
--- utf-8.el	30 Jul 2004 10:21:51 -0500	
***************
*** 284,290 ****
  	   (get 'utf-subst-table-for-encode 'translation-hash-table)))
    
  (define-minor-mode utf-translate-cjk-mode
!   "Whether the UTF based coding systems should decode/encode CJK characters.
  Enabling this allows the coding systems mule-utf-8,
  mule-utf-16le and mule-utf-16be to encode characters in the charsets
  `korean-ksc5601', `chinese-gb2312', `chinese-big5-1',
--- 284,292 ----
  	   (get 'utf-subst-table-for-encode 'translation-hash-table)))
    
  (define-minor-mode utf-translate-cjk-mode
!   "Toggle whether UTF based coding systems de/encode CJK characters.
! If ARG is an integer, enable if ARG is positive and disable if
! zero or negative.  This is a minor mode.
  Enabling this allows the coding systems mule-utf-8,
  mule-utf-16le and mule-utf-16be to encode characters in the charsets
  `korean-ksc5601', `chinese-gb2312', `chinese-big5-1',
***************
*** 296,304 ****
  turned on: ksc5601 for Korean, gb2312 for Chinese-GB, big5 for
  Chinese-Big5 and jisx for other environments.
  
! This option is on by default.  If you are not interested in CJK
  characters and want to avoid some overhead on encoding/decoding
! by the above coding systems, you can customize this option to nil."
    :init-value t
    :version "21.4"
    :type 'boolean
--- 298,307 ----
  turned on: ksc5601 for Korean, gb2312 for Chinese-GB, big5 for
  Chinese-Big5 and jisx for other environments.
  
! This is on by default.  If you are not interested in CJK
  characters and want to avoid some overhead on encoding/decoding
! by the above coding systems, you can customize the user option
! `utf-translate-cjk-mode' to nil."
    :init-value t
    :version "21.4"
    :type 'boolean
============================================================

  reply	other threads:[~2004-07-30 15:45 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-27 23:07 utf-translate-cjk-mode undocumented Werner LEMBERG
2004-07-28  0:03 ` Miles Bader
2004-07-28  0:10   ` Werner LEMBERG
2004-07-28 22:10 ` Richard Stallman
2004-07-29  9:14   ` Andreas Schwab
2004-07-30  4:55     ` Richard Stallman
2004-07-30  8:38       ` Andreas Schwab
2004-07-30 15:45         ` Luc Teirlinck [this message]
2004-07-30 16:06           ` Andreas Schwab
2004-07-30 16:09             ` Luc Teirlinck
2004-07-31  2:57           ` Richard Stallman

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=200407301545.i6UFjWX13500@raven.dms.auburn.edu \
    --to=teirllm@dms.auburn.edu \
    --cc=emacs-devel@gnu.org \
    --cc=rms@gnu.org \
    /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.