This a good idea.

Steff

On Friday 09 March 2001 20:15, Kevin A. Burton wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> This will show the current jde project on the mode line in the format of
> "JDE:project_name".  I became tired of looking at the filename to figure
> out what the project I was working on was (sometimes it can become
> confusing with 300 files open and 3 projects).  Now I can just look down at
> my modeline.
>
> Kevin
>
> (defun jde-show-project()
>   "Show the current project on the modeline.  See `jde-project-name'."
>   (interactive)
>
>   (assert (equal major-mode
>                  'jde-mode) nil "Not a java buffer.")
>
>   (setq mode-name (concat "JDE:" jde-project-name)))
>
> ;;automatically show the project on the modeline.
> (add-hook 'jde-mode-hook 'jde-show-project)
>
>
> - --
> Kevin A. Burton ( [EMAIL PROTECTED], [EMAIL PROTECTED],
> [EMAIL PROTECTED] ) Cell: 408-910-6145 URL: http://relativity.yi.org ICQ:
> 73488596
>
> Questions are the beginning of wisdom.
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.4 (GNU/Linux)
> Comment: Get my public key at: http://relativity.yi.org/pgpkey.txt
>
> iD8DBQE6qYAzAwM6xb2dfE0RAscjAJ9xVEf1kGbipcWofHvs7yK1HFcbhgCggWNc
> IZubfRfCso76Ie8YucwV98c=
> =gCyj
> -----END PGP SIGNATURE-----

Reply via email to