From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: position on changing defaults? Date: Sat, 08 Mar 2008 20:08:59 +0100 Message-ID: <8763vx3ues.fsf@kfs-lx.rd.rdm> References: <200803050637.m256bXL3008361@sallyv1.ics.uci.edu> <87hcfkdhqk.fsf@stupidchicken.com> <87d4q8sq9c.fsf@jurta.org> <8763w0n393.fsf@catnip.gol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1205003360 5479 80.91.229.12 (8 Mar 2008 19:09:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Mar 2008 19:09:20 +0000 (UTC) Cc: juri@jurta.org, cyd@stupidchicken.com, miles@gnu.org, Stefan Monnier , emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 08 20:09:44 2008 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 1JY4QQ-0006iI-CO for ged-emacs-devel@m.gmane.org; Sat, 08 Mar 2008 20:09:42 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JY4Ps-0005ft-DC for ged-emacs-devel@m.gmane.org; Sat, 08 Mar 2008 14:09:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JY4Po-0005fe-K9 for emacs-devel@gnu.org; Sat, 08 Mar 2008 14:09:04 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JY4Po-0005fS-1h for emacs-devel@gnu.org; Sat, 08 Mar 2008 14:09:04 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JY4Pn-0005fP-TC for emacs-devel@gnu.org; Sat, 08 Mar 2008 14:09:03 -0500 Original-Received: from mail-relay.sonofon.dk ([212.88.64.25]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1JY4Pm-0005hU-Uu for emacs-devel@gnu.org; Sat, 08 Mar 2008 14:09:03 -0500 Original-Received: (qmail 7859 invoked from network); 8 Mar 2008 19:09:00 -0000 Original-Received: from unknown (HELO kfs-lx.rd.rdm.cua.dk) (213.83.150.21) by 0 with SMTP; 8 Mar 2008 19:09:00 -0000 In-Reply-To: (Richard Stallman's message of "Sat\, 08 Mar 2008 12\:40\:29 -0500") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.91 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.6-4.9 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:91749 Archived-At: Richard Stallman writes: > I'm not sure I understand what you're proposing. > One thing we can do right now is: > > (define-key function-key-map [S-up] > (lambda (prompt) (setq foo-shited t) [up])) > > It is rather kludgy to set `foo-shited' that way. > (And can you be sure it is reliably reset to nil? > What if you type C-g at the wrong moment?) > > Why do this rather than directly bind S-up to a command > that does exactly what is wanted? I have rechecked the relevant code - and it seems the S- checking hacks for ttys is no longer used by cua-mode; it works to check for the shift modifier in the current key sequence on ttys as well. Sorry for the noise (in this specific area). -- Kim F. Storm http://www.cua.dk