Strona domowa Ostatnie zmiany Wiara Matematyka TeX Blog Varia O mnie English

Strona domowa

Witam na mojej prywatnej stronie internetowej!

[If this is all Polish to you, click here: English]

Uwaga: z oczywistych powodów nie mogę zagwarantować swojej nieomylności, choć staram się o zgodność tego, co piszę, z Prawdą. Jest również oczywiste, że nie gwarantuję takiej zgodności w przypadku komentarzy. Umieszczenie linku do strony spoza niniejszego serwisu nie musi oznaczać, że podzielam poglądy autora tej strony, a jedynie, że uważam ją za wartościową z takich czy innych powodów.

Marcin ‘mbork’ Borkowski

2014-11-22 From Ido to Icicle – first steps

I had this in my init.el:

(setq ido-create-new-buffer 'always)
(ido-mode 1)
(ido-everywhere 1)

The first line allowed me to open buffers with nonexistent files just by saying C-x b name RET. The second turned Ido on, and the third was supposed to force Ido to intercept all file/buffer selection commands (which did not really work that way).

This is what I have now:

(icy-mode 1)

(of course, I had to (require 'icicles) or install Icicles from Marmalade, which I did).

So the journey has begun. (The main inspiration were Drew Adam’s posts on the help-gnu-emacs mailing list, especially in an answer to my question about project management tools in Emacs.)

Just a few first thoughts:

1. I have to hit TAB for (prefix) completion. In Ido, the completions were updated after each keypress. (Not that it bothers me much, I just have to change my habits a bit.)

2. C-c ` is now bound to icicle-search-generic, which interferes with next-error in AUCTeX. Not a big deal, there are other bindings for that. (Also, C-c ' is now busy – with icicle-occur – which interferes with Org-mode. The same applies.)

3. I have yet to learn how to combine a few search terms…

I am now going to read through (some of) the EmacsWiki pages on Icicles to build new habits. Stay tuned!

CategoryEnglish, CategoryBlog, CategoryEmacs, CategoryIcicles

Komentarze na tej stronie

Więcej...