From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rami A Newsgroups: gmane.emacs.help Subject: Re: Cycling through favored buffers Date: Thu, 25 Apr 2013 14:38:24 -0700 (PDT) Message-ID: References: <69f8e714-2046-4726-b418-b199fe7c7df8@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1366926341 18763 80.91.229.3 (25 Apr 2013 21:45:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Apr 2013 21:45:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 25 23:45:45 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UVTz3-0005dv-17 for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Apr 2013 23:45:41 +0200 Original-Received: from localhost ([::1]:35263 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVTz2-00087P-L5 for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Apr 2013 17:45:40 -0400 X-Received: by 10.224.185.17 with SMTP id cm17mr14191699qab.6.1366925904413; Thu, 25 Apr 2013 14:38:24 -0700 (PDT) X-Received: by 10.50.217.225 with SMTP id pb1mr56992igc.5.1366925904375; Thu, 25 Apr 2013 14:38:24 -0700 (PDT) Original-Path: usenet.stanford.edu!gp5no6984482qab.0!news-out.google.com!ef9ni16888qab.0!nntp.google.com!gp5no6984475qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=148.87.19.198; posting-account=HZ4YzgoAAABkTSCruZ7Bs4hufjlOUmBF Original-NNTP-Posting-Host: 148.87.19.198 User-Agent: G2/1.0 Injection-Date: Thu, 25 Apr 2013 21:38:24 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:198082 X-Mailman-Approved-At: Thu, 25 Apr 2013 17:45:30 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:90349 Archived-At: Drew. Much appreciation for your response. I am very new to lisp and not sure how to incorporate your suggestion in my pasted code. So in the code that I have crs-hated-buffers, which are the buffers to ignore: (defvar crs-hated-buffers '("KILL" "*Compile-Log*" "*Buffer List*" "*Messages*" "*compilation*" "TAGS" "*scratch*" "source" "headers")) (setq iswitchb-buffer-ignore (append '("^ " "*Buffer") crs-hated-buffers)) How do I add the cl-remove-if to this variable so it would include all dired type buffers? secondly, the code that I have cycles through all buffers "except" the ignored ones mentioned above. So after I construct cl-remove-if-not that includes the directories I want to only cycle through, how to apply that on my code? or maybe I need a totally new function that would do the trick? Thanks.