emacs-devel
[Top][All Lists]
Advanced

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

Re: address@hidden: completion of coding systems]


From: Glenn Morris
Subject: Re: address@hidden: completion of coding systems]
Date: Sat, 13 Oct 2007 15:54:00 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Richard Stallman wrote:

> Would someone please do this in Emacs 22, then ack?

Is this right?


*** coding.c    25 Jul 2007 07:49:38 -0000      1.351.2.2
--- coding.c    13 Oct 2007 03:11:31 -0000
***************
*** 6563,6573 ****
--- 6563,6577 ----
       Lisp_Object prompt, default_coding_system;
  {
    Lisp_Object val;
+   int count = SPECPDL_INDEX ();
+ 
    if (SYMBOLP (default_coding_system))
      default_coding_system = SYMBOL_NAME (default_coding_system);
+   specbind (intern ("completion-ignore-case"), Qt);
    val = Fcompleting_read (prompt, Vcoding_system_alist, Qnil,
                          Qt, Qnil, Qcoding_system_history,
                          default_coding_system, Qnil);
+   unbind_to (count, Qnil);
    return (SCHARS (val) == 0 ? Qnil : Fintern (val, Qnil));
  }
  

> From: address@hidden
> Subject: completion of coding systems
> To: address@hidden
> Date: Thu, 11 Oct 2007 13:00:14 +0200
[...]
> Small suggestion: Set completion-ignore-case during read-coding-system.




reply via email to

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