From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: CUA mode's C-RET binding [was: position on changing defaults?] Date: Thu, 13 Mar 2008 09:26:00 -0800 Message-ID: <006301c8852f$4ecc5430$c2b22382@us.oracle.com> References: <200803050637.m256bXL3008361@sallyv1.ics.uci.edu> <871w6j7cga.fsf@kfs-lx.rd.rdm> <003001c8823a$d7cd5010$0600a8c0@us.oracle.com> <87lk4r5v2o.fsf@kfs-lx.rd.rdm> <003101c88242$18736fd0$0600a8c0@us.oracle.com> <7dbe73ed0803100313g46d079dag91e1b8af1f750ee8@mail.gmail.com> <47D53BF1.70401@gmail.com> <7dbe73ed0803110744g6100de2fhd6dcf628139ab6c4@mail.gmail.com> <005301c88389$df4be3b0$0600a8c0@us.oracle.com> <7dbe73ed0803130420oe6e0854m99493ddf816dc72e@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1205425679 28440 80.91.229.12 (13 Mar 2008 16:27:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Mar 2008 16:27:59 +0000 (UTC) Cc: emacs-devel@gnu.org, "'Lennart Borgman \(gmail\)'" , monnier@iro.umontreal.ca, "'Kim F. Storm'" To: "'Mathias Dahl'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 13 17:28:26 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 1JZqHg-0003cR-4D for ged-emacs-devel@m.gmane.org; Thu, 13 Mar 2008 17:28:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZqH7-0004Tv-4b for ged-emacs-devel@m.gmane.org; Thu, 13 Mar 2008 12:27:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JZqH2-0004Qw-Hn for emacs-devel@gnu.org; Thu, 13 Mar 2008 12:27:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JZqH0-0004L2-0O for emacs-devel@gnu.org; Thu, 13 Mar 2008 12:27:20 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZqGz-0004KX-Lb for emacs-devel@gnu.org; Thu, 13 Mar 2008 12:27:17 -0400 Original-Received: from agminet01.oracle.com ([141.146.126.228]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JZqGz-0006Z2-Bg for emacs-devel@gnu.org; Thu, 13 Mar 2008 12:27:17 -0400 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by agminet01.oracle.com (Switch-3.2.4/Switch-3.1.7) with ESMTP id m2DGR0du021305; Thu, 13 Mar 2008 11:27:01 -0500 Original-Received: from acsmt351.oracle.com (acsmt351.oracle.com [141.146.40.151]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m2BMN2AO008173; Thu, 13 Mar 2008 10:26:59 -0600 Original-Received: from inet-141-146-46-1.oracle.com by acsmt351.oracle.com with ESMTP id 3611474811205425554; Thu, 13 Mar 2008 09:25:54 -0700 Original-Received: from dradamslap1 (/130.35.178.194) by bhmail.oracle.com (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 13 Mar 2008 09:25:54 -0700 X-Mailer: Microsoft Office Outlook 11 In-reply-to: <7dbe73ed0803130420oe6e0854m99493ddf816dc72e@mail.gmail.com> Thread-Index: AciE/D7Ievzq+iA9SYm6aKRgfanrcQAMOpxA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:92418 Archived-At: > > You might try binding C-j in the minibuffer so that it > > self-inserts. That's what I do in Icicles, where it's not > > unusual to use multi-line completions and input. > > I am sure I can but I have never bothered doing it. > > > I use C-n and C-p in the minibuffer to move between input > > lines. I didn't understand what you said about those keys. > > C-n and C-p I can use but not the arrow keys, unless I rebind > them too. > > When I want to input multi-line data as answer to a prompt I create > the data in a buffer and then yank that onto the prompt. That's OK if you seldom want to use multiple-line input. If that's not the case, then it seems like extra work, just to give you the safety (reassurance) that forgetting a C-q won't accidentally send something you didn't want to send. I mentioned a use case (Icicles) where it is not uncommon to use multi-line input - to match multi-line completion candidates. In that case, it helps to let C-j self-insert. For most Emacs users, however, it is probably not that often that they insert C-j, so for them it really doesn't matter that C-j is not self-inserting. The point was that if you do want to make it easier to insert C-j, then just make it self-insert. ;-) Similarly, for the arrow keys. I use them for something else in the minibuffer (in Icicles), but you can easily bind them in the minibuffer maps to do what C-n and C-p do.