Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 8CA5E429E3D for ; Wed, 4 Jan 2012 00:28:06 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id q+2N5SFjHX4C for ; Wed, 4 Jan 2012 00:28:06 -0800 (PST) Received: from mail-qw0-f46.google.com (mail-qw0-f46.google.com [209.85.216.46]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id ED913431FD0 for ; Wed, 4 Jan 2012 00:28:05 -0800 (PST) Received: by qadc12 with SMTP id c12so12129588qad.5 for ; Wed, 04 Jan 2012 00:28:05 -0800 (PST) Received: by 10.224.33.65 with SMTP id g1mr64406245qad.98.1325665685350; Wed, 04 Jan 2012 00:28:05 -0800 (PST) Received: from localhost (nikula.org. [92.243.24.172]) by mx.google.com with ESMTPS id ft9sm105278377qab.20.2012.01.04.00.28.01 (version=SSLv3 cipher=OTHER); Wed, 04 Jan 2012 00:28:03 -0800 (PST) From: Jani Nikula To: Jameson Graef Rollins , David Edmondson , Antoine =?utf-8?Q?Beaupr=C3=A9?= , notmuch@notmuchmail.org Subject: Re: [PATCH 1/2] add notmuch keybinding 'd' In-Reply-To: <87hb0c8o6c.fsf@servo.finestructure.net> References: <1266408746-28549-1-git-send-email-Sebastian@SSpaeth.de> <1310841600-28281-1-git-send-email-anarcat@koumbit.org> <8762gsy2xp.fsf@nikula.org> <87hb0c8o6c.fsf@servo.finestructure.net> User-Agent: Notmuch/0.10.2+129~g8a76c81 (http://notmuchmail.org) Emacs/23.1.1 (i686-pc-linux-gnu) Date: Wed, 04 Jan 2012 08:27:59 +0000 Message-ID: <8762grc1o0.fsf@nikula.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2012 08:28:06 -0000 On Tue, 03 Jan 2012 13:35:23 -0800, Jameson Graef Rollins wrote: > There really can't be an "easier" solution to add a key binding other > than just adding the above to your .emacs, and I really don't think it > would be worth it to try to make one. I guess you're right. Thanks for the example too. > The fact that it's already so easy to customize the key bindings is why > I've been reluctant (or even against) getting into protracted > discussions about what the default key bindings should be. Everyone is > going to want a different behavior, and since it's easy enough to > customize, just let users define what they want. This is what I was basically after too: provide elementary functions that make it easy for users to do what they want. (Just in this case nothing more is really needed.) As a side note, GNU Global has an interesting approach of not binding any keys, unless you have done: (setq gtags-suggested-key-mapping t) BR, Jani.