GNU bug report logs -
#3447
suggest minibuffer M-< go to start of text
Previous Next
Reported by: Kevin Ryde <user42 <at> zip.com.au>
Date: Mon, 1 Jun 2009 23:50:04 UTC
Severity: wishlist
Tags: fixed, patch
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Kevin Ryde <user42 <at> zip.com.au> writes:
> Dunno if it'd be best to have a function recognising "field" stuff, or
> just a different keybinding in the minibuffer. I've been using the
> couple of lines below. It's good when you've got a multiple lines in
> the minibuffer.
>
> (defun my-minibuffer-beginning-of-buffer ()
> (interactive)
> (or (and (fboundp 'region-active-p) ;; new in emacs23
> (region-active-p))
> (push-mark))
> (if (<= (point) (minibuffer-prompt-end))
> (goto-char (point-min))
> (goto-char (minibuffer-prompt-end))))
> (define-key minibuffer-local-map "\M-<" 'my-minibuffer-beginning-of-buffer)
I think something like this would be a very good idea. I frequently
have long, multiline expressions in the minibuffer, and `M-<' not taking
me to the start of the editable data is annoying.
Does anybody object to making a change like this? (It'll have to be
modernised a bit, of course.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 4 years and 290 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.