all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Lennart Borgman" <lennart.borgman.073@student.lu.se>
Cc: emacs-devel@gnu.org
Subject: Re: a simple convenience function
Date: Mon, 15 Nov 2004 01:22:54 +0100	[thread overview]
Message-ID: <001001c4caa9$5105b9b0$0200a8c0@sedrcw11488> (raw)
In-Reply-To: 20041114233449.GC12968@fencepost

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" <miles@gnu.org>
To: "Paul Pogonyshev" <pogonyshev@gmx.net>
Cc: <emacs-devel@gnu.org>
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
>

  reply	other threads:[~2004-11-15  0:22 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-14 21:36 a simple convenience function Paul Pogonyshev
2004-11-14 23:34 ` Miles Bader
2004-11-15  0:22   ` Lennart Borgman [this message]
2004-11-15  1:49     ` Paul Pogonyshev
2004-11-15  5:01       ` Dhruva Krishnamurthy
2004-11-15  7:28       ` Lennart Borgman
2004-11-15  1:50   ` Paul Pogonyshev
2004-11-15  6:45 ` Thien-Thi Nguyen
2004-11-15  9:29 ` Kai Grossjohann
2004-11-15 23:14   ` Alex Schroeder
2004-11-15 23:27     ` Lennart Borgman
2004-11-16 17:11     ` Kai Grossjohann
2004-11-16 17:14     ` Kai Grossjohann
2004-11-16 17:20     ` Kai Grossjohann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001001c4caa9$5105b9b0$0200a8c0@sedrcw11488' \
    --to=lennart.borgman.073@student.lu.se \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.