From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Deniz Dogan Newsgroups: gmane.emacs.devel Subject: Re: Patch for iswitchb.el Date: Sat, 04 Jun 2011 09:59:29 +0200 Message-ID: <4DE9E5E1.7040901@dogan.se> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1307174419 22935 80.91.229.12 (4 Jun 2011 08:00:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 4 Jun 2011 08:00:19 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 04 10:00:16 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QSlmJ-000429-Ea for ged-emacs-devel@m.gmane.org; Sat, 04 Jun 2011 10:00:15 +0200 Original-Received: from localhost ([::1]:44773 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSlmI-0004Cy-7f for ged-emacs-devel@m.gmane.org; Sat, 04 Jun 2011 04:00:14 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:39303) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSlm2-0004Ct-F1 for emacs-devel@gnu.org; Sat, 04 Jun 2011 03:59:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QSlm1-0006jN-Dj for emacs-devel@gnu.org; Sat, 04 Jun 2011 03:59:58 -0400 Original-Received: from ch-smtp05.sth.basefarm.net ([80.76.153.6]:45177) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QSlm0-0006jF-VA for emacs-devel@gnu.org; Sat, 04 Jun 2011 03:59:57 -0400 Original-Received: from c80-216-105-155.bredband.comhem.se ([80.216.105.155]:54081 helo=[192.168.0.10]) by ch-smtp05.sth.basefarm.net with esmtp (Exim 4.76) (envelope-from ) id 1QSllk-0007mA-GP for emacs-devel@gnu.org; Sat, 04 Jun 2011 09:59:41 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110414 Thunderbird/3.1.10 In-Reply-To: X-Originating-IP: 80.216.105.155 X-Scan-Result: No virus found in message 1QSllk-0007mA-GP. X-Scan-Signature: ch-smtp05.sth.basefarm.net 1QSllk-0007mA-GP 1249295ec7539896b732564319ba2be7 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.76.153.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:140165 Archived-At: On 2011-06-04 08:33, Stephen Eglen wrote: > Please can someone apply this patch for iswitchb? Thanks, Stephen > > 2011-06-04 Stephen Eglen > > * iswitchb.el (iswitchb-window-buffer-p): Use `member' rather > than `memq'. Bug reported by Trevor Spiteri. > > *** /Users/stephen/NOBACKUP/compiles/emacs-23.3/lisp/iswitchb.el~ 2011-01-08 17:45:14.000000000 +0000 > --- /Users/stephen/NOBACKUP/compiles/emacs-23.3/lisp/iswitchb.el 2011-06-04 07:28:22.000000000 +0100 > *************** > *** 1113,1119 **** > (interactive) > (let ((blist (iswitchb-get-buffers-in-frames 'current))) > ;;If the buffer is visible in current frame, return nil > ! (if (memq buffer blist) > nil > ;; maybe in other frame or icon > (get-buffer-window buffer 0) ; better than 'visible > --- 1113,1119 ---- > (interactive) > (let ((blist (iswitchb-get-buffers-in-frames 'current))) > ;;If the buffer is visible in current frame, return nil > ! (if (member buffer blist) > nil > ;; maybe in other frame or icon > (get-buffer-window buffer 0) ; better than 'visible > Is the reported bug in the bug tracker? If so, its ID should be in the ChangeLog. /Deniz