[Emacs-orgmode] Managing files?
Hi, I've been using emacs-org for a while. And I always find it's so troublesome to manage various files in emacs-org. Although I can use the file links, and with remember.el it's easy for files that can be open in emacs to be linked in my org files, moving files around, storing files and changing files corresponding to a typical project are not easily done in emacs-org and need much more work. I think you usually have many files, text, pdf, latex and etc., but how do you manage these files? Can someone please recommend me a scheme to do that? Thanks, Xiao-Yong -- ,,, (o o) ---ooO-(_)-Ooo--- ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Emacs-orgmode] Managing files?
On 8/31/06, Xiao-Yong Jin <[EMAIL PROTECTED]> wrote: Hi, I've been using emacs-org for a while. And I always find it's so troublesome to manage various files in emacs-org. ... moving files around, storing files and changing files corresponding to a typical project are not easily done in emacs-org and need much more work. One way I handle this is to use environment variables to define the root directory of a project. Then your file links can look like [[file:$proj1/Docs/foo.pdf]]. This requires a little hack to org-open-file to call substitute-in-file-name. I've included below the start of that function so you can see what I did. It does make certain restructuring easy. Hope this helps. Ed (defun org-open-file (path &optional in-emacs line search) "Open the file at PATH. First, this expands any special file name abbreviations. Then the configuration variable `org-file-apps' is checked if it contains an entry for this file type, and if yes, the corresponding command is launched. If no application is found, Emacs simply visits the file. With optional argument IN-EMACS, Emacs will visit the file. Optional LINE specifies a line to go to, optional SEARCH a string to search for. If LINE or SEARCH is given, the file will always be opened in Emacs. If the file does not exist, an error is thrown." (setq in-emacs (or in-emacs line search)) (let* ((file (if (equal path "") buffer-file-name (substitute-in-file-name (expand-file-name path (apps (append org-file-apps (org-default-apps))) -- Ed Hirgelt Discovery consists of seeing what everybody has seen and thinking what nobody has thought. ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
RE: [Emacs-orgmode] Managing files?
I think It would be great if there is some search capability like [[locate:Doc/foo.pdf]] in org-mode. Something similar to "globalff.el" that use "updatedb" utility. The utility is available in both MS Windows and Unix. Jeff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Xiao-Yong Jin Sent: Thursday, August 31, 2006 11:10 AM To: emacs-orgmode@gnu.org Subject: [Emacs-orgmode] Managing files? Hi, I've been using emacs-org for a while. And I always find it's so troublesome to manage various files in emacs-org. Although I can use the file links, and with remember.el it's easy for files that can be open in emacs to be linked in my org files, moving files around, storing files and changing files corresponding to a typical project are not easily done in emacs-org and need much more work. I think you usually have many files, text, pdf, latex and etc., but how do you manage these files? Can someone please recommend me a scheme to do that? Thanks, Xiao-Yong -- ,,, (o o) ---ooO-(_)-Ooo--- ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode