[Orgmode] Re: FR: pre-select applicable templates depending on the context
On Mar 1, 2008, at 2:56 PM, Bastien wrote: I have a few templates in `org-remember-templates': one that I mainly use when I'm in my mailbox, another one that I mainly use when I'm coding, one that I mainly use when I'm reading the web, etc. I think it would make sense to reduce the number of available templates when calling `org-remember'. This would be done by adding a new element to each template: t: force pre-selection of this template in every context '(major-mode): pre-select this template only in major mode (actually a list of major modes) nil: never pre-select this template, unless there are no other pre-selected templates The default value would be `nil' for all template, so that the current behavior wouldn't be touched. Would people find this useful? I would with the addition that I'd also like to allow a function in there that would determine if the template should be pre-selected. The trouble with implementing this is that you need to modify the customize type, in a way that is compatible with older versions. This has happened before with the org-remember-templates, therefore there is already a :get element that normalizes the value. Please modify this in a way so that customize will swallow old settings. Thanks, great idea. - Carsten -- Bastien ___ 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] Bug? Installing from git master
Carsten Dominik [EMAIL PROTECTED] writes: On Mar 3, 2008, at 1:13 AM, Bastien Guerry wrote: I did not realize that erc is not supported on all Emacs versions, to we clearly need to cater for this. Wither by taking it out of that variable, of my making the require fail silently. We could, for example, wrap the require into condition-case and only pus out a message, not raise a signal. I meant to pick up on this but I was really busy over the weekend. What about each module having a defun, something like `org-irc-load-check' where the 'load-check' function is autoloaded and run by org before the require to do a check on features, on non-nil the module is required? Cheers, Phil -- Phil Jackson http://www.shellarchive.co.uk ___ 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] Bug? Installing from git master
Bastien Guerry [EMAIL PROTECTED] writes: BTW, maybe the name of the feature org-irc is a bit misleading: since it's really about erc, and since Emacs also comes with rcirc.el, it should either be called org-erc.el or support links to rcirc.el. It's somewhat extensible (through `org-irc-client') to support other IRC clients (the link parsing is generic for instance). Cheers, Phil -- Phil Jackson http://www.shellarchive.co.uk ___ 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] Bug? Installing from git master
Carsten Dominik [EMAIL PROTECTED] writes: I did not realize that erc is not supported on all Emacs versions, to we clearly need to cater for this. Wither by taking it out of that variable, of my making the require fail silently. We could, for example, wrap the require into condition-case and only pus out a message, not raise a signal. I have pushed a commit taking this later route. -- Bastien ___ 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] Bug? Installing from git master
Phil Jackson [EMAIL PROTECTED] writes: Bastien Guerry [EMAIL PROTECTED] writes: BTW, maybe the name of the feature org-irc is a bit misleading: since it's really about erc, and since Emacs also comes with rcirc.el, it should either be called org-erc.el or support links to rcirc.el. It's somewhat extensible (through `org-irc-client') to support other IRC clients (the link parsing is generic for instance). Good! I did not realize that. -- Bastien ___ 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] Using C-c - to (un)listify and/or C-c * to (un)headify ?
On Dec 22, 2007, at 7:20 PM, Bastien wrote: Ahem. Sorry for the messy subject line. Here are two needs I often meet: 1. I need to listify the lines between a region 2. I need to convert lines into headlines For now I'm using two simple functions (see below). But I think there is room for improvement. The first function could be merged into (org-ctrl-c-minus): (un)listify the active region, and if there is no active region, just cycle through the list types (as it does now). This is now implemented in `C-c -' The second fonction could convert raw lines into headings and headings back into raw lines. This is now on `C-c *' Do other people find this useful? = = == (defun bzg-org-convert-to-plain-list (beg end) Convert each line in the region into a plain list. (interactive r) (string-rectangle beg end - )) (defun bzg-org-convert-to-headings (beg end) Convert each line in the region into subheadings. (interactive r) (let ((stars (save-excursion (re-search-backward org-complex-heading-regexp nil t) (or (match-string 1) *))) (add-stars (if org-odd-levels-only ** *))) (string-rectangle beg end (concat add-stars stars (define-key org-mode-map (kbd C-c C--) 'bzg-org-convert-to-list) (define-key org-mode-map (kbd C-c C-*) 'bzg-org-convert-to-headings) = = == -- Bastien ___ 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] Bug? Installing from git master
Bastien [EMAIL PROTECTED] writes: Carsten Dominik [EMAIL PROTECTED] writes: I did not realize that erc is not supported on all Emacs versions, to we clearly need to cater for this. Wither by taking it out of that variable, of my making the require fail silently. We could, for example, wrap the require into condition-case and only pus out a message, not raise a signal. I have pushed a commit taking this later route. Slow down... :) As mentioned orc-irc is meant to be generic so it's still not quite right. I sent an email to you and Carsten about having a loadablep (bad name?) function exposed by the module which would give it a chance to do some requires and setting up too. Might be interesting to look at the ERC code and check how they do it... Here is my (rough) suggestion again: --8---cut here---start-8--- (defun org-load-module (module-name) (let ((sym (intern (concat module-name -loadablep (if (fboundp sym) (when (funcall sym) (require (intern module-name))) (error org modules must have a -loadablep defun. --8---cut here---end---8--- Cheers, Phil -- Phil Jackson http://www.shellarchive.co.uk ___ 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] Using C-c - to (un)listify and/or C-c * to (un)headify ?
Carsten Dominik [EMAIL PROTECTED] writes: The first function could be merged into (org-ctrl-c-minus): (un)listify the active region, and if there is no active region, just cycle through the list types (as it does now). This is now implemented in `C-c -' The second fonction could convert raw lines into headings and headings back into raw lines. This is now on `C-c *' Great! I was to lazy to implement this myself, but switching from a list of items to a list of entries is really useful. Thanks! -- Bastien ___ 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] FR: org-timestamp-up/down jumping configurable number of minutes
I never need to insert timestamps with a granularity of smaller than 5 minutes, and hardly ever smaller than 15 minutes. So it would be really nice if when over the minute portion of a timestamp, org-shiftup/down increased/decreased the minute value in multiples of 5, 15, or whatever other value the user wants to configure. So for example, that way I could postpone the start/end of an appointment by 15 minutes with a single key chord. For backwards compatability, the granularity could still default to 1 if that's the behaviour the majority of people prefer. ___ 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] FR: org-timestamp-up/down jumping configurable number of minutes
On Mar 3, 2008, at 12:06 PM, Adam Spiers wrote: I never need to insert timestamps with a granularity of smaller than 5 minutes, and hardly ever smaller than 15 minutes. So it would be really nice if when over the minute portion of a timestamp, org-shiftup/down increased/decreased the minute value in multiples of 5, 15, or whatever other value the user wants to configure. So for example, that way I could postpone the start/end of an appointment by 15 minutes with a single key chord. For backwards compatability, the granularity could still default to 1 if that's the behaviour the majority of people prefer. This is a good idea. However, `C-u 15 S-up' also does hel a bit. Still, we should have this option. - Carsten ___ 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] FR: org-timestamp-up/down jumping configurable number of minutes
In the git repo right now, take a look at the variable org-time-stamp-rounding-minutes. - Carsten On Mar 3, 2008, at 12:06 PM, Adam Spiers wrote: I never need to insert timestamps with a granularity of smaller than 5 minutes, and hardly ever smaller than 15 minutes. So it would be really nice if when over the minute portion of a timestamp, org-shiftup/down increased/decreased the minute value in multiples of 5, 15, or whatever other value the user wants to configure. So for example, that way I could postpone the start/end of an appointment by 15 minutes with a single key chord. For backwards compatability, the granularity could still default to 1 if that's the behaviour the majority of people prefer. ___ 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] FR: org-timestamp-up/down jumping configurable number of minutes
On Mon, Mar 3, 2008 at 6:46 PM, Carsten Dominik [EMAIL PROTECTED] wrote: In the git repo right now, take a look at the variable org-time-stamp-rounding-minutes. Thank you. However I am not sure how do I set this. From customize: These are two values, the first applies when first creating a time stamp. The second applies when changing it with the commands `S-up' and `S-down'. When changing the time stamp, this means that it will change in steps of N minues, as given by the second value. But the variable allows only one value. Can you please show an example? -- Manish ___ 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] FR: org-timestamp-up/down jumping configurable number of minutes
Manish [EMAIL PROTECTED] writes: 1. I removed all traces of the variable from .emacs 2. Saved .emacs and closed Emacs 3. Set the variable using customize 4. Reloaded .emacs and tested 5. I get `Symbol's value as variable is void: org-time-stamp-rounding-minutes-when-changing' This should be `org-time-stamp-rounding-minutes'. I've fixed this in the git repo. -- Bastien ___ 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] FR: org-timestamp-up/down jumping configurable number of minutes
On Mon, Mar 3, 2008 at 10:04 PM, Bastien [EMAIL PROTECTED] wrote: Manish [EMAIL PROTECTED] writes: 1. I removed all traces of the variable from .emacs 2. Saved .emacs and closed Emacs 3. Set the variable using customize 4. Reloaded .emacs and tested 5. I get `Symbol's value as variable is void: org-time-stamp-rounding-minutes-when-changing' This should be `org-time-stamp-rounding-minutes'. I've fixed this in the git repo. Thanks, works great now. You guys rock! -- Manish ___ 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] html publishing - tables double spaced
JBash schrieb: Hello, I've been trying orgmode for the last 2 or 3 weeks, and have had a lot of fun learning to use it. I think it is a very effective tool (and will become even more effective as I learn more about it). I have a question about publishing to html. The tables that I've created are double spaced in the html rendering. Is there an option or some way of making them single spaced? Being new to this tool, there may be an obvious answer. I checked the documentation, but may have missed it. I'm using version 5.22a. Thanks, - Jerry ___ 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 M-x customize RET org-export-html-table-tag RET and what about stylesheets? ___ 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] agenda view assign category
Hi list, Is there a way to put tasks under a certain category from the agenda buffer ? Or better from remember. Right now I use this work flow: f7 t (which pops up a remember buffer which starts a task) type my todo item C-c s +1 (schedule the task for tomorrow - just to keep today clear) C-c C-c (save) An then I would have to go and move everything to the right category. What I really want is to make this even faster, maybe have rmemeber tasks automatically scheduled, and have a really easy way to put tasks into categories. Does anyone have a suggestion ? Regards, Cezar ___ 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: FR: pre-select applicable templates depending on the context
Carsten Dominik [EMAIL PROTECTED] writes: I would with the addition that I'd also like to allow a function in there that would determine if the template should be pre-selected. Done. I've also updated the documentation. Maybe the new (info (org)Remember templates) section of the manual is now to big, but I couldn't figure out a better place for this. The trouble with implementing this is that you need to modify the customize type, in a way that is compatible with older versions. This has happened before with the org-remember-templates, therefore there is already a :get element that normalizes the value. Please modify this in a way so that customize will swallow old settings. It should be safe... let me know if it's working ok. -- Bastien ___ 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