help-emacs-windows
[Top][All Lists]
Advanced

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

Re: [h-e-w] Current dir & customizing menu


From: Robinows
Subject: Re: [h-e-w] Current dir & customizing menu
Date: Thu, 8 Nov 2001 20:28:25 EST

file-name-directory is what you're looking for.  Try C-h f file-name  for some other useful functions.  There's also buffer-file-name.  Of course, these are functions, not commands.  You'll have to write some elisp to do what you want.

In a message dated 11/8/01 4:41:03 PM Eastern Standard Time, address@hidden writes:


I'm trying to do sg. simple: get the directory (+preferably the file name)
of the current file into the clipboard or have it displayed in the
minibuffer. I did this in the past, but forgot the function name. I tried
C-h a dir, C-h a current, M-x show..., etc. Emacs has so many functions if I
don't use one I forget it. Is it possible to create a global menu called
"favorite funcs" and to put my favorite functions in it?

Thanks,
Daniel

reply via email to

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