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 C159D429E29 for ; Sat, 4 Jun 2011 13:16:03 -0700 (PDT) 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=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, 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 qBJRU2DtX-Op for ; Sat, 4 Jun 2011 13:16:03 -0700 (PDT) Received: from new1.smtp.messagingengine.com (new1.smtp.messagingengine.com [66.111.4.221]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 08E3D431FB6 for ; Sat, 4 Jun 2011 13:16:03 -0700 (PDT) Received: from compute2.internal (compute2.nyi.mail.srv.osa [10.202.2.42]) by gateway1.messagingengine.com (Postfix) with ESMTP id E4268208B8; Sat, 4 Jun 2011 16:07:20 -0400 (EDT) Received: from frontend1.messagingengine.com ([10.202.2.160]) by compute2.internal (MEProxy); Sat, 04 Jun 2011 16:07:20 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=date:from:to:cc:subject:message-id:in-reply-to:references:mime-version:content-type:content-transfer-encoding; s=smtpout; bh=AdfzOWIqNhsrXR3tFHLinDPJ2nM=; b=tOK7BytJa/Rf4DJ48/gabR0rZUOnqNU2nOkv5L8rTmXDLnbnq71zmtCLINOWFtwiJew+DnFPLx9MjSj5B0iI3voQNJVWNMbTH/GA7QN+o5/2buB7Ebj3f8loNKmOlV7x3joUCSj5t57O2iju+Fs5U/DMQszgqnszNJX4gFPfspQ= X-Sasl-enc: O5khP+sgRYdhjvP9pP3D2/m20OSePRH0u5Hi7rh+xjQ8 1307218040 Received: from smart (cpe-76-175-234-46.socal.res.rr.com [76.175.234.46]) by mail.messagingengine.com (Postfix) with ESMTPSA id 234C3403880; Sat, 4 Jun 2011 16:07:20 -0400 (EDT) Date: Sat, 4 Jun 2011 13:07:32 -0700 From: Dima Kogan To: Dmitry Kurochkin Subject: Re: [PATCH] Added C-up and C-down to cycle through previous searches Message-ID: <20110604130732.5d28fb68@smart> In-Reply-To: <87vcwto5n3.fsf@gmail.com> References: <1306659388-21809-1-git-send-email-notmuch@dima.secretsauce.net> <87vcwto5n3.fsf@gmail.com> X-Mailer: Claws Mail 3.7.9 (GTK+ 2.24.4; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: notmuch@notmuchmail.org 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: Sat, 04 Jun 2011 20:16:03 -0000 > On Sun, 29 May 2011 20:04:00 +0400 > Dmitry Kurochkin wrote: > > Hi Dima. > > On Sun, 29 May 2011 01:56:28 -0700, notmuch@dima.secretsauce.net > wrote: > > From: Dima Kogan > > > > --- > > > > Hi. > > > > I made a few improvements to the emacs UI. This patch allows the > > user to scroll through the most recent searches with C-up and > > C-down while in the search box. > > > > This sounds like a very nice improvement to me! I just have one > concern: Why C-up and C-down? I believe M-p and M-n would be more > natural for Emacs users (at least for me :)). > > Also, I did not read the code and can not comment on it. But notmuch > coding style is to use tabs for indentation. I guess .dir-locals.el > should be improved to set coding style variables for all modes, not > just C. > > Regards, > Dmitry Hi. I have a mild preference to C-up/down, but M-n/p is just fine also. As for the coding style, I've looked through that file (notmuch-hello.el), and it doesn't seem to have a consistent style as far as tabs/spaces go. I'm happy to change my patch to conform, but I don't know what I should be conforming to. Should I be tab-ing all indents, or just some?