[Orgmode] Re: list indentation
Personally I do like: - this way of indenting a long line that extends to more than one line So an idea that comes to mind is, how about disabling indentation for lists and have a special way of editing a list item like so: - have your list content here up to a point where you press and that indents your next line (or pointer) So pressing just TAB in a list content won't have any effect. Hope that helps. Regards, Cezar Carsten Dominik <[EMAIL PROTECTED]> writes: > Hi Everyone, > > I am personally not fond of separators, and we must be sure what > their purpose is. As a means of terminating a list for export > and folding, you can use empty lines when setting the variable > `org-empty-line-terminates-plain-lists' discovered by Will. > Or any text that is no linger indented behind the bullet marker. > > But if I understand correctly, this is really about indentation and > about M-q paragraph wrapping. > > I have thought about how to make aragraph wrapping to respect the > indentation of a line after a plain list item and failed. I cannot > figure it out. > > For paragraph wrapping we would really need a separator, and then we > would need to add this separator to the regular expressions in > `paragraph-start' and `paragraph-separate', obscure pieces of the > Emacs formatting which do not work really consistent between different > commands fill-paragraph and fill-region). EIther that, or I am not > really able to comprehend how this works. > > About indentation, there are other possible conventions one could use. > Right now, TAB will indent a line under a plain list item to beyond > the item bullet. Independent of the current indentation. So it will > indent lines with low indentation, and outdent lines with too large > indentations. > > One could have different conventions. For example, we could do this: > In the line after a plain list item: > - when the indentation is 0 or when the line is empty, make TAB indent > to under the line before, as if you intended to continue the item. > - when the line is not empty and already indented, keep that > indentation. > > I am not sure if that would be seen as more consistent and stable, up > for discussion. > > - Carsten > > On Feb 10, 2008, at 6:05 AM, Eddward DeVilla wrote: > >> On Feb 9, 2008 10:47 PM, William Henney <[EMAIL PROTECTED]> wrote: >>> On Feb 9, 2008 9:55 PM, Eddward DeVilla <[EMAIL PROTECTED]> wrote: In any case, I'm just trying to come up with something that does the job but is not an eye sore in the org buffer. I'm looking for something that visually looks like a natural footer or terminator in plain text. (And a footer ought to be able to be preceeded by a header.) I know the significance of the '/' in xml, but visually, it doesn't look right to my eyes. Aside from the meaning in xml code, it does say end-of-list to me. If anything, it seems to connect the preceeding and proceeding text, like this/that. The dashes draw a dividing line. >>> >>> How about "-." ? >> >> Better. Still kind of cryptic, but more subtle. Actually, since >> that's all that's on the line, it really doesn't matter what it is. >> Font lock can hide it or gray it out. It could look like a blank line >> without the ambiguity. >> >> Edd >> >> >> ___ >> 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 ___ 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] Fw: Mew and org-mode
Hi Christophe, Christophe TROESTLER <[EMAIL PROTECTED]> writes: >> I recently dicovered org-mode which comes with Emacs 22. It is >> possible to make links for most of Emacs mailing programs but, >> unfortunately, not mew. It would be really nice if a mew:... type >> link was developed. I don't know if you still need a Mew link type, but I've been adding one recently. Since I am not an everyday user of Mew, could you check if it works? Thanks! org-mew.el Description: application/emacs-lisp -- 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] Re: list indentation
Are you talking about something like longlines.el? I am not sure if you understand what you mean. - Carsten On Feb 10, 2008, at 9:00 AM, cezar wrote: Personally I do like: - this way of indenting a long line that extends to more than one line So an idea that comes to mind is, how about disabling indentation for lists and have a special way of editing a list item like so: - have your list content here up to a point where you press and that indents your next line (or pointer) So pressing just TAB in a list content won't have any effect. Hope that helps. Regards, Cezar Carsten Dominik <[EMAIL PROTECTED]> writes: Hi Everyone, I am personally not fond of separators, and we must be sure what their purpose is. As a means of terminating a list for export and folding, you can use empty lines when setting the variable `org-empty-line-terminates-plain-lists' discovered by Will. Or any text that is no linger indented behind the bullet marker. But if I understand correctly, this is really about indentation and about M-q paragraph wrapping. I have thought about how to make aragraph wrapping to respect the indentation of a line after a plain list item and failed. I cannot figure it out. For paragraph wrapping we would really need a separator, and then we would need to add this separator to the regular expressions in `paragraph-start' and `paragraph-separate', obscure pieces of the Emacs formatting which do not work really consistent between different commands fill-paragraph and fill-region). EIther that, or I am not really able to comprehend how this works. About indentation, there are other possible conventions one could use. Right now, TAB will indent a line under a plain list item to beyond the item bullet. Independent of the current indentation. So it will indent lines with low indentation, and outdent lines with too large indentations. One could have different conventions. For example, we could do this: In the line after a plain list item: - when the indentation is 0 or when the line is empty, make TAB indent to under the line before, as if you intended to continue the item. - when the line is not empty and already indented, keep that indentation. I am not sure if that would be seen as more consistent and stable, up for discussion. - Carsten On Feb 10, 2008, at 6:05 AM, Eddward DeVilla wrote: On Feb 9, 2008 10:47 PM, William Henney <[EMAIL PROTECTED]> wrote: On Feb 9, 2008 9:55 PM, Eddward DeVilla <[EMAIL PROTECTED]> wrote: In any case, I'm just trying to come up with something that does the job but is not an eye sore in the org buffer. I'm looking for something that visually looks like a natural footer or terminator in plain text. (And a footer ought to be able to be preceeded by a header.) I know the significance of the '/' in xml, but visually, it doesn't look right to my eyes. Aside from the meaning in xml code, it does say end-of-list to me. If anything, it seems to connect the preceeding and proceeding text, like this/that. The dashes draw a dividing line. How about "-." ? Better. Still kind of cryptic, but more subtle. Actually, since that's all that's on the line, it really doesn't matter what it is. Font lock can hide it or gray it out. It could look like a blank line without the ambiguity. Edd ___ 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 ___ 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] Handling phone calls
Carsten Dominik <[EMAIL PROTECTED]> writes: > Excellent description, I just made an entry for this in the > new Org-mode FAQ in Worg: http://129.199.80.1/~guerry/worg/org-faq.html > The entry is not yet there as of Sunday, 8:39 CET, so we will now find out how > quickly Bastien will update the HTML version. Done. Note: the ugly IP-based url will be fixed as soon as the IT guys in my lab will repair the server - sorry for that. > I think we should do more like this: Put gmane pointers to > good writeups into the faq, or even directly convert these posts to org > and put them into a faq. emacs-orgmode@gnu.org is becoming a knowledgebase. > This is a corner in parameter space where Worg can really shine: Whenever you > see > a particularly useful post, head over to worg and greate a link to it. I strongly second this! -- 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] Integration of Org mode with Mairix: org-mairix.el
On Thu, Feb 07, 2008 at 12:41:03PM +0100, Carsten Dominik wrote: > Hi George, > > would you like to get push access to out Org-mode repository, so > that you can push org-mairix.el into that repository? Georg was last seen in November: http://article.gmane.org/gmane.emacs.orgmode/4343/ So I'm not sure if he's still reading the list. On 30th December I posted a significant update to org-mairix.el which added mutt support: http://thread.gmane.org/gmane.emacs.orgmode/3386/focus=4908 Perhaps I should push it into the CONTRIB/ directory myself? However, there are one or two issues and design decisions pending: http://thread.gmane.org/gmane.emacs.orgmode/5044/focus=5063 http://thread.gmane.org/gmane.emacs.orgmode/5045/focus=5064 http://thread.gmane.org/gmane.emacs.orgmode/4217/focus=4635 but I was hoping to get some feedback from the (apparently tiny?) user-base first. Is there anyone other than myself and Austin currently reading the list who uses org-mairix.el, or who might be interested in using it? ___ 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] Task time limit
I finally got time to try this code :) Copied into my .emacs file, changed the time to 1 minute, clocked in a task, waited a minute and nothing happened :) What could I be doing wrong? Thanks, Sebastjan On Nov 19, 2007 2:03 PM, Bastien <[EMAIL PROTECTED]> wrote: > "Sebastjan Trepca" <[EMAIL PROTECTED]> writes: > > > For example, "check the feed reader" would be set to 20 minutes. I > > would clock-in the task, go and check the reader and after 20 mins, > > alarm would go off, reminding me that I should start doing something > > else. > > Nice idea, I gave it a shot. > > I advised `org-clock-in' so that each time I am clocking in a new task, > a new appointment is triggered. `my-org-appt-add' can also be called > interactively. > > ;; Make sure you have a sensible value for `appt-message-warning-time' > (defun my-org-appt-add (&optional n) > "Add an appointment for the Org entry at point in N minutes." > (interactive) > (save-excursion > (org-back-to-heading t) > (looking-at org-complex-heading-regexp) > (let* ((msg (concat (match-string-no-properties 4) > " *GAME OVER*")) >(ct-time (decode-time)) >(appt-min (+ (cadr ct-time) (or n 20))) >(appt-time ; define the time for the appointment > (progn (setf (cadr ct-time) appt-min) ct-time))) > (appt-add (format-time-string > "%H:%M" (apply 'encode-time appt-time)) msg) > (if (interactive-p) (message "New appointment for %s" msg) > > (defadvice org-clock-in (after org-appt-add-after-clock-in activate) > "Add an appointment after clocking in a task." > (my-org-appt-add)) > > Maybe another idea is to bind (progn (org-clock-in) (my-org-appt-add)) > to a key in org-agenda-mode-map, since advising `org-clock-in' is a bit > too much IMO. Or we could use some kind of filtering to decide whether > clockin in an entry should trigger a new appointment. > > Anyway, that's just a quickstart, let me know if this is useful. > > -- > 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] Task time limit
"Sebastjan Trepca" <[EMAIL PROTECTED]> writes: > I finally got time to try this code :) This is just 84 days old :) > Copied into my .emacs file, changed the time to 1 minute, clocked in a > task, waited a minute and nothing happened :) Are you activating appointments with (appt-activate) somewhere? What is the output of M-x appt-delete RET ? Maybe you can try with a more realistic value of 20 minutes and check if the appt appears somewhere (with-x appt-delete RET) BTW, here is the last version I use, letting you to delete "appointments" if you clock out (only in the org-mode buffer): ;; Make sure you have a sensible value for `appt-message-warning-time' (defvar bzg-org-clock-in-appt-delay 100 "Number of minutes for setting an appointment by clocking-in") (defun bzg-org-clock-in-add-appt (&optional n) "Add an appointment for the Org entry at point in N minutes." (interactive) (save-excursion (org-back-to-heading t) (looking-at org-complex-heading-regexp) (let* ((msg (match-string-no-properties 4)) (ct-time (decode-time)) (appt-min (+ (cadr ct-time) (or n bzg-org-clock-in-appt-delay))) (appt-time ; define the time for the appointment (progn (setf (cadr ct-time) appt-min) ct-time))) (appt-add (format-time-string "%H:%M" (apply 'encode-time appt-time)) msg) (if (interactive-p) (message "New appointment for %s" msg) (defadvice org-clock-in (after org-clock-in-add-appt activate) "Add an appointment when clocking a task in." (bzg-org-clock-in-add-appt)) (defun bzg-org-clock-out-delete-appt nil "When clocking out, delete any associated appointment." (interactive) (save-excursion (org-back-to-heading t) (looking-at org-complex-heading-regexp) (let* ((msg (match-string-no-properties 4))) (setq appt-time-msg-list (delete nil (mapcar (lambda (appt) (if (not (string-match (regexp-quote msg) (cadr appt))) appt)) appt-time-msg-list))) (appt-check (defadvice org-clock-out (before org-clock-out-delete-appt activate) "Delete an appointment when clocking a task out." (bzg-org-clock-out-delete-appt)) -- 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] Task time limit
> This is just 84 days old :) Hehe, I guess I have a long queue ;) Anyway, this new version works! :) Thank you very much, this will be very useful. Btw, why not integrate it with org-mode? Sebastjan > > Copied into my .emacs file, changed the time to 1 minute, clocked in a > > task, waited a minute and nothing happened :) > > Are you activating appointments with (appt-activate) somewhere? > What is the output of M-x appt-delete RET ? > > Maybe you can try with a more realistic value of 20 minutes and check if > the appt appears somewhere (with-x appt-delete RET) > > BTW, here is the last version I use, letting you to delete > "appointments" if you clock out (only in the org-mode buffer): > > ;; Make sure you have a sensible value for `appt-message-warning-time' > (defvar bzg-org-clock-in-appt-delay 100 > "Number of minutes for setting an appointment by clocking-in") > > (defun bzg-org-clock-in-add-appt (&optional n) > "Add an appointment for the Org entry at point in N minutes." > (interactive) > (save-excursion > (org-back-to-heading t) > (looking-at org-complex-heading-regexp) > (let* ((msg (match-string-no-properties 4)) >(ct-time (decode-time)) >(appt-min (+ (cadr ct-time) > (or n bzg-org-clock-in-appt-delay))) >(appt-time ; define the time for the appointment > (progn (setf (cadr ct-time) appt-min) ct-time))) > (appt-add (format-time-string > "%H:%M" (apply 'encode-time appt-time)) msg) > (if (interactive-p) (message "New appointment for %s" msg) > > (defadvice org-clock-in (after org-clock-in-add-appt activate) > "Add an appointment when clocking a task in." > (bzg-org-clock-in-add-appt)) > > (defun bzg-org-clock-out-delete-appt nil > "When clocking out, delete any associated appointment." > (interactive) > (save-excursion > (org-back-to-heading t) > (looking-at org-complex-heading-regexp) > (let* ((msg (match-string-no-properties 4))) > (setq appt-time-msg-list > (delete nil > (mapcar > (lambda (appt) >(if (not (string-match (regexp-quote msg) > (cadr appt))) appt)) > appt-time-msg-list))) > (appt-check > > (defadvice org-clock-out (before org-clock-out-delete-appt activate) > "Delete an appointment when clocking a task out." > (bzg-org-clock-out-delete-appt)) > > -- > Bastien > -- Sebastjan ___ 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: list indentation
Carsten Dominik <[EMAIL PROTECTED]> writes: > Are you talking about something like longlines.el? I am not sure > if you understand what you mean. > > - Carsten I was suggesting another way you could keep the current formatting and also deal with the indentation (by disabling indentation for lists). 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
Re: [Orgmode] Task time limit
"Sebastjan Trepca" <[EMAIL PROTECTED]> writes: > Anyway, this new version works! :) Be careful about clocking out from agenda views if you're also advising org-clock-out. It doesn't work, I can't see why for now. > Thank you very much, this will be very useful. Btw, why not integrate > it with org-mode? I don't think this has to be part of org-mode. I'm not using it myself and I would be surprised if many people are using it. This is a strange way of using appointments as "reminders". And most of the times you will clock the task out before the appt will pop up -- which means you really relies on `appt-message-warning-time' to tell you that you're about to reach the "appointment"... Anyway, I opened a page named org-adhoc-code.org on Worg: http://www.cognition.ens.fr/~guerry/worg/org-adhoc-code.html We could put other tiny pieces of code here in the future. -- 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] Integration of Org mode with Mairix: org-mairix.el
Hi Adam, Adam Spiers <[EMAIL PROTECTED]> writes: > but I was hoping to get some feedback from the (apparently tiny?) > user-base first. Is there anyone other than myself and Austin > currently reading the list who uses org-mairix.el, or who might be > interested in using it? I'm not using org-mairix.el anymore because org-nnml.el suits my needs. But I like mairix and I'm using it a lot (with Gnus.) If you solve the issues you mentionned then I will give it another try, for sure! -- 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] Re: list indentation
Hi Ceazr, cezar <[EMAIL PROTECTED]> writes: > How common is a blank line in a list item ? > I'd say it's more common for a blank line to end a list item. FWIW I often use multi-paragraphs in a list item. I think it should be outlawed. Generally speaking, I think we shouldn't put too many constraints on the way the text has to be formatted, even if it costs the user two or three additional keystrokes. Best, -- 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] Problems with Properties and Columns
Hi Ian, Ian Barton <[EMAIL PROTECTED]> writes: > Taking the snippet below as an example. If I try to add a Property below My > Bank using C-c C-x p I am offered completions for the Properties defined > under Web Site Passwords, not Bank Details. Is this a bug, or am I > misunderstanding the scope of the Columns directive? The COLUMN property just defines the column view, not the properties themselves. When you set a property with `C-c C-x p', the prompt offers completion over all the properties that are found in the current buffer. Does that answer your question? -- 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] Problems with Properties and Columns
Taking the snippet below as an example. If I try to add a Property below My Bank using C-c C-x p I am offered completions for the Properties defined under Web Site Passwords, not Bank Details. Is this a bug, or am I misunderstanding the scope of the Columns directive? Ian. * Web Site Passwords. :PROPERTIES: :COLUMNS: %25ITEM %USER %PASSWORD %URL %NOTES :END: ** Allaboutsymbian :PROPERTIES: :USER: :URL: http://www.allaboutsymbian.com :PASSWORD: sakskass :NOTES: some notes : :END: * Bank Details. :PROPERTIES: :COLUMNS: %25ITEM %ACCOUNTNO %NOTES :END: ** My Bank ___ 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] Problems with Properties and Columns
Taking the snippet below as an example. If I try to add a Property below My Bank using C-c C-x p I am offered completions for the Properties defined under Web Site Passwords, not Bank Details. Is this a bug, or am I misunderstanding the scope of the Columns directive? The COLUMN property just defines the column view, not the properties themselves. When you set a property with `C-c C-x p', the prompt offers completion over all the properties that are found in the current buffer. Does that answer your question? Thanks Bastien. Yes and no:) In my example if I type ACC in the mini buffer Emacs returns No Match, whereas I assume it should offer ACCOUNTNO as a completion. I am using org 5.21 and Xemacs 22. Ian. ___ 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] Problems with Properties and Columns
Ian Barton <[EMAIL PROTECTED]> writes: >> >>> Taking the snippet below as an example. If I try to add a Property below My >>> Bank using C-c C-x p I am offered completions for the Properties defined >>> under Web Site Passwords, not Bank Details. Is this a bug, or am I >>> misunderstanding the scope of the Columns directive? >> >> The COLUMN property just defines the column view, not the properties >> themselves. When you set a property with `C-c C-x p', the prompt offers >> completion over all the properties that are found in the current buffer. >> >> Does that answer your question? >> > > Thanks Bastien. Yes and no:) In my example if I type ACC in the mini > buffer Emacs returns No Match, whereas I assume it should offer > ACCOUNTNO as a completion. This is not the current behavior. You have to actually use a property as a property (not as a column in the :COLUMNS: property) so that the prompt offers it for completion. But I agree it would be useful if Org were recognizing values in :COLUMNS: as properties, even when they are not yet in use. -- 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] Re: Integration of Org mode with Mairix: org-mairix.el
Gijs Hillenius <[EMAIL PROTECTED]> writes: > On 10 Feb 2008, Bastien Guerry wrote: > >> Adam Spiers <[EMAIL PROTECTED]> writes: >> >>> but I was hoping to get some feedback from the (apparently tiny?) >>> user-base first. Is there anyone other than myself and Austin >>> currently reading the list who uses org-mairix.el, or who might be >>> interested in using it? > I've just started using mairix, and I think it's great. Org-mode integration should be cool even tho I don't yet know how it can come usefull. 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
Re: [Orgmode] Integration of Org mode with Mairix: org-mairix.el
On 10 Feb 2008, Bastien Guerry wrote: > Adam Spiers <[EMAIL PROTECTED]> writes: > >> but I was hoping to get some feedback from the (apparently tiny?) >> user-base first. Is there anyone other than myself and Austin >> currently reading the list who uses org-mairix.el, or who might be >> interested in using it? (snip) > If you solve the issues you mentionned then I will give it another try, > for sure! Me too. Gijs -- Insanity is considered a ground for divorce, though by the very same token it is the shortest detour to marriage. -- Wilson Mizner ___ 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