unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* defconst in lao.el
@ 2004-11-14 18:56 Luc Teirlinck
  2004-11-14 21:06 ` Stefan Monnier
                   ` (2 more replies)
  0 siblings, 3 replies; 16+ messages in thread
From: Luc Teirlinck @ 2004-11-14 18:56 UTC (permalink / raw)


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1596 bytes --]

I believe that all defconst's in lao.el should be defvar's.  Several
are changed in the file itself and produce compiler warnings.  I
propose the patch below.  I am not sure what to do about the
Copyright:

;; Copyright (C) 1997 Electrotechnical Laboratory, JAPAN.
;; Licensed to the Free Software Foundation.

===File ~/lao.el-diff=======================================
*** lao.el	01 Sep 2003 16:08:19 -0500	1.8
--- lao.el	14 Nov 2004 12:41:09 -0600	
***************
*** 42,48 ****
  	  (compose-string (quail-lookup-map-and-concat quail-current-key))))
    control-flag)
  
! (defconst lao-key-alist
    '(("!" . "1")
      ("\"" . "=")
      ("#" . "3")
--- 42,48 ----
  	  (compose-string (quail-lookup-map-and-concat quail-current-key))))
    control-flag)
  
! (defvar lao-key-alist
    '(("!" . "1")
      ("\"" . "=")
      ("#" . "3")
***************
*** 148,159 ****
      ("\\9" . "໙")
      ))
  
! (defconst lao-consonant-key-alist nil)
! (defconst lao-semivowel-key-alist nil)
! (defconst lao-vowel-key-alist nil)
! (defconst lao-voweltone-key-alist nil)
! (defconst lao-tone-key-alist nil)
! (defconst lao-other-key-alist nil)
  
  (let ((tail lao-key-alist)
        elt phonetic-type)
--- 148,159 ----
      ("\\9" . "໙")
      ))
  
! (defvar lao-consonant-key-alist nil)
! (defvar lao-semivowel-key-alist nil)
! (defvar lao-vowel-key-alist nil)
! (defvar lao-voweltone-key-alist nil)
! (defvar lao-tone-key-alist nil)
! (defvar lao-other-key-alist nil)
  
  (let ((tail lao-key-alist)
        elt phonetic-type)
============================================================

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2004-12-04  3:43 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-14 18:56 defconst in lao.el Luc Teirlinck
2004-11-14 21:06 ` Stefan Monnier
2004-11-14 21:47   ` Luc Teirlinck
2004-11-15 14:00 ` Richard Stallman
2004-11-17  1:41 ` Kenichi Handa
2004-11-17  3:01   ` Luc Teirlinck
2004-11-17  6:39     ` Stephan Stahl
2004-11-17 14:26       ` Luc Teirlinck
2004-11-17 22:05         ` Luc Teirlinck
2004-11-17  3:07   ` Luc Teirlinck
2004-11-17  3:57   ` Luc Teirlinck
2004-11-17 14:17   ` Stefan Monnier
2004-11-17 18:35     ` Luc Teirlinck
2004-11-17 19:03       ` Stefan Monnier
2004-12-04  2:49       ` Kenichi Handa
2004-12-04  3:43         ` Luc Teirlinck

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).