[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Soo many buffers

From: Dan Davison
Subject: Re: Soo many buffers
Date: Sat, 07 Aug 2010 14:03:09 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

Hi Andrea,

I've had this in my for ages

#+begin_src emacs-lisp
  ;; ;; Things that I'm not really interested in seeing in emacs
  ;; ;; (you can still open them explicitly)
  (setq dan/ignored-extensions
        '(".html" ".csv" ".ps" ".bst" ".cls"
          ".fdf" ".spl" ".aux" ".ppt" ".doc" ".xls" ".mp3" ".org"))
  (mapc (lambda(extension)
          (add-to-list 'completion-ignored-extensions extension))
  (ido-mode t) ;; (iswitchb-mode t)
  (setq ido-separator " ")
  ;; As regexps, these should really have terminal $
  (mapc (lambda(extension)
          (add-to-list 'ido-ignore-buffers (regexp-quote extension))
          (add-to-list 'ido-ignore-files (regexp-quote extension)))
  (add-to-list 'ido-ignore-buffers "\\*") ;; if you want *scratch* or *R* just 
type it
  ;; (add-to-list 'ido-ignore-files "^[^.]+$") ;; files must have a . in their 
name (experimental)

It prevents C-x b from showing me org files, amongst other things. Note
that org provides C-c b to switch to org buffers only.  The only thing I
don't like is that this prevents C-x C-f from offering org files. I've
wondered whether org should also provide a find-file command for org
files only. I'm sure that's possible to implement in many different ways
with the various completion engines.


suvayu ali <> writes:

> On 5 August 2010 04:32, Andrea Crotti <> wrote:
>> One thing that would be nice I think would be one command to toggle the
>> visibility of the org buffers on and off.
>> They can stay always open but I can afford one more click to access them
>> if they don't stay in the way while I work.
>> Is there such a shadowing thing somewhere?
>> Thanks
> How about ibuffer and filtering? Some thing like `/ m org-mode' in an
> active ibuffer should filter the org-mode buffers. Then you can invert
> the filter with `/ !'. Hopefully this helps.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]