unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
To: Glenn Morris <rgm@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: [per.starback@gmail.com: completion of coding systems]
Date: Sun, 14 Oct 2007 21:36:58 -0400	[thread overview]
Message-ID: <E1IhEt8-0001gf-2c@fencepost.gnu.org> (raw)
In-Reply-To: <r4bqb2zt7r.fsf@fencepost.gnu.org> (message from Glenn Morris on Sat, 13 Oct 2007 15:54:00 -0400)

    +   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);

That would work, but it would be cleaner to use 

    specbind (Qcompletion_ignore_case, Qt);

instead of interning it again.

  reply	other threads:[~2007-10-15  1:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-11 17:41 [per.starback@gmail.com: completion of coding systems] Richard Stallman
2007-10-13 19:54 ` Glenn Morris
2007-10-15  1:36   ` Richard Stallman [this message]
2007-10-15  7:16     ` Glenn Morris
2007-10-15 18:31       ` Richard Stallman
2007-10-15 18:46         ` Glenn Morris
2007-10-16 19:10           ` Richard Stallman
2007-10-17  1:41             ` Glenn Morris

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=E1IhEt8-0001gf-2c@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rgm@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 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).