From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: read-char doesn't use input-decode-map Date: Sun, 3 Jan 2010 02:59:27 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1262484192 18347 80.91.229.12 (3 Jan 2010 02:03:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Jan 2010 02:03:12 +0000 (UTC) Cc: Rob Giardina , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 03 03:03:05 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NRFo6-0001MF-TY for ged-emacs-devel@m.gmane.org; Sun, 03 Jan 2010 03:03:03 +0100 Original-Received: from localhost ([127.0.0.1]:47808 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NRFo7-0006pv-EI for ged-emacs-devel@m.gmane.org; Sat, 02 Jan 2010 21:03:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NRFl2-0005a7-Ve for emacs-devel@gnu.org; Sat, 02 Jan 2010 20:59:53 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NRFky-0005Xt-Bt for emacs-devel@gnu.org; Sat, 02 Jan 2010 20:59:52 -0500 Original-Received: from [199.232.76.173] (port=40431 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NRFky-0005Xo-7m for emacs-devel@gnu.org; Sat, 02 Jan 2010 20:59:48 -0500 Original-Received: from mail-gx0-f224.google.com ([209.85.217.224]:38506) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NRFkx-0001Kt-S6 for emacs-devel@gnu.org; Sat, 02 Jan 2010 20:59:48 -0500 Original-Received: by gxk24 with SMTP id 24so13893644gxk.6 for ; Sat, 02 Jan 2010 17:59:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=kQd6ytVnH5OnKelwYckkq6z08KzwVjtWLxA2gjn4ntI=; b=ESLuRPy6RZYHi8gvZmmpHDkm3o2+cdjFBHHeiYtTzpvvZPbPqKrIjlx1iXy6NithVO RM3ibDx+nsPUldz/NY8xetQV4Gav+JYS9GGPrxmn2BpMhLHeNOlN1dG2e1V76PF0z9Sv WHLXCIaKayhgmWpLxqIcrhgxqhiK0X5V0Miqk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=DiwzMH+XTYgmEbuzZIOaf06zgBvEw/B10OEhiyXN7C0si+UggBtSV++o2hjgKWV91T 2R/2+0DpvVmDiit7p0/HNyv2I6tkc5he8wleM+62vl021p1sh9axhRTWFRZzMOaa5RCb tDtVLJq9WCv5//eTwaWkh7rx1ldFEXAPRXskU= Original-Received: by 10.101.186.1 with SMTP id n1mr2533883anp.124.1262483987196; Sat, 02 Jan 2010 17:59:47 -0800 (PST) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:119297 Archived-At: On Thu, Dec 31, 2009 at 3:51 AM, Stefan Monnier wrote: > > Most uses of reac-char should be replaced by read-key instead. Then it is perhaps the time to use the prompt face for read-key too? It is a bit confusing now. I suggest something like: (progn (use-global-map read-key-empty-map) (message (concat (apply 'propertize prompt (member 'face minibuffer-prompt-properties)) (propertize " " 'face 'cursor))) (aref (catch 'read-key (read-key-sequence-vector nil nil t)) 0))