emacs-wiki-discuss
[Top][All Lists]
Advanced

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

[emacs-wiki-discuss] hacks on planner--muse


From: Yann Hodique
Subject: [emacs-wiki-discuss] hacks on planner--muse
Date: Tue, 19 Apr 2005 17:49:52 +0200

Hi people,

I gave planner--muse a try and liked it so much that I decided to fix
some minor issues and introduce little features that are convenient
for my daily use. My changes are available at
Repository: address@hidden
https://sigmamtp.dyndns.org/~yann/archives/ , Project:
planner--yh--1.0

here is a little summary of the changes:
- fixed some missing quotes
- planner-log-edit.el: add the possibility to ignore patterns before
inserting commit messages as notes (I use a modified version of
psvn.el, which has ## comments in the log buffer)
- planner.el:
  * add an annotation for dired buffer, which is quite similar to
standard file annotation
  * add the possibility to format local file links. As an example, I
want to have /home/yann/.emacs refered to as ~/.emacs since I share my
planner files between home and work and my home directory at work is
/home1/yann .
I use the following code for that (btw, if there is a standard
function that does that... please let me know :-)):
(defun yh/collapse-home-directory (filename)
  "When meaningful, transform an absolute path into its ~ prefixed form"
  (if (string-match (concat "^" (regexp-quote home-directory)) filename)
      (concat "~/" (file-relative-name filename home-directory))
    filename))

Any questions or comments are of course welcome

Regards,
Yann.




reply via email to

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