The following code works for me. However, I don't use it See below: ;; set mode line to show full path of current file (setq-default mode-line-format (list '((buffer-file-name " %f" (dired-directory dired-directory (revert-buffer-function " %b" ("%b - Dir: " default-directory)))))))
Showing the full path in the mode line is too cluttered for me. I prefer to show it in the title bar: ;; format title bar to show full path of current file (setq-default frame-title-format (list '((buffer-file-name " %f" (dired-directory dired-directory (revert-buffer-function " %b" ("%b - Dir: " default-directory))))))) I'm using the cvs version. -----Original Message----- From: x_emacs-window...@nospam.pz.podzone.net To: help-emacs-windows@gnu.org Sent: Fri, 30 Jan 2009 10:30 am Subject: [h-e-w] How to full pathname in modeline I'm trying to get the buffer modeline to display the full file pathname.