Latest Posts

Next 5 posts:

mk-project.el v1.2.1

I've pushed mk-project version 1.2.1 to both the Emacs Wiki and github. It fixes a bug that was preventing mk-project from killing dired buffers open to a project's basedir (or a subdirectory of the basedir) when the project was closed (and the user elects to close all project files). You can now also expect dired buffers belonging to the project to be restored when the project is re-opened.

Thanks much to aleblanc@cotse.net for the bug report and code.

For more info on mk-project, see its homepage.

Technorati tags for this post:

Switching to Atom from RSS

I've added an Atom feed for this blog that carries complete xHTML content. The old RSS feed carries just simple text. I'll leave the RSS feed in place for the time being, but I will likely pull the plug on it in the future.

I've also created an Atom feed that carries just my Emacs-related content. This might be useful for anyone following mk-project happenings.

Both feeds should be auto-discoverable by your browser.

--Matt

Technorati tags for this post:

etags-update: update TAGS when saving a file

Here comes another Emacs post!

I've pushed etags-update to github. It's a global minor mode that updates your TAGS when you save a file. See the README for details.

While we're on the subject of TAGS, I recommend etags-select.el which will show a menu of matching tags when you run etags-select-find-tag (which I've bound to M-.). Very handy.

Technorati tags for this post:

mk-project.el v1.2 -- ido integration

I've pushed version 1.2 of mk-project to github. This version features integration with 'ido'.

From the commit messages:

  • New defcustom mk-proj-use-ido-selection enables ido-completing-read in project-load and project-find-file (for multiple matches)
  • New fn project-find-file-ido allows selection of files using ido methods instead of a regex (as in project-find-file)
  • Small doc improvements

Download mk-project.el from the EmacsWiki or github.

Technorati tags for this post:

mk-project.el v1.1: ack support

I've pushed version 1.1 of mk-project.el (homepage) to github. The library now supports ack which is a cool replacement for the "find ... | xargs grep ..." idiom.

Default arguments to ack can be set per-project via the "ack-args" directive as seen below:

(project-def "my-proj"
      '((basedir          "/home/me/my-proj/")
        (src-patterns     ("*.java" "*.jsp"))
        (ignore-patterns  ("*.class" "*.wsdl"))
        (tags-file        "/home/me/my-proj/TAGS")
        (file-list-cache  "/home/me/.my-proj-files")
        (open-files-cache "/home/me/.my-proj-open-files")
        (vcs              git)
        (compile-cmd      "ant")
        (ack-args         "--java")
        (startup-hook     myproj-startup-hook)
        (shutdown-hook    nil)))

Also new in 1.1, both project-find and project-ack will search from the project's basedir by default, but if given a C-u argument, they will search from the current buffer's directory.

There are several small bug fixes included since version 1.0.3 as well. See the commit log for details.

Technorati tags for this post:

« earlier :: later »