From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Lennart Borgman" Newsgroups: gmane.emacs.devel Subject: Re: a simple convenience function Date: Mon, 15 Nov 2004 01:22:54 +0100 Message-ID: <001001c4caa9$5105b9b0$0200a8c0@sedrcw11488> References: <200411142336.00131.pogonyshev@gmx.net> <20041114233449.GC12968@fencepost> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1100478234 1330 80.91.229.6 (15 Nov 2004 00:23:54 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 15 Nov 2004 00:23:54 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 15 01:23:43 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 1CTUel-0008Cm-00 for ; Mon, 15 Nov 2004 01:23:43 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CTUnR-0008U1-BM for ged-emacs-devel@m.gmane.org; Sun, 14 Nov 2004 19:32:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CTUnI-0008Tv-SC for emacs-devel@gnu.org; Sun, 14 Nov 2004 19:32:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CTUnI-0008Tj-G0 for emacs-devel@gnu.org; Sun, 14 Nov 2004 19:32:32 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CTUnI-0008Tg-CP for emacs-devel@gnu.org; Sun, 14 Nov 2004 19:32:32 -0500 Original-Received: from [81.228.11.109] (helo=av3-1-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CTUeM-0007v3-6R; Sun, 14 Nov 2004 19:23:18 -0500 Original-Received: by av3-1-sn1.fre.skanova.net (Postfix, from userid 502) id 76DAB3803F; Mon, 15 Nov 2004 01:23:17 +0100 (CET) Original-Received: from smtp3-2-sn1.fre.skanova.net (smtp3-2-sn1.fre.skanova.net [81.228.11.164]) by av3-1-sn1.fre.skanova.net (Postfix) with ESMTP id 68C3337F1C; Mon, 15 Nov 2004 01:23:17 +0100 (CET) Original-Received: from sedrcw11488 (t3o58p224.telia.com [195.252.56.224]) by smtp3-2-sn1.fre.skanova.net (Postfix) with SMTP id 49D9F37E42; Mon, 15 Nov 2004 01:23:16 +0100 (CET) Original-To: "Miles Bader" , "Paul Pogonyshev" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 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: main.gmane.org gmane.emacs.devel:29850 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29850 Though I found the behaviour suggested by Paul much more mnemonic when bound to the Home key. It is also found in some other editors. - Lennart PS: Maybe I should write it as (defun home-or-back-to-indentation() (interactive) (if (bolp) (back-to-indentation) (beginning-of-line))) (define-key global-map [home] 'home-or-back-to-indentation) ----- Original Message ----- From: "Miles Bader" To: "Paul Pogonyshev" Cc: Sent: Monday, November 15, 2004 12:34 AM Subject: Re: a simple convenience function > On Sun, Nov 14, 2004 at 11:36:00PM +0200, Paul Pogonyshev wrote: > > I'm not sure this issue wasn't raised already, but what do > > you think about adding this simple function to Emasc? > > There's already `back-to-indentation', bound to M-m by default. > > I don't think the repeat-functionality you described seems really worth > adding another function. > > -Miles > -- > "Whatever you do will be insignificant, but it is very important that > you do it." Mahatma Ghandi > > > _______________________________________________ > Emacs-devel mailing list > Emacs-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-devel >