unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Rami A <rami.ammari@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Cycling through favored buffers
Date: Thu, 25 Apr 2013 14:38:24 -0700 (PDT)	[thread overview]
Message-ID: <c5dd21e3-8536-4bdd-8808-4a8d339ef4a4@googlegroups.com> (raw)
In-Reply-To: <mailman.24641.1366925547.855.help-gnu-emacs@gnu.org>

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.


  parent reply	other threads:[~2013-04-25 21:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-24 22:59 Cycling through favored buffers Rami A
2013-04-25 21:32 ` Drew Adams
     [not found] ` <mailman.24641.1366925547.855.help-gnu-emacs@gnu.org>
2013-04-25 21:38   ` Rami A [this message]
2013-04-25 22:14     ` Drew Adams

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c5dd21e3-8536-4bdd-8808-4a8d339ef4a4@googlegroups.com \
    --to=rami.ammari@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).