unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stephen Leake <stephen_leake@member.fsf.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org, Jason Spiro <jasonspiro4+news@gmail.com>
Subject: Re: Binding F11 and F12 to buffer-switching and file-saving by default
Date: Wed, 31 Jan 2007 10:21:56 -0500	[thread overview]
Message-ID: <uzm7znrvv.fsf@member.fsf.org> (raw)
In-Reply-To: <jwvlkjkbluj.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue, 30 Jan 2007 10:09:02 -0500")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> * to bind <F11> to some kind of buffer-switching command such as
>>   iswitchb-buffer,
>
>> * and to bind <F12> to save-buffer, 
>
>> by default? These are very commonly used functions, so I think it 
>> is worthwhile to provide one-key access to them.
>
> Actually, I find this reasoning rather odd:
> - on the one hand, they're much less used than many other commands.
>   Yes, it's very unlikely that a user would never use such commands in any
>   given Emacs session, but as for frequency of use, it's not that high up
>   the list.

I use 'iswitchb-buffer' a _lot_. But it is an individual preference.

> - F11 and F12 are rather far, so they're not quick. It's "one key",
> but it's not clear that it's quicker to use than C-x C-s for
> example.

I have iswitchb-buffer bound to F11, and find-file bound to F12. I
much prefer single keys (even when "far") to double keys; my wrists
have trouble reaching the control key.

Again, a very personal preference.

> This said, I think it probably makes sense to give default bindings to those
> Fn keys rather than leave them unused.  We should keep them as "user
> modifiable" keys, tho (i.e. commands bound to an Fn key should also have
> a good other binding).

I agree with the goal to "make Emacs more friendly to the
newbie". But I think that is best done via menus, not more
keybindings.

I also agree that this should be considered after the release.

> I'd tend to consider the Fn keys in a similar way to menu entries or toolbar
> entries.  Actually maybe a good idea would be to map toolbar entries to Fn
> keys: F2 presses the first button, F3 the second, etc...

I don't think that's helpful. If I like the toolbar, it's because I
use the mouse, so the function key bindings would just be redundant.
If I don't like the toolbar, I turn it off to allow more space for
buffer contents, so I would lose the labeling of the function keys.

-- 
-- Stephe

  reply	other threads:[~2007-01-31 15:21 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-30  8:47 Binding F11 and F12 to buffer-switching and file-saving by default Jason Spiro
2007-01-30  8:59 ` Juanma Barranquero
2007-01-30 10:52   ` Jason Spiro
2007-01-30 11:43     ` Juanma Barranquero
2007-01-30 20:43       ` Jason Spiro
2007-01-31  1:51         ` Juanma Barranquero
2007-01-31  1:55           ` Jason Spiro
2007-01-31  2:15             ` Juanma Barranquero
2007-01-31  7:52               ` Andreas Roehler
2007-01-31  7:47                 ` David Kastrup
2007-01-31 18:58             ` Jiri Pejchal
2007-02-01 12:35             ` Stephen Leake
2007-02-01 19:49               ` Ted Zlatanov
2007-01-31  2:19           ` Stefan Monnier
2007-02-01 12:29             ` Stephen Leake
2007-01-31 16:51         ` Binding F11 and F12 to buffer-switching and file-saving bydefault Drew Adams
2007-02-01  0:08           ` Richard Stallman
2007-02-01 20:04             ` Ted Zlatanov
2007-01-30 20:27     ` Binding F11 and F12 to buffer-switching and file-saving by default Eli Zaretskii
2007-01-30 20:45       ` Jason Spiro
2007-01-30 20:25   ` Richard Stallman
2007-01-30 15:09 ` Stefan Monnier
2007-01-31 15:21   ` Stephen Leake [this message]
2007-02-01  3:47     ` Daniel Brockman
2007-02-01  1:09 ` JD Smith

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=uzm7znrvv.fsf@member.fsf.org \
    --to=stephen_leake@member.fsf.org \
    --cc=emacs-devel@gnu.org \
    --cc=jasonspiro4+news@gmail.com \
    --cc=monnier@iro.umontreal.ca \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).