Re: [O] Error when changing todo-state [7.8.11]
Am 20.6.2012 schrieb Nick Dokos: Eric S Fraga e.fr...@ucl.ac.uk wrote: state has been changed to org-state. That's probably the cause of the problem, but there is still the question of whether state is used in some customization that the OP has done or whether there are inconsistencies in the update (i.e. old bits lying around and being used in preference to the new ones). Nick Changing state to org-state in org-checklist.el solved the problem. Thank you, Eric and Nicholas, for your hints! Salome
[O] BBDB Sync (Was: Re: [Orgmode] Re: contact management in org-mode?)
I was searching through the list archives when I came across this old thread. I thought I would point out some recent developments in the BBDB world that might be of general interest to Emacs users. I am the author of a sync tool that can perform bi-directional sync between MS Outlook / Google Contacts / Emacs BBDB. You can set up a sync profile between any folder in one of those with any folder in any of the other two. It's been released to the bbdb-info audience, and it seems to be working quite well (no complaints yet of ASynK eating up peoples contacts.) Give it a shot by visiting the project page at: http://karra-asynk.appspot.com/ Further, BBDB v3 is getting ready to come out of alpha status, as per a recent mail on bbdb-info by the current maintainer Roland Winkler. All in all, there is some action on the BBDB side of the world, and this is a great time for the faithful to return to the fold :) -Karra -- *From*: Darlan Cavalcante Moreira*Subject*:Re: [Orgmode] Re: contact management in org-mode? *Date*:Sun, 25 Oct 2009 10:51:07 -0300*User-agent*:Wanderlust/2.15.6 (Almost Unreal) Emacs/23.1 Mule/6.0 (HANACHIRUSATO) -- If there was someway to sync (two-way) bbdb with google contacts all problems would be solved for me, since I can sync my phone with google contacts and Evolution can read/write from/to google contacts (although nowadays I use wanderlust in Emacs instead of evolution, which obviously can use bbdb). Darlan At Sun, 25 Oct 2009 02:04:18 -0400, Charles Philip Chan address@hidden wrote: * * * Russell Adams address@hidden writes:* * * * I'm migrating out of it as fast as I can. The import/export tools are* * terrible / nonexistant unless you know elisp,* * * * Have you tried any of these.* * * * http://www.emacswiki.org/emacs/BbdbImporters* * http://www.emacswiki.org/emacs/BbdbExporters* * * * ?* * * * I am currently using bbdb-vcard-import.el and bbdb-vcard-export.el with* * no problems. I have also used bbdb-rf.el in the past.* * * * Charles* * * * -- * * Linux: Because a PC is a terrible thing to waste.* * (By address@hidden, Mark Komarinski)*
[O] Org Mode TOOD two way sync tool
I am the author of ASynK (http://karra-asynk.appspot.com), a PIM sync tool and framework written in python that works across a variety of PIM providers such as Outlook, Google and BBDB. I am considering extending ASynK to do a bi-directional sync of Outlook tasks to Org Mode tasks. To be able to do this I need a working read/write API for reading and creating TODOs in org mode. *Offline parsers* My first preference is to be able to parser org files without required Emacs - this is the approach that I have implemented for BBDB sync. I considered PyOrgMode (https://github.com/bjonnh/PyOrgMode/network), but it appears unable to process TODOs, or even recurring events. To be able to extend PyOrgMode so I can read and write TODOs, I needed a full description of the format of TODO entries in all its forms. The Org manual itself has this information, I'm sure but scattered all over the place, given its real audience. Can someone point me to some sort of a concise representation, if any, of the org file format grammar? *org-protocol* * * By quickly reading the documentation I figured that org-protocol can be used to create entries, but is there a way to use it to do generic queries like list all TODOs in a specified file, with a particular property value and such? Any help is much appreciated. -Karra
Re: [O] [dev] About a beamer back-end
Nicolas, I'll keep headlines for blocks. But I think I'll introduce a couple of small changes. I really like all the changes you propose. The result would appear to be a clean design. I particularly like the defaulting of headlines to blocks. Unlike others, I am not bothered about *alert* taking the place of *bold* as I never mix the two and, in fact, have alert mapped to bold when using article instead of beamer class. Thanks, eric -- : Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D : in Emacs 24.1.50.1 and Org release_7.8.11-69-ga2fd96
Re: [O] Org Mode TOOD two way sync tool
Hi Karra, I've been working on org-toodledo.el to perform bi-directional sync of TODO items with the Toodledo server, and faced many of the same issues you raise about figuring out the exact format and grammar of a TODO item. You may find looking at my source useful, either as inspiration, integration, or just understanding what fields are what. The general approach was to build an object that represents a parsed TODO item, and fill that in from either the org-buffer TODO items, or from items retrieved from the server. That object can then be compared to others (one from the server and one from the local buffer), converted to a new org TODO, sent to the server as a new TODO, etc. The components of the TODO item are obviously targeted to what makes sense for Toodledo, but I think they are fairly generic. You might also look at org-element.el which I recently learned about which may also help. I have it on my TODO list to learn more about it to see if I can't refactor org-toodledo to leverage it. It is more geared toward generic org items as opposed to specifically TODO items. ...cj On 6/22/12 2:40 AM, Sriram Karra wrote: I am the author of ASynK (http://karra-asynk.appspot.com), a PIM sync tool and framework written in python that works across a variety of PIM providers such as Outlook, Google and BBDB. I am considering extending ASynK to do a bi-directional sync of Outlook tasks to Org Mode tasks. To be able to do this I need a working read/write API for reading and creating TODOs in org mode. *Offline parsers* My first preference is to be able to parser org files without required Emacs - this is the approach that I have implemented for BBDB sync. I considered PyOrgMode (https://github.com/bjonnh/PyOrgMode/network), but it appears unable to process TODOs, or even recurring events. To be able to extend PyOrgMode so I can read and write TODOs, I needed a full description of the format of TODO entries in all its forms. The Org manual itself has this information, I'm sure but scattered all over the place, given its real audience. Can someone point me to some sort of a concise representation, if any, of the org file format grammar? *org-protocol* * * By quickly reading the documentation I figured that org-protocol can be used to create entries, but is there a way to use it to do generic queries like list all TODOs in a specified file, with a particular property value and such? Any help is much appreciated. -Karra
Re: [O] Org Mode TOOD two way sync tool
Chris, thanks for the pointer to org-toodledo. Does org-toodledo's handle all the options and formats of possible TODOs supported by org mode? Are you yet to implement support for anything that is parsed by the Emacs org-mode? On Fri, Jun 22, 2012 at 5:33 PM, Christopher J. White orgm...@grierwhite.com wrote: Hi Karra, I've been working on org-toodledo.el to perform bi-directional sync of TODO items with the Toodledo server, and faced many of the same issues you raise about figuring out the exact format and grammar of a TODO item. You may find looking at my source useful, either as inspiration, integration, or just understanding what fields are what. The general approach was to build an object that represents a parsed TODO item, and fill that in from either the org-buffer TODO items, or from items retrieved from the server. That object can then be compared to others (one from the server and one from the local buffer), converted to a new org TODO, sent to the server as a new TODO, etc. The components of the TODO item are obviously targeted to what makes sense for Toodledo, but I think they are fairly generic. You might also look at org-element.el which I recently learned about which may also help. I have it on my TODO list to learn more about it to see if I can't refactor org-toodledo to leverage it. It is more geared toward generic org items as opposed to specifically TODO items. ...cj On 6/22/12 2:40 AM, Sriram Karra wrote: I am the author of ASynK (http://karra-asynk.appspot.**comhttp://karra-asynk.appspot.com), a PIM sync tool and framework written in python that works across a variety of PIM providers such as Outlook, Google and BBDB. I am considering extending ASynK to do a bi-directional sync of Outlook tasks to Org Mode tasks. To be able to do this I need a working read/write API for reading and creating TODOs in org mode. *Offline parsers* My first preference is to be able to parser org files without required Emacs - this is the approach that I have implemented for BBDB sync. I considered PyOrgMode (https://github.com/bjonnh/**PyOrgMode/networkhttps://github.com/bjonnh/PyOrgMode/network), but it appears unable to process TODOs, or even recurring events. To be able to extend PyOrgMode so I can read and write TODOs, I needed a full description of the format of TODO entries in all its forms. The Org manual itself has this information, I'm sure but scattered all over the place, given its real audience. Can someone point me to some sort of a concise representation, if any, of the org file format grammar? *org-protocol* * * By quickly reading the documentation I figured that org-protocol can be used to create entries, but is there a way to use it to do generic queries like list all TODOs in a specified file, with a particular property value and such? Any help is much appreciated. -Karra
Re: [O] Org Mode TOOD two way sync tool
Hi Karra, On 6/22/12 8:33 AM, Sriram Karra wrote: Chris, thanks for the pointer to org-toodledo. Does org-toodledo's handle all the options and formats of possible TODOs supported by org mode? That's a loaded question ;-) I'd have to say probably not, but it so far supports all of my TODOs. Brief list of properties handled: * TODO state * DEADLINE / SCHEDULED with repeaters * CLOSED * tags * Effort * hierarchy * folder (toodledo folders, that is) - map to a heading I'd say extending support to other properties wouldn't be too hard if it's a direct mapping that doesn't involve too much logic. Are you yet to implement support for anything that is parsed by the Emacs org-mode? I'm not sure what you mean -- are you referring to org-element? If not, can you clarify? ...cj
Re: [O] essentially turn off font-lock except for headings
Is there a way to do this on a per-file setting? Best wishes, Enda From: Eric S Fraga e.fr...@ucl.ac.uk To: Enda enda...@yahoo.com Cc: emacs-orgmode@gnu.org emacs-orgmode@gnu.org Sent: Monday, June 18, 2012 8:34 AM Subject: Re: [O] essentially turn off font-lock except for headings Enda enda...@yahoo.com writes: How do you essentially turn off font-lock except for headings? By customising the faces used? You can find out what face is active at any point with C-u C-x =. -- : Eric S Fraga, GnuPG: 0xC89193D8FFFCF67D : in Emacs 24.1.50.1 and Org release_7.8.11-69-ga2fd96
[O] take the name of org-class event from heading
How can I schedule a weekly class that lasts for a limited period of time? (org-class) Org-mode offers a convenient diary sexp function for setting up a recurring appointment that lasts for a certain period of time, such as a class. It is called org-class and it can be entered as follows: ** Class 7:00pm-9:00pm %%(org-class 2009 2 16 2009 4 20 1 10) The function above schedules an appointment for every Monday (1) between February 16 and April 20, 2009, except for ISO week 10 (March 1 to March 7). If you would prefer not to place the timestamp in the headline, you can use the following format: ** Class %%(org-class 2009 2 16 2009 4 20 1 10) 7:00pm-9:00pm Class Why do you have to repeat the name of the event in the org-class, why cannot it not take the name from the heading? Best wishes, Enda
[O] How can a holiday that you specify be made known to the calendar?
How can I schedule a weekly class that lasts for a limited period of time? (org-class) If one of the SKIP-WEEKS is the symbol holidays, then any holidays known to the calendar are also skipped. How can a holiday that you specify be made known to the calendar? Best wishes, Enda
[O] How do I schedule events relative to Easter Sunday?
Re: How do I schedule events relative to Easter Sunday? Easter Sunday is in %%(org-calendar-holiday) how does Emacs calculate it? Best wishes, Enda
[O] MobileOrg - Symbol's value as variable is void: org-agenda-filter
MobileOrg - Push files and views (C-c C-x RET p) Symbol's value as variable is void: org-agenda-filter Why am getting this error?: Symbol's value as variable is void: org-agenda-filter Best wishes, Enda
Re: [O] essentially turn off font-lock except for headings
On Fri, Jun 22, 2012 at 5:19 PM, Enda enda...@yahoo.com wrote: Is there a way to do this on a per-file setting? I don't think faces can be customised per file. But you are welcome to try it out. http://www.gnu.org/software/emacs/manual/html_node/emacs/File-Variables.html -- Suvayu Open source is the future. It sets us free.
[O] org-mobile-directory @@Dropbox
From FAQ: What can I do if I don't want to use Dropbox.com? (setq org-mobile-directory /scpc:user@@remote.host:org/webdav/) Having the '@@' caused the username to be 'user@' so I could not log in, removing one of the @'s solved the problem. Best wishes, Enda P.S. Can TRAMP use WebDAV?
Re: [O] org-mobile-directory @@Dropbox
On Fri, Jun 22, 2012 at 5:35 PM, Enda enda...@yahoo.com wrote: (setq org-mobile-directory /scpc:user@@remote.host:org/webdav/) Having the '@@' caused the username to be 'user@' so I could not log in, removing one of the @'s solved the problem. This was a typo. I just fixed it. Thanks. :) -- Suvayu Open source is the future. It sets us free.
[O] booktabs in orgtbl-mode
Hi, I started using orgtbl-mode (which is great BTW) to prep my tables in a latex document. Can I get it to use booktabs line separators (such as \toprule) rather than \hline in the auto-generated latex when I hit C-c C-c on the table? Thanks, Stephen
Re: [O] take the name of org-class event from heading
Enda enda...@yahoo.com wrote: How can I schedule a weekly class that lasts for a limited period of time? (org-class) Org-mode offers a convenient diary sexp function for setting up a recurring appointment that lasts for a certain period of time, such as a class. It is called org-class and it can be entered as follows: ** Class 7:00pm-9:00pm %%(org-class 2009 2 16 2009 4 20 1 10) The function above schedules an appointment for every Monday (1) between February 16 and April 20, 2009, except for ISO week 10 (March 1 to March 7). If you would prefer not to place the timestamp in the headline, you can use the following format: ** Class %%(org-class 2009 2 16 2009 4 20 1 10) 7:00pm-9:00pm Class Why do you have to repeat the name of the event in the org-class, why cannot it not take the name from the heading? What if you want them to be *different*? Nick PS I cannot tell where you are quoting others and where you are talking as yourself. Can you please use some quoting style?
Re: [O] take the name of org-class event from heading
From: Nick Dokos nicholas.do...@hp.com To: Enda enda...@yahoo.com Cc: emacs-orgmode@gnu.org emacs-orgmode@gnu.org Sent: Friday, June 22, 2012 4:44 PM Subject: Re: [O] take the name of org-class event from heading Enda enda...@yahoo.com wrote: How can I schedule a weekly class that lasts for a limited period of time? (org-class) Org-mode offers a convenient diary sexp function for setting up a recurring appointment that lasts for a certain period of time, such as a class. It is called org-class and it can be entered as follows: ** Class 7:00pm-9:00pm %%(org-class 2009 2 16 2009 4 20 1 10) The function above schedules an appointment for every Monday (1) between February 16 and April 20, 2009, except for ISO week 10 (March 1 to March 7). If you would prefer not to place the timestamp in the headline, you can use the following format: ** Class %%(org-class 2009 2 16 2009 4 20 1 10) 7:00pm-9:00pm Class Why do you have to repeat the name of the event in the org-class, why cannot it not take the name from the heading? What if you want them to be *different*? Couldn't I have ** Class %%(org-class 2009 2 16 2009 4 20 1 10) 7:00pm-9:00pm ? Nick PS I cannot tell where you are quoting others and where you are talking as yourself. Can you please use some quoting style? I italicized the quoted text.
Re: [O] take the name of org-class event from heading
Enda enda...@yahoo.com wrote: What if you want them to be *different*? Couldn't I have ** Class %%(org-class 2009 2 16 2009 4 20 1 10) 7:00pm-9:00pm ? Of course you could. Nick PS I cannot tell where you are quoting others and where you are talking as yourself. Can you please use some quoting style? I italicized the quoted text. OK - but that assumes machinery that not all of us are using.
Re: [O] How can a holiday that you specify be made known to the calendar?
Enda enda...@yahoo.com wrote: How can I schedule a weekly class that lasts for a limited period of time? (org-class) If one of the SKIP-WEEKS is the symbol holidays, then any holidays known to the calendar are also skipped. How can a holiday that you specify be made known to the calendar? Both this and your other question about Easter Sunday are calendar questions, not org questions. I believe the appropriate forum for them is the gnu.emacs mailing list, but if I'm wrong, somebody will correct me. You might find some answers in the calendar section of the emacs docs: (info (emacs) The Calendar and the Diary) Nick
Re: [O] MobileOrg - Symbol's value as variable is void: org-agenda-filter
Enda enda...@yahoo.com wrote: MobileOrg - Push files and views (C-c C-x RET p) Symbol's value as variable is void: org-agenda-filter Why am getting this error?: Symbol's value as variable is void: org-agenda-filter M-x toggle-debug-on error try it again and when you get the error, send the backtrace. Nick
Re: [O] take the name of org-class event from heading
What if you want them to be *different*? Couldn't I have ** Class %%(org-class 2009 2 16 2009 4 20 1 10) 7:00pm-9:00pm ? Of course you could. But then the name of the event, in this case 'Class', would not appear in the agenda. Best wishes, Enda
Re: [O] take the name of org-class event from heading
Enda enda...@yahoo.com wrote: What if you want them to be *different*? Couldn't I have ** Class %%(org-class 2009 2 16 2009 4 20 1 10) 7:00pm-9:00pm ? Of course you could. But then the name of the event, in this case 'Class', would not appear in the agenda. If you want it in the agenda, then add it. My point was what if I want a different name to appear in the agenda than the name of the headline? If we hardwire the headline as the event name, then we will *always* get that. Nothing stops you of course from modifying org-class so that it does what you want. I just raised a possible problem. Nick PS. In general, short questions like this are better answered on IRC: misunderstandings can be resolved more quickly. Email is not a good medium for chatting like this: it is better used when you are willing to commit the time to prepare a more complete question: I tried *this*, I got *that*, I would like to get *something else* - is that possible and if so how? with a fair amount of explanation of what *this*, *that* and the *something else* are.
Re: [O] Checkboxes for description lists
Hello, Sebastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes: - C-c C-e[1] :: Appelle le dispatcher - C-c a[2] a :: Appelle l'agenda * Footnotes [1] E pour export [2] C-c a est un préfixe commun à beaucoup de commandes gets exported to: \begin{itemize} \item C-c C-e\footnote{E pour export } :: Appelle le dispatcher \item C-c a\footnote{C-c a est un préfixe commun à beaucoup de commandes } a :: Appelle l'agenda \end{itemize} That is, not as a description list... This is strange. Your example is correctly exported here. Could you double check your result? Also, could you use M-: (org-element-property :type (org-element-at-point)) on the first item of your list, in order to see if the parser gets it right? Regards, -- Nicolas Goaziou
Re: [O] [Feature Request] org-mobile edit:add nodes
Hi Bastien, both Aaron and me have used this patch for a while now without problems. What would it take to get it merged in? Henning
[O] [bug] As if there were no formulas
Hello, Formulas are not shown anymore (with `C-u C-x =') as we introduce the use of symbolic references (such as @). * Example | | Date of bill | Amount | |---+--+| | | [2011-10-04 Tue] | 69.02 | | | [2011-06-03 Fri] | 155.02 | | | [2011-02-01 Tue] | 180.01 | |---+--+| | | Total| 404.05 | #+TBLFM: @$3=vsum(@-I..@-II);%.2f * Problems 1. If I go on cell `@5$3' and do a `C-u C-x =', I don't see any formula -- subject of this post. 2. Extra discovery: unless in Visible mode, I don't see the `@' character in the TBLFM line. What I see is: #+TBLFM: $3=vsum(-I..@-II);%.2f ^ ^ Now that I think about it, it must be a side effect of: + hiding the markers + having `@' as extra marker for alert... Not such a judicious choice, then, for Org-Beamer... Using `!' could be a better choice? Best regards, Seb -- Sebastien Vauban
Re: [O] MobileOrg - Symbol's value as variable is void: org-agenda-filter
See commit 71089b7e3b00736f854d6e95a52229853262e12a Author: Bastien Guerry b...@altern.org Date: Wed Jan 4 16:37:59 2012 +0100 org-mobile.el (org-mobile-push): Use `org-agenda-tag-filter'. * org-mobile.el (org-mobile-push): Use `org-agenda-tag-filter' instead of the obsolete `org-agenda-filter'. Thanks to Charles Sebold for reporting this. Cheers, Simon On 06/22/2012 05:31 PM, Enda wrote: MobileOrg - Push files and views (C-c C-x RET p) Symbol's value as variable is void: org-agenda-filter Why am getting this error?: Symbol's value as variable is void: org-agenda-filter Best wishes, Enda
[O] [feature] Macros can't contain accents
Hello, The following macro won't work: --8---cut here---start-8--- #+MACRO: max-déductible-remboursement-capital 2120.00 For 2011, the maximum is *{{{max-déductible-remboursement-capital}}} \EUR*. --8---cut here---end---8--- When replacing `é' by `e', it does work. I don't know if it's a bug, neither if corrective action needs to be taken. Just signalling it... Best regards, Seb -- Sebastien Vauban
Re: [O] BBDB Sync (Was: Re: [Orgmode] Re: contact management in org-mode?)
* Sriram Karra karra@gmail.com wrote: I am the author of a sync tool that can perform bi-directional sync between MS Outlook / Google Contacts / Emacs BBDB. You can set up a sync profile between any folder in one of those with any folder in any of the other two. It's been released to the bbdb-info audience, and it seems to be working quite well (no complaints yet of ASynK eating up peoples contacts.) Give it a shot by visiting the project page at: http://karra-asynk.appspot.com/ I am using Org-mode to organize my contacts following org-contacts.el[1] and a *lot* of additional properties. Those things are so far »by convention« and I always wanted to sum it up on WORG but did not find time for that. If you are interested in writing a sync module for Org-mode as well, feel free to contact me. I am happy to describe you how I am organizing contacts using Org-mode. 1. http://julien.danjou.info/software/org-contacts.el -- Karl Voit
Re: [O] **: Re: Checkboxes for description lists
Hello Nicolas, Nicolas Goaziou wrote: Sebastien Vauban writes: - C-c C-e[1] :: Appelle le dispatcher - C-c a[2] a :: Appelle l'agenda * Footnotes [1] E pour export [2] C-c a est un préfixe commun à beaucoup de commandes gets exported to [...] This is strange. Your example is correctly exported here. Could you double check your result? Also, could you use M-: (org-element-property :type (org-element-at-point)) on the first item of your list, in order to see if the parser gets it right? Stupid from me: I exported using the old exporter! With the new one, I get a code that's not so obvious to me... --8---cut here---start-8--- \begin{description} \item[C-c C-e\setcounter{footnote}{0}\footnotemark\setcounter{footnote}{1}] Appelle le dispatcher\footnotetext[1]{E pour export} \item[C-c a\setcounter{footnote}{1}\footnotemark\setcounter{footnote}{2} a] Appelle l'agenda\footnotetext[2]{C-c a est un préfixe commun à beaucoup de commandes} \end{description} --8---cut here---end---8--- ... but which seems to have a right look in the generated PDF -- I mean when we read the text. However, I see strange movements within the document, when clicking on the (footnote) hyperlinks. Best regards, Seb -- Sebastien Vauban
Re: [O] [feature] Macros can't contain accents
Hello, Sebastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes: Hello, The following macro won't work: #+MACRO: max-déductible-remboursement-capital 2120.00 For 2011, the maximum is *{{{max-déductible-remboursement-capital}}} \EUR*. When replacing `é' by `e', it does work. I don't know if it's a bug, neither if corrective action needs to be taken. Just signalling it... Here is the regexp for a macro: {{{\\([a-zA-Z][-a-zA-Z0-9_]*\\)\\(([ \t\n]*\\([^\000]*?\\))\\)?}}} Its name must start with a letter and can only contain letter, numbers, hyphens and underscores. There is the same kind of limitation for target names and probably other references (custom-id maybe). Regards, -- Nicolas Goaziou
[O] text to plain list
Hi there, Is there quick method for converting a bunch of text to plain list ? Thanks M
Re: [O] text to plain list
Hi Marvin, Is there quick method for converting a bunch of text to plain list ? C-u C-c - makes every line of the active region a list item (C-c - makes the region one item, the bullet on the first line) If you want each word to become an item, what I usually do is replace (optionnaly by regexp if you master that) spaces by a newline (C-q C-j) and a dash, and then, org-moving-around the list nicens it up, typically. (C-M-% SPC * C-q C-j * [A-z] … … …)
Re: [O] text to plain list
Marvin Doyley marvin...@gmail.com wrote: Hi there, Is there quick method for converting a bunch of text to plain list ? Something like sed 's/^/- /' in.txt out.txt perhaps? If that's not what you mean, what do you mean? Nick
Re: [O] text to plain list
C-u C-c - did the trick thanks M On Fri, Jun 22, 2012 at 5:02 PM, Nick Dokos nicholas.do...@hp.com wrote: Marvin Doyley marvin...@gmail.com wrote: Hi there, Is there quick method for converting a bunch of text to plain list ? Something like sed 's/^/- /' in.txt out.txt perhaps? If that's not what you mean, what do you mean? Nick
Re: [O] text to plain list
Nick Dokos nicholas.do...@hp.com writes: Marvin Doyley marvin...@gmail.com wrote: Hi there, Is there quick method for converting a bunch of text to plain list ? Something like sed 's/^/- /' in.txt out.txt perhaps? If that's not what you mean, what do you mean? I find Emacs Macros work very well for this. 1) position the cursor at the front of the first line 2) C-x ( to start recording a macro 3) manually turn this item into a list 4) position the cursor at the front of the next line 5) C-x ) to finish recording a macro 6) X-e to run the macro on the second item after that you may continue pressing e to re-run the macro, or run the macro any number of times with a numeric prefix argument. This does however require some regularity in your list items. Best, -- Eric Schulte http://cs.unm.edu/~eschulte
Re: [O] text to plain list
Eric Schulte eric.schu...@gmx.com wrote: Nick Dokos nicholas.do...@hp.com writes: Marvin Doyley marvin...@gmail.com wrote: Hi there, =20 Is there quick method for converting a bunch of text to plain list ?=C2= =A0 =20 Something like sed 's/^/- /' in.txt out.txt perhaps? If that's not what you mean, what do you mean? I find Emacs Macros work very well for this. 1) position the cursor at the front of the first line 2) C-x ( to start recording a macro 3) manually turn this item into a list 4) position the cursor at the front of the next line 5) C-x ) to finish recording a macro 6) X-e to run the macro on the second item after that you may continue pressing e to re-run the macro, or run the macro any number of times with a numeric prefix argument. This does however require some regularity in your list items. Yes, there are many methods (both emacs and otherwise; and in the event, William Léchelle's suggestion of C-u C-c - was what Marvin was looking for): my question was more to try to elicit what the problem was exactly, rather than as a solution. [fn:1] Nick Footnotes: [fn:1] ... although it is good to remind oneself once in a while that org files are just text, so one is not limited to emacs in order to manipulate them.
[O] OT: italics [was: Re: take the name of org-class event from heading]
Nick Dokos nicholas.do...@hp.com wrote: PS I cannot tell where you are quoting others and where you are talking as yourself. Can you please use some quoting style? I italicized the quoted text. OK - but that assumes machinery that not all of us are using. I thought that I couldn't see the italics because I was using a font (-misc-fixed-medium-r-normal--15-140-75-75-c-90-iso8859-1) that does not come in an oblique variety. But even after switching to Liberation Mono:style=Regular which most definitely *does* have an oblique variety (and I can see it in action in an org document when I say /italic/ - after setting the italic face appropriately), I still do not get the italic effect when I view Enda's mail (and I am viewing the html form of it, not the text form: e.g. the leading question is colored blue). That may be because of the dotage of my mail reader of course (mh-e), so I was wondering if there are any *emacs* mail readers[fn:1] that show the effect? I doubt at this point that I'll ever switch to e.g. gnus to read mail (mh-e and I have grown old together), but I am curious whether something like it handles things properly.[fn:2] Thanks, Nick Footnotes: [fn:1] I presume that something like thunderbird will do it, but I'm not interested in going outside emacs. [fn:2] FWIW, I set up gnus with an nnmh spool and I still can't see the italics, but that may be a matter of missing configuration. BTW, in mh-e, various headers are in italics (To:, Sender: and the addr part of the From: header) - that's probably default mh-e config, since I don't do any customization there.
Re: [O] text to plain list
Thanks Erick for introducing me to emacs macros Cheers M Sent from my iPhone On Jun 22, 2012, at 5:23 PM, Eric Schulte eric.schu...@gmx.com wrote: Nick Dokos nicholas.do...@hp.com writes: Marvin Doyley marvin...@gmail.com wrote: Hi there, Is there quick method for converting a bunch of text to plain list ? Something like sed 's/^/- /' in.txt out.txt perhaps? If that's not what you mean, what do you mean? I find Emacs Macros work very well for this. 1) position the cursor at the front of the first line 2) C-x ( to start recording a macro 3) manually turn this item into a list 4) position the cursor at the front of the next line 5) C-x ) to finish recording a macro 6) X-e to run the macro on the second item after that you may continue pressing e to re-run the macro, or run the macro any number of times with a numeric prefix argument. This does however require some regularity in your list items. Best, -- Eric Schulte http://cs.unm.edu/~eschulte
Re: [O] OT: italics [was: Re: take the name of org-class event from heading]
Nick Dokos nicholas.do...@hp.com writes: That may be because of the dotage of my mail reader of course (mh-e), so I was wondering if there are any *emacs* mail readers[fn:1] that show the effect? I doubt at this point that I'll ever switch to e.g. gnus to read mail (mh-e and I have grown old together), but I am curious whether something like it handles things properly.[fn:2] The Italic is not showing up in Gnus either. This is because the OP is not using mail markup, i.e. /This is Italic/. IMHO, I don't see the point of not using as the cite mark- anything else will confuse 99% of mailers. This is why I gave up on Supercite. Charles -- Why use Windows, since there is a door? (By fac...@galileo.rhein-neckar.de, Andre Fachat) pgpWQWrpyxxw0.pgp Description: PGP signature
Re: [O] OT: italics [was: Re: take the name of org-class event from heading]
Charles Philip Chan cpc...@bell.net wrote: Nick Dokos nicholas.do...@hp.com writes: That may be because of the dotage of my mail reader of course (mh-e), so I was wondering if there are any *emacs* mail readers[fn:1] that show the effect? I doubt at this point that I'll ever switch to e.g. gnus to read mail (mh-e and I have grown old together), but I am curious whether something like it handles things properly.[fn:2] The Italic is not showing up in Gnus either. This is because the OP is not using mail markup, i.e. /This is Italic/. IMHO, I don't see the point of not using as the cite mark- anything else will confuse 99% of mailers. This is why I gave up on Supercite. Thanks for checking and I agree fully with using a quoting mechanism that will survive the arbitrary travails that a typical mail message goes through, although is generally used for quoting points one responds to - see above e.g. I like boxquotes for things like Info snippets, variable/function docstrings and FAQ entries. That's inconvenient for code that somebody might want to cut-and-paste in order to run however (one would need to edit it to get it back into runnable form), so I use the Message function message-mark-inserted-region to quote code. To go back to the italics question though, the italics is part of the font style spec in the html form of the mail (hence my suspicion that Thunderbird would not have a problem with that message), so I guess the question is if there is an emacs mail reader that will interpret arbitrary HTML markup, the way that T-bird would. I also did the following experiment: I saved the HTML form of the mail (decoding it from quoted-printable to HTML with qprint) and looked at it in Firefox (got italics: no surprise), and in w3m in emacs (with the oblique capable Liberaion font I mentioned previously, which *can* show italics): I get no italics in the latter, so I guess even w3m cannot interpret arbitrary HTML, maybe because the underlying browser is supposed to be text-only, so font style information does not get through. Nick
Re: [O] OT: italics [was: Re: take the name of org-class event from heading]
Nick Dokos nicholas.do...@hp.com writes: Hi Nick: I like boxquotes for things like Info snippets, variable/function docstrings and FAQ entries. Yes, I am addicted to boxquotes for things like that too. That's inconvenient for code that somebody might want to cut-and-paste in order to run however (one would need to edit it to get it back into runnable form), so I use the Message function message-mark-inserted-region to quote code. True. I also did the following experiment: I saved the HTML form of the mail (decoding it from quoted-printable to HTML with qprint) and looked at it in Firefox (got italics: no surprise), and in w3m in emacs (with the oblique capable Liberaion font I mentioned previously, which *can* show italics): I get no italics in the latter, so I guess even w3m cannot interpret arbitrary HTML, maybe because the underlying browser is supposed to be text-only, so font style information does not get through. Yes, the Italics doesn't show up in W3M. I can see it in Firefox if I use View HTML parts in browser in Gnus. Charles -- We are using Linux daily to UP our productivity - so UP yours! (Adapted from Pat Paulsen by Joe Sloan) pgp48fkn59RUE.pgp Description: PGP signature
[O] org-mode failing on org-mobile-push with error
This is the error I receive when running org-mobile-push. I think I only see the error when I open an agenda buffer and run the command. Then it creates two agenda buffers. The normal and the one labeled *SUMO* and I get the error below. What is the reason for this and there is a way to run org-mobile-push and alleviate this error? Saving all Org-mode buffers... done Copying files... OVERVIEW Writing index file... Writing checksums... Rebuilding agenda buffer...done org-mobile-push: Wrong type argument: window-live-p, #window 30 Cheers, Jeff
Re: [O] BBDB Sync (Was: Re: [Orgmode] Re: contact management in org-mode?)
On Sat, Jun 23, 2012 at 1:33 AM, Karl Voit devn...@karl-voit.at wrote: I am using Org-mode to organize my contacts following org-contacts.el[1] and a *lot* of additional properties. Those things are so far »by convention« and I always wanted to sum it up on WORG but did not find time for that. Even with BBDB there are only few standard fields, and a tonne of custom fields. If conventions are only in naming the property fields that is trivially fixed through a config file (something I do already for the BBDB handlers). If you are interested in writing a sync module for Org-mode as well, feel free to contact me. I am happy to describe you how I am organizing contacts using Org-mode. I am a beginner level org-mode user - I was away from Emacs for nearly 8 years and returned to find this fascinating and gigantic new development in the Emacs world :) But if you can document your contact structure, I could potentially implement it some point in the future. Do you use any import/export/sync code with org-contacts? -Karra