From mboxrd@z Thu Jan 1 00:00:00 1970 Received: by 10.90.92.18 with SMTP id p18cs157859agb; Tue, 6 Oct 2009 09:37:54 -0700 (PDT) Received: by 10.224.86.227 with SMTP id t35mr1525661qal.121.1254847062378; Tue, 06 Oct 2009 09:37:42 -0700 (PDT) Return-Path: Received: from rubyforge.org (rubyforge.org [205.234.109.19]) by mx.google.com with ESMTP id 42si10577509qyk.30.2009.10.06.09.37.33; Tue, 06 Oct 2009 09:37:42 -0700 (PDT) Received-SPF: pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) client-ip=205.234.109.19; Authentication-Results: mx.google.com; spf=pass (google.com: domain of sup-talk-bounces@rubyforge.org designates 205.234.109.19 as permitted sender) smtp.mail=sup-talk-bounces@rubyforge.org Received: from rubyforge.org (rubyforge.org [127.0.0.1]) by rubyforge.org (Postfix) with ESMTP id 2E1DC1D78834; Tue, 6 Oct 2009 12:37:32 -0400 (EDT) Received: from entry.masanjin.net (masanjin.net [209.20.72.13]) by rubyforge.org (Postfix) with ESMTP id 8CA7E18581F0 for ; Tue, 6 Oct 2009 12:35:38 -0400 (EDT) Received: from w by entry.masanjin.net with local (Exim 4.69) (envelope-from ) id 1MvD0i-0006x2-Kj for sup-talk@rubyforge.org; Tue, 06 Oct 2009 09:35:38 -0700 From: William Morgan To: sup-talk In-reply-to: <1254689522-sup-2800@nixos> References: <1254602805-sup-2900@nixos> <1254689522-sup-2800@nixos> Date: Tue, 06 Oct 2009 09:35:36 -0700 Message-Id: <1254846869-sup-9463@masanjin.net> User-Agent: Sup/git Subject: Re: [sup-talk] next search in buffer view.. X-BeenThere: sup-talk@rubyforge.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: User & developer discussion of Sup List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: sup-talk-bounces@rubyforge.org Errors-To: sup-talk-bounces@rubyforge.org Reformatted excerpts from Marc Weber's message of 2009-10-04: > However the search_query_input should be global. So where is the place > to add this "last-search-term" ? Isn't it already present in the ask > history? Can you give me a hint to find it faster? Probably the best place is to make it a class variable, i.e. @@search_query_input. Then it will be shared across all buffers with modes that have search functionality. -- William _______________________________________________ sup-talk mailing list sup-talk@rubyforge.org http://rubyforge.org/mailman/listinfo/sup-talk