I recently started exporting some org headlines to LaTeX. I poked around but couldn't find the best way to customize the output, e.g. add a call to hypersetup. The best I came up with was: ,---- | (setq org-export-latex-classes | '(("article" | "\\documentclass[11pt]{article} | \\usepackage[utf8]{inputenc} | \\usepackage[T1]{fontenc} | \\usepackage{graphicx} | \\usepackage{longtable} | \\usepackage{soul} | \\usepackage{hyperref} | \\hypersetup{ | hyperindex=true, | plainpages=false, | colorlinks=true, | linkcolor=black | }" | ("\\section{%s}" . "\\section*{%s}") | ("\\subsection{%s}" . "\\subsection*{%s}") | ("\\subsubsection{%s}" . "\\subsubsection*{%s}") | ("\\paragraph{%s}" . "\\paragraph*{%s}") | ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))) `---- But by doing that, I would have to update this variable when pulling down a new org version that might have changed the default value of org-export-latex-classes. Is there a better way to do stuff like insert a call to hypersetup? -- Peter Jones - 303-219-0226 pmade inc. - http://pmade.com
That's where the export header comes in handy. In .emacs: > ,---- > | (setq org-export-latex-classes > | '(("article" > | "\\documentclass[11pt]{article}" > | ("\\section{%s}" . "\\section*{%s}") > | ("\\subsection{%s}" . "\\subsection*{%s}") > | ("\\subsubsection{%s}" . "\\subsubsection*{%s}") > | ("\\paragraph{%s}" . "\\paragraph*{%s}") > | ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))) > `---- At the top of your .org file: #+LATEX_HEADER \\usepackage[utf8]{inputenc} #+LATEX_HEADER \\usepackage[T1]{fontenc} #+LATEX_HEADER \\usepackage{graphicx} #+LATEX_HEADER \\usepackage{longtable} #+LATEX_HEADER \\usepackage{soul} #+LATEX_HEADER \\usepackage{hyperref} #+LATEX_HEADER \\hypersetup{ #+LATEX_HEADER hyperindex=true, #+LATEX_HEADER plainpages=false, #+LATEX_HEADER colorlinks=true, #+LATEX_HEADER linkcolor=black #+LATEX_HEADER } On Tue, Sep 08, 2009 at 02:41:17PM -0600, Peter Jones wrote: > I recently started exporting some org headlines to LaTeX. I poked > around but couldn't find the best way to customize the output, e.g. add > a call to hypersetup. The best I came up with was: > > > But by doing that, I would have to update this variable when pulling > down a new org version that might have changed the default value of > org-export-latex-classes. > > Is there a better way to do stuff like insert a call to hypersetup? > > -- > Peter Jones - 303-219-0226 > pmade inc. - http://pmade.com > > > > _______________________________________________ > 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 > ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
> On Tue, Sep 08, 2009 at 02:41:17PM -0600, Peter Jones wrote: > > I recently started exporting some org headlines to LaTeX. I poked > > around but couldn't find the best way to customize the output, e.g. add > > a call to hypersetup. The best I came up with was: > > > > > > But by doing that, I would have to update this variable when pulling > > down a new org version that might have changed the default value of > > org-export-latex-classes. > > > > Is there a better way to do stuff like insert a call to hypersetup? > > Russell Adams <RLAdams@AdamsInfoServ.Com> wrote: > That's where the export header comes in handy. > > In .emacs: > > > ,---- > > | (setq org-export-latex-classes > > | '(("article" > > | "\\documentclass[11pt]{article}" > > | ("\\section{%s}" . "\\section*{%s}") > > | ("\\subsection{%s}" . "\\subsection*{%s}") > > | ("\\subsubsection{%s}" . "\\subsubsection*{%s}") > > | ("\\paragraph{%s}" . "\\paragraph*{%s}") > > | ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))) > > `---- > > At the top of your .org file: > > #+LATEX_HEADER \\usepackage[utf8]{inputenc} > #+LATEX_HEADER \\usepackage[T1]{fontenc} > #+LATEX_HEADER \\usepackage{graphicx} > #+LATEX_HEADER \\usepackage{longtable} > #+LATEX_HEADER \\usepackage{soul} > #+LATEX_HEADER \\usepackage{hyperref} > #+LATEX_HEADER \\hypersetup{ > #+LATEX_HEADER hyperindex=true, > #+LATEX_HEADER plainpages=false, > #+LATEX_HEADER colorlinks=true, > #+LATEX_HEADER linkcolor=black > #+LATEX_HEADER } > Two things: o It needs colons after the LATEX_HEADER and single backslashes: #+LATEX_HEADER: \hypersetup{ etc. o The \usepackage commands are already (mostly) provided by the standard definition of org-export-latex-classes. The longtable \usepackage can be added by an option: #+ATTR_LaTeX: longtable Thanks, Nick
Has anyone used org-mode to manage email and other contacts? Maybe exporting information as vCards, or some other format, so it can be reused by email clients, e.g. Thunderbird? I see that it is possible to link into BBDB, which I've never used. But it would seem to me that org-mode could also organize contact information, perhaps even more usefully and richly, without needing to learn yet another package. Or is BBDB so wonderful that I should just use that instead? /Lindsay
>>>>> "Lindsay" == Lindsay Todd <rltodd.ml1@gmail.com> writes:
Lindsay> Has anyone used org-mode to manage email and other
Lindsay> contacts? Maybe exporting information as vCards, or some
Lindsay> other format, so it can be reused by email clients,
Lindsay> e.g. Thunderbird?
Lindsay> I see that it is possible to link into BBDB, which I've
Lindsay> never used. But it would seem to me that org-mode could
Lindsay> also organize contact information, perhaps even more
Lindsay> usefully and richly, without needing to learn yet another
Lindsay> package. Or is BBDB so wonderful that I should just use
Lindsay> that instead?
I use both and I really recommend BBDB. I've never used the link between
bbdb and org-mode, so I cannot comment on that. But they're two great
packages on their own merits.
Bets regards,
Maurizio
--
Maurizio Vitale
<mav@cuma.i-did-not-set--mail-host-address--so-tickle-me> writes:
>>>>>> "Lindsay" == Lindsay Todd <rltodd.ml1@gmail.com> writes:
>
> Lindsay> Has anyone used org-mode to manage email and other
> Lindsay> contacts? Maybe exporting information as vCards, or some
> Lindsay> other format, so it can be reused by email clients,
> Lindsay> e.g. Thunderbird?
>
> Lindsay> I see that it is possible to link into BBDB, which I've
> Lindsay> never used. But it would seem to me that org-mode could
> Lindsay> also organize contact information, perhaps even more
> Lindsay> usefully and richly, without needing to learn yet another
> Lindsay> package. Or is BBDB so wonderful that I should just use
> Lindsay> that instead?
>
> I use both and I really recommend BBDB. I've never used the link between
> bbdb and org-mode, so I cannot comment on that. But they're two great
> packages on their own merits.
> Bets regards,
I use both. bbdb works great as a contact manager. I link to entries
in bbdb in my org-mode files for phone calls etc.
-Bernt
Lindsay Todd <rltodd.ml1@gmail.com> writes: Or is BBDB so wonderful that I should just use that instead? Uh-huh.
> > Lindsay> package. Or is BBDB so wonderful that I should just use
> > Lindsay> that instead?
> >
> > I use both and I really recommend BBDB. I've never used the link between
> > bbdb and org-mode, so I cannot comment on that. But they're two great
> > packages on their own merits.
> > Bets regards,
>
> I use both. bbdb works great as a contact manager. I link to entries
> in bbdb in my org-mode files for phone calls etc.
>
> -Bernt
I reverse my recommendation regarding BBDB.
/rant on
I'm migrating out of it as fast as I can. The import/export tools are
terrible / nonexistant unless you know elisp, and good luck with
resolving contacts from multiple sources.
I don't use GNUS or any of the other features of BBDB aside from rare
org-links and mutt lbdb integration for address lookup.
I have wasted hours at this point trying to export data from BBDB so I
can use it to rebuild my contacts on my new phone (G1). Imagine
hacking the data back out of BBDB's funky format so I can have it in
CSV. There's absolutely no way for me to sync between sources without
fast import/export.
At this point the forerunner is abook, not just because its format is
simple and plain text, but because it integrates with lbdb and FULL
CSV import and export work properly out of the box. My only complaints
are its fixed database format which doesn't extend easily, and its not
inside emacs.
Given that an "addressbook" program is typically used as the most
basic example in learning how to code forms or databases, its sad to
see how badly the available options suck.
/rant off
I'll post if I find a better alternative. I welcome recommendations
while I try to centralize my contacts to CSV while I decide what to
put them in.
Thanks.
[-- Attachment #1.1: Type: text/plain, Size: 561 bytes --] Russell Adams <RLAdams@AdamsInfoServ.Com> 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 komarimf@craft.camp.clarkson.edu, Mark Komarinski) [-- Attachment #1.2: Type: application/pgp-signature, Size: 196 bytes --] [-- Attachment #2: Type: text/plain, Size: 204 bytes --] _______________________________________________ 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
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 <cpchan@sympatico.ca> wrote:
>
> Russell Adams <RLAdams@AdamsInfoServ.Com> 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 komarimf@craft.camp.clarkson.edu, Mark Komarinski)
[-- Attachment #1.1: Type: text/plain, Size: 559 bytes --] Darlan Cavalcante Moreira <darcamo@gmail.com> writes: > If there was someway to sync (two-way) bbdb with google contacts all > problems would be solved for me, Agreed. Syncing with google and different devices in desperately needed. We should move this discussion to the bbdb-info list. You can join by emailing bbdb-info-request@lists.sourceforge.net with subscribe as the body. Charles -- "A word to the wise: a credentials dicksize war is usually a bad idea on the net." (David Parsons in c.o.l.development.system, about coding in C.) [-- Attachment #1.2: Type: application/pgp-signature, Size: 196 bytes --] [-- Attachment #2: Type: text/plain, Size: 204 bytes --] _______________________________________________ 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
Darlan Cavalcante Moreira <darcamo@gmail.com> writes: > 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). You could try the vcard features of both. Please let us know. r. > > Darlan > > At Sun, 25 Oct 2009 02:04:18 -0400, > Charles Philip Chan <cpchan@sympatico.ca> wrote: >> >> Russell Adams <RLAdams@AdamsInfoServ.Com> 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 komarimf@craft.camp.clarkson.edu, Mark Komarinski) > > _______________________________________________ > 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 > --
On Sun, Oct 25, 2009 at 10:51:07AM -0300, Darlan Cavalcante Moreira wrote: > > 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 That is one of my issues. I just got a new G1 and am having to merge my contact data from BBDB, mutt aliases, lbdb's incoming mail DB, my previous cell phone, and outlook to push up to Google Mail so I can sync it with my G1. Every other file is easy to work with except BBDB. I'm close to just managing contacts in CSV and leaving it there. I would consider using Google as a master copy of my contacts only if I can automate the download of a CSV from Google. I'm not always online and can't operate without a local copy. That doesn't look too good at this point, because the Google API only documents RSS/Atom/JSON, not the CSV that gmail uses. Abook is still in the lead due to its consistent import/export support, however because it isn't flexible I may just do a CSV file and grep it for Mutt. > > At Sun, 25 Oct 2009 02:04:18 -0400, > Charles Philip Chan <cpchan@sympatico.ca> wrote: > > > > Russell Adams <RLAdams@AdamsInfoServ.Com> 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 > > In reply to the previous poster, I had seen these, but one file per contact or even multiple lines per contact is not a valid way to manage them in bulk. I've thrown them all in a spreadsheet for now. I've also noted that vCard doesn't support grouping via keywords in the standard. That's a problem in Abook's static field assignment, but I can use a colon separated custom field if I must. Thanks. ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
At Sat, 24 Oct 2009 21:34:10 -0500, Russell Adams wrote: [...] > I reverse my recommendation regarding BBDB. > > /rant on > [...] > /rant off I'm in complete agreement with you on this rant. I do find it incredible that there are no good contact managers out there, at least not those that are not tied to some specific tool. When my Psion 3 (various incarnations of this lovely little computer) died a few years ago now, I have tried out a large number of contact managers trying to find one that could replace the Psion. I have had no luck, having gone through bbdb and abook, amongst others. This was all before my second (more successful) encounter with org-mode. > I'll post if I find a better alternative. I welcome recommendations > while I try to centralize my contacts to CSV while I decide what to > put them in. I've gone to using org-mode for this: an entry (top level heading) for each person and details fully written out in free form but also some details in properties that I can then view in column mode (phone number etc.). But please do pass on any suggestions for alternatives!
Eric S Fraga <ucecesf@ucl.ac.uk> writes: > At Sat, 24 Oct 2009 21:34:10 -0500, Russell Adams wrote: > > [...] > >> I reverse my recommendation regarding BBDB. >> >> /rant on >> > > [...] > >> /rant off > > I'm in complete agreement with you on this rant. I do find it > incredible that there are no good contact managers out there, at least > not those that are not tied to some specific tool. > I can finally admit it here: I, too, am a BBDB hater. Maybe now I can finally move on with my life ... thank you all! -Greg ... but really, there has to be a better way. Maybe a wrapper around a contact-specific sqlite database? > When my Psion 3 (various incarnations of this lovely little computer) > died a few years ago now, I have tried out a large number of contact > managers trying to find one that could replace the Psion. I have had > no luck, having gone through bbdb and abook, amongst others. This was > all before my second (more successful) encounter with org-mode. > >> I'll post if I find a better alternative. I welcome recommendations >> while I try to centralize my contacts to CSV while I decide what to >> put them in. > > I've gone to using org-mode for this: an entry (top level heading) for > each person and details fully written out in free form but also some > details in properties that I can then view in column mode (phone > number etc.). But please do pass on any suggestions for alternatives! > > > _______________________________________________ > 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
gregory@dynapse.com (Gregory J. Grubbs) writes:
> Eric S Fraga <ucecesf@ucl.ac.uk> writes:
>
>> At Sat, 24 Oct 2009 21:34:10 -0500, Russell Adams wrote:
>>
>> [...]
>>
>>> I reverse my recommendation regarding BBDB.
>>>
>>> /rant on
>>>
>>
>> [...]
>>
>>> /rant off
>>
>> I'm in complete agreement with you on this rant. I do find it
>> incredible that there are no good contact managers out there, at least
>> not those that are not tied to some specific tool.
>>
>
> I can finally admit it here:
>
> I, too, am a BBDB hater.
>
> Maybe now I can finally move on with my life ... thank you all!
>
> -Greg
>
> ... but really, there has to be a better way. Maybe a wrapper around a
> contact-specific sqlite database?
The lack of sync with google contacts is a real big "minus" for bbdb :
but I still use it over any other emacs solution for contact management.
Possibly the best solution would be a gnus method that talks to
evolution or google contacts directly? From that way it would be
relatively trivial I guess to re-write as bbdb using bbdb methods.
On Thu, Oct 29, 2009 at 05:00:05PM +0100, Richard Riley wrote: > The lack of sync with google contacts is a real big "minus" for bbdb : > but I still use it over any other emacs solution for contact management. > > Possibly the best solution would be a gnus method that talks to > evolution or google contacts directly? From that way it would be > relatively trivial I guess to re-write as bbdb using bbdb methods. I don't imagine the sync issue ever going away. There's no perfect sync, even in the world of other proprietary OSes. My ideal contact manager at the moment would have: - Text interface (ncurses or emacs) - Open backend - sqlite would be fine, or text tables, vcard/CSV not required - Bonus points for VC compatible - Dynamic field support & mapping - Perfect import/export - Export to CSV should include all fields - Exporting, clearing the DB, and reimporting should result in identical contacts w/ custom fields like nothing ever changed - Row view - Customizable sorting - Customizable visible fields - Flexible searching - Contact view (ie: form) - External methods (ie: mutt query, cli search & dump) Then there may be the ability to later bind such a program to SyncML or another sync library to get rid of the sync issue. My problem is atm nothing like this exists. ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
[-- Attachment #1.1: Type: text/plain, Size: 1020 bytes --] I'll mention EDB, emacs data base, here, even though I haven't used it for several years. http://gnuvola.org/software/edb/ It's available on many GNU/Linux distros, as a package. It is for Gentoo, and perhaps for Debian/Ubuntu as well. It is extensible/programmable, so that various interfaces could perhaps be possible. I spent a little time years ago setting up an Addresses database, with output formats to automatically set up a LaTeX header for each marked address. It was a bit klunky, to be sure, but it worked REALLY well, and it worked the way I wanted it to. It's an old piece of software. I tried it lately with my address DB, with Emacs 23, so it may just still work fine. In the examples directory, above, are a rolodex database, possibly somewhat similar to what I had going, and some other examples. There has been some relatively recent effort into maintaining EDB. I write this not as a programmer, but a user, just to point to something that has worked well for me in the past. Alan Davis [-- Attachment #1.2: Type: text/html, Size: 1147 bytes --] [-- Attachment #2: Type: text/plain, Size: 204 bytes --] _______________________________________________ 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
At Fri, 30 Oct 2009 06:00:04 +1000,
Alan E. Davis wrote:
>
> I'll mention EDB, emacs data base, here, even though I haven't used it for
> several years.
[...]
Interesting you mention this because I use the precursor to EDB,
forms, to keep track of books. The reason this is interesting is that
it works well with org-mode.
In forms, and in EDB, you can specify the character to use to separate
fields in the database. If you specify '|', you can use org-mode's
table editor to work with the database directly. I find this useful
for org-mode's sorting capabilities, not to mention the ability to
output (i.e. export) the database in a number of formats.
eric
[-- Attachment #1.1: Type: text/plain, Size: 456 bytes --] Hello list, Org uses a timestamp format like the following across all its functionality: [2009-10-29 Thu 17:14] I would like to be able to ouput this string whenever I'd like to a buffer, with the current timestamp, this is useful for example to timestamp notes inside an org file arbitrarily: * [2009-10-29 Thu 17:14 Bla Bla Bla How could I do that? I searched for such function with apropos but couldn't find anything that fits. Thanks, Marcelo. [-- Attachment #1.2: Type: text/html, Size: 516 bytes --] [-- Attachment #2: Type: text/plain, Size: 204 bytes --] _______________________________________________ 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
Sorry, should CC the list: ;; Insert immediate timestamp (define-key global-map (kbd "<f9>") '(lambda () (interactive) (when (eq major-mode 'org-mode) (org-insert-time-stamp nil t t) (insert "\n")))) On Thu, Oct 29, 2009 at 05:29:06PM -0600, Marcelo de Moraes Serpa wrote: > Hello list, > > Org uses a timestamp format like the following across all its functionality: > > [2009-10-29 Thu 17:14] > > I would like to be able to ouput this string whenever I'd like to a buffer, > with the current timestamp, this is useful for example to timestamp notes > inside an org file arbitrarily: > > * [2009-10-29 Thu 17:14 > Bla Bla Bla > > How could I do that? I searched for such function with apropos but couldn't > find anything that fits. > > Thanks, > > Marcelo. > _______________________________________________ > 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 ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
Marcelo de Moraes Serpa <celoserpa@gmail.com> wrote:
> Hello list,
>
> Org uses a timestamp format like the following across all its functionality:
>
> [2009-10-29 Thu 17:14]
>
> I would like to be able to ouput this string whenever I'd like to a buffer, with the current timestamp, this is useful for example to timestamp notes
> inside an org file arbitrarily:
>
> * [2009-10-29 Thu 17:14
> Bla Bla Bla
>
> How could I do that? I searched for such function with apropos but couldn't find anything that fits.
>
Assuming you are in an org buffer
C-u C-c ! <RET>
will insert an inactive time stamp (including the current time - that's the prefix argument):
[2009-10-29 Thu 22:34]
Similarly
C-u C-c . <RET>
will insert an active time stamp:
<2009-10-29 Thu 22:35>
The functions bound to C-c ! and C-c . are org-time-stamp-inactive and org-time-stamp
respectively. BTW, both are in the drop-down Org menu: Org/Dates and Scheduling/...
Is this what you are looking for?
Nick
On Thu, Oct 29, 2009 at 10:44:39PM -0400, Nick Dokos wrote: > Marcelo de Moraes Serpa <celoserpa@gmail.com> wrote: > Assuming you are in an org buffer > > C-u C-c ! <RET> > > will insert an inactive time stamp (including the current time - that's the prefix argument): > > [2009-10-29 Thu 22:34] > > Similarly > > C-u C-c . <RET> > > will insert an active time stamp: > > <2009-10-29 Thu 22:35> > > > The functions bound to C-c ! and C-c . are org-time-stamp-inactive and org-time-stamp > respectively. BTW, both are in the drop-down Org menu: Org/Dates and Scheduling/... > > Is this what you are looking for? > > Nick The function I posted does the same as C-u C-c ! <RET>, just with a single key press. I often add a timestamp every time I return to my outline on projects, it maintains a consistent timeline that I can view in the agenda with log mode and showing inactive timestamps. Thanks. ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
Russell Adams <RLAdams@AdamsInfoServ.Com> wrote:
> The function I posted does the same as C-u C-c ! <RET>, just with a
> single key press.
>
Yes - and it also avoids the distraction of popping up the calendar.
Thanks,
Nick
Hi all, has someone tried "forms" for the purpose of contact management? See: http://sunsite.ualberta.ca/Documentation/Gnu/emacs-21.1/html_chapter/forms_frame.html Best, Uwe Alan E. Davis schrieb am 29.10.2009 21:00: > I'll mention EDB, emacs data base, here, even though I haven't used it > for several years. > > http://gnuvola.org/software/edb/ > > It's available on many GNU/Linux distros, as a package. It is for > Gentoo, and perhaps for Debian/Ubuntu as well. > > It is extensible/programmable, so that various interfaces could perhaps > be possible. I spent a little time years ago setting up an Addresses > database, with output formats to automatically set up a LaTeX header for > each marked address. It was a bit klunky, to be sure, but it worked > REALLY well, and it worked the way I wanted it to. > > It's an old piece of software. I tried it lately with my address DB, > with Emacs 23, so it may just still work fine. > > In the examples directory, above, are a rolodex database, possibly > somewhat similar to what I had going, and some other examples. There > has been some relatively recent effort into maintaining EDB. > > I write this not as a programmer, but a user, just to point to something > that has worked well for me in the past. > > Alan Davis > > > ------------------------------------------------------------------------ > > _______________________________________________ > 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
On Fri, Oct 30, 2009 at 09:48:16AM +0100, Uwe Jochum wrote: > Hi all, > > has someone tried "forms" for the purpose of contact management? See: > > http://sunsite.ualberta.ca/Documentation/Gnu/emacs-21.1/html_chapter/forms_frame.html > > Best, > > Uwe Given the discussion about a "simple" database, it struck me that I might just use properties and column mode. Dynamic fields and views, hotlinks, VC, text file... --- #+COLUMNS: %20ITEM %10Company %14WorkPhone %15WorkEmail * Smith, Bob :WORK: :PROPERTIES: :Title: Chief Decider :Company: Boodle Bits :WorkEmail: demo@1332.com :WorkAddress: 1234 Waddle Lane :WorkCity: Anywhere :WorkState: TX :WorkZip: 080384 :WorkPhone: 281-555-1212 :WorkCell: :WorkFax: :HomeEmail: :HomeAddress: :HomeCity: :HomeState: :HomeZip: :HomePhone: :HomeCell: :HomeFax: :END: Bob's note here, neatly folded. --- Now, I know this won't give me synchronization. Unfortunately I think that's a lost cause currently, I just want a way to find a contact. Fast finding on the CLI? awk 'BEGIN {RS="\n\n\\* " ; IGNORECASE=1} /chief/ {print $0}' Contacts.org I can even adapt that to give me emails for mutt. Yes there's no way to push this to CSV and back, but I could write something in an hour in Perl to do so. (feature idea! Export column-view as csv...) I thought I'd post here for feedback prior to committing my contacts to this format. Thanks. ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
> Now, I know this won't give me synchronization. Unfortunately I think > that's a lost cause currently, I just want a way to find a contact. > > Fast finding on the CLI? > > awk 'BEGIN {RS="\n\n\\* " ; IGNORECASE=1} /chief/ {print $0}' Contacts.org > > I can even adapt that to give me emails for mutt. > > Yes there's no way to push this to CSV and back, but I could write > something in an hour in Perl to do so. (feature idea! Export > column-view as csv...) > > I thought I'd post here for feedback prior to committing my contacts > to this format. Looking into this some more, export is really easy. I can just use a dynamic block to store column view in whatever format I choose, and export then search & replace ',' for '|'. That is minimal effort! Sparse searches in column view, hierarchy organization, etc. I'm trying to find a problem here. ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
org-mode may attain self-hosting status before Clojure does!
-Greg
(after writing some elisp to translate my BBDB entries into
property-laden org-mode entries)
Russell Adams <RLAdams@AdamsInfoServ.Com> writes:
>> Now, I know this won't give me synchronization. Unfortunately I think
>> that's a lost cause currently, I just want a way to find a contact.
>>
>> Fast finding on the CLI?
>>
>> awk 'BEGIN {RS="\n\n\\* " ; IGNORECASE=1} /chief/ {print $0}' Contacts.org
>>
>> I can even adapt that to give me emails for mutt.
>>
>> Yes there's no way to push this to CSV and back, but I could write
>> something in an hour in Perl to do so. (feature idea! Export
>> column-view as csv...)
>>
>> I thought I'd post here for feedback prior to committing my contacts
>> to this format.
>
>
> Looking into this some more, export is really easy. I can just use a
> dynamic block to store column view in whatever format I choose, and
> export then search & replace ',' for '|'. That is minimal effort!
>
> Sparse searches in column view, hierarchy organization, etc. I'm
> trying to find a problem here.
>
> ------------------------------------------------------------------
> Russell Adams RLAdams@AdamsInfoServ.com
>
> PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/
>
> Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
>
>
> _______________________________________________
> 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
On Fri, 30 Oct 2009 09:48:16 +0100, Uwe Jochum wrote: > Hi all, > > has someone tried "forms" for the purpose of contact management? See: > > http://sunsite.ualberta.ca/Documentation/Gnu/emacs-21.1/html_chapter/ forms_frame.html > > Best, > > Uwe I have used forms for a couple of primitive addresses databases I have which is based on the /etc/password file. I thought I'd say that, yes I have and do use forms for addresses and it does work nicely. But of course it does not hook into any other emacs functionality. Just use them to quickly look up addresses and phone numbers. Shelagh > > Alan E. Davis schrieb am 29.10.2009 21:00: >> I'll mention EDB, emacs data base, here, even though I haven't used it >> for several years. >> >> http://gnuvola.org/software/edb/ >> >> It's available on many GNU/Linux distros, as a package. It is for >> Gentoo, and perhaps for Debian/Ubuntu as well. >> >> It is extensible/programmable, so that various interfaces could perhaps >> be possible. I spent a little time years ago setting up an Addresses >> database, with output formats to automatically set up a LaTeX header >> for each marked address. It was a bit klunky, to be sure, but it >> worked REALLY well, and it worked the way I wanted it to. >> >> It's an old piece of software. I tried it lately with my address DB, >> with Emacs 23, so it may just still work fine. >> >> In the examples directory, above, are a rolodex database, possibly >> somewhat similar to what I had going, and some other examples. There >> has been some relatively recent effort into maintaining EDB. >> >> I write this not as a programmer, but a user, just to point to >> something that has worked well for me in the past. >> >> Alan Davis >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ 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
At Fri, 30 Oct 2009 22:10:59 -0500, Russell Adams wrote: > > Given the discussion about a "simple" database, it struck me that I > might just use properties and column mode. Dynamic fields and views, > hotlinks, VC, text file... [...] > I thought I'd post here for feedback prior to committing my contacts > to this format. This is essentially what I do. Having a well defined text based scheme makes exporting, conversion, etc. feasible and easy and org-mode itself makes data entry and viewing straightforward. I've given up on all other contact managers...
Russell Adams <RLAdams@AdamsInfoServ.Com> writes:
> Given the discussion about a "simple" database [for storing contacts],
> it struck me that I might just use properties and column mode. Dynamic
> fields and views, hotlinks, VC, text file...
Thank you, Russell, for the BBDB rant (which I quite agree with) and for
giving your current solution based on Org items with properties.
I'm dipping my toes into Org and, for contact data, BBDB seemed the
natural way to go; I'm glad I looked around to find alternatives before
dumping too much data into BBDB. Everyone's responses in this thread
have saved me a *lot* of time and effort.
--
\ “Pinky, are you pondering what I'm pondering?” “I think so, |
`\ Brain, but if they called them ‘Sad Meals’, kids wouldn't buy |
_o__) them!” —_Pinky and The Brain_ |
Ben Finney
Ben Finney <ben+emacs@benfinney.id.au> writes:
> Russell Adams <RLAdams@AdamsInfoServ.Com> writes:
>
>> Given the discussion about a "simple" database [for storing contacts],
>> it struck me that I might just use properties and column mode. Dynamic
>> fields and views, hotlinks, VC, text file...
>
> Thank you, Russell, for the BBDB rant (which I quite agree with) and for
> giving your current solution based on Org items with properties.
>
> I'm dipping my toes into Org and, for contact data, BBDB seemed the
> natural way to go; I'm glad I looked around to find alternatives before
> dumping too much data into BBDB. Everyone's responses in this thread
> have saved me a *lot* of time and effort.
I'd agree with Russell's conclusion that if one does not use an emacs
mail client, then there is not much point to using BBDB.
But if one uses Gnus or the like, the integration BBDB offers (e.g.,
automated addition of new addresses, auto-notes, TAB completion for
addresses, etc.) is still difficult to surpass. Until someone codes some
nice integration between an org-mode address database and emacs mail
clients, switching to an org database would require one to forgo all the
nice automation that BBDB offers. (Do you really want to enter all new
email addresses manually in an org file?)
I've found BBDB to be incredibly convenient. But I use Gnus for email.
If I were using Gmail or Thunderbird or Mutt, I wouldn't use BBDB at
all.
Just a few thoughts...
- Matt
Matt Lundin <mdl@imapmail.org> writes: > I've found BBDB to be incredibly convenient. But I use Gnus for email. > If I were using Gmail or Thunderbird or Mutt, I wouldn't use BBDB at > all. Same here. I think we'd better have an easy way to use bbdb in Org-mode, just as we have for using the calendar. E.g. `C-c b n' - complete a name (and eventually insert it as [[bbdb:]] link) `C-c b m' - complete an email address `C-c b e' - complete an entire entry. A customizable format would be great. `C-c b u' - complete user defined field (two steps). We already have [[bbdb:Sebastian Rose]] We should change that link type to DTRT. bbdb can do more, than just show the entry. So show a list to choose from: - send mail - give her a phone call - a.s.o. Import and export - http://www.emacswiki.org/cgi-bin/wiki/bbdb-vcard-export.el - http://www.emacswiki.org/emacs/BbdbImporters The evolution address book and all the other mailers can import and export vcards. Mangement Some way to search all those [[bbdb:Xxx Yyyy]] links. Maybe similar to the agenda interface. Would that be overkill? I don't think bbdb's database format is odd at all. It's straight forward. `nil' for each entry I don't know the meaning of (this is the first time I took a look into ~/.bbdb), the entire thing one address book entry and on one line in ~/.bbdb: ["Firstname" "Lastname" ("AKA one" "AKA two" "....") Company (["Type-of-Phone e.g. Mobile" "Number"]) ;; more entries in list possible ( ;; list of postal addresses ["Type of address 1" ("Street address 1" "Street address 2") "City" "State" "Zip code" "Country" ] ) ("list of mail addresses" "more addresses possible") ( (notes . "some notes") (creation-date . "2008-08-12") (timestamp . "2008-08-12") ;; last changed ;; eventually more entries, like the user defined once. I have ICQ ;; defined, and an entry would look like this: (ICQ . "XXXXXNNNNNN") ) nil ;; list of changes at `timestamp' (I think) ??? ] Looking at .bbdb is enough to check what's going on. I don't know how it could be easier to use. Simple things are simple - e.g. the file format of address books. And that's perfectly OK. Overhead and complicated tricks to handle addresses are odd. Handling addresses myself, if bbdb could do that, is even more odd. Org-mode doesn't provide desktop integration, too. So I cannot see an advantage in using Org-mode to handle addresses. Sebastian
[-- Attachment #1.1: Type: text/plain, Size: 492 bytes --] On Sun, 08 Nov 2009 09:52:18 -0500 >>>>>> "Matt" == Matt Lundin <mdl@imapmail.org> wrote: Matt> I've found BBDB to be incredibly convenient. But I use Gnus for Matt> email. If I were using Gmail or Thunderbird or Mutt, I wouldn't Matt> use BBDB at all. What about having some bridge between org-mode & (open)ldap-shared addressbook? Sincerely, Gour -- Gour | Hlapicina, Croatia | GPG key: F96FF5F6 ---------------------------------------------------------------- [-- Attachment #1.2: signature.asc --] [-- Type: application/pgp-signature, Size: 198 bytes --] [-- Attachment #2: Type: text/plain, Size: 204 bytes --] _______________________________________________ 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
[-- Attachment #1: Type: text/plain, Size: 1918 bytes --] How about ... Here is a first simple example file. It's not very elaborate and can be done better. I just used the first functions I found in bbdb code, that do what I need. In some cases it might be better to use `bbdb-search' directly. But it let's us insert bbdb: and mailto: links easily. Basically, it works like this: 1. C-c b s (org-bbdb/select-record) selects a record for use. You have to call this function to select a new record. If no record is selcted, the functions in (2.) call this automatically. 2. Use the insertion functions: - C-c b n (org-bbdb/insert-name) inserts the name of the currently selected record at point. With prefix arg, inserts a bbdb: org-link. - C-c b m (org-bbdb/insert-mail) inserts the email address of the current record at point. With prefix arg, inserts a mailto: org-link. - C-c b m (org-bbdb/insert-phone) inserts the phone number of the current record at point. With prefix arg, inserts a dial: org-link - a link type, that is not yet defined. It's supposed to call `bbdb-dial-number' on activation. Just an idea... - C-c b a (org-bbdb/insert-address) inserts the postal address of the selected record at point. As the other functions, this is far from perfect... C-c b TAB (org-bbdb/complete-name) tries to complete a name at point and inserts an Org-link. The link is either a bbdb: link, or a mailto: link. Depends on your setting of `org-bbdb-default-link-type'. This function does not yet select a new record. Nice to have: We could add a function, that `narrows' to a set of bbdb records based on a certain field, e.g. city or note or custom field (e.g. `tag'). We could then format that list and insert that into a buffer. Or write a mail to all those in the list by Bcc-ing them all. Best wishes Sebastian [-- Attachment #2: org-bbdb.el --] [-- Type: application/emacs-lisp, Size: 5167 bytes --] [-- Attachment #3: Type: text/plain, Size: 204 bytes --] _______________________________________________ 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
Matt Lundin <mdl@imapmail.org> writes: I'd agree with Russell's conclusion that if one does not use an emacs mail client, then there is not much point to using BBDB. But if one uses Gnus or the like, the integration BBDB offers (e.g., automated addition of new addresses, auto-notes, TAB completion for addresses, etc.) is still difficult to surpass. Until someone codes some nice integration between an org-mode address database and emacs mail clients, switching to an org database would require one to forgo all the nice automation that BBDB offers. (Do you really want to enter all new email addresses manually in an org file?) I've found BBDB to be incredibly convenient. But I use Gnus for email. If I were using Gmail or Thunderbird or Mutt, I wouldn't use BBDB at all. I do not like the telephone and BBDB eases the displeasure. I guess it's the same with writing checks and addressing envelopes. So I keep important phone numbers and addresses at my fingertips with BBDB and all Internet related business in my Gmail Contacts and Labels. Gnus I use for reading news.
On Fri, Oct 30, 2009 at 10:26:07PM -0500, Russell Adams wrote: > Looking into this some more, export is really easy. I can just use a > dynamic block to store column view in whatever format I choose, and > export then search & replace ',' for '|'. That is minimal effort! > > Sparse searches in column view, hierarchy organization, etc. I'm > trying to find a problem here. I've just converted all my contacts into an Org file, and will document below how it is organized. First is Contacts.org: -------------------------------------------------------- #+COLUMNS: %20ITEM %15Company %10Title %WorkEmail %WorkPhone %WorkMobile %WorkFax %10WorkStreet %WorkCity %WorkState %WorkPostal %HomeEmail %HomePhone %HomeMobile %10HomeStreet %HomeCity %HomeState %HomePostal * Contacts ** Adams, Russell :PROPERTIES: :Company: Adams Information Services LLC :Title: Principal Consultant :WorkEmail: rladams@adamsinfoserv.com :WorkPhone: :WorkMobile: :WorkFax: :WorkStreet: :WorkCity: :WorkState: :WorkPostal: :HomeEmail: :HomePhone: :HomeMobile: :HomeStreet: :HomeCity: :HomeState: :HomePostal: :END: What a super guy! -------------------------------------------------------- I could have multiple top level headings for organization. Making a contact a subheading also lets me use C-c / (spare tree searchs) to limit the list of contacts. With the column view modeline, I can edit contacts in long format, or change fields in column view. Next I needed a way to lookup addresses for Mutt. Lbdb is very effective, but given I don't use BBDB anymore I required an alternative. I still like lbdb's inmail filter, so I continue to use that. I wrote a quick lbdb module to find contacts in Contacts.org. ~/.lbdb/lbdbrc: -------------------------------------------------------- MODULES_PATH="/usr/lib/lbdb /home/rladams/.lbdb/modules" METHODS="m_inmail m_gpg m_orgcontact" -------------------------------------------------------- ~/.lbdb/modules/m_orgcontact: -------------------------------------------------------- #! /bin/sh m_orgcontact_query() { /home/rladams/.lbdb/modules/orgcontact.pl $1 } -------------------------------------------------------- ~/.lbdb/modules/orgcontact.pl: (note the hardcoded Contacts.org file) -------------------------------------------------------- #!/usr/bin/perl use strict; use warnings; # Read org headers are records $/="\n*"; open(MYFILE,"/home/rladams/doc/OrgFiles/Contacts.org"); my @rawcontacts = <MYFILE>; close(MYFILE); $/="\n"; foreach (@rawcontacts) { if ( $_ =~ m/$ARGV[0]/i ){ my $name; foreach (split("\n",$_)) { # The first line is the name unless (defined $name) { $name = $_; $name =~ s/^\s*\**\s*//; $name =~ s/\s*$//; } if (m/^\s+:.*email.*:/i) { my $email = $_; $email =~ s/^\s+:\S+:\s+(\S+)/$1/g; $email =~ s/\s*$//; printf("%s\t%s\t((Org))\n", $email, $name); } } } } -------------------------------------------------------- Given I still use lbdbq in Mutt for address lookups, now it returns one row per email property using the name from the headline. Next, to make data entry faster, I've defined a yasnippet which contains all the properties in a tab list. ~/.emacs/snippets/text-mode/org-mode/contact: -------------------------------------------------------- #contact : Add a contact w/ PROPERTY drawer # -- ** $1 :PROPERTIES: :Company: $2 :Title: $3 :WorkEmail: $4 :WorkPhone: $5 :WorkMobile: $7 :WorkFax: $8 :WorkStreet: $9 :WorkCity: $10 :WorkState: $11 :WorkPostal: $12 :HomeEmail: $13 :HomePhone: $14 :HomeMobile: $15 :HomeStreet: $16 :HomeCity: $17 :HomeState: $18 :HomePostal: $19 :END: $0 -------------------------------------------------------- This also helps keep the property list consistent. I hope this helps someone else. Thanks. ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
[-- Attachment #1.1: Type: text/plain, Size: 567 bytes --] As a relatively newer emacs and org-mode user I have found it very interesting to see what people have in their .emacs file. This has spawned my curiosity, what do you have for a startup page? Do you just have it go to the scratch buffer, the standard page or something else? Maybe a custom designed page with links or something else? Might be something interesting to share on worg as well if you have a unique start page for emacs. Just a thought/curiosity as I am working on designing one for my emacs for my use as a student/father/employee. Matthew Sauer [-- Attachment #1.2: Type: text/html, Size: 620 bytes --] [-- Attachment #2: Type: text/plain, Size: 201 bytes --] _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Matthew Sauer <improv.philosophy@gmail.com> writes: > As a relatively newer emacs and org-mode user I have found it very > interesting to see what people have in their .emacs file. This has spawned > my curiosity, what do you have for a startup page? eshell (nevertheless, I do use bash terminals outside emacs much more than eshell) Dan > Do you just have it go > to the scratch buffer, the standard page or something else? Maybe a custom > designed page with links or something else? Might be something interesting > to share on worg as well if you have a unique start page for emacs. > > Just a thought/curiosity as I am working on designing one for my emacs for > my use as a student/father/employee. > > Matthew Sauer > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode
My Emacs startup screen presents two windows: a classic scratch buffer, and the list of today's appointments from .diary. This fits my needs well. I'm not sure it is worth trying to set up a complicated startup buffer. Depends on your need, of course, but you'll found out that it's always too rigid: it assumes your buffer can tell you what you want, instead of *you* telling him what to do. That's the same problem than selecting the "right" homepage for your browser. Finally nearly everyone end up using a search engine webpage, which is redundant anyway, as browsers now have a websearch field. The trick is to find out what you want to browse *before* opening your browser, then open it for that. Or to find out what you want to do with Emacs and open it for that. Don't let predefined affordances drive your mind, let your mind drive your Emacs :) -- Bastien
Am 27.02.2011 11:15, schrieb Bastien:
> [...]
>
> I'm not sure it is worth trying to set up a complicated startup buffer.
> Depends on your need, of course, but you'll found out that it's always
> too rigid: it assumes your buffer can tell you what you want, instead of
> *you* telling him what to do.
>
> That's the same problem than selecting the "right" homepage for your
> browser. Finally nearly everyone end up using a search engine webpage,
> which is redundant anyway, as browsers now have a websearch field.
>
> The trick is to find out what you want to browse *before* opening your
> browser, then open it for that. Or to find out what you want to do with
> Emacs and open it for that. Don't let predefined affordances drive your
> mind, let your mind drive your Emacs :)
Hm, that was just coming to my mind while reading your post: In my
browser I use the »fast dial« extension, providing a matrix of pictures
representing and linking to my 12 most frequently used websites. These
are, e. g., the department's address list, the homepage of the lecture
I'm in charge of, the admin interface to this page, the library search
page, and so on. I'm not sure if this would work in emacs too, but a
startup buffer with links to my most frequently used org files, the
exercises directory of the lecture, the global BibTeX file, and so on
could be interesting. But how to replace the website's pictures of the
»fast dial« extension, providing a fast recognition without having to
read, in emacs? Without this visual hint, it would just be bookmarks ...
Sorry for the noise, just my 0.02 $.
Anyway, up to now my startup buffer is the scratch buffer. But I don't
have to close (restart) emacs that often, just every couple of weeks.
Regards, Chris
On 27 Feb, 2011, at 2:36 , Matthew Sauer wrote:
> As a relatively newer emacs and org-mode user I have found it very interesting to see what people have in their .emacs file. This has spawned my curiosity, what do you have for a startup page? Do you just have it go to the scratch buffer, the standard page or something else? Maybe a custom designed page with links or something else? Might be something interesting to share on worg as well if you have a unique start page for emacs.
My Emacs starts up showing two windows:
1) An org-mode file that contains links to everything I am currently working on, and which I change as projects start and end. This gives me instant access to almost everything I need.
2) A buffer containing my agenda and to-do list.
Translated to .emacs, this means:
(find-file "~/org/current.org")
(split-window-vertically)
(org-agenda nil "g")
Konrad.
Dan Davison <dandavison7@gmail.com> writes:
> Matthew Sauer <improv.philosophy@gmail.com> writes:
>
>> As a relatively newer emacs and org-mode user I have found it very
>> interesting to see what people have in their .emacs file. This has spawned
>> my curiosity, what do you have for a startup page?
>
> eshell
>
> (nevertheless, I do use bash terminals outside emacs much more than
> eshell)
Interesting! I do the same; the nice thing about eshell is the ease
with which I can copy and paste with the keyboard from/to conkeror...
--
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.553.g83b7.dirty)
[-- Attachment #1: Type: text/plain, Size: 970 bytes --] Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. ------------------------------------------------------------------------ I test evaluated my .emacs (Yes, it needs some cleaning up and that is one of my projects). Deleted my org-contacts.el and re-cloned it via git. I made sure the directoy for it is added to the load-path and placed the following in my .emacs (require 'org-contacts) I have attatched a backtrace of the error to this message but it seems to revolve around: (org-property-set-functions-alist ("BIRTHDAY" . org-completing-read-date)) not working correctly. This error won't let me load the .emacs file and thus I can't use the org-contacts functionality. Hopefully, I am just missing something obvious and this will be an easy fix. [-- Attachment #2: My DotEmacs File --] [-- Type: text/plain, Size: 13120 bytes --] (custom-set-variables ;; custom-set-variables was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(appt-delete-window-function (quote appt-delete-window)) '(appt-display-duration 120) '(appt-display-format (quote window)) '(auto-raise-tool-bar-buttons t t) '(auto-resize-tool-bars t t) '(battery-mode-line-format "%c %r %B %d %L %p %m") '(battery-status-function (quote ignore)) '(bookmark-automatically-show-annotations t) '(bookmark-use-annotations nil) '(calendar-week-start-day 1) '(case-fold-search t) '(current-language-environment "Latin-1") '(default-input-method "latin-1-prefix") '(display-battery-mode t) '(display-time-24hr-format t) '(display-time-day-and-date t) '(display-time-default-load-average 2) '(display-time-format nil) '(display-time-mode t) '(display-time-world-list (quote (("PST8PDT" "Seattle") ("EST5EDT" "New York") ("GMT0BST" "London") ("CET-1CDT" "Paris") ("CST-6" "Wichita")))) '(erc-modules (quote (autojoin button completion fill irccontrols list match menu move-to-prompt netsplit networks noncommands notify readonly ring smiley stamp track))) '(fancy-splash-image nil) '(fill-column 80) '(g-user-email "improv.philosophy@gmail.com") '(gblogger-user-email "improv.philosophy@gmail.com") '(gcal-calendar-agenda-days 7) '(gcal-user-email "improv.philosophy@gmail.com") '(googlecl-blog-exists t) '(googlecl-blog-tag "org") '(googlecl-blogname "Play the Dad? No, be the Dad!") '(googlecl-footer "Matthew S.") '(googlecl-prompt-footer t) '(googlecl-username "improv.philosophy@gmail.com") '(imap-default-user "improv.philosophy@gmail.com") '(imap-store-password t) '(initial-buffer-choice nil) '(longlines-wrap-follows-window-size t) '(mail-host-address "imap.gmail.com") '(mail-user-agent (quote gnus-user-agent)) '(make-backup-files t) '(normal-erase-is-backspace 0) '(org-agenda-files (quote ("/cygdrive/c/Dropbox/Org/Main.org" "/cygdrive/c/Dropbox/Org/Thea143.org" "/cygdrive/c/Dropbox/Org/Engl101.org" "/cygdrive/c/Dropbox/Org/Journal.org" "/cygdrive/c/Dropbox/Org/privnotes.org" "/cygdrive/c/Dropbox/Org/weather.org"))) '(org-agenda-insert-diary-strategy (quote top-level)) '(org-agenda-log-mode-add-notes nil) '(org-agenda-ndays 7) '(org-agenda-repeating-timestamp-show-all nil) '(org-agenda-restore-windows-after-quit t) '(org-agenda-show-all-dates t) '(org-agenda-skip-deadline-if-done t) '(org-agenda-skip-scheduled-if-done t) '(org-agenda-sorting-strategy (quote ((agenda time-up priority-down tag-up) (todo tag-up)))) '(org-agenda-start-on-weekday nil) '(org-agenda-text-search-extra-files (quote (agenda-archives))) '(org-agenda-todo-ignore-deadlines nil) '(org-agenda-todo-ignore-scheduled nil) '(org-agenda-todo-ignore-with-date t) '(org-agenda-window-setup (quote other-window)) '(org-attach-directory "/cygdrive/C/Dropbox/Org/data/") '(org-capture-templates (quote (("t" "Todo" entry (file+headline "/cygdrive/c/Dropbox/Org/Refile.org" "Refile") "* TODO %^{Brief Description} %^g %? Added: %U") ("j" "Journal/Blog/Private" entry (file+headline "/cygdrive/c/Dropbox/Org/Refile.org" "Refile") "** %^{Head Line} %U %^g %i%?") ("a" "Appt" entry (file+headline "/cygdrive/c/Dropbox/Org/Refile.org" "Refile") "* %^{Brief Description} %^g %^{When?}T %? Added: %U %") ("s" "Someday" entry (file+headline "/cygdrive/c/Dropbox/Org/someday.org" "Someday") "** %^{Someday Heading} %U %? ") ("c" "Contact" entry (file+headline "/cygdrive/c/Dropbox/Org/Contacts.org" "Contacts") "* %^{Contact Name} :PROPERTIES: :EMAIL: %^{Contact Email} :PHONE: %^{Contact Phone} :NOTES: %^{Notes?} :END:") ("e" "English" entry (file+datetree "/cygdrive/c/Dropbox/Org/Engl101.org") "* %^{Class Session:} %^g Added: %T %k %K % * ?") ("u" "Theatre" entry (file+datetree "/cygdrive/c/Dropbox/Org/Thea143.org") "* %^{Class Session:} %^g Added: %T %k %K % * ?") ("l" "Clock This" entry (file+headline "/cygdrive/c/Dropbox/Org/Refile.org" "Refile") "* %^{What to clock} *")))) '(org-clock-in-resume t) '(org-clock-in-switch-to-state nil) '(org-clock-out-switch-to-state nil) '(org-clock-persist t) '(org-clock-persist-query-save t) '(org-clock-sound t) '(org-complete-tags-always-offer-all-agenda-tags nil) '(org-contacts-files (quote ("/cygdrive/C/Dropbox/Org/Contacts.org"))) '(org-deadline-warning-days 7) '(org-directory "/cygdrive/C/Dropbox/Org/") '(org-enforce-todo-checkbox-dependencies t) '(org-enforce-todo-dependencies t) '(org-export-html-style "<link rel=\"stylesheet\" type=\"text/css\" href=\"mystyles.css\">") '(org-fast-tag-selection-single-key t) '(org-feed-alist (quote (("Catholic" "http://catholiclane.com/feed" "/cygdrive/c/Dropbox/Org/feeds.org" "The Catholic Lane") ("qotd" "http://www.integratedcatholiclife.org/category/dailyquote/quote-of-the-day/feed/" "/cygdrive/c/Dropbox/Org/feeds.org" "Quote of the Day")))) '(org-google-weather-display-icon-p nil) '(org-hide-block-startup nil) '(org-hide-leading-stars t) '(org-hierarchical-checkbox-statistics nil) '(org-indent-boundary-char 32) '(org-indent-indentation-per-level 1) '(org-insert-heading-respect-content t) '(org-log-done (quote note)) '(org-log-into-drawer t) '(org-log-note-clock-out t) '(org-log-redeadline (quote note)) '(org-log-refile (quote note)) '(org-log-repeat (quote note)) '(org-log-reschedule (quote note)) '(org-log-state-notes-insert-after-drawers t) '(org-log-states-order-reversed nil) '(org-modules (quote (org-bbdb org-bibtex org-gnus org-info org-jsinfo org-irc org-mew org-mhe org-rmail org-vm org-wl org-w3m org-mouse))) '(org-mouse-features (quote (context-menu move-tree yank-link activate-stars activate-bullets activate-checkboxes))) '(org-plain-list-ordered-item-terminator t) '(org-provide-todo-statistics (quote (quote all-headlines))) '(org-refile-targets (quote (("main.org" :maxlevel . 1) ("engl101.org" :maxlevel . 1) ("Thea143.org" :maxlevel . 1) ("someday.org" :maxlevel . 2) ("journal.org" :maxlevel . 1) ("privnotes.org" :level . 1) ("Contacts.org" :maxlevel . 1)))) '(org-replace-disputed-keys t) '(org-return-follows-link t) '(org-reverse-note-order nil) '(org-startup-align-all-tables t) '(org-startup-indented nil) '(org-support-shift-select (quote always)) '(org-tag-alist (quote (("ARCHIVE" . 65)))) '(org-tag-faces nil) '(org-tags-column -78) '(org-tags-exclude-from-inheritance (quote ("ARCHIVE"))) '(org-tags-match-list-sublevels nil) '(org-tags-sort-function nil) '(org-time-stamp-rounding-minutes 5) '(org-todo-keyword-faces (quote (("\"TODO\"" :foreground "red") ("\"NEXT\"" :foreground "steelblue") ("\"WORKING\"" :foreground "sienna") ("\"REVIEW\"" :foreground "olivedrab") ("\"DONE\"" :foreground "dimgrey") ("\"DEFFERED\"" :foreground "dimgrey") ("\"CANCEL\"" :foreground "dimgrey")))) '(org-todo-keywords (quote ((sequence "TODO" "NEXT" "WORKING" "REVIEW" "DONE" "DEFFERED" "CANCEL")))) '(org-todo-state-tags-triggers (quote ((todo ("ARCHIVE")) (done ("ARCHIVE" . t))))) '(org-use-extra-keys t) '(org-use-fast-todo-selection t) '(org-use-speed-commands t) '(org-use-tag-inheritance nil) '(org2blog/wp-confirm-post t) '(org2blog/wp-default-categories (quote ("Philosophy"))) '(org2blog/wp-keep-new-lines nil) '(org2blog/wp-track-posts nil) '(read-mail-command (quote gnus)) '(remember-diary-file nil) '(require (quote htmlize)) '(save-interprogram-paste-before-kill t) '(setq load-path t) '(user-full-name "U-SWEETSAUERPORT\\Matthew Sauer") '(user-mail-address "Improv.Philosophy@gmail.com") '(word-wrap t) '(x-select-enable-clipboard t)) ;; ERC (setq erc-track-exclude-types '("JOIN" "NICK" "PART" "QUIT")) ;; Highlight text chosen in with Mark region (transient-mark-mode t) ; Save files in DOS mode (setq-default buffer-file-coding-system 'raw-text-dos) (add-hook 'text-mode-hook 'turn-on-auto-fill) ; dont use tabs for indenting (setq-default indent-tabs-mode nil) (setq-default tab-width 3) ;; These lines only if org-mode is not part of the X/Emacs distribution. (autoload 'org-mode "org" "Org mode" t) (autoload 'org-diary "org" "Diary entries from Org mode" t) (autoload 'org-agenda "org" "Multi-file agenda from Org mode" t) (autoload 'org-store-link "org" "Store a link to the current location" t) (autoload 'orgtbl-mode "org" "Org tables as a minor mode" t) (autoload 'turn-on-orgtbl "org" "Org tables as a minor mode") (add-to-list 'auto-mode-alist '("\\.org$" . org-mode)) (define-key global-map "\C-cl" 'org-store-link) (define-key global-map "\C-ca" 'org-agenda) (setq org-log-done t) (setq org-agenda-include-diary t) (setq org-deadline-warning-days 7) (setq org-timeline-show-empty-dates t) (setq org-insert-mode-line-in-empty-file t) ;; 2006-05-26 - added following line ;;(autoload 'remember "remember" nil t) ;;(autoload 'remember-region "remember" nil t) (setq org-directory "/cygdrive/c/Dropbox/Org") (setq org-default-notes-file "/cygdrive/c/Dropbox/Org/Refile.org") ;;(setq remember-annotation-functions '(org-remember-annotation)) ;;(setq remember-handler-functions '(org-remember-handler)) ;;(add-hook 'remember-mode-hook 'org-remember-apply-template) (define-key global-map "\C-cr" 'org-remember) ;; Capture (setq org-default-notes-file (concat org-directory "/Refile.org")) (define-key global-map "\C-cc" 'org-capture) (define-key global-map [f8] 'org-capture) ;;(define-key global-map [f9] 'remember-region) (define-key global-map [f1] 'org-clock-in) (define-key global-map [f2] 'org-clock-out) (define-key global-map [f11] 'org-insert-heading-respect-content) (setq org-agenda-exporter-settings '((ps-number-of-columns 1) (ps-landscape-mode t) (htmlize-output-type 'css))) (setq org-agenda-custom-commands '( ("P" "Projects" ((tags "PROJECT"))) ("H" "Office and Home Lists" ((agenda) (tags-todo "WORK") (tags-todo "HOME") (tags-todo "COMPUTER") (tags-todo "CHURCH") (tags-todo "READING") (tags-todo "SCHOOL"))) ("D" "Daily Action List" ( (agenda "" ((org-agenda-ndays 1) (org-agenda-sorting-strategy (quote ((agenda time-up priority-down tag-up) ))) (org-deadline-warning-days 0) )))) )) (defun gtd () (interactive) (find-file "/cygdrive/c/Dropbox/Org/Main.org") ) (global-set-key (kbd "C-c g") 'gtd) (add-hook 'org-agenda-mode-hook 'hl-line-mode) ; org mode start - added 20 Feb 2006 ;; The following lines are always needed. Choose your own keys. (global-font-lock-mode t) (global-set-key "\C-x\C-r" 'prefix-region) (global-set-key "\C-x\C-l" 'goto-line) (global-set-key "\C-x\C-y" 'copy-region-as-kill) (setq calendar-time-zone -360) (setq calendar-standard-time-zone-name "CST") (set-time-zone-rule "GMT+6") (setq calendar-daylight-time-zone-name "CDT") (fset 'yes-or-no-p 'y-or-n-p) (set-variable 'confirm-kill-emacs 'yes-or-no-p) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. '(org-headline-done ((t (:foreground "green" :weight normal)))) '(org-hide ((((background light)) (:foreground "black")))) '(org-todo ((t (:foreground "red" :weight bold)))) '(outline-1 ((t (:inherit font-lock-function-name-face))))) ;; Twitering-mode.el customizations (add-to-list 'load-path "~/.emacs.d/emacs-oauth") ;oauth support (add-to-list 'load-path "~/.emacs.d/twittering-mode") ; Save directory (require 'twittering-mode) (setq twittering-use-master-password t) ;; g-client ; (add-to-list 'load-path "~/.emacs.d/g-client") ;g-client load directory ; (require 'g) ;load g-client ; (setq g-user-email "Improv.Philosophy@gmail.com") ;; Google-Cl (add-to-list 'load-path "~/org-googlecl/") (require 'org-googlecl) (global-set-key (kbd "C-c L") 'org-googlecl-list-blogs) (global-set-key (kbd "C-c B") 'googlecl-prompt-blog) ; Org2Blog (add-to-list 'load-path "~/org2blog/") (require 'org2blog) (require 'xml-rpc) (setq org2blog-server-url "http://standupphilosophy.wordpress.com/xmlrpc.php" org2blog-server-user "SweetSauerPhotos" org2blog-use-tags-as-categories t org2blog-confirm-post t org2blog-server-weblog-id "") (setq org2blog/wp-blog-alist '(("StandUpPhilosophy" :url "http://standupphilosophy.wordpress.com/xmlrpc.php" :username "sweetsauerphotos" :default-title "Hello World" :default-categories ("org2blog" "emacs") :tags-as-categories t))) ;; Org-Contacts (add-to-list 'load-path "/elisp/org-contacts/") (require 'org-contacts) ;; RSS (require 'org-feed) ;; WORG (add-to-list 'load-path "~/Worg/code/elisp/") (require 'worg) ;;Org-Google-Weather (add-to-list 'load-path "~/google-weather-el/") (require 'google-weather) (require 'org-google-weather) (add-to-list 'load-path "/elisp/") (require 'sunrisesunset) [-- Attachment #3: BackTrace error when trying evaluate my .emacs --] [-- Type: text/plain, Size: 17503 bytes --] Debugger entered--Lisp error: (void-variable org-property-set-functions-alist) add-to-list(org-property-set-functions-alist ("BIRTHDAY" . org-completing-read-date)) eval-buffer(#<buffer *load*> nil "/elisp/org-contacts/org-contacts.el" nil t) ; Reading at buffer position 12430 load-with-code-conversion("/elisp/org-contacts/org-contacts.el" "/elisp/org-contacts/org-contacts.el" nil t) require(org-contacts) eval-buffer() ; Reading at buffer position 12833 call-interactively(eval-buffer) tmm-prompt((keymap (indent-line menu-item "Indent Line" lisp-indent-line) (indent-region menu-item "Indent Region" indent-region :help "Indent each nonblank line in the region" :enable mark-active) (comment-region menu-item "Comment Out Region" comment-region :help "Comment or uncomment each line in the region" :enable mark-active) (separator-format "--") (eval-sexp menu-item "Evaluate Last S-expression" eval-last-sexp :help "Evaluate sexp before point; print value in minibuffer") (eval-region menu-item "Evaluate Region" eval-region :help "Execute the region as Lisp code" :enable mark-active) (eval-buffer menu-item "Evaluate Buffer" eval-buffer :help "Execute the current buffer as Lisp code") (ielm menu-item "Interactive Expression Evaluation" ielm :help "Interactively evaluate Emacs Lisp expressions") (separator-eval "--") (byte-compile menu-item "Byte-compile this File" emacs-lisp-byte-compile :help "Byte compile the file containing the current buffer") (emacs-byte-compile-and-load menu-item "Byte-compile and Load" emacs-lisp-byte-compile-and-load :help "Byte-compile the current file (if it has changed), then load compiled code") (byte-recompile menu-item "Byte-recompile Directory..." byte-recompile-directory :help "Recompile every `.el' file in DIRECTORY that needs recompilation") (disas menu-item "Disassemble Byte Compiled Object..." disassemble :help "Print disassembled code for OBJECT in a buffer") (separator-byte "--") (edebug-defun menu-item "Instrument Function for Debugging" edebug-defun :help "Evaluate the top level form point is in, stepping through with Edebug" :keys "C-u C-M-x") (lint "Linting" keymap (lint-d menu-item "Lint Defun" elint-defun :help "Lint the function at point") (lint-b menu-item "Lint Buffer" elint-current-buffer :help "Lint the current buffer") (lint-f menu-item "Lint File..." elint-file :help "Lint a file") (lint-di menu-item "Lint Directory..." elint-directory :help "Lint a directory")) (profiling "Profiling" keymap (prof-func menu-item "Instrument Function..." elp-instrument-function :help "Instrument a function for profiling") (prof-pack menu-item "Instrument Package..." elp-instrument-package :help "Instrument for profiling all function that start with a prefix") (prof-res menu-item "Show Profiling Results" elp-results :help "Display current profiling results") (prof-resfunc menu-item "Reset Counters for Function..." elp-reset-function :help "Reset the profiling information for a function") (prof-resall menu-item "Reset Counters for All Functions" elp-reset-all :help "Reset the profiling information for all functions being profiled") (sep-rem "--") (prof-restfunc menu-item "Remove Instrumentation for Function..." elp-restore-function :help "Restore an instrumented function to its original definition") (prof-restall menu-item "Remove Instrumentation for All Functions" elp-restore-all :help "Restore the original definitions of all functions being profiled")) (tracing "Tracing" keymap (tr-f menu-item "Trace Function..." trace-function :help "Trace the function given as an argument") (tr-q menu-item "Trace Function Quietly..." trace-function-background :help "Trace the function with trace output going quietly to a buffer") (tr-sep "--") (tr-uf menu-item "Untrace function..." untrace-function :help "Untrace function, and possibly activate all remaining advice") (tr-a menu-item "Untrace All" untrace-all :help "Untrace all currently traced functions")) (re-builder menu-item "Construct Regexp" re-builder :help "Construct a regexp interactively") (checkdoc menu-item "Check Documentation Strings" checkdoc :help "Check documentation strings for style requirements") (eldoc menu-item "Auto-Display Documentation Strings" eldoc-mode :button (:toggle bound-and-true-p eldoc-mode) :help "Display the documentation string for the item under cursor") "Emacs-Lisp")) tmm-prompt((keymap (file "File" keymap (new-file menu-item "Visit New File..." find-file :enable ... :help "Specify a new file's name, to edit the file") (open-file menu-item "Open File..." menu-find-file-existing :enable ... :help "Read an existing file into an Emacs buffer") (dired menu-item "Open Directory..." dired :enable ... :help "Read a directory, to operate on its files") (insert-file menu-item "Insert File..." insert-file :enable ... :help "Insert another file into current buffer") (kill-buffer menu-item "Close" kill-this-buffer :enable ... :help "Discard (kill) current buffer") (separator-save "--") (save-buffer menu-item "Save" save-buffer :enable ... :help "Save current buffer to its file") (write-file menu-item "Save As..." write-file :enable ... :help "Write current buffer to another file") (revert-buffer menu-item "Revert Buffer" revert-buffer :enable ... :help "Re-read current buffer from its file") (recover-session menu-item "Recover Crashed Session" recover-session :enable ... :help "Recover edits from a crashed session") (separator-print "--") (print-buffer menu-item "Print Buffer" print-buffer :enable ... :help "Print current buffer with page headings") (print-region menu-item "Print Region" print-region :enable mark-active :help "Print region between mark and current position") (ps-print-buffer-faces menu-item "Postscript Print Buffer" ps-print-buffer-with-faces :enable ... :help "Pretty-print current buffer to PostScript printer") (ps-print-region-faces menu-item "Postscript Print Region" ps-print-region-with-faces :enable mark-active :help "Pretty-print marked region to PostScript printer") (ps-print-buffer menu-item "Postscript Print Buffer (B+W)" ps-print-buffer :enable ... :help "Pretty-print current buffer in black and white to PostScript printer") (ps-print-region menu-item "Postscript Print Region (B+W)" ps-print-region :enable mark-active :help "Pretty-print marked region in black and white to PostScript printer") (separator-window "--") (split-window menu-item "Split Window" split-window-vertically :enable ... :help "Split selected window in two windows") (one-window menu-item "Remove Splits" delete-other-windows :enable ... :help "Selected window grows to fill the whole frame") (make-frame menu-item "New Frame" make-frame-command :visible ... :help "Open a new frame") (make-frame-on-display menu-item "New Frame on Display..." make-frame-on-display :visible ... :help "Open a new frame on another display") (delete-this-frame menu-item "Delete Frame" delete-frame :visible ... :enable ... :help "Delete currently selected frame") (separator-exit "--") (exit-emacs menu-item "Quit" save-buffers-kill-terminal :help "Save unsaved buffers, then exit") "File") (edit "Edit" keymap (undo menu-item "Undo" undo :enable ... :help "Undo last operation") (cut menu-item "Cut" kill-region :enable ... :help "Cut (kill) text in region between mark and current position") (copy menu-item "Copy" menu-bar-kill-ring-save :enable mark-active :help "Copy text in region between mark and current position" :keys "\\[kill-ring-save]") (paste menu-item "Paste" yank :enable ... :help "Paste (yank) text most recently cut/copied") (paste-from-menu menu-item "Paste from Kill Menu" yank-menu :enable ... :help "Choose a string from the kill ring and paste it") (clear menu-item "Clear" delete-region :enable ... :help "Delete the text in region between mark and current position") (mark-whole-buffer menu-item "Select All" mark-whole-buffer :help "Mark the whole buffer for a subsequent cut/copy") (separator-search "--") (search menu-item "Search" ...) (replace menu-item "Replace" ...) (goto menu-item "Go To" ...) (bookmark menu-item "Bookmarks" menu-bar-bookmark-map) (separator-bookmark "--") (fill menu-item "Fill" fill-region :enable ... :help "Fill text in region to fit between left and right margin") (props menu-item "Text Properties" facemenu-menu) "Edit") (options "Options" keymap (transient-mark-mode menu-item "Active Region Highlighting" transient-mark-mode :enable ... :help "Make text in active region stand out in color (Transient Mark mode)" :button ...) (highlight-paren-mode menu-item "Paren Match Highlighting" show-paren-mode :help "Highlight matching/mismatched parentheses at cursor (Show Paren mode)" :button ...) (highlight-separator "--") (line-wrapping menu-item "Line Wrapping in this Buffer" ...) (auto-fill-mode menu-item "Auto Fill in Text Modes" menu-bar-text-mode-auto-fill :help "Automatically fill text while typing (Auto Fill mode)" :button ...) (case-fold-search menu-item "Case-Insensitive Search" toggle-case-fold-search :help "Ignore letter-case in search commands" :button ...) (cua-emulation-mode menu-item "Shift movement mark region (CUA)" cua-mode :visible ... :help "Use shifted movement keys to set and extend the region." :button ...) (cua-mode menu-item "C-x/C-c/C-v Cut and Paste (CUA)" cua-mode :visible ... :help "Use C-z/C-x/C-c/C-v keys for undo/cut/copy/paste" :button ...) (edit-options-separator "--") (uniquify menu-item "Use Directory Names in Buffer Names" toggle-uniquify-buffer-names :help "Uniquify buffer names by adding parent directory names" :button ...) (save-place menu-item "Save Place in Files between Sessions" toggle-save-place-globally :help "Visit files of previous session when restarting Emacs" :button ...) (cursor-separator "--") (blink-cursor-mode menu-item "Blinking Cursor" blink-cursor-mode :help "Whether the cursor blinks (Blink Cursor mode)" :button ...) (debugger-separator "--") (debug-on-error menu-item "Enter Debugger on Error" toggle-debug-on-error :help "Enter Lisp debugger when an error is signaled" :button ...) (debug-on-quit menu-item "Enter Debugger on Quit/C-g" toggle-debug-on-quit :help "Enter Lisp debugger when C-g is pressed" :button ...) (mule-separator "--") (mule menu-item "Mule (Multilingual Environment)" ...) (showhide-separator "--") (showhide menu-item "Show/Hide" ...) (menu-set-font menu-item "Set Default Font..." menu-set-font :visible ... :help "Select a default font") (custom-separator "--") (save menu-item "Save Options" menu-bar-options-save :help "Save options set from the menu above") (customize menu-item "Customize Emacs" ...) "Options") (buffer "Buffers" keymap "Select Buffer" [... ... ... ... ...] (command-separator "--") (next-buffer menu-item "Next Buffer" next-buffer :help "Switch to the \"next\" buffer in a cyclic order") (previous-buffer menu-item "Previous Buffer" previous-buffer :help "Switch to the \"previous\" buffer in a cyclic order") (select-named-buffer menu-item "Select Named Buffer..." switch-to-buffer :help "Prompt for a buffer name, and select that buffer in the current window") (list-all-buffers menu-item "List All Buffers" list-buffers :help "Pop up a window listing all Emacs buffers")) (tools "Tools" keymap (grep menu-item "Search Files (Grep)..." grep :help "Search files for strings or regexps (with Grep)") (compile menu-item "Compile..." compile :help "Invoke compiler or Make, view compilation errors") (shell menu-item "Shell Command..." shell-command :help "Invoke a shell command and catch its output") (shell-on-region menu-item "Shell Command on Region..." shell-command-on-region :enable mark-active :help "Pass marked region to a shell command") (gdb menu-item "Debugger (GDB)..." gdb :help "Debug a program from within Emacs with GDB") (ede menu-item "Project support (EDE)" global-ede-mode :help "Toggle the Emacs Development Environment (Global EDE mode)" :button ...) (semantic menu-item "Source Code Parsers (Semantic)" semantic-mode :help "Toggle automatic parsing in source code buffers (Semantic mode)" :button ...) (separator-prog "--") (spell menu-item "Spell Checking" ispell-menu-map) (separator-spell "--") (compare menu-item "Compare (Ediff)" menu-bar-ediff-menu) (ediff-merge menu-item "Merge" menu-bar-ediff-merge-menu) (epatch menu-item "Apply Patch" menu-bar-epatch-menu) (separator-compare "--") (vc menu-item "Version Control" vc-menu-map :filter vc-menu-map-filter) (pcl-cvs menu-item "PCL-CVS" cvs-global-menu) (separator-vc "--") (gnus menu-item "Read Net News (Gnus)" gnus :help "Read network news groups") (rmail menu-item ... menu-bar-read-mail :visible ... :help "Read your mail and reply to it") (compose-mail menu-item ... compose-mail :visible ... :help "Send a mail message") (directory-search menu-item "Directory Search" eudc-tools-menu) (separator-net "--") (calendar menu-item "Calendar" calendar :help "Invoke the Emacs built-in calendar") (calc menu-item "Programmable Calculator" calc :help "Invoke the Emacs built-in full scientific calculator") (simple-calculator menu-item "Simple Calculator" calculator :help "Invoke the Emacs built-in quick calculator") (separator-encryption-decryption "--") (encryption-decryption menu-item "Encryption/Decryption" ...) (separator-games "--") (games menu-item "Games" ...) "Tools") (mouse-1 . tmm-menubar-mouse) (emacs-lisp "Emacs-Lisp" keymap (indent-line menu-item "Indent Line" lisp-indent-line) (indent-region menu-item "Indent Region" indent-region :help "Indent each nonblank line in the region" :enable mark-active) (comment-region menu-item "Comment Out Region" comment-region :help "Comment or uncomment each line in the region" :enable mark-active) (separator-format "--") (eval-sexp menu-item "Evaluate Last S-expression" eval-last-sexp :help "Evaluate sexp before point; print value in minibuffer") (eval-region menu-item "Evaluate Region" eval-region :help "Execute the region as Lisp code" :enable mark-active) (eval-buffer menu-item "Evaluate Buffer" eval-buffer :help "Execute the current buffer as Lisp code") (ielm menu-item "Interactive Expression Evaluation" ielm :help "Interactively evaluate Emacs Lisp expressions") (separator-eval "--") (byte-compile menu-item "Byte-compile this File" emacs-lisp-byte-compile :help "Byte compile the file containing the current buffer") (emacs-byte-compile-and-load menu-item "Byte-compile and Load" emacs-lisp-byte-compile-and-load :help "Byte-compile the current file (if it has changed), then load compiled code") (byte-recompile menu-item "Byte-recompile Directory..." byte-recompile-directory :help "Recompile every `.el' file in DIRECTORY that needs recompilation") (disas menu-item "Disassemble Byte Compiled Object..." disassemble :help "Print disassembled code for OBJECT in a buffer") (separator-byte "--") (edebug-defun menu-item "Instrument Function for Debugging" edebug-defun :help "Evaluate the top level form point is in, stepping through with Edebug" :keys "C-u C-M-x") (lint "Linting" keymap ... ... ... ...) (profiling "Profiling" keymap ... ... ... ... ... ... ... ...) (tracing "Tracing" keymap ... ... ... ... ...) (re-builder menu-item "Construct Regexp" re-builder :help "Construct a regexp interactively") (checkdoc menu-item "Check Documentation Strings" checkdoc :help "Check documentation strings for style requirements") (eldoc menu-item "Auto-Display Documentation Strings" eldoc-mode :button ... :help "Display the documentation string for the item under cursor") "Emacs-Lisp") nil (help-menu "Help" keymap (emacs-tutorial menu-item "Emacs Tutorial" help-with-tutorial :help "Learn how to use Emacs") (emacs-tutorial-language-specific menu-item "Emacs Tutorial (choose language)..." help-with-tutorial-spec-language :help "Learn how to use Emacs (choose a language)") (emacs-faq menu-item "Emacs FAQ" view-emacs-FAQ :help "Frequently asked (and answered) questions about Emacs") (emacs-news menu-item "Emacs News" view-emacs-news :help "New features of this version") (emacs-known-problems menu-item "Emacs Known Problems" view-emacs-problems :help "Read about known problems with Emacs") (send-emacs-bug-report menu-item "Send Bug Report..." report-emacs-bug :help "Send e-mail to Emacs maintainers") (emacs-psychotherapist menu-item "Emacs Psychotherapist" doctor :help "Our doctor will help you feel better") (sep1 "--") (search-documentation menu-item "Search Documentation" ...) (describe menu-item "Describe" ...) (emacs-manual menu-item "Read the Emacs Manual" info-emacs-manual :help "Full documentation of Emacs features") (more-manuals menu-item "More Manuals" ...) (find-emacs-packages menu-item "Find Emacs Packages" finder-by-keyword :help "Find packages and features by keyword") (external-packages menu-item "External Packages" menu-bar-help-extra-packages :help "Lisp packages distributed separately for use in Emacs") (sep2 "--") (getting-new-versions menu-item "Getting New Versions" describe-distribution :help "How to get the latest version of Emacs") (describe-copying menu-item "Copying Conditions" describe-copying :help "Show the Emacs license (GPL)") (describe-no-warranty menu-item "(Non)Warranty" describe-no-warranty :help "Explain that Emacs has NO WARRANTY") (sep4 "--") (about-emacs menu-item "About Emacs" about-emacs :help "Display version number, copyright info, and basic help") (about-gnu-project menu-item "About GNU" describe-gnu-project :help "About the GNU System, GNU Project, and GNU/Linux") "Help")) nil nil) tmm-menubar() menu-bar-open() call-interactively(menu-bar-open nil nil) [-- Attachment #4: Type: text/plain, Size: 10804 bytes --] I am going to start reading into this after I finish my paper that is due this coming week but I would appreciate any direction. I find this list most useful and helpful and appreciate all of the discussion as I find all of it helpful and some of you have provided me with some really great help. Thank you all! Matthew Sauer Emacs : GNU Emacs 23.2.1 (i686-pc-cygwin, GTK+ Version 2.20.1) of 2010-10-01 on laptop Package: Org-mode version 7.4 current state: ============== (setq org-log-done t org-mouse-features '(context-menu move-tree yank-link activate-stars activate-bullets activate-checkboxes) org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-todo-keyword-faces '(("\"TODO\"" :foreground "red") ("\"NEXT\"" :foreground "steelblue") ("\"WORKING\"" :foreground "sienna") ("\"REVIEW\"" :foreground "olivedrab") ("\"DONE\"" :foreground "dimgrey") ("\"DEFFERED\"" :foreground "dimgrey") ("\"CANCEL\"" :foreground "dimgrey")) org-startup-align-all-tables t org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-agenda-custom-commands '(("P" "Projects" ((tags "PROJECT"))) ("H" "Office and Home Lists" ((agenda) (tags-todo "WORK") (tags-todo "HOME") (tags-todo "COMPUTER") (tags-todo "CHURCH") (tags-todo "READING") (tags-todo "SCHOOL")) ) ("D" "Daily Action List" ((agenda "" ((org-agenda-ndays 1) (org-agenda-sorting-strategy (quote ((agenda time-up priority-down tag-up)))) (org-deadline-warning-days 0)) ) ) ) ) org-agenda-files '("/cygdrive/c/Dropbox/Org/Main.org" "/cygdrive/c/Dropbox/Org/Thea143.org" "/cygdrive/c/Dropbox/Org/Engl101.org" "/cygdrive/c/Dropbox/Org/Journal.org" "/cygdrive/c/Dropbox/Org/privnotes.org" "/cygdrive/c/Dropbox/Org/weather.org") org-agenda-include-diary t org-blocker-hook '(org-block-todo-from-checkboxes org-block-todo-from-children-or-siblings-or-parent) org-agenda-window-setup 'other-window org-hide-leading-stars t org-agenda-exporter-settings '((ps-number-of-columns 1) (ps-landscape-mode t) (htmlize-output-type (quote css))) org-tags-match-list-sublevels nil org-metaup-hook '(org-babel-load-in-session-maybe) org-after-todo-state-change-hook '(org-clock-out-if-current) org-agenda-text-search-extra-files '(agenda-archives) org-attach-directory "/cygdrive/C/Dropbox/Org/data/" org-time-stamp-rounding-minutes 5 org-todo-state-tags-triggers '((todo ("ARCHIVE")) (done ("ARCHIVE" . t))) org-log-states-order-reversed nil org-log-state-notes-insert-after-drawers t org-agenda-sorting-strategy '((agenda time-up priority-down tag-up) (todo tag-up)) org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup) org-agenda-restore-windows-after-quit t org-log-note-clock-out t org-deadline-warning-days 7 org-export-html-style "<link rel=\"stylesheet\" type=\"text/css\" href=\"mystyles.css\">" org-export-latex-format-toc-function 'org-export-latex-format-toc-default org-agenda-skip-scheduled-if-done t org-agenda-insert-diary-strategy 'top-level org-support-shift-select 'always org-log-redeadline 'note org-clock-in-resume t org-tags-exclude-from-inheritance '("ARCHIVE") org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-confirm-shell-link-function 'yes-or-no-p org-export-first-hook '(org-beamer-initialize-open-trackers) org-use-tag-inheritance nil org-clock-persist t org-clock-sound t org-todo-keywords '((sequence "TODO" "NEXT" "WORKING" "REVIEW" "DONE" "DEFFERED" "CANCEL")) org-agenda-before-write-hook '(org-agenda-add-entry-text) org-agenda-log-mode-add-notes nil org-clock-persist-query-save t org-default-notes-file "/cygdrive/c/Dropbox/Org/Refile.org" org-agenda-repeating-timestamp-show-all nil org-directory "/cygdrive/c/Dropbox/Org" org-log-reschedule 'note org-tag-alist '(("ARCHIVE" . 65)) org-use-extra-keys t org-log-refile 'note org-babel-pre-tangle-hook '(save-buffer) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-export-preprocess-before-normalizing-links-hook '(org-remove-file-link-modifiers) org-use-speed-commands t org-replace-disputed-keys t org-timeline-show-empty-dates t org-mode-hook '((lambda nil (setq org-mouse-context-menu-function (quote org-mouse-context-menu)) (when (memq (quote context-menu) org-mouse-features) (org-defkey org-mouse-map [mouse-3] nil) (org-defkey org-mode-map [mouse-3] (quote org-mouse-show-context-menu))) (org-defkey org-mode-map [down-mouse-1] (quote org-mouse-down-mouse)) (when (memq (quote context-menu) org-mouse-features) (org-defkey org-mouse-map [C-drag-mouse-1] (quote org-mouse-move-tree)) (org-defkey org-mouse-map [C-down-mouse-1] (quote org-mouse-move-tree-start))) (when (memq (quote yank-link) org-mouse-features) (org-defkey org-mode-map [S-mouse-2] (quote org-mouse-yank-link)) (org-defkey org-mode-map [drag-mouse-3] (quote org-mouse-yank-link))) (when (memq (quote move-tree) org-mouse-features) (org-defkey org-mouse-map [drag-mouse-3] (quote org-mouse-move-tree)) (org-defkey org-mouse-map [down-mouse-3] (quote org-mouse-move-tree-start))) (when (memq (quote activate-stars) org-mouse-features) (font-lock-add-keywords nil (\` (((\, outline-regexp) 0 (\` (face org-link mouse-face highlight keymap (\, org-mouse-map))) (quote prepend)))) t) ) (when (memq (quote activate-bullets) org-mouse-features) (font-lock-add-keywords nil (\` (("^[ ]*\\([-+*]\\|[0-9]+[.)]\\) +" (1 (\` (face org-link keymap (\, org-mouse-map) mouse-face highlight)) (quote prepend))) ) ) t) ) (when (memq (quote activate-checkboxes) org-mouse-features) (font-lock-add-keywords nil (\` (("^[ ]*\\([-+*]\\|[0-9]+[.)]\\) +\\(\\[[ X]\\]\\)" (2 (\` (face bold keymap (\, org-mouse-map) mouse-face highlight)) t)) ) ) t) ) (defadvice org-open-at-point (around org-mouse-open-at-point activate) (let ((context (org-context))) (cond ((assq :headline-stars context) (org-cycle)) ((assq :checkbox context) (org-toggle-checkbox)) ((assq :item-bullet context) (let ((org-cycle-include-plain-lists t)) (org-cycle))) (t ad-do-it)) ) ) ) #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] (lambda nil (org-add-hook (quote change-major-mode-hook) (quote org-babel-show-result-all) (quote append) (quote local))) org-babel-result-hide-spec org-babel-hide-all-hashes) org-contacts-files '("/cygdrive/C/Dropbox/Org/Contacts.org") org-agenda-ndays 7 org-refile-targets '(("main.org" :maxlevel . 1) ("engl101.org" :maxlevel . 1) ("Thea143.org" :maxlevel . 1) ("someday.org" :maxlevel . 2) ("journal.org" :maxlevel . 1) ("privnotes.org" :level . 1) ("Contacts.org" :maxlevel . 1)) org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point org-babel-execute-safely-maybe) org-return-follows-link t org-confirm-elisp-link-function 'yes-or-no-p org-fast-tag-selection-single-key t org-log-into-drawer t org-agenda-mode-hook '((lambda nil (setq org-mouse-context-menu-function (quote org-mouse-agenda-context-menu)) (org-defkey org-agenda-mode-map [mouse-3] (quote org-mouse-show-context-menu)) (org-defkey org-agenda-mode-map [down-mouse-3] (quote org-mouse-move-tree-start)) (org-defkey org-agenda-mode-map [C-mouse-4] (quote org-agenda-earlier)) (org-defkey org-agenda-mode-map [C-mouse-5] (quote org-agenda-later)) (org-defkey org-agenda-mode-map [drag-mouse-3] (quote (lambda (event) (interactive "e") (case (org-mouse-get-gesture event) (:left (org-agenda-earlier 1)) (:right (org-agenda-later 1)))) ) ) ) hl-line-mode) org-feed-alist '(("Catholic" "http://catholiclane.com/feed" "/cygdrive/c/Dropbox/Org/feeds.org" "The Catholic Lane") ("qotd" "http://www.integratedcatholiclife.org/category/dailyquote/quote-of-the-day/feed/" "/cygdrive/c/Dropbox/Org/feeds.org" "Quote of the Day") ) org-agenda-start-on-weekday nil org-agenda-todo-ignore-with-date t org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks)) org-log-repeat 'note org-agenda-skip-deadline-if-done t org-enforce-todo-dependencies t org-insert-heading-respect-content t org-insert-mode-line-in-empty-file t org-occur-hook '(org-first-headline-recenter) org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-hierarchical-checkbox-statistics nil org-tags-column -78 org-modules '(org-bbdb org-bibtex org-gnus org-info org-jsinfo org-irc org-mew org-mhe org-rmail org-vm org-wl org-w3m org-mouse) org-provide-todo-statistics '(quote all-headlines) org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc org-beamer-auto-fragile-frames org-beamer-place-default-actions-for-lists) org-enforce-todo-checkbox-dependencies t org-metadown-hook '(org-babel-pop-to-session-maybe) org-export-blocks '((src org-babel-exp-src-blocks nil) (comment org-export-blocks-format-comment t) (ditaa org-export-blocks-format-ditaa nil) (dot org-export-blocks-format-dot nil)) )
U-SWEETSAUERPORT\\Matthew Sauer <improv.philosophy@gmail.com> wrote: ,---- | Debugger entered--Lisp error: (void-variable org-property-set-functions-alist) | add-to-list(org-property-set-functions-alist ("BIRTHDAY" . org-completing-read-date)) | eval-buffer(#<buffer *load*> nil "/elisp/org-contacts/org-contacts.el" nil t) ; Reading at buffer position 12430 | load-with-code-conversion("/elisp/org-contacts/org-contacts.el" "/elisp/org-contacts/org-contacts.el" nil t) | require(org-contacts) `---- org-property-set-functions-alist is a variable in org.el, so it seems you are loading org-contacts.el before loading org.el (and the autoloads in your .emacs seem to confirm that). Problems: o org-contacts requires a recent version (> 7.4) of org. The version that came with your emacs is not going to cut it. o you are probably loading the version of org that came with your emacs. To check, say M-x locate-library <RET> org <RET> and see where it loads org.el (or org.elc) from. o if you are using the built-in version, download the version from git (if you have not already) and follow the instructions in section 1.2, "Installation", of the Org manual to install it. And please clean up your .emacs: the autoload section that goes ,---- | ;; These lines only if org-mode is not part of the X/Emacs distribution. | (autoload 'org-mode "org" "Org mode" t) | (autoload 'org-diary "org" "Diary entries from Org mode" t) | (autoload 'org-agenda "org" "Multi-file agenda from Org mode" t) | (autoload 'org-store-link "org" "Store a link to the current location" t) | (autoload 'orgtbl-mode "org" "Org tables as a minor mode" t) | (autoload 'turn-on-orgtbl "org" "Org tables as a minor mode") `---- should be *replaced* by what the doc says. Don't leave it hanging around. If you still have problems, submit another problem report (btw, the information you included in this one was spot-on: both the .emacs and the backtrace were needed for diagnosis). HTH, Nick
[-- Attachment #1: Type: text/plain, Size: 3958 bytes --] I am aware of the issue of emacs (that comes with cygwin) coming with I think it was org 6.3 and I have already (prior to this) cloned a branch, made my own branch so I could modify the makefile to have the org files land in the correct location to load (it kept loading 6.3 and not 7.4). I double checked (org-version) and I am definitely on 7.4 (when I was on 6.3 I had to use remember as Capture wasn't in the release? and now I have switched over to capture now and love it). I do regular pulls from the git as explained in the instructions (part of me is loving working in/on a growing updating project). It is loading from the correct spot and I opened the .el version of the .elc and it says 7.4 and if I load the .el or the .elc org-version shows 7.4. I know about needing to clean up the emacs, I originally started using org-mode from an episode of FLOSS weekly and didn't come to orgmode.org, worg or this mailing list as my first stop to learn how to update my .emacs and make things work. I am going to work on it some more and make sure I have tidied up everything I need to do and then I am going to try reloading org-contacts, I think I have something floating around somewhere that is keeping me from loading it correctly. Thanks for the feedback and hopefully I can get this knocked out, I am trying to migrate more and more of my stuff to working in emacs as it and org-mode speak to the way my brain functions. Hopefully, I will have an update soon as it still doesn't work but I want to weed through my .emacs before re-submitting everything. However, if anyone reads through my .emacs and sees an error or something I should look at, I would greatly appreciate it. You guys are amazing, hopefully in a few months I can start contributing more to this project. Matthew On Sat, Mar 5, 2011 at 10:47 PM, Nick Dokos <nicholas.dokos@hp.com> wrote: > U-SWEETSAUERPORT\\Matthew Sauer <improv.philosophy@gmail.com> wrote: > > ,---- > | Debugger entered--Lisp error: (void-variable > org-property-set-functions-alist) > | add-to-list(org-property-set-functions-alist ("BIRTHDAY" . > org-completing-read-date)) > | eval-buffer(#<buffer *load*> nil "/elisp/org-contacts/org-contacts.el" > nil t) ; Reading at buffer position 12430 > | load-with-code-conversion("/elisp/org-contacts/org-contacts.el" > "/elisp/org-contacts/org-contacts.el" nil t) > | require(org-contacts) > `---- > > org-property-set-functions-alist is a variable in org.el, so it seems > you are loading org-contacts.el before loading org.el (and the autoloads > in your .emacs seem to confirm that). > > Problems: > > o org-contacts requires a recent version (> 7.4) of org. The version > that came with your emacs is not going to cut it. > > o you are probably loading the version of org that came with your emacs. > To check, say M-x locate-library <RET> org <RET> and see where it loads > org.el (or org.elc) from. > > o if you are using the built-in version, download the version from git (if > you have not already) and follow the instructions in section 1.2, > "Installation", of the Org manual to install it. > > And please clean up your .emacs: the autoload section that goes > > ,---- > | ;; These lines only if org-mode is not part of the X/Emacs distribution. > | (autoload 'org-mode "org" "Org mode" t) > | (autoload 'org-diary "org" "Diary entries from Org mode" t) > | (autoload 'org-agenda "org" "Multi-file agenda from Org mode" t) > | (autoload 'org-store-link "org" "Store a link to the current location" t) > | (autoload 'orgtbl-mode "org" "Org tables as a minor mode" t) > | (autoload 'turn-on-orgtbl "org" "Org tables as a minor mode") > `---- > > should be *replaced* by what the doc says. Don't leave it hanging around. > > If you still have problems, submit another problem report (btw, the > information you included in this one was spot-on: both the .emacs and > the backtrace were needed for diagnosis). > > HTH, > Nick > > [-- Attachment #2: Type: text/html, Size: 4799 bytes --]
[-- Attachment #1: Type: text/plain, Size: 4467 bytes --] Should I be able to find org-property-set-functions-alist listed in org.el? Because I don't, maybe I have an issue, it says 7.4 in the comments at the top of the file but I am not finding that phrase anywhere in the file, maybe I do have an pull, update or patch issue I need to look into? Matthew On Sun, Mar 6, 2011 at 1:50 PM, Matthew Sauer <improv.philosophy@gmail.com>wrote: > I am aware of the issue of emacs (that comes with cygwin) coming with I > think it was org 6.3 and I have already (prior to this) cloned a branch, > made my own branch so I could modify the makefile to have the org files land > in the correct location to load (it kept loading 6.3 and not 7.4). I double > checked (org-version) and I am definitely on 7.4 (when I was on 6.3 I had to > use remember as Capture wasn't in the release? and now I have switched over > to capture now and love it). I do regular pulls from the git as explained > in the instructions (part of me is loving working in/on a growing updating > project). > > It is loading from the correct spot and I opened the .el version of the > .elc and it says 7.4 and if I load the .el or the .elc org-version shows > 7.4. > > I know about needing to clean up the emacs, I originally started using > org-mode from an episode of FLOSS weekly and didn't come to orgmode.org, > worg or this mailing list as my first stop to learn how to update my .emacs > and make things work. I am going to work on it some more and make sure I > have tidied up everything I need to do and then I am going to try reloading > org-contacts, I think I have something floating around somewhere that is > keeping me from loading it correctly. > > Thanks for the feedback and hopefully I can get this knocked out, I am > trying to migrate more and more of my stuff to working in emacs as it and > org-mode speak to the way my brain functions. Hopefully, I will have an > update soon as it still doesn't work but I want to weed through my .emacs > before re-submitting everything. However, if anyone reads through my .emacs > and sees an error or something I should look at, I would greatly appreciate > it. You guys are amazing, hopefully in a few months I can start > contributing more to this project. > > Matthew > > On Sat, Mar 5, 2011 at 10:47 PM, Nick Dokos <nicholas.dokos@hp.com> wrote: > >> U-SWEETSAUERPORT\\Matthew Sauer <improv.philosophy@gmail.com> wrote: >> >> ,---- >> | Debugger entered--Lisp error: (void-variable >> org-property-set-functions-alist) >> | add-to-list(org-property-set-functions-alist ("BIRTHDAY" . >> org-completing-read-date)) >> | eval-buffer(#<buffer *load*> nil >> "/elisp/org-contacts/org-contacts.el" nil t) ; Reading at buffer position >> 12430 >> | load-with-code-conversion("/elisp/org-contacts/org-contacts.el" >> "/elisp/org-contacts/org-contacts.el" nil t) >> | require(org-contacts) >> `---- >> >> org-property-set-functions-alist is a variable in org.el, so it seems >> you are loading org-contacts.el before loading org.el (and the autoloads >> in your .emacs seem to confirm that). >> >> Problems: >> >> o org-contacts requires a recent version (> 7.4) of org. The version >> that came with your emacs is not going to cut it. >> >> o you are probably loading the version of org that came with your emacs. >> To check, say M-x locate-library <RET> org <RET> and see where it loads >> org.el (or org.elc) from. >> >> o if you are using the built-in version, download the version from git (if >> you have not already) and follow the instructions in section 1.2, >> "Installation", of the Org manual to install it. >> >> And please clean up your .emacs: the autoload section that goes >> >> ,---- >> | ;; These lines only if org-mode is not part of the X/Emacs distribution. >> | (autoload 'org-mode "org" "Org mode" t) >> | (autoload 'org-diary "org" "Diary entries from Org mode" t) >> | (autoload 'org-agenda "org" "Multi-file agenda from Org mode" t) >> | (autoload 'org-store-link "org" "Store a link to the current location" >> t) >> | (autoload 'orgtbl-mode "org" "Org tables as a minor mode" t) >> | (autoload 'turn-on-orgtbl "org" "Org tables as a minor mode") >> `---- >> >> should be *replaced* by what the doc says. Don't leave it hanging around. >> >> If you still have problems, submit another problem report (btw, the >> information you included in this one was spot-on: both the .emacs and >> the backtrace were needed for diagnosis). >> >> HTH, >> Nick >> >> > [-- Attachment #2: Type: text/html, Size: 5980 bytes --]
Matthew Sauer <improv.philosophy@gmail.com> writes:
> Should I be able to find org-property-set-functions-alist listed in
> org.el?
Yes:
C-h v org-property-set-functions-alist RET
--
Bastien
[-- Attachment #1: Type: text/plain, Size: 1086 bytes --] Nick was gracious enough to help me dig through a few things with my .emacs . . . it appears I had been able to update the emacs lisp in lispdir = $ usr/share/emacs/23.2/lisp/org once so that I was running 7.4 but that wasn't getting updated when I did pulls (need to look into that once) so, I just had to change my .emacs and add a load path to /org-mode/elisp so that it would find everything I was updating (I go into /org-mode to run : git pull && make clean && make && make install && make doc oh, and if anyone has experience on getting make doc to work on cygwin (texi2dvi) it would be appreciated as I haven't quite got that to work right. Thanks to all on the list, especially Nick for the help, it works great now . . .now to get google weather to work the way I want it to. Matthew On Sun, Mar 6, 2011 at 5:20 PM, Bastien <bzg@altern.org> wrote: > Matthew Sauer <improv.philosophy@gmail.com> writes: > > > Should I be able to find org-property-set-functions-alist listed in > > org.el? > > Yes: > > C-h v org-property-set-functions-alist RET > > -- > Bastien > > [-- Attachment #2: Type: text/html, Size: 1657 bytes --]
Matthew Sauer <improv.philosophy@gmail.com> writes: > lispdir = $ usr/share/emacs/23.2/lisp/org Don't do that. Put anything you install yourself into /usr/share/emacs/site-lisp or more specifically for Orgmode, /usr/share/emacs/site-lisp/org This path won't be overwritten or ignored when you install a newer version of Emacs and as an added benefit you don't need to change the loadpath at all (unless you have a non-standard installation of Emacs). > oh, and if anyone has experience on getting make doc to work on cygwin > (texi2dvi) it would be appreciated as I haven't quite got that to work > right. You would need to have texinfo and TeX installed, but unless you really want the PDF manual you don't need to "make doc" at all, use the target "install-info" instead. Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Samples for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra
[-- Attachment #1: Type: text/plain, Size: 981 bytes --] On Mon, Feb 28, 2011 at 03:51, Konrad Hinsen <research@khinsen.fastmail.net>wrote: > > > 1) An org-mode file that contains links to everything I am currently > working on, and which I change as projects start and end. This gives me > instant access to almost everything I need. > > 2) A buffer containing my agenda and to-do list. > > Translated to .emacs, this means: > > (find-file "~/org/current.org") > (split-window-vertically) > (org-agenda nil "g") > > Konrad. Same here, except I also have a dblock that links to my most recently modified files to remind myself what I was working on last. In .emacs I have: (defun org-dblock-write:recently-modified (params) (insert (mapconcat (lambda (arg) (concat "[[file:" arg "][" arg "]]" )) (split-string (shell-command-to-string "ls -t ~/org *.org | head -5")) "\n"))) and my startup page looks like this: -------------------------- # -*- eval: (org-update-all-dblocks) -*- ...my stuff... #+BEGIN: recently-modified #+END [-- Attachment #2: Type: text/html, Size: 1671 bytes --]
On Fri, Mar 11, 2011 at 6:59 AM, Ido Magal <ido@idomagal.com> wrote:
> On Mon, Feb 28, 2011 at 03:51, Konrad Hinsen <research@khinsen.fastmail.net>
> wrote:
>>
>> 1) An org-mode file that contains links to everything I am currently
>> working on, and which I change as projects start and end. This gives me
>> instant access to almost everything I need.
>>
>> 2) A buffer containing my agenda and to-do list.
>>
>> Translated to .emacs, this means:
>>
>> (find-file "~/org/current.org")
>> (split-window-vertically)
>> (org-agenda nil "g")
>>
>> Konrad.
>
> Same here, except I also have a dblock that links to my most recently
> modified files to remind myself what I was working on last.
> In .emacs I have:
> (defun org-dblock-write:recently-modified (params)
> (insert (mapconcat (lambda (arg) (concat "[[file:" arg "][" arg "]]" ))
> (split-string (shell-command-to-string "ls -t ~/org *.org | head -5"))
> "\n")))
> and my startup page looks like this:
> --------------------------
> # -*- eval: (org-update-all-dblocks) -*-
> ...my stuff...
> #+BEGIN: recently-modified
> #+END
>
I have a completelty different approach: As I use emacs / org mode
effectively exclusively for literate programming and as I am usually
working on two or three projects, I have created startup scripts (sh)
and put them into my ~/bin directory - these are called
emacs.PROJECTNAME and they change into the base directory of the
project and start emacs. Emacs is configured to load all buffers which
were open the lat time when started from this location, so I can
effectively continue where I left.
Cheers,
Rainer
--
NEW GERMAN FAX NUMBER!!!
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)
Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa
Cell: +27 - (0)83 9479 042
Fax: +27 - (0)86 516 2782
Fax: +49 - (0)321 2125 2244
email: Rainer@krugs.de
Skype: RMkrug
Google: R.M.Krug@gmail.com
[-- Attachment #1: Type: text/plain, Size: 3139 bytes --] Okay, so I have been working on some ideas for a customization file for startup, an org-agenda, recently modified and maybe unscheduled todo's . . accessible via a function key and at startup. Kind of a "home screen". I have it working fine when I run the code but my problem is that when I have it run in .emacs on startup it comes up (agenda on the right and my other chosen buffer on the left (last code in my .emacs to be run) and then the screen is split horizontal and the scratch buffer opens on the top. For me this isn't the desired behavior, didn't know if anyone knew how to turn off emacs opening into a file or if I should move this code to another location because emacs is running something to open that after it goes through .emacs??? or is that just a behavior that is going to occur? Matt On Fri, Mar 11, 2011 at 1:56 AM, Rainer M Krug <r.m.krug@gmail.com> wrote: > On Fri, Mar 11, 2011 at 6:59 AM, Ido Magal <ido@idomagal.com> wrote: > > On Mon, Feb 28, 2011 at 03:51, Konrad Hinsen < > research@khinsen.fastmail.net> > > wrote: > >> > >> 1) An org-mode file that contains links to everything I am currently > >> working on, and which I change as projects start and end. This gives me > >> instant access to almost everything I need. > >> > >> 2) A buffer containing my agenda and to-do list. > >> > >> Translated to .emacs, this means: > >> > >> (find-file "~/org/current.org") > >> (split-window-vertically) > >> (org-agenda nil "g") > >> > >> Konrad. > > > > Same here, except I also have a dblock that links to my most recently > > modified files to remind myself what I was working on last. > > In .emacs I have: > > (defun org-dblock-write:recently-modified (params) > > (insert (mapconcat (lambda (arg) (concat "[[file:" arg "][" arg "]]" )) > > (split-string (shell-command-to-string "ls -t ~/org *.org | head -5")) > > "\n"))) > > and my startup page looks like this: > > -------------------------- > > # -*- eval: (org-update-all-dblocks) -*- > > ...my stuff... > > #+BEGIN: recently-modified > > #+END > > > > I have a completelty different approach: As I use emacs / org mode > effectively exclusively for literate programming and as I am usually > working on two or three projects, I have created startup scripts (sh) > and put them into my ~/bin directory - these are called > emacs.PROJECTNAME and they change into the base directory of the > project and start emacs. Emacs is configured to load all buffers which > were open the lat time when started from this location, so I can > effectively continue where I left. > > Cheers, > > Rainer > > > > -- > NEW GERMAN FAX NUMBER!!! > > Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation > Biology, UCT), Dipl. Phys. (Germany) > > Centre of Excellence for Invasion Biology > Natural Sciences Building > Office Suite 2039 > Stellenbosch University > Main Campus, Merriman Avenue > Stellenbosch > South Africa > > Cell: +27 - (0)83 9479 042 > Fax: +27 - (0)86 516 2782 > Fax: +49 - (0)321 2125 2244 > email: Rainer@krugs.de > > Skype: RMkrug > Google: R.M.Krug@gmail.com > > [-- Attachment #2: Type: text/html, Size: 4185 bytes --]
Matthew Sauer <improv.philosophy@gmail.com> wrote:
> Okay, so I have been working on some ideas for a customization file for startup, an org-agenda,
> recently modified and maybe unscheduled todo's . . accessible via a function key and at startup.
> Kind of a "home screen". I have it working fine when I run the code but my problem is that when I
> have it run in .emacs on startup it comes up (agenda on the right and my other chosen buffer on the
> left (last code in my .emacs to be run) and then the screen is split horizontal and the scratch
> buffer opens on the top. For me this isn't the desired behavior, didn't know if anyone knew how to
> turn off emacs opening into a file or if I should move this code to another location because emacs
> is running something to open that after it goes through .emacs??? or is that just a behavior that
> is going to occur?
>
Add
(setq inhibit-splash-screen t)
to your .emacs and see if that solves your problem. You might also need one
of the packages that can restore a saved window configuration on startup
if you have complicated goings-on.
Nick
[-- Attachment #1: Type: text/plain, Size: 1931 bytes --] No, that still gives me the scratch buffer over the top and the the two windows I want down below. When I had the startup page activated it would override one of the two buffers that I had selected but for some reason the scratch buffer is dividing the screen horizontally and place itself over the top of the two buffers I open at the end of .emacs Going to have to look at some of the emacs documentation. What I am trying to create is a bit of elisp magic that will open the agenda on the right buffer and my refile.org (with everything I have captured that needs sent to a home and some dblocks with recently opened items and maybe another one with my unscheduled todo's. Matthew On Wed, Mar 16, 2011 at 11:45 AM, Nick Dokos <nicholas.dokos@hp.com> wrote: > Matthew Sauer <improv.philosophy@gmail.com> wrote: > > > Okay, so I have been working on some ideas for a customization file for > startup, an org-agenda, > > recently modified and maybe unscheduled todo's . . accessible via a > function key and at startup. > > Kind of a "home screen". I have it working fine when I run the code but > my problem is that when I > > have it run in .emacs on startup it comes up (agenda on the right and my > other chosen buffer on the > > left (last code in my .emacs to be run) and then the screen is split > horizontal and the scratch > > buffer opens on the top. For me this isn't the desired behavior, didn't > know if anyone knew how to > > turn off emacs opening into a file or if I should move this code to > another location because emacs > > is running something to open that after it goes through .emacs??? or is > that just a behavior that > > is going to occur? > > > > Add > > (setq inhibit-splash-screen t) > > to your .emacs and see if that solves your problem. You might also need one > of the packages that can restore a saved window configuration on startup > if you have complicated goings-on. > > Nick > [-- Attachment #2: Type: text/html, Size: 2469 bytes --]
[-- Attachment #1: Type: text/plain, Size: 3259 bytes --] Here's what I do: (let ((initial-buffer (current-buffer)) (agenda-window (selected-window)) right-window) ;; We're still in the root window. (set-frame-size (selected-frame) 162 50) ; resize the aquamacs window. (org-agenda nil "0") (tabbar-close-tab ; close *scratch* tab. (tabbar-get-tab (get-buffer "*scratch*") (tabbar-current-tabset))) (setq right-window (split-window-horizontally 80)) ; make the right window. (select-window right-window) ;; whatever buffer we started in, make it appear in the right side. (switch-to-buffer initial-buffer) (select-window agenda-window) ; go back to the agenda. ) The call to org-agenda is just a custom block view. I end up with the agenda on the left, and some initial, other buffer on the right. No scratch or anything else visible. Seems to work for me. Cheers. Fil On 17 March 2011 06:34, Matthew Sauer <improv.philosophy@gmail.com> wrote: > No, that still gives me the scratch buffer over the top and the the two > windows I want down below. When I had the startup page activated it would > override one of the two buffers that I had selected but for some reason the > scratch buffer is dividing the screen horizontally and place itself over the > top of the two buffers I open at the end of .emacs > > Going to have to look at some of the emacs documentation. What I am > trying to create is a bit of elisp magic that will open the agenda on the > right buffer and my refile.org (with everything I have captured that needs > sent to a home and some dblocks with recently opened items and maybe another > one with my unscheduled todo's. > > Matthew > > On Wed, Mar 16, 2011 at 11:45 AM, Nick Dokos <nicholas.dokos@hp.com>wrote: > >> Matthew Sauer <improv.philosophy@gmail.com> wrote: >> >> > Okay, so I have been working on some ideas for a customization file for >> startup, an org-agenda, >> > recently modified and maybe unscheduled todo's . . accessible via a >> function key and at startup. >> > Kind of a "home screen". I have it working fine when I run the code >> but my problem is that when I >> > have it run in .emacs on startup it comes up (agenda on the right and my >> other chosen buffer on the >> > left (last code in my .emacs to be run) and then the screen is split >> horizontal and the scratch >> > buffer opens on the top. For me this isn't the desired behavior, didn't >> know if anyone knew how to >> > turn off emacs opening into a file or if I should move this code to >> another location because emacs >> > is running something to open that after it goes through .emacs??? or is >> that just a behavior that >> > is going to occur? >> > >> >> Add >> >> (setq inhibit-splash-screen t) >> >> to your .emacs and see if that solves your problem. You might also need >> one >> of the packages that can restore a saved window configuration on startup >> if you have complicated goings-on. >> >> Nick >> > > -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salustri@ryerson.ca http://deseng.ryerson.ca/~fil/ [-- Attachment #2: Type: text/html, Size: 4427 bytes --]
[-- Attachment #1: Type: text/plain, Size: 4475 bytes --] Sigh, at times it's the small things that you miss that bite you in the foot. (defun org-dblock-write:recently-modified (params) (insert (mapconcat (lambda (arg) (concat "[[file:" arg "][" arg "]]" )) (split-string (shell-command-to-string "ls -t /cygdrive/c/Dropbox/org *.org | head -10")) "\n"))) (org-agenda nil "a") (delete-other-windows) (split-window-horizontally) (find-file "/cygdrive/c/Dropbox/org/Refile.org") I forgot (delete-other-windows), I don't know if it the default behavior but my agenda opens up 1/2 height and I have to run C-x 1 to make it full screen after C-c a a . . .now to get my next dynamic block function (another thread to be started) working and I will have my weekly agenda on one side of the screen. On the tother I will have recently modified files on the other, needing filed captures and Unscheduled TODO items. Thanks for all the help everyone has thrown my way. I am going to look at Filippos' code to see if I can even make this a bit more elegant. Matt On Thu, Mar 17, 2011 at 5:52 AM, Filippo A. Salustri <salustri@ryerson.ca>wrote: > Here's what I do: > (let ((initial-buffer (current-buffer)) > (agenda-window (selected-window)) > right-window) > ;; We're still in the root window. > (set-frame-size (selected-frame) 162 50) ; resize the aquamacs > window. > (org-agenda nil "0") > (tabbar-close-tab ; close *scratch* tab. > (tabbar-get-tab (get-buffer "*scratch*") > (tabbar-current-tabset))) > (setq right-window (split-window-horizontally 80)) ; make the right > window. > (select-window right-window) > ;; whatever buffer we started in, make it appear in the right side. > (switch-to-buffer initial-buffer) > (select-window agenda-window) ; go back to the agenda. > ) > > The call to org-agenda is just a custom block view. > I end up with the agenda on the left, and some initial, other buffer on the > right. No scratch or anything else visible. > Seems to work for me. > > Cheers. > Fil > > On 17 March 2011 06:34, Matthew Sauer <improv.philosophy@gmail.com> wrote: > >> No, that still gives me the scratch buffer over the top and the the two >> windows I want down below. When I had the startup page activated it would >> override one of the two buffers that I had selected but for some reason the >> scratch buffer is dividing the screen horizontally and place itself over the >> top of the two buffers I open at the end of .emacs >> >> Going to have to look at some of the emacs documentation. What I am >> trying to create is a bit of elisp magic that will open the agenda on the >> right buffer and my refile.org (with everything I have captured that >> needs sent to a home and some dblocks with recently opened items and maybe >> another one with my unscheduled todo's. >> >> Matthew >> >> On Wed, Mar 16, 2011 at 11:45 AM, Nick Dokos <nicholas.dokos@hp.com>wrote: >> >>> Matthew Sauer <improv.philosophy@gmail.com> wrote: >>> >>> > Okay, so I have been working on some ideas for a customization file for >>> startup, an org-agenda, >>> > recently modified and maybe unscheduled todo's . . accessible via a >>> function key and at startup. >>> > Kind of a "home screen". I have it working fine when I run the code >>> but my problem is that when I >>> > have it run in .emacs on startup it comes up (agenda on the right and >>> my other chosen buffer on the >>> > left (last code in my .emacs to be run) and then the screen is split >>> horizontal and the scratch >>> > buffer opens on the top. For me this isn't the desired behavior, >>> didn't know if anyone knew how to >>> > turn off emacs opening into a file or if I should move this code to >>> another location because emacs >>> > is running something to open that after it goes through .emacs??? or >>> is that just a behavior that >>> > is going to occur? >>> > >>> >>> Add >>> >>> (setq inhibit-splash-screen t) >>> >>> to your .emacs and see if that solves your problem. You might also need >>> one >>> of the packages that can restore a saved window configuration on startup >>> if you have complicated goings-on. >>> >>> Nick >>> >> >> > > > -- > Filippo A. Salustri, Ph.D., P.Eng. > Mechanical and Industrial Engineering > Ryerson University > 350 Victoria St, Toronto, ON > M5B 2K3, Canada > Tel: 416/979-5000 ext 7749 > Fax: 416/979-5265 > Email: salustri@ryerson.ca > http://deseng.ryerson.ca/~fil/ > [-- Attachment #2: Type: text/html, Size: 6241 bytes --]
Matthew Sauer <improv.philosophy@gmail.com> wrote:
> Sigh, at times it's the small things that you miss that bite you in the
> foot.
>
> (defun org-dblock-write:recently-modified (params)
> (insert (mapconcat (lambda (arg) (concat "[[file:" arg "][" arg "]]" ))
> (split-string (shell-command-to-string "ls -t
> /cygdrive/c/Dropbox/org *.org | head -10")) "\n")))
> (org-agenda nil "a")
> (delete-other-windows)
> (split-window-horizontally)
> (find-file "/cygdrive/c/Dropbox/org/Refile.org")
>
>
> I forgot (delete-other-windows), I don't know if it the default behavior but
> my agenda opens up 1/2 height and I have to run C-x 1 to make it full
> screen after C-c a a . . .now to get my next dynamic block function
> (another thread to be started) working and I will have my weekly agenda on
> one side of the screen. On the tother I will have recently modified files
> on the other, needing filed captures and Unscheduled TODO items.
>
> Thanks for all the help everyone has thrown my way. I am going to look at
> Filippos' code to see if I can even make this a bit more elegant.
>
The org-agenda call has the potential of messing up your carefully crafted window
configuration, depending on the value of org-agenda-window-setup. The default
value is reorganize-frame which should tell you something :-). You might want
to change it temporarily (or customize it to make it permanent):
(let ((org-agenda-window-setup 'current-window))
(org-agenda nil "a"))
Nick
[-- Attachment #1: Type: text/plain, Size: 2334 bytes --] That's right. Somewhere else in my config, I also set org-agenda-window-setup to 'current-window. That was the secret ingredient for me. Sorry I didn't bring this up sooner. I use Aquamacs, and the easiest thing for me is to use both emacs customize and .emacs (Preferences.el in Mac-speak). I set org-agenda-window-setup in customize, but have the code I included in Preferences.el. Makes it hard for me to remember where stuff is. Cheers. Fil On 17 March 2011 18:48, Nick Dokos <nicholas.dokos@hp.com> wrote: > Matthew Sauer <improv.philosophy@gmail.com> wrote: > > > > Sigh, at times it's the small things that you miss that bite you in the > > foot. > > > > (defun org-dblock-write:recently-modified (params) > > (insert (mapconcat (lambda (arg) (concat "[[file:" arg "][" arg "]]" )) > > (split-string (shell-command-to-string "ls -t > > /cygdrive/c/Dropbox/org *.org | head -10")) "\n"))) > > (org-agenda nil "a") > > (delete-other-windows) > > (split-window-horizontally) > > (find-file "/cygdrive/c/Dropbox/org/Refile.org") > > > > > > I forgot (delete-other-windows), I don't know if it the default behavior > but > > my agenda opens up 1/2 height and I have to run C-x 1 to make it full > > screen after C-c a a . . .now to get my next dynamic block function > > (another thread to be started) working and I will have my weekly agenda > on > > one side of the screen. On the tother I will have recently modified > files > > on the other, needing filed captures and Unscheduled TODO items. > > > > Thanks for all the help everyone has thrown my way. I am going to look > at > > Filippos' code to see if I can even make this a bit more elegant. > > > > The org-agenda call has the potential of messing up your carefully crafted > window > configuration, depending on the value of org-agenda-window-setup. The > default > value is reorganize-frame which should tell you something :-). You might > want > to change it temporarily (or customize it to make it permanent): > > (let ((org-agenda-window-setup 'current-window)) > (org-agenda nil "a")) > > Nick > -- Filippo A. Salustri, Ph.D., P.Eng. Mechanical and Industrial Engineering Ryerson University 350 Victoria St, Toronto, ON M5B 2K3, Canada Tel: 416/979-5000 ext 7749 Fax: 416/979-5265 Email: salustri@ryerson.ca http://deseng.ryerson.ca/~fil/ [-- Attachment #2: Type: text/html, Size: 3193 bytes --]
Filippo, Matthew, please use plain text emails, otherwise the code you send is not readable. You can manually turn off rich-formatted (=HTML) emails in gmail for each email. Thanks, -- Bastien
Sorry, at times I forget about this when I use webmail (When I am at
school that is the only option due to wi-fi restrictions of the
university). Hope this is better.
Here is what I have landed on so far, it works great:
---clip here----currently in .emacs----
(defun org-dblock-write:recently-modified (params) ;Credit to Ido
Magal for this function
(insert (mapconcat (lambda (arg) (concat "[[file:" arg "][" arg "]]"
)) (split-string (shell-command-to-string "ls -t
/cygdrive/c/Dropbox/org *.org | head -10")) "\n")))
(let ((org-agenda-window-setup 'current-window));Thanks Nick, let me
eliminate the delete
(org-agenda nil "a"))
(split-window-horizontally)
(find-file "/cygdrive/c/Dropbox/Org/Refile.org")
-----clip here---- currently in .emacs
Below is the basic Refile.org file, some of my captures will fall
directly into here unless I refile them out to a specific place, it's
a land of things that need dealt with but I just did a quick capture.
Now I just need to work out a fun for the Unscheduled todo block and I
will have everything how I want it, well for now anyway. I may also
add some links or a reminder, and eventually a random quote of the day
in a dynamic block from an RSS feed I pull, hmmm, maybe I should pull
the last 5 from one or two of the feeds into this block from the
feeds.org. This is kind of becoming an aggregator set of buffers.
Matt
-----clip here---- current refile.org file
* Config
#+STARTUP: nofold
#+STARTUP: indent
#+STARTUP: align
#+STARTUP: hidestars
#-*- eval:(org-update-all-dblocks) -*-
* Tasks
* Refile
* Recently modified org files
#+BEGIN: recently-modified
#+END
* Unscheduled todo items
#+BEGIN: unsched-todo
#+END
-----clip here ---- current Refile.org
On Thu, Mar 17, 2011 at 7:08 PM, Bastien <bzg@altern.org> wrote:
>
> Filippo, Matthew,
>
> please use plain text emails, otherwise the code you send is not
> readable. You can manually turn off rich-formatted (=HTML) emails
> in gmail for each email.
>
> Thanks,
>
> --
> Bastien
Has anyone been able to convert a column of hex numbers to decimal in another column? Thanks. ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
Hi Russell
On Sun, Jul 24, 2011 at 10:00, Russell Adams <RLAdams@adamsinfoserv.com> wrote:
> Has anyone been able to convert a column of hex numbers to decimal in
> another column?
Emacs Calc has a radix syntax "2#10" to "36#10", so this works:
| 16#10 | 16 | 16#10 |
#+TBLFM: $2 = $1 :: $3 = '(format "16#%x" $2); N
It would be nice to have not only "N" for the Org table formula mode
string like now but also optionally all possible Emacs Calc radix, so
the above would be simply (does not work yet):
| 16#10 | 16 | 16#10 |
#+TBLFM: $2 = $1 :: $3 = $2; N16#
Michael
Russell Adams <RLAdams@AdamsInfoServ.Com> wrote:
> Has anyone been able to convert a column of hex numbers to decimal in
> another column?
>
I suspect there are many ways - here's one:
--8<---------------cut here---------------start------------->8---
* hex-to- conversion
| h | d | o |
|----+----+----|
| 1 | 1 | 1 |
| 2 | 2 | 2 |
| 3 | 3 | 3 |
| 4 | 4 | 4 |
| 5 | 5 | 5 |
| 6 | 6 | 6 |
| 7 | 7 | 7 |
| 8 | 8 | 10 |
| 9 | 9 | 11 |
| a | 10 | 12 |
| b | 11 | 13 |
| c | 12 | 14 |
| d | 13 | 15 |
| e | 14 | 16 |
| f | 15 | 17 |
| 10 | 16 | 20 |
| 11 | 17 | 21 |
| 12 | 18 | 22 |
| 13 | 19 | 23 |
| 14 | 20 | 24 |
| 15 | 21 | 25 |
| 16 | 22 | 26 |
#+TBlLFM: $2 = '(string-to-number $1 16) :: $3 = '(string-to-number $1 16);%o
--8<---------------cut here---------------end--------------->8---
Nick
On Sun, Jul 24, 2011 at 11:52, Michael Brand <michael.ch.brand@gmail.com> wrote:
> It would be nice to have not only "N" for the Org table formula mode
> string like now but also optionally all possible Emacs Calc radix, so
> the above would be simply (does not work yet):
> | 16#10 | 16 | 16#10 |
> #+TBLFM: $2 = $1 :: $3 = $2; N16#
Looking at Nick's solution - this is already available for "8#"/"16#"
with the Org table formula mode string "%o"/"%x":
| 16#10 | 16 | 16#10 |
#+TBLFM: $2 = $1 :: $3 = $2; 16#%x
Michael
I constantly get invitations from Exchange users in .ics files that I would love to import into Org. Currently I manually input meetings into my Agenda files. The format of ics files is hideous, so before I started to study the format and write something new I thought I'd make sure I didn't reinvent the wheel. Is there a way to import ics files into Org? Especially with proper timezone conversions? Thanks. ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
Russell Adams <RLAdams@AdamsInfoServ.Com> wrote: > I constantly get invitations from Exchange users in .ics files that I > would love to import into Org. Currently I manually input meetings > into my Agenda files. > I share your pain. > The format of ics files is hideous, so before I started to study the > format and write something new I thought I'd make sure I didn't > reinvent the wheel. > I've been threatening to do something like this for years, but my efforts have stalled repeatedly for lack of time. > Is there a way to import ics files into Org? Especially with proper > timezone conversions? > Not that I know of. In my last foray, I thought I would start with icalendar.el (afaik, part of the standard emacs distribution); the trouble was that icalendar.el was heavily biased towards, and intertwined with, the standard calendar/diary combo. So my approach was going to be to split it into a library part and a back end part: the library part would do the parsing, returning a standard representation of the ics file and the back ends (one for diary, one for org) would go from the standard rep to the backend specific one. Also, iirc, icalendar.el was an incomplete implementation of the format: in particular, I vaguely recall that it had TZ troubles with at least some of the Exchange-produces ics files (but that might have been a bug in Exchange as well - I don't remember). But after all these years, I'm still using the same manual method you are using :-( So if you decide to go ahead, I for one would be eternally grateful. Nick PS There have been occasional outbursts on the ML about ICS, so you probably should search the list for what others might have done.
Forgot to add the list in -- I know that the last time I remember
seeing google-calendar to org-sync the problem was that it wasn't a
true sync but just an import. In other words you could download but
couldn't change something and have it auto-update on the other.
Anyone have a better update?
>
>> Well, Google has a feature that I use called Google Calendar Sync. It
>> takes my default Google Calendar and syncs it with my outlook that is
>> running off my exchange at work.
>>
>
> Yup - that half of it is no problem. The problem is the
> google-calendar-to-org sync which presumably does not exist yet and
> would have to be written - or maybe someone has done that already?
>
> There has been some discussion about google calendar on the list but I
> haven't followed it too closely: is there anybody who does the
> google-calendar-to-org sync routinely?
>
> Nick
>
>> > Matthew Sauer <improv.philosophy@gmail.com> wrote:
>> >
>> >> I almost wonder if it would be easier to complete a good sync with
>> >> google calendar and just sync outlook with google calendar and sync
>> >> org with the google calendar -- or is that too many steps?
>> >>
>> >
>> > Does google calendar use something other than ics? If so, what?
>> >
>> > I don't think the number of steps is excessive, but if it does
>> > use ics, then cutting out the middleman makes sense. If not, it
>> > would depend on whether the org-to-google calendar sync is easier.
>> >
>> > Nick
>> >
>>
On Wed, Jan 25, 2012 at 04:26:27PM -0600, Matthew Sauer wrote: > Forgot to add the list in -- I know that the last time I remember > seeing google-calendar to org-sync the problem was that it wasn't a > true sync but just an import. In other words you could download but > couldn't change something and have it auto-update on the other. > Anyone have a better update? > > > >> Well, Google has a feature that I use called Google Calendar Sync. ?It > >> takes my default Google Calendar and syncs it with my outlook that is > >> running off my exchange at work. I only need import. Two way sync is (currently) not required. I just need to get data into Org. Famous last words I know. ;] It's awkward having to mail folks back and ask that they resend the date/time and details as text for me, just so I can manually enter them into my calendar. Thanks. ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
Hello > I only need import. Two way sync is (currently) not required. I just > need to get data into Org. Famous last words I know. ;] perhaps you can modify the script on the following page to do what you want: http://orgmode.org/worg/org-tutorials/org-google-sync.html The script can be used to import from google calendar into org mode, but doesn't handle all ics cases, timezones, etc. It's working for me (but then again, I don't use google calendar that often). It would be nice to have this directly in emacs using icalender or something similar though and real two way-sync would be great ;) Arun
Russell Adams <RLAdams@AdamsInfoServ.Com> wrote:
> It's awkward having to mail folks back and ask that they resend the
> date/time and details as text for me, just so I can manually enter
> them into my calendar.
>
You don't need to do that: you can save the text/calendar attachment in
a file and then use icalendar-import-file on the file to get it into
your diary.
You can then copy the data from your diary or if you do
(setq org-agenda-include-diary t)
it will then show up in your agenda and you can copy the data from
*there* into your appt.org or wherever.
I suspect this is quicker (and certainly less awkward) than asking them
to send you text. The only downside is that you will not be a thorn on their
side any more, so they will feel free to continue with their uncivilized
ways - barbarians ;-)
Nick
On Wed, Jan 25, 2012 at 07:21:06PM -0500, Nick Dokos wrote: > Russell Adams <RLAdams@AdamsInfoServ.Com> wrote: > > > It's awkward having to mail folks back and ask that they resend the > > date/time and details as text for me, just so I can manually enter > > them into my calendar. > > > > You don't need to do that: you can save the text/calendar attachment in > a file and then use icalendar-import-file on the file to get it into > your diary. > > You can then copy the data from your diary or if you do > > (setq org-agenda-include-diary t) > > it will then show up in your agenda and you can copy the data from > *there* into your appt.org or wherever. Wow! I had no idea that functionality was available. I just don't use diary... I'd prefer to use a capture buffer. I need to look into this further. > I suspect this is quicker (and certainly less awkward) than asking them > to send you text. The only downside is that you will not be a thorn on their > side any more, so they will feel free to continue with their uncivilized > ways - barbarians ;-) At least ics isn't xml. Then they'd be sparkly undead barbarians. ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
Folks, I've had to fight in the past to set placement on every graphic I include in a Latex document to insert *RIGHT HERE* instead of floating to the end of the section. I just encountered this issue on source listings (listing / lstlisting), and can't seem to get the placement to stick. Does anyone know how to force a global default to force all placements to *RIGHT HERE*? I am including the float package, because it adds the "H" option versus "h". Now I just need a way to set a global default. Thanks. ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
Russell Adams <RLAdams@AdamsInfoServ.Com> wrote: > Folks, > > I've had to fight in the past to set placement on every graphic I > include in a Latex document to insert *RIGHT HERE* instead of floating > to the end of the section. > > I just encountered this issue on source listings (listing / > lstlisting), and can't seem to get the placement to stick. > I don't understand: from the docs, it seems you *can* make listings float by adding a [float,caption=foo] option to the lstlisting environment, but they do not float by default. So why do yours float? A small org example (plus the tex file) might help. > Does anyone know how to force a global default to force all placements > to *RIGHT HERE*? > > I am including the float package, because it adds the "H" option > versus "h". Now I just need a way to set a global default. > From a cursory read of the float doc, I don't think you can. Nick
Hi Russell, Russell Adams wrote: > I've had to fight in the past to set placement on every graphic I > include in a Latex document to insert *RIGHT HERE* instead of floating > to the end of the section. > > I just encountered this issue on source listings (listing / > lstlisting), and can't seem to get the placement to stick. I never experienced it -- while I don't have (let's say, I don't find) any particular custom which I'd have done!? Would you have an ECM? > Does anyone know how to force a global default to force all placements > to *RIGHT HERE*? If really, really, really "right here": same as the one you propose -- there is no other better. > I am including the float package, because it adds the "H" option > versus "h". Now I just need a way to set a global default. #+BIND: org-latex-default-figure-position "H" for a value local to a file. setq for a global value for all files... Best regards, Seb -- Sebastien Vauban
Hi all, question about table calculation. Found in the documentation that I could refer to e.g. first line after second hline with @II+2. Would like to calculate sum = vsum(@I..@II) and tax = sum * 0.08 Am I doing sth wrong ? Thanks for help, Martin | article | price | |---------+--------| | item1 | 100.00 | | item2 | 200.00 | |---------+--------| | sum | | | tax | | |---------+--------| | sum | 0 | #+TBLFM: @II+1$2=vsum(@I..@II);f2N::@II+2$2=@II+1$2*0.08;f2N::@>$2=vsum(@II..@III);f2N
On Mon, Mar 19, 2012 at 04:01:42PM +0100, Martin Halder wrote: > Hi all, > > question about table calculation. Found in the documentation that I could refer to e.g. first line after second hline with @II+2. > > Would like to calculate sum = vsum(@I..@II) and tax = sum * 0.08 > > Am I doing sth wrong ? > > Thanks for help, > Martin > > | article | price | > |---------+--------| > | item1 | 100.00 | > | item2 | 200.00 | > |---------+--------| > | sum | | > | tax | | > |---------+--------| > | sum | 0 | > #+TBLFM: @II+1$2=vsum(@I..@II);f2N::@II+2$2=@II+1$2*0.08;f2N::@>$2=vsum(@II..@III);f2N > > | article | price | |---------+--------| | item1 | 100.00 | | item2 | 200.00 | |---------+--------| | sum | 300.00 | | tax | 24.00 | |---------+--------| | sum | 324.00 | #+TBLFM: @4$2=vsum(@-I..@-II);%.2f::@5$2=@4$2*0.08;%.2f::@6$2=vsum(@-I..@-II);%.2f I often use negative headline references for total lines in order to sum backward from the current cell. So vsum(@-I..@-II);%.2f means sum the cells between the first headline above the current cell to the second headline above the current cell, and then format the result as a decimal with two decimal places (%.2f). Looking at your formula, I think you manually wrote the TBLFM line. One thing I've found is that the TBLFM line doesn't support relative references for the cell specification, only in the formula. I used C-u C-c = to set mine. Good luck! ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
Am 19.03.2012 um 16:32 schrieb Russell Adams: > On Mon, Mar 19, 2012 at 04:01:42PM +0100, Martin Halder wrote: >> Hi all, >> >> question about table calculation. Found in the documentation that I could refer to e.g. first line after second hline with @II+2. >> >> Would like to calculate sum = vsum(@I..@II) and tax = sum * 0.08 >> >> Am I doing sth wrong ? >> >> Thanks for help, >> Martin >> >> | article | price | >> |---------+--------| >> | item1 | 100.00 | >> | item2 | 200.00 | >> |---------+--------| >> | sum | | >> | tax | | >> |---------+--------| >> | sum | 0 | >> #+TBLFM: @II+1$2=vsum(@I..@II);f2N::@II+2$2=@II+1$2*0.08;f2N::@>$2=vsum(@II..@III);f2N >> >> > > | article | price | > |---------+--------| > | item1 | 100.00 | > | item2 | 200.00 | > |---------+--------| > | sum | 300.00 | > | tax | 24.00 | > |---------+--------| > | sum | 324.00 | > #+TBLFM: @4$2=vsum(@-I..@-II);%.2f::@5$2=@4$2*0.08;%.2f::@6$2=vsum(@-I..@-II);%.2f > > I often use negative headline references for total lines in order to > sum backward from the current cell. > > So vsum(@-I..@-II);%.2f means sum the cells between the first headline > above the current cell to the second headline above the current cell, > and then format the result as a decimal with two decimal places > (%.2f). > > Looking at your formula, I think you manually wrote the TBLFM > line. One thing I've found is that the TBLFM line doesn't support > relative references for the cell specification, only in the formula. > > I used C-u C-c = to set mine. > > Good luck! > Hi Russell, right, I wrote it manually. Thanks for your formula, the problem I have is that there could be an "item 3" and therefore the "sum", "tax" and second "sum" lines are not fixed. Is there a solution to specify them dynamically or do I have to modify the position every time I enter a new item ? Thanks, Martin > ------------------------------------------------------------------ > Russell Adams RLAdams@AdamsInfoServ.com > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 >
On Mon, Mar 19, 2012 at 04:45:14PM +0100, Martin Halder wrote: > > Am 19.03.2012 um 16:32 schrieb Russell Adams: > > | article | price | > > |---------+--------| > > | item1 | 100.00 | > > | item2 | 200.00 | > > |---------+--------| > > | sum | 300.00 | > > | tax | 24.00 | > > |---------+--------| > > | sum | 324.00 | > > #+TBLFM: @4$2=vsum(@-I..@-II);%.2f::@5$2=@4$2*0.08;%.2f::@6$2=vsum(@-I..@-II);%.2f > > > > I often use negative headline references for total lines in order to > > sum backward from the current cell. > > > > So vsum(@-I..@-II);%.2f means sum the cells between the first headline > > above the current cell to the second headline above the current cell, > > and then format the result as a decimal with two decimal places > > (%.2f). > > > > Looking at your formula, I think you manually wrote the TBLFM > > line. One thing I've found is that the TBLFM line doesn't support > > relative references for the cell specification, only in the formula. > > > > I used C-u C-c = to set mine. > > > > Good luck! > > > Hi Russell, > > right, I wrote it manually. Thanks for your formula, the problem I have is that there > could be an "item 3" and therefore the "sum", "tax" and second "sum" lines are not fixed. > Is there a solution to specify them dynamically or do I have to modify the position > every time I enter a new item ? > If you use the table editor properly, it will keep the formulas up to date for you. For instance, if you place your cursor on item2 and press return, a new line should be created and the formulas cell references corrected to match. Beware commands line C-k that may delete a row as text instead of using the Org-Mode specific table editing commands. If you want to delete a line like C-k, use M-S-Up instead. ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
Russell Adams <RLAdams@AdamsInfoServ.Com> wrote: > On Mon, Mar 19, 2012 at 04:01:42PM +0100, Martin Halder wrote: > > Hi all, > > > > question about table calculation. Found in the documentation that I could refer to e.g. first line after second hline with @II+2. > > > > Would like to calculate sum = vsum(@I..@II) and tax = sum * 0.08 > > > > Am I doing sth wrong ? > > > > Thanks for help, > > Martin > > > > | article | price | > > |---------+--------| > > | item1 | 100.00 | > > | item2 | 200.00 | > > |---------+--------| > > | sum | | > > | tax | | > > |---------+--------| > > | sum | 0 | > > #+TBLFM: @II+1$2=vsum(@I..@II);f2N::@II+2$2=@II+1$2*0.08;f2N::@>$2=vsum(@II..@III);f2N > > > > > > | article | price | > |---------+--------| > | item1 | 100.00 | > | item2 | 200.00 | > |---------+--------| > | sum | 300.00 | > | tax | 24.00 | > |---------+--------| > | sum | 324.00 | > #+TBLFM: @4$2=vsum(@-I..@-II);%.2f::@5$2=@4$2*0.08;%.2f::@6$2=vsum(@-I..@-II);%.2f > > I often use negative headline references for total lines in order to > sum backward from the current cell. > > So vsum(@-I..@-II);%.2f means sum the cells between the first headline > above the current cell to the second headline above the current cell, > and then format the result as a decimal with two decimal places > (%.2f). > > Looking at your formula, I think you manually wrote the TBLFM > line. One thing I've found is that the TBLFM line doesn't support > relative references for the cell specification, only in the formula. > > I used C-u C-c = to set mine. > Nowadays, you can use (both on the LHS and the RHS of the formula) symbolic references relative to the first, second, third ... row like this: @<, @<<, @<< ... and relative to the last, penultimate, antepenultimate (is there such a word?) row like this: @>, @>>, @>>> ..., and similarly for columns, so you could write the formula, like this: #+TBLFM: @>>>$>=vsum(@-I..@-II);%.2f::@>>$>=@>>>$>*0.08;%.2f::@>$>=vsum(@-I..@-II);%.2f This *does* require iterated evaluations, so C-u C-u C-c C-c is your best bet, to make sure everything is updated properly. Nick > Good luck! > > ------------------------------------------------------------------ > Russell Adams RLAdams@AdamsInfoServ.com > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 >
> Nowadays, you can use (both on the LHS and the RHS of the formula) > symbolic references relative to the first, second, third ... row like > this: @<, @<<, @<< ... and relative to the last, penultimate, > antepenultimate (is there such a word?) row like this: @>, @>>, @>>> > ..., and similarly for columns, so you could write the formula, like > this: > > #+TBLFM: @>>>$>=vsum(@-I..@-II);%.2f::@>>$>=@>>>$>*0.08;%.2f::@>$>=vsum(@-I..@-II);%.2f > > This *does* require iterated evaluations, so C-u C-u C-c C-c is your > best bet, to make sure everything is updated properly. > > Nick What version was that introduced in? I know I haven't kept on the bleeding edge, and I tried that just this past week and it didn't work. I was hoping for it! ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
Am 19.03.2012 um 16:56 schrieb Nick Dokos: > Russell Adams <RLAdams@AdamsInfoServ.Com> wrote: > >> On Mon, Mar 19, 2012 at 04:01:42PM +0100, Martin Halder wrote: >>> Hi all, >>> >>> question about table calculation. Found in the documentation that I could refer to e.g. first line after second hline with @II+2. >>> >>> Would like to calculate sum = vsum(@I..@II) and tax = sum * 0.08 >>> >>> Am I doing sth wrong ? >>> >>> Thanks for help, >>> Martin >>> >>> | article | price | >>> |---------+--------| >>> | item1 | 100.00 | >>> | item2 | 200.00 | >>> |---------+--------| >>> | sum | | >>> | tax | | >>> |---------+--------| >>> | sum | 0 | >>> #+TBLFM: @II+1$2=vsum(@I..@II);f2N::@II+2$2=@II+1$2*0.08;f2N::@>$2=vsum(@II..@III);f2N >>> >>> >> >> | article | price | >> |---------+--------| >> | item1 | 100.00 | >> | item2 | 200.00 | >> |---------+--------| >> | sum | 300.00 | >> | tax | 24.00 | >> |---------+--------| >> | sum | 324.00 | >> #+TBLFM: @4$2=vsum(@-I..@-II);%.2f::@5$2=@4$2*0.08;%.2f::@6$2=vsum(@-I..@-II);%.2f >> >> I often use negative headline references for total lines in order to >> sum backward from the current cell. >> >> So vsum(@-I..@-II);%.2f means sum the cells between the first headline >> above the current cell to the second headline above the current cell, >> and then format the result as a decimal with two decimal places >> (%.2f). >> >> Looking at your formula, I think you manually wrote the TBLFM >> line. One thing I've found is that the TBLFM line doesn't support >> relative references for the cell specification, only in the formula. >> >> I used C-u C-c = to set mine. >> > > Nowadays, you can use (both on the LHS and the RHS of the formula) > symbolic references relative to the first, second, third ... row like > this: @<, @<<, @<< ... and relative to the last, penultimate, > antepenultimate (is there such a word?) row like this: @>, @>>, @>>> > ..., and similarly for columns, so you could write the formula, like > this: > > #+TBLFM: @>>>$>=vsum(@-I..@-II);%.2f::@>>$>=@>>>$>*0.08;%.2f::@>$>=vsum(@-I..@-II);%.2f > > This *does* require iterated evaluations, so C-u C-u C-c C-c is your > best bet, to make sure everything is updated properly. > > Nick > that is fantastic, many thanks for you help to you both. Martin >> Good luck! >> >> ------------------------------------------------------------------ >> Russell Adams RLAdams@AdamsInfoServ.com >> >> PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ >> >> Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 >> >
Russell Adams <RLAdams@AdamsInfoServ.Com> wrote:
> > Nowadays, you can use (both on the LHS and the RHS of the formula)
> > symbolic references relative to the first, second, third ... row like
> > this: @<, @<<, @<< ... and relative to the last, penultimate,
> > antepenultimate (is there such a word?) row like this: @>, @>>, @>>>
> > ..., and similarly for columns, so you could write the formula, like
> > this:
> >
> > #+TBLFM: @>>>$>=vsum(@-I..@-II);%.2f::@>>$>=@>>>$>*0.08;%.2f::@>$>=vsum(@-I..@-II);%.2f
> >
> > This *does* require iterated evaluations, so C-u C-u C-c C-c is your
> > best bet, to make sure everything is updated properly.
> >
> > Nick
>
> What version was that introduced in? I know I haven't kept on the
> bleeding edge, and I tried that just this past week and it didn't
> work. I was hoping for it!
>
It was introduced about a year ago, so it should be in 7.7 or later
(possibly some earlier releases as well but I haven't checked in
detail.)
If you git, then the relevant commits are
5631a309ab567e0a6a059ce728f84c1637fd253f
3dd474575205d3808390fc6ea2d5feccdb3d4305
1432e4bc79f55ed21e8478284b6b7552736d0c22
The first two are the main ones - the last is a bug fix.
Best bet is a fairly recent org (modulo all the git problems that
people are trying to fix ATM).
Nick
On Mon, Mar 19, 2012 at 01:42:50PM -0400, Nick Dokos wrote: > It was introduced about a year ago, so it should be in 7.7 or later > (possibly some earlier releases as well but I haven't checked in > detail.) > > If you git, then the relevant commits are > > 5631a309ab567e0a6a059ce728f84c1637fd253f > 3dd474575205d3808390fc6ea2d5feccdb3d4305 > 1432e4bc79f55ed21e8478284b6b7552736d0c22 > > The first two are the main ones - the last is a bug fix. Wow, I know Org advances quickly but I hadn't checked my version recently. I'm still on 7.01e! Perhaps I'll upgrade to this new bugfix-only release. Thanks for your input, that's a useful feature! ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
Russell Adams <RLAdams@AdamsInfoServ.Com> wrote:
> On Mon, Mar 19, 2012 at 01:42:50PM -0400, Nick Dokos wrote:
> > It was introduced about a year ago, so it should be in 7.7 or later
> > (possibly some earlier releases as well but I haven't checked in
> > detail.)
> >
> > If you git, then the relevant commits are
> >
> > 5631a309ab567e0a6a059ce728f84c1637fd253f
> > 3dd474575205d3808390fc6ea2d5feccdb3d4305
> > 1432e4bc79f55ed21e8478284b6b7552736d0c22
> >
> > The first two are the main ones - the last is a bug fix.
>
> Wow, I know Org advances quickly but I hadn't checked my version
> recently. I'm still on 7.01e!
>
> Perhaps I'll upgrade to this new bugfix-only release.
>
> Thanks for your input, that's a useful feature!
>
Be careful - you might run into problems (I don't know if you've seen
Bastien's and Achim's emails about the git problems). It might be safer
to wait a bit until the dust settles and Bastien gives the green light.
Nick
On Mon, Mar 19, 2012 at 02:01:02PM -0400, Nick Dokos wrote: > Be careful - you might run into problems (I don't know if you've seen > Bastien's and Achim's emails about the git problems). It might be safer > to wait a bit until the dust settles and Bastien gives the green light. Just out of curiosity, I decided to check out how many versions of Org I've run... I'm up to 23! One more rev can't hurt, but I appreciate the advice. I'll wait for the release. My use stabilized a while back, while I use many features above and beyond the standard TODO's and outline (agenda, capture, babel, latex & html publishing, spreadsheet, column view), my workflow hasn't required any extra features recently so I'm out of touch with the latest version. I'll be paying careful attention to the readme's for this new rev. Thanks. Details for the OCD: org-4.42 org-4.45 org-4.47 org-4.49 org-4.74 org-5.08 org-5.09 org-5.10-fix org-5.10b org-5.19a org-5.22a org-6.04c org-6.05b org-6.07b org-6.21b org-6.23 org-6.24b org-6.28e org-6.31a org-6.34c org-6.36 org-6.36c org-7.01e ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
Russell Adams <RLAdams@AdamsInfoServ.Com> wrote:
> On Wed, Jan 25, 2012 at 07:21:06PM -0500, Nick Dokos wrote:
> > Russell Adams <RLAdams@AdamsInfoServ.Com> wrote:
> >
> > > It's awkward having to mail folks back and ask that they resend the
> > > date/time and details as text for me, just so I can manually enter
> > > them into my calendar.
> > >
> >
> > You don't need to do that: you can save the text/calendar attachment in
> > a file and then use icalendar-import-file on the file to get it into
> > your diary.
> >
> > You can then copy the data from your diary or if you do
> >
> > (setq org-agenda-include-diary t)
> >
> > it will then show up in your agenda and you can copy the data from
> > *there* into your appt.org or wherever.
>
> Wow! I had no idea that functionality was available. I just don't use
> diary... I'd prefer to use a capture buffer.
>
> I need to look into this further.
>
> > I suspect this is quicker (and certainly less awkward) than asking them
> > to send you text. The only downside is that you will not be a thorn on their
> > side any more, so they will feel free to continue with their uncivilized
> > ways - barbarians ;-)
>
> At least ics isn't xml. Then they'd be sparkly undead barbarians.
>
>
Just in case you actually use this method, there is a nasty bug in
icalendar.el that caused havoc with timezones (and no-shows at
meetings). The problem is that the vcalendar attachment contained time
zone specs like this:
TZID:(UTC+01:00) Amsterdam\, Berlin\, Bern\, Rome\, Stockholm\, Vienna
with escaped commas, but icalendar.el did not unescape the commas on import
so when it tried to match timezones, it failed and left the time unchanged
(i.e at the sender's timezone, instead of the receiver's). The patch to fix
that is simple enough, and good enough for my purposes, although it's not
clear whether it's enough for all cases and/or the best possible[fn:1] (box-quoted
to make it not look like a patch and therefore keep it off patchwork - hope
that works):
,----
| diff --git a/icalendar.el b/icalendar.el
| index f1549ec..5d85b83 100644
| --- a/icalendar.el
| +++ b/icalendar.el
| @@ -491,7 +491,7 @@ The strings are suitable for assembling into a TZ variable."
| (defun icalendar--parse-vtimezone (alist)
| "Turn a VTIMEZONE ALIST into a cons (ID . TZ-STRING).
| Return nil if timezone cannot be parsed."
| - (let* ((tz-id (icalendar--get-event-property alist 'TZID))
| + (let* ((tz-id (icalendar--convert-string-for-import (icalendar--get-event-property alist 'TZID)))
| (daylight (cadr (cdar (icalendar--get-children alist 'DAYLIGHT))))
| (day (and daylight (icalendar--convert-tz-offset daylight t)))
| (standard (cadr (cdar (icalendar--get-children alist 'STANDARD))))
`----
Footnotes:
[fn:1]
[previous message sent prematurely] I meant to add that I'll submit it to the emacs bugs list for their consideration. I also meant to fix the footnote but too late for that :-) Nick
Regarding contact management in Org the way I described it below, I wanted to share issues I've had since. First, I've found myself very lax updating my Contacts.org file. With a moderately large contact file column mode goes so slowly I find myself reluctant to use it. Thus my contact list is now significantly out of date despite my successful integration with mutt. Another issue with column view is that I can't make the first column (ie: Name!) sticky, so if I scroll right while filling in fields I have no idea who I'm working on. Editing individual fields in the property drawer is moderately ok. The final killer is lack of sync. I have lbdb capturing incoming email addresses, and I find I use it constantly without thinking about it. I typically get contact information in signature lines with my customers and I've found myself doing fast searching in mutt and using a recent email instead of using Contacts.org. No sync with my Google account means my phone now has an independent contact list again. I did see someone created a org-contacts.el based on the format, but their site is now offline. So after a three year experiment, I think I can say my org-mode contact management has failed. Thus I pose the question: What is a valid contact manager for a console-mode user with sync, fast searching and update? Thanks. On Fri, Nov 20, 2009 at 08:32:35AM -0600, Russell Adams wrote: > On Fri, Oct 30, 2009 at 10:26:07PM -0500, Russell Adams wrote: > > Looking into this some more, export is really easy. I can just use a > > dynamic block to store column view in whatever format I choose, and > > export then search & replace ',' for '|'. That is minimal effort! > > > > Sparse searches in column view, hierarchy organization, etc. I'm > > trying to find a problem here. > > I've just converted all my contacts into an Org file, and will > document below how it is organized. > > First is Contacts.org: > > -------------------------------------------------------- > #+COLUMNS: %20ITEM %15Company %10Title %WorkEmail %WorkPhone %WorkMobile %WorkFax %10WorkStreet %WorkCity %WorkState %WorkPostal %HomeEmail %HomePhone %HomeMobile %10HomeStreet %HomeCity %HomeState %HomePostal > > * Contacts > > ** Adams, Russell > :PROPERTIES: > :Company: Adams Information Services LLC > :Title: Principal Consultant > :WorkEmail: rladams@adamsinfoserv.com > :WorkPhone: > :WorkMobile: > :WorkFax: > :WorkStreet: > :WorkCity: > :WorkState: > :WorkPostal: > :HomeEmail: > :HomePhone: > :HomeMobile: > :HomeStreet: > :HomeCity: > :HomeState: > :HomePostal: > :END: > > What a super guy! > -------------------------------------------------------- > > I could have multiple top level headings for organization. Making a > contact a subheading also lets me use C-c / (spare tree searchs) to > limit the list of contacts. > > With the column view modeline, I can edit contacts in long format, or > change fields in column view. > > Next I needed a way to lookup addresses for Mutt. Lbdb is very > effective, but given I don't use BBDB anymore I required an > alternative. > > I still like lbdb's inmail filter, so I continue to use that. I wrote > a quick lbdb module to find contacts in Contacts.org. > > ~/.lbdb/lbdbrc: > -------------------------------------------------------- > MODULES_PATH="/usr/lib/lbdb /home/rladams/.lbdb/modules" > METHODS="m_inmail m_gpg m_orgcontact" > -------------------------------------------------------- > > ~/.lbdb/modules/m_orgcontact: > -------------------------------------------------------- > #! /bin/sh > > m_orgcontact_query() > { > > /home/rladams/.lbdb/modules/orgcontact.pl $1 > > } > -------------------------------------------------------- > > > ~/.lbdb/modules/orgcontact.pl: (note the hardcoded Contacts.org file) > -------------------------------------------------------- > #!/usr/bin/perl > > use strict; > use warnings; > > # Read org headers are records > > $/="\n*"; > > open(MYFILE,"/home/rladams/doc/OrgFiles/Contacts.org"); > my @rawcontacts = <MYFILE>; > close(MYFILE); > > $/="\n"; > > foreach (@rawcontacts) { > if ( $_ =~ m/$ARGV[0]/i ){ > > my $name; > > foreach (split("\n",$_)) { > > # The first line is the name > unless (defined $name) { > $name = $_; > $name =~ s/^\s*\**\s*//; > $name =~ s/\s*$//; > } > > if (m/^\s+:.*email.*:/i) { > my $email = $_; > $email =~ s/^\s+:\S+:\s+(\S+)/$1/g; > $email =~ s/\s*$//; > > printf("%s\t%s\t((Org))\n", $email, $name); > > } > > } > > } > > } > -------------------------------------------------------- > > Given I still use lbdbq in Mutt for address lookups, now it returns > one row per email property using the name from the headline. > > Next, to make data entry faster, I've defined a yasnippet which > contains all the properties in a tab list. > > ~/.emacs/snippets/text-mode/org-mode/contact: > -------------------------------------------------------- > #contact : Add a contact w/ PROPERTY drawer > # -- > ** $1 > :PROPERTIES: > :Company: $2 > :Title: $3 > :WorkEmail: $4 > :WorkPhone: $5 > :WorkMobile: $7 > :WorkFax: $8 > :WorkStreet: $9 > :WorkCity: $10 > :WorkState: $11 > :WorkPostal: $12 > :HomeEmail: $13 > :HomePhone: $14 > :HomeMobile: $15 > :HomeStreet: $16 > :HomeCity: $17 > :HomeState: $18 > :HomePostal: $19 > :END: > > $0 > > -------------------------------------------------------- > > This also helps keep the property list consistent. > > I hope this helps someone else. > > Thanks. > > ------------------------------------------------------------------ > Russell Adams RLAdams@AdamsInfoServ.com > > PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ > > Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 > > > _______________________________________________ > 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 > ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
Hi Russell! * Russell Adams <RLAdams@AdamsInfoServ.Com> wrote: > > First, I've found myself very lax updating my Contacts.org file. This is no technical issue :-) > With a moderately large contact file column mode goes so slowly I > find myself reluctant to use it. Thus my contact list is now > significantly out of date despite my successful integration with > mutt. I do not use column mode (yet). So far I am using the inevitable yasnippet templates to create an entry and manually filling out the properties. > Another issue with column view is that I can't make the first column > (ie: Name!) sticky, so if I scroll right while filling in fields I > have no idea who I'm working on. Editing individual fields in the > property drawer is moderately ok. > > The final killer is lack of sync. Oh this is also something which I could not resolve yet. Although I do think that given the fact that I am OK with a working export mechanism (instead of 2-way sync), it should not be that complicated to write a short tool that exports names, email addresses and phone numbers (I really do not want more information than these on my phone) in a format that Google can import. Not a very good solution but I was thinking about this one for myself. > I have lbdb capturing incoming email addresses, and I find I use > it constantly without thinking about it. I typically get contact > information in signature lines with my customers and I've found > myself doing fast searching in mutt and using a recent email > instead of using Contacts.org. No sync with my Google account > means my phone now has an independent contact list again. I also love mutt and lbdb. Since I started to maintain my contacts in Org-mode and not in .mutt_aliases and lbdb can query my contacts.org, I am pretty happy with this situation. Loose contacts get into my system via lbdb and close contacts get their Org-mode entry. > I did see someone created a org-contacts.el based on the format, but > their site is now offline. > > So after a three year experiment, I think I can say my org-mode > contact management has failed. This is it? What about having the possibility to use references to contacts within Org-mode? I use them all the time. What about organizing contacts in a hierarchy like family trees. I can not resemble any other contact manager where it is that easy as in Org-mode. What about the possibility to mix TODOs and events with contact? I love the fact that I can add appointments with my dentist below his contact-headline ... and add a TODO if I have to transfer him money or something like that. These are all features that lets me accept missing sync features and so forth. > Thus I pose the question: What is a valid contact manager for a > console-mode user with sync, fast searching and update? Anyway, I am curious what other options are out there :-) -- Karl Voit
Russell Adams: > Thus I pose the question: What is a valid contact manager for a > console-mode user with sync, fast searching and update? Hallo Russell, I'm also searching for a contact manager since ages. What I want to try when I've time (tm): - GNU recutils - plain text database, avail. in Debian et al. http://www.gnu.org/software/recutils - http://www.nongnu.org/addressbook From the author of recutils but abandoned. Elisp, like lbdb but uses vcard3 format. Would be wonderful if somebody would update to [vx]card4. - Postgresql on the Desktop After having worked with Hadoop and looked into other NoSQL systems I'd like to have a closer look at old SQL stuff again. MySQL vulgarized me. ...But wouldn't it be better to use something semantic for contact management? Regards, Thomas Koch, http://www.koch.ro
Hi Thomas,
Thomas Koch <thomas@koch.ro> writes:
> - http://www.nongnu.org/addressbook
> From the author of recutils but abandoned. Elisp, like lbdb but uses vcard3
> format. Would be wonderful if somebody would update to [vx]card4.
Jose is reading the list, so chances are that he will hear you :)
--
Bastien
- GNU recutils - plain text database, avail. in Debian et al. http://www.gnu.org/software/recutils - http://www.nongnu.org/addressbook From the author of recutils but abandoned. Elisp, like lbdb but uses vcard3 format. Would be wonderful if somebody would update to [vx]card4. I still use abook.el to manage my contacts. But the emacs mode to edit recfiles (rec-mode) is being improved a lot lately, and soon it will provide a much better user interface than abook, only more general. That is why I am not working on abook.el any further. You can try the latest recutils+rec-mode by cloning git://git.savannah.gnu.org/recutils.git -- Jose E. Marchesi http://www.jemarch.net GNU Project http://www.gnu.org
[-- Attachment #1: Type: text/plain, Size: 570 bytes --] On Thu, Jul 19, 2012 at 4:40 PM, Russell Adams <RLAdams@adamsinfoserv.com>wrote: Thus I pose the question: What is a valid contact manager for a > console-mode user with sync, fast searching and update? > Curious - have you given BBDB a shot? There is a lot of action of late on BBDB V3. There is also a bi-directional sync utility for BBDB <-> Outlook / Google Contacts (Disclaimer: I the author of the said utility - http://karra-asynk.appspot.com/) It appears like much can be gained by upping the level of integration between Org mode and BBDB. Thoughts? -Karra [-- Attachment #2: Type: text/html, Size: 958 bytes --]
On Wed, Aug 08, 2012 at 02:04:23PM +0200, Thomas Koch wrote: > Russell Adams: > > Thus I pose the question: What is a valid contact manager for a > > console-mode user with sync, fast searching and update? > > Hallo Russell, > > I'm also searching for a contact manager since ages. What I want to try when > I've time (tm): > > - GNU recutils - plain text database, avail. in Debian et al. > http://www.gnu.org/software/recutils > > - http://www.nongnu.org/addressbook > From the author of recutils but abandoned. Elisp, like lbdb but uses vcard3 > format. Would be wonderful if somebody would update to [vx]card4. > > - Postgresql on the Desktop > After having worked with Hadoop and looked into other NoSQL systems I'd like > to have a closer look at old SQL stuff again. MySQL vulgarized me. > > ...But wouldn't it be better to use something semantic for contact management? I'd like to see semantic's for everything! I may have to give BBDB3 a whirl, given I've started to pickup elisp. My initial experience was hideous, but if I can get phone integration perhaps it'd be worth the pain. On the semantic note, I found a utility called tmsu recently (http://tmsu.org/) which allows semantic tagging of files. There was a cool looking filesystem called Tagsistant too, but it unfortunately appears abandoned. Thanks. > > Regards, > > Thomas Koch, http://www.koch.ro > ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
Russell Adams <RLAdams@AdamsInfoServ.Com> wrote:
> I'd like to see semantic's for everything! I may have to give BBDB3 a
> whirl, given I've started to pickup elisp. My initial experience was
> hideous, but if I can get phone integration perhaps it'd be worth the
> pain.
>
I can sympathize: I tried bbdb a long time ago and tried to bend it to
my will. I was left battered and bruised and gave up on it. However,
once I let go and decided to let it do whatever it wants, it is almost
bearable (apart from mailing lists that attach different names to the
same email address: the change review emails for openstack are driving
me batty right now). But I store phone numbers, addresses, email
addresses and even birthdays and anniversaries in there and that has
been a rather good experience. But my needs are simple, and depending on
the kind of phone integration you are looking for, bbdb might not be
enough. What exactly are you looking for?
Nick
[-- Attachment #1: Type: text/plain, Size: 362 bytes --] On Fri, Aug 10, 2012 at 12:11 PM, Nick Dokos <nicholas.dokos@hp.com> wrote: > been a rather good experience. But my needs are simple, and depending on > the kind of phone integration you are looking for, bbdb might not be > enough. What exactly are you looking for? > Nick, What is the kind of phone integration for which BBDB does not work for you? -Sriram [-- Attachment #2: Type: text/html, Size: 685 bytes --]
Sriram Karra <karra.etc@gmail.com> wrote:
> On Fri, Aug 10, 2012 at 12:11 PM, Nick Dokos <nicholas.dokos@hp.com> wrote:
>
>
> been a rather good experience. But my needs are simple, and depending on
> the kind of phone integration you are looking for, bbdb might not be
> enough. What exactly are you looking for?
>
> Nick, What is the kind of phone integration for which BBDB does not work for you?
>
I don't think I ever said it's not working for me. I just don't know
what "phone integration" means for other people: for me, I look up a
phone number by name and dial it. As I said, simple needs (and amply
met by bbdb).
Nick
* Russell Adams <RLAdams@AdamsInfoServ.Com> wrote: > > On the semantic note, I found a utility called tmsu recently > (http://tmsu.org/) which allows semantic tagging of files. There was a > cool looking filesystem called Tagsistant too, but it unfortunately > appears abandoned. I was doing research for four years and I am writing a dissertation exactly about this topic. For my research, I created [1]. From my perspective: there is nothing practical out there to tag files on the file system layer. There were "Semantic File System", "TagFS", "SemFS", and many more. All of them either abandoned or never made it to stable. Nepomuk/KDE seems to be the most promising but I am not up to date on Nepomuk any more. For OS X there are some add-ons which more or less try to integrate into the system. But chances are high that Apple will change from HFS+ to probably ZFS. Apple officially never supported the streams of HFS+ and therefore I am afraid, any tags stored there will get lost some day. Microsoft and Google do not want to support multi-classification. I was talking to several guys on conferences. Apple never shows up. tagstore [1] works on all platforms but is only scalable up to a few thousand items (files or folders) because of inode limit. If you are using tagstore on a file system with no inode limit, it might be a cool solution for you as well. All in all: no solution that satisfies everybody. Yet. My solution for now: many things are organized in Org-mode where I can link and tag things. Memacs I do like *very* much for this purpose: [2] If you need something for tagging which is compatible with *any* application out there and you do not need more than a few thousand items, tagstore should be fine as well. For example for movies it should be cool in any case. If you need more infos, you can wait for my PhD to be finished (2012-11). It should contain all relevant information or at least a link to other documents that contain the answer to your questions related to the topic of retrieving files using navigation. 1. http://tagstore.org 2. https://github.com/novoid/Memacs PS: Sorry for the shameless plug but you asked for it :-) -- Karl Voit
It appears that there is a discrepancy between Org's source blocks and Babel processing. Org's source blocks all show up-case (#+BEGIN_SRC): http://orgmode.org/manual/Structure-of-code-blocks.html#Structure-of-code-blocks Babel only appears to process lower-case blocks (#+begin_src): http://orgmode.org/worg/org-contrib/babel/intro.html I can confirm in 7.8.10 that Babel is not executing blocks unless they are lowercase, while Org's source block handling works normally with either case. ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
Russell Adams <RLAdams@AdamsInfoServ.Com> wrote:
> It appears that there is a discrepancy between Org's source blocks and
> Babel processing.
>
> Org's source blocks all show up-case (#+BEGIN_SRC):
>
> http://orgmode.org/manual/Structure-of-code-blocks.html#Structure-of-code-blocks
>
> Babel only appears to process lower-case blocks (#+begin_src):
>
> http://orgmode.org/worg/org-contrib/babel/intro.html
>
> I can confirm in 7.8.10 that Babel is not executing blocks unless they
> are lowercase, while Org's source block handling works normally with
> either case.
>
I can't reproduce this with latest or with release_7.8.10: babel seems
to execute source code blocks no matter what combination of upper/lower
case letters go into forming the #+BEGIN_SRC/#+END_SRC markers. I press
C-C C-c on a source code block and it is evaluated. Is that how you test
or are you perhaps using a different criterion?
Nick
On Wed, Nov 21, 2012 at 05:06:34PM -0500, Nick Dokos wrote: > Russell Adams <RLAdams@AdamsInfoServ.Com> wrote: > > > It appears that there is a discrepancy between Org's source blocks and > > Babel processing. > > > > Org's source blocks all show up-case (#+BEGIN_SRC): > > > > http://orgmode.org/manual/Structure-of-code-blocks.html#Structure-of-code-blocks > > > > Babel only appears to process lower-case blocks (#+begin_src): > > > > http://orgmode.org/worg/org-contrib/babel/intro.html > > > > I can confirm in 7.8.10 that Babel is not executing blocks unless they > > are lowercase, while Org's source block handling works normally with > > either case. > > > > I can't reproduce this with latest or with release_7.8.10: babel seems > to execute source code blocks no matter what combination of upper/lower > case letters go into forming the #+BEGIN_SRC/#+END_SRC markers. I press > C-C C-c on a source code block and it is evaluated. Is that how you test > or are you perhaps using a different criterion? > > Nick M-x org-babel-execute-buffer I was also having a problem with export skipping headlines that were out of order, I hope I didn't combine the two. * One ** Two **** Three Three didn't export or have Babel execute. ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3
Russell Adams <RLAdams@AdamsInfoServ.Com> wrote: > On Wed, Nov 21, 2012 at 05:06:34PM -0500, Nick Dokos wrote: > > Russell Adams <RLAdams@AdamsInfoServ.Com> wrote: > > > > > It appears that there is a discrepancy between Org's source blocks and > > > Babel processing. > > > > > > Org's source blocks all show up-case (#+BEGIN_SRC): > > > > > > http://orgmode.org/manual/Structure-of-code-blocks.html#Structure-of-code-blocks > > > > > > Babel only appears to process lower-case blocks (#+begin_src): > > > > > > http://orgmode.org/worg/org-contrib/babel/intro.html > > > > > > I can confirm in 7.8.10 that Babel is not executing blocks unless they > > > are lowercase, while Org's source block handling works normally with > > > either case. > > > > > > > I can't reproduce this with latest or with release_7.8.10: babel seems > > to execute source code blocks no matter what combination of upper/lower > > case letters go into forming the #+BEGIN_SRC/#+END_SRC markers. I press > > C-C C-c on a source code block and it is evaluated. Is that how you test > > or are you perhaps using a different criterion? > > > > Nick > > M-x org-babel-execute-buffer > I still cannot reproduce it. org-babel-execute-buffer calls org-babel-execute-src-block on every source block, which calls org-babel-get-src-block-info to get the info. org-babel-get-src-block-info let-binds case-fold-search to t before calling org-babel-where-is-src-block-head and therefore the latter should do a case-independent search for the #+begin_src part. That's indeed how things work in my case (both latest and 7.8.10). You might want to step through this chain with the debugger and make sure that things happen properly. But I don't see anything wrong in the current code (or the 7.8.10 code: afaict, it behaves identically in this respect). Nick > I was also having a problem with export skipping headlines that were > out of order, I hope I didn't combine the two. > > * One > > ** Two > > **** Three > > Three didn't export or have Babel execute. >
> I still cannot reproduce it. > > org-babel-execute-buffer calls org-babel-execute-src-block on every > source block, which calls org-babel-get-src-block-info to get the info. > > org-babel-get-src-block-info let-binds case-fold-search to t before > calling org-babel-where-is-src-block-head and therefore the latter > should do a case-independent search for the #+begin_src part. That's > indeed how things work in my case (both latest and 7.8.10). > > You might want to step through this chain with the debugger and make sure > that things happen properly. But I don't see anything wrong in the current > code (or the 7.8.10 code: afaict, it behaves identically in this respect). > > Nick Specifically I was working on getting results, and they were never added under the source block. I don't know if it was the lower-case or the heading level. If you can't reproduce it, I'll chalk it up to user error. I'm crunching some important docs, and moved on. ------------------------------------------------------------------ Russell Adams RLAdams@AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3