Re: [Orgmode] [ANN] org-fstree 0.2
Hello Sebastian, new version 0.2 available. http://www.burtzlaff.de/org-fstree/org-fstree.el On Sun, 29 Mar 2009 03:57:36 +0200 Sebastian Rose wrote: > Andreas Burtzlaff writes: > * a customizable list of directory names to skip. > '("CVS" "_MTN" ".git" ".hg" "RCS") might be a good default. > * Add directory names to the skip list > #+begin fstree -sd (nogo notes) > * Skip files by suffix > #+begin fstree -sf (.jpg .gif ...) Both implemented with the new options :exclude-regexp-name and :exclude-regexp-fullpath >From the documentation: - :exclude-regexp-name , exclude file/directory names matching either of the given regexp expressions Examples: :exclude-regexp-name (".*\\.pdf$" ".*\\.zip$"), excludes files/directories ending with either ".pdf" or ".zip" :exclude-regexp-name ("^\\.git$") , excludes files/directories named ".git" - :exclude-regexp-fullpath , same as :exclude-regexp-name but matches absolute path to file/directory > * Maybe require the option `-r' to be recursive. Is implemented as an option now: :non-recursive t > * Add a slash to the directory names to make the list more > readable. As an alternative, I could imagine to use folder icons > like speedbar, or use headlines without links for directories (the > links all look the same, wether they are headlines or leaves). I added "[D]" for directories and "[ ]" for files in the headline. While that looks quite nice imho, I'm still looking for a more appealing formatting for the backlinks. I've tried to add the backlinks as properties "Link1", "Link2",... , but links are shown as text in the column view. Use column view for the links (EXPERIMENTAL): *** Test Tree :PROPERTIES: :COLUMNS: %40ITEM %Link1 %Link2 %Link3 %Link4 :END: #+BEGIN_FSTREE: ~/tmp/ :non-recursive t :links-as-properties t Any ideas? Andreas ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Emacs-orgmode Digest, Vol 37, Issue 121
From: Matthew Lundin Subject: Re: [Orgmode] Re: Handling org-file agenda dependenncies? To: Eraldo Helal Cc: emacs-orgmode@gnu.org Message-ID: Content-Type: text/plain; charset=us-ascii ML> Hi Eraldo, ML> Eraldo Helal writes: >> > Mike Newman newmanfamily.me.uk> writes: > >>> >> When you use the standard commands to add/removes files from the >> >>> agenda, it will write a definition for the variable org-agenda-files to >>> >> the custom section of your .emacs file. >> > > That would still mean removing every org-file in the tree manually > >> when wanting to make a project "inactive". > >>> >> If you want to deal with trees of files, you might be better off >> >>> removing the variable from the custom section, defining it >> yourself >>> and updating it manually. >> > > The questions here is... How could one define it? ML> I think you could set something like the following in your .emacs file: ML> --8<---cut here---start->8--- ML> (load-library "find-lisp") (setq org-agenda-files (append ML> (find-lisp-find-files "~/directory1" "\.org$") (find-lisp-find-files ML> "~/directory2" "\.org$") (find-lisp-find-files "~/directory3" ML> "\.org$"))) --8<---cut ML> here---end--->8--- ML> This will search the directories above recursively for org files. ML> Whenever you want to remove a project from your agenda, simply delete ML> the appropriate line and evaluate the expression. I'd imagine someone ML> else can think of a way to do this more economically, though. An interesting question would be how to generalize this to update remember templates accordingly. Possibly the best approach would be to have a defining form that would define a project in a single s-expression, adding both remember templates and agenda entries, and then that form could be removed all at once. Something like (org-add-project newproj "A sample new project to show the greatness of org-add-project." (agenda-files (find-lisp-find-files "~/newproj/" "\.org$")) (remember-templates )) [The above wouldn't work as written, since it's syntax is a mess of what would be handled by a macro --- the "named arguments" like agenda-files and remember-templates --- and what looks like a functional argument --- the find-lisp-files --- but something like it could be lashed together if anyone was interested.] ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Emacs-orgmode Digest, Vol 37, Issue 121
> > An interesting question would be how to generalize this to update > remember templates accordingly. Possibly the best approach would be to > have a defining form that would define a project in a single > s-expression, adding both remember templates and agenda entries, and > then that form could be removed all at once. Something like > > (org-add-project newproj > "A sample new project to show the greatness of org-add-project." > (agenda-files (find-lisp-find-files "~/newproj/" "\.org$")) > (remember-templates > )) > > [The above wouldn't work as written, since it's syntax is a mess of what > would be handled by a macro --- the "named arguments" like agenda-files > and remember-templates --- and what looks like a functional argument --- > the find-lisp-files --- but something like it could be lashed together > if anyone was interested.] > Sounds great! I like your idea. :) ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [ANN] org-fstree 0.2
Thanks Andreas, this is great. Especially the filtering and non-recursive behaviour. Sebastian Andreas Burtzlaff writes: > Hello Sebastian, > > new version 0.2 available. > http://www.burtzlaff.de/org-fstree/org-fstree.el > > On Sun, 29 Mar 2009 03:57:36 +0200 > Sebastian Rose wrote: > >> Andreas Burtzlaff writes: >> * a customizable list of directory names to skip. >> '("CVS" "_MTN" ".git" ".hg" "RCS") might be a good default. >> * Add directory names to the skip list >> #+begin fstree -sd (nogo notes) >> * Skip files by suffix >> #+begin fstree -sf (.jpg .gif ...) > > Both implemented with the new options :exclude-regexp-name and > :exclude-regexp-fullpath >>From the documentation: > - :exclude-regexp-name , exclude file/directory > names matching either > of the given regexp > expressions >Examples: > :exclude-regexp-name (".*\\.pdf$" ".*\\.zip$"), excludes > files/directories ending with either ".pdf" or ".zip" > :exclude-regexp-name ("^\\.git$") , excludes files/directories named > ".git" > > - :exclude-regexp-fullpath , same as > :exclude-regexp-name but matches absolute path to file/directory > > >> * Maybe require the option `-r' to be recursive. > > Is implemented as an option now: > :non-recursive t > >> * Add a slash to the directory names to make the list more >> readable. As an alternative, I could imagine to use folder icons >> like speedbar, or use headlines without links for directories (the >> links all look the same, wether they are headlines or leaves). > > I added "[D]" for directories and "[ ]" for files in the headline. > While that looks quite nice imho, I'm still looking for a more appealing > formatting for the backlinks. > I've tried to add the backlinks as properties "Link1", "Link2",... , but > links are shown as text in the column view. > > Use column view for the links (EXPERIMENTAL): > *** Test Tree > :PROPERTIES: > :COLUMNS: %40ITEM %Link1 %Link2 %Link3 %Link4 > :END: > > #+BEGIN_FSTREE: ~/tmp/ :non-recursive t :links-as-properties t > > Any ideas? > > Andreas > -- Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover Tel.: +49 (0)511 - 36 58 472 Fax: +49 (0)1805 - 233633 - 11044 mobil: +49 (0)173 - 83 93 417 Email: s.r...@emma-stil.de, sebastian_r...@gmx.de Http: www.emma-stil.de ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] embedded/inherited tags
Dear org-users, Is there any way to make tags inherited from another tag? For example, I have following tags: :tech: :emacs: :orgmode: :ubuntu: :other: ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] [ANN] org-fstree 0.2
Should this be in contrib/lisp/ ? - Carsten On Mar 29, 2009, at 7:10 PM, Sebastian Rose wrote: Thanks Andreas, this is great. Especially the filtering and non-recursive behaviour. Sebastian Andreas Burtzlaff writes: Hello Sebastian, new version 0.2 available. http://www.burtzlaff.de/org-fstree/org-fstree.el On Sun, 29 Mar 2009 03:57:36 +0200 Sebastian Rose wrote: Andreas Burtzlaff writes: * a customizable list of directory names to skip. '("CVS" "_MTN" ".git" ".hg" "RCS") might be a good default. * Add directory names to the skip list #+begin fstree -sd (nogo notes) * Skip files by suffix #+begin fstree -sf (.jpg .gif ...) Both implemented with the new options :exclude-regexp-name and :exclude-regexp-fullpath From the documentation: - :exclude-regexp-name , exclude file/ directory names matching either of the given regexp expressions Examples: :exclude-regexp-name (".*\\.pdf$" ".*\\.zip$"), excludes files/directories ending with either ".pdf" or ".zip" :exclude-regexp-name ("^\\.git$") , excludes files/ directories named ".git" - :exclude-regexp-fullpath , same as :exclude-regexp-name but matches absolute path to file/directory * Maybe require the option `-r' to be recursive. Is implemented as an option now: :non-recursive t * Add a slash to the directory names to make the list more readable. As an alternative, I could imagine to use folder icons like speedbar, or use headlines without links for directories (the links all look the same, wether they are headlines or leaves). I added "[D]" for directories and "[ ]" for files in the headline. While that looks quite nice imho, I'm still looking for a more appealing formatting for the backlinks. I've tried to add the backlinks as properties "Link1", "Link2",... , but links are shown as text in the column view. Use column view for the links (EXPERIMENTAL): *** Test Tree :PROPERTIES: :COLUMNS: %40ITEM %Link1 %Link2 %Link3 %Link4 :END: #+BEGIN_FSTREE: ~/tmp/ :non-recursive t :links-as-properties t Any ideas? Andreas -- Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover Tel.: +49 (0)511 - 36 58 472 Fax: +49 (0)1805 - 233633 - 11044 mobil: +49 (0)173 - 83 93 417 Email: s.r...@emma-stil.de, sebastian_r...@gmx.de Http: www.emma-stil.de ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] filtering org-agenda by tag
Hi I cannot reproduce this, refreshing keeps the filter for me. - Carsten On Mar 28, 2009, at 11:16 PM, shaunalynn duffy wrote: Hey there, I just switched to using the development version of org-mode (rather than the synaptic package), and now have an issue with org-agenda. Whenever I filter the agenda by tag and then refresh the agenda or move to a new view (functionally, refreshing it) the filter is no longer applied. Internet searching turned up the promisingly named variable "org-agenda-filter-preset," but it isn't recognized by my emacs. I guess my questions are: Was switching to the dev version the cause of this change? AND Is there a straightforward way to get the filter to be applied through a reload, or is this something I should write a solution to for myself? Thanks a lot! -shaunalynn -- shaunalynnduffy.org sproutward.org 603.321.4839 256 Brookline St Apt 2 Cambridge MA 02139 ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode