From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: Migrating from Jove - help? Date: Wed, 23 Jun 2004 16:14:48 -0600 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <40DA00D8.3080704@yahoo.com> References: <200406231710.54939.emacs@oddiofile.com> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1088029323 18257 80.91.224.253 (23 Jun 2004 22:22:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 23 Jun 2004 22:22:03 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 24 00:21:57 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BdG7x-0003g3-00 for ; Thu, 24 Jun 2004 00:21:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BdG9K-0007fD-OK for geh-help-gnu-emacs@m.gmane.org; Wed, 23 Jun 2004 18:23:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BdG9C-0007eV-50 for help-gnu-emacs@gnu.org; Wed, 23 Jun 2004 18:23:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BdG99-0007dh-UF for help-gnu-emacs@gnu.org; Wed, 23 Jun 2004 18:23:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BdG99-0007de-Qs for help-gnu-emacs@gnu.org; Wed, 23 Jun 2004 18:23:11 -0400 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BdG7i-0006IX-18 for help-gnu-emacs@gnu.org; Wed, 23 Jun 2004 18:21:42 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by mx20.gnu.org with esmtp (Exim 4.34) id 1BdG12-0000kI-Ni for help-gnu-emacs@gnu.org; Wed, 23 Jun 2004 18:14:48 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BdG0y-0003UG-00 for ; Thu, 24 Jun 2004 00:14:47 +0200 Original-Received: from 170.207.1.200 ([170.207.1.200]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Jun 2004 00:14:44 +0200 Original-Received: from ihs_4664 by 170.207.1.200 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Jun 2004 00:14:44 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: help-gnu-emacs@gnu.org Original-Lines: 30 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 170.207.1.200 User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:19036 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19036 Alan Ezust wrote: > Using:GNU Emacs 21.3.1 > > I've been using jonathan's own version of emacs since 1988, > and I've tried gnu-emacs a few times but keep giving up because > I can't figure out how to do jove-like things in it yet. > > 1. If I make changes and want to exit without saving, in jove I do > ctrl-x ctrl-c > it asks: "modified buffers exist - exit anyway?", > I say: "y" and it lets me out. > > But with emacs, it asks me first this other question, which requires the > opposite yes/no answer, which always screws me up: > "save file? y/n" > > And then, if I say N, emacs asks me ANOTHER > question, and it won't accept a simple y/n, so I have to type > "yes" > > Can I have it skip that first question, and also permit me a single letter > response for the second? No and no. But you can shoot yourself in the foot like this: (global-set-key "\C-x\C-c" 'kill-emacs) ; was save-buffer-kill-emacs -- Kevin Rodgers