Re: [Orgmode] [PATCH] Always return refreshed category

2010-12-22 Thread Carsten Dominik
Applied, thanks. - Carsten On Dec 22, 2010, at 3:06 PM, Julien Danjou wrote: * org-icalendar.el (org-print-icalendar-entries): Do not manually refresh categories. * org-clock.el (org-clock-insert-selection-line): Do not manually refresh categories. * org.el (org-get-category): Refresh cate

[Accepted] [Orgmode] Always return refreshed category

2010-12-22 Thread Carsten Dominik
Patch 505 (http://patchwork.newartisans.com/patch/505/) is now "Accepted". Maintainer comment: No comment This relates to the following submission: http://mid.gmane.org/%3C1293026785-12467-1-git-send-email-julien%40danjou.info%3E Here is the original message containing the patch: > Content-Typ

Re: [Orgmode] c-c c-e 1 a crashes

2010-12-22 Thread Samuel Wales
hi nick, thanks for that work. can this be put in the core so that everything will work for everybody? samuel -- Q: How many CDC "scientists" does it take to change a lightbulb? A: "You only think it's dark." [CDC has denied a deadly serious disease for 25 years] == HIV-like virus: htt

[Accepted] [Orgmode] Re: Need help with org and SSH

2010-12-22 Thread Carsten Dominik
Patch 507 (http://patchwork.newartisans.com/patch/507/) is now "Accepted". Maintainer comment: No comment This relates to the following submission: http://mid.gmane.org/%3Cm162ulr93s.fsf%4094.197.185.4.threembb.co.uk%3E Here is the original message containing the patch: > Content-Type: text/pl

Re: [Orgmode] [PATCH] Add missing value to docstring for org-link-frame-setup

2010-12-22 Thread Carsten Dominik
Applied, thanks. - Carsten On Dec 22, 2010, at 4:40 AM, Bernt Hansen wrote: * lisp/org.el: Document missing value for org-link-frame-setup --- This patch is available at git://git.norang.ca/org-mode.git fix-doc -Bernt lisp/org.el |1 + 1 files changed, 1 insertions(+), 0 deletions(-) dif

[Accepted] [Orgmode] Add missing value to docstring for org-link-frame-setup

2010-12-22 Thread Carsten Dominik
Patch 500 (http://patchwork.newartisans.com/patch/500/) is now "Accepted". Maintainer comment: No comment This relates to the following submission: http://mid.gmane.org/%3C1292989227-9415-1-git-send-email-bernt%40norang.ca%3E Here is the original message containing the patch: > Content-Type: t

Re: [Orgmode] [PATCH] org-scan-tags: remove useless variable

2010-12-22 Thread Carsten Dominik
Rejected - the todo variable is used further down in the funtion. - Carsten On Dec 21, 2010, at 5:00 PM, Julien Danjou wrote: * lisp/org.el (org-scan-tags): remove useless todo variable. Signed-off-by: Julien Danjou --- lisp/org.el |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-

Re: [Orgmode] Re: Need help with org and SSH

2010-12-22 Thread Jeff Horn
On Wed, Dec 22, 2010 at 5:18 PM, Nick Dokos wrote: > Well, that's good - lets org off the hook and probably indicts your > setup (both .emacs and maybe the structure of your home directory itself). > Can you post the backtrace for this? Couldn't figure out how to copy the backtrace out of the she

Re: [Orgmode] Re: Need help with org and SSH

2010-12-22 Thread Jeff Horn
I'll post a backtrace as soon as I figure out how to get this stuff out of the Chrome OS shell. I might be able to send mail through gnus, assuming it isn't affected by this error. Jeff On Wed, Dec 22, 2010 at 5:18 PM, Nick Dokos wrote: > Jeff Horn wrote: > >> I enabled debug-on-quit and tried

Re: [Orgmode] Re: Need help with org and SSH

2010-12-22 Thread Jeff Horn
On Wed, Dec 22, 2010 at 8:06 PM, Dan Davison wrote: > So it sounds like the patch fixed the void-function error. Bernt's > suggestion of (setq org-startup-with-inline-images nil) would have had a > similar effect. I don't know under what circumstances / type of emacs > clear-image-cache is undefi

Re: [Orgmode] Wishlist: let org-refile find buffers that have been renamed

2010-12-22 Thread Nathan Neff
On Wed, Dec 22, 2010 at 8:53 PM, Suvayu Ali wrote: > On Wednesday 22 December 2010 06:08 PM, Hsiu-Khuern Tang wrote: >> >> Hi Samuel, >> >> Thanks for the suggestion.  I just tried it, and it does a nice job >> choosing easy-to-identify buffer names.  But those buffer names again >> do not come up

Re: [Orgmode] c-c c-e 1 a crashes

2010-12-22 Thread Nick Dokos
Samuel Wales wrote: > Perhaps activate-mark is an emacs 23 function. Emacs 22, latest org. > That is indeed the reason: I cribbed activate-mark and the variable select-active-regions from the 23.2 simple.el into an emacs-22.3 session and the export worked - adding them to your .emacs should pr

Re: [Orgmode] Wishlist: let org-refile find buffers that have been renamed

2010-12-22 Thread Suvayu Ali
On Wednesday 22 December 2010 06:08 PM, Hsiu-Khuern Tang wrote: Hi Samuel, Thanks for the suggestion. I just tried it, and it does a nice job choosing easy-to-identify buffer names. But those buffer names again do not come up for selection by C-c C-w (org-refile). I think org-refile ignores

[Orgmode] c-c c-e 1 a crashes

2010-12-22 Thread Samuel Wales
Perhaps activate-mark is an emacs 23 function. Emacs 22, latest org. Also, I was wondering, how often do people export the current file vs. the current region vs. the current subtree? I almost always export the current subtree. I wonder if most other people are that way also. If not, how do I

Re: [Orgmode] Wishlist: let org-refile find buffers that have been renamed

2010-12-22 Thread Hsiu-Khuern Tang
Hi Samuel, Thanks for the suggestion. I just tried it, and it does a nice job choosing easy-to-identify buffer names. But those buffer names again do not come up for selection by C-c C-w (org-refile). -- Best, Hsiu-Khuern. On Wed, Dec 22, 2010 at 4:58 PM, Samuel Wales wrote: > Did you try un

[Orgmode] Re: Need help with org and SSH

2010-12-22 Thread Dan Davison
Jeff Horn writes: > On Wed, Dec 22, 2010 at 12:49 PM, Dan Davison wrote: > >> The second one is lacking the fboundp protection. Does it help if you >> put the fboundp test in, as below? > > Dan, > > Thanks for the suggestion. I tried the patch and got a huge backtrace > full of binary characters

Re: [Orgmode] Wishlist: let org-refile find buffers that have been renamed

2010-12-22 Thread Samuel Wales
Did you try uniquify? ___ 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

[Orgmode] Wishlist: let org-refile find buffers that have been renamed

2010-12-22 Thread Hsiu-Khuern Tang
Hi, I have a perhaps unusual way of organizing my agenda files like this: project1/notes.org project2/notes.org ... and I use rename-buffer in each notes.org to make sure I can tell them apart, e.g., - In project1/notes.org, I have (rename-buffer "project1.org") - In project2/notes.org, I have

Re: [Orgmode] Re: Need help with org and SSH

2010-12-22 Thread Nick Dokos
Jeff Horn wrote: > I enabled debug-on-quit and tried looking at the backtrace while the > agenda was hanging. Somewhere along the way, many lines before the > error occurs, "~/org" is *correctly* translated as > "/Users/jeffreyhorn/Dropbox/org". The error is occurring immediately > after org "pre

Re: [Orgmode] Re: Need help with org and SSH

2010-12-22 Thread Jeff Horn
On Wed, Dec 22, 2010 at 3:32 PM, Nick Dokos wrote: > Jeff Horn wrote: > >> The recursion happens with the function 'file-truename' according to >> my message buffer. Maybe it's something in my config, afterall? >> > > C-h f file-truename says > > , > | file-truename is a compiled Lisp functio

[Orgmode] Dumping agenda from the CL: file not in org mode

2010-12-22 Thread Justin Bayer
Hi Group, I am currently trying to do this: http://kokoko.fluxionary.net/dump-emacs-org-mode-agendas-and-todo-lists-to-the-command-line However, running through the example, I run into: Press key for agenda command Agenda file ~/tmp/boing.org is not in `org-mode' My setup is: $ emacs

Re: [Orgmode] Re: Need help with org and SSH

2010-12-22 Thread Nick Dokos
Jeff Horn wrote: > The recursion happens with the function 'file-truename' according to > my message buffer. Maybe it's something in my config, afterall? > C-h f file-truename says , | file-truename is a compiled Lisp function in `files.el'. | | (file-truename FILENAME) | | Return the tr

[Orgmode] Re: Need help with org and SSH

2010-12-22 Thread Jeff Horn
The recursion happens with the function 'file-truename' according to my message buffer. Maybe it's something in my config, afterall? On Wed, Dec 22, 2010 at 2:00 PM, Jeff Horn wrote: > A quick update: This error is preventing me from doing most things > with org-mode, including using capture. > >

Re: [Orgmode] Re: Minor bug: org-agenda-holidays

2010-12-22 Thread Nick Dokos
Tassilo Horn wrote: > Nick Dokos writes: > > Hi Nick, > > > I don't think the patch is necessary: as Tassilo points out, > > list-calendar-holidays should exist in emacs versions before 23.1, it > > is obsoleted in 23.1 and replaced by calendar-list-holidays, but > > remains as an alias in ver

[Orgmode] using (id "Name") target in org-capture-templates

2010-12-22 Thread Sullivan, Gregory (US SSA)
I would like to have a template that will add a TODO below the "Tasks" heading in the current .org file. From the documentation, I would think that (setq org-capture-templates `(("t" "Todo (local)" entry (id "Tasks") "* TODO %? %i\n%T\n" :prepend t) )) would work, but org says

[Orgmode] Re: Minor bug: org-agenda-holidays

2010-12-22 Thread Tassilo Horn
Nick Dokos writes: Hi Nick, > I don't think the patch is necessary: as Tassilo points out, > list-calendar-holidays should exist in emacs versions before 23.1, it > is obsoleted in 23.1 and replaced by calendar-list-holidays, but > remains as an alias in versions 23.1 and after. I can confirm th

[Orgmode] Re: Need help with org and SSH

2010-12-22 Thread Jeff Horn
A quick update: This error is preventing me from doing most things with org-mode, including using capture. So I customized the variable Bernt referred to instead of putting it in my init file. Still get a recursion error. So I upped 'max-specpdl-size' and 'max-lisp-eval-depth' to huge values. Ema

[Orgmode] Bug: Items with priority not refile targets? [7.4]

2010-12-22 Thread Dave Abrahams
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.

[Orgmode] Re: Need help with org and SSH

2010-12-22 Thread Jeff Horn
On Wed, Dec 22, 2010 at 12:45 PM, Bernt Hansen wrote: > I turned off inline image display by default and this fixed it for me. > >   (setq org-startup-with-inline-images nil) Thanks, Bernt. Adding this to my init file throws a recursion error when calling the agenda. For now, calling agenda twic

Re: [Orgmode] Re: Need help with org and SSH

2010-12-22 Thread Jeff Horn
On Wed, Dec 22, 2010 at 12:49 PM, Dan Davison wrote: > The second one is lacking the fboundp protection. Does it help if you > put the fboundp test in, as below? Dan, Thanks for the suggestion. I tried the patch and got a huge backtrace full of binary characters. I don't know what is going on t

[Orgmode] Re: Need help with org and SSH

2010-12-22 Thread Dan Davison
Jeff Horn writes: > Hey orgsters, > > For the holiday trip, I decided to see if I could go a week with only > the Cr-48. I left my Macbook at home ready for SSH, just in case. > > It took approximately 30 minutes of using the computer before I > started itching for org. > > I've been having a hec

[Orgmode] Re: Need help with org and SSH

2010-12-22 Thread Bernt Hansen
Jeff Horn writes: > Hey orgsters, > > For the holiday trip, I decided to see if I could go a week with only > the Cr-48. I left my Macbook at home ready for SSH, just in case. > > It took approximately 30 minutes of using the computer before I > started itching for org. > > I've been having a hec

[Orgmode] Re: [PATCH] Skip source block fontification when the language is not defined

2010-12-22 Thread Bernt Hansen
Dan Davison writes: > Bernt Hansen writes: > >> I'm confused about _why_ I'm getting these errors though - I was >> expecting fontification only to apply to #+begin_src blocks and I'm only >> using a few languages in that document (sh, org, emacs-lisp, ditaa, and dot). >> >> Unless it's picking

[Orgmode] Need help with org and SSH

2010-12-22 Thread Jeff Horn
Hey orgsters, For the holiday trip, I decided to see if I could go a week with only the Cr-48. I left my Macbook at home ready for SSH, just in case. It took approximately 30 minutes of using the computer before I started itching for org. I've been having a heck of a time using emacs in the term

[Orgmode] [PATCH] org-agenda: simplify start/stop/duration time computing

2010-12-22 Thread Julien Danjou
* org-agenda.el (org-format-agenda-item): Simplify time comuting. Signed-off-by: Julien Danjou --- lisp/org-agenda.el | 31 +++ 1 files changed, 11 insertions(+), 20 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 1cdaaa0..8f597f5 100644 ---

Re: [Orgmode] Minor bug: org-agenda-holidays

2010-12-22 Thread Nick Dokos
Noorul Islam K M wrote: > Paul Sexton writes: > > > Yes. > > "Wrong type argument: commandp, list-calendar-holidays" > > > > > > I think the following patch will fix the issue for you. > > Log > [[[ > > Make org-agenda-holidays compatible with older versions of emacs. > > * lisp/org-agenda.

[Orgmode] Re: [PATCH] Skip source block fontification when the language is not defined

2010-12-22 Thread Dan Davison
Bernt Hansen writes: > Dan Davison writes: > >> Bernt Hansen writes: >> >>> * lisp/org.el: Skip source block fontification during export when language >>> is not defined >>> --- >>> This may not be the correct fix for this issue but it works for me. >> >> Hi Bernt, >> >> I've checked in a sligh

[Orgmode] Problems with buffer-local variables

2010-12-22 Thread Dan Davison
There's recently been some advocacy of using buffer-local variables for Org-mode configuration. It seems like a good idea to me. However, I think that it raises a problem: there are at least two situations in which Org internally spawns a buffer that is supposed to be a sort of "copy" of another Or

[Orgmode] Re: Fontification of blocks

2010-12-22 Thread Sébastien Vauban
Hi Dan, Dan Davison wrote: > Sébastien Vauban writes: >> "David O'Toole" wrote: >>> 2010/12/10 Sébastien Vauban : In order to make the blocks stand out more clearly in the mix of prose, code and table results of many Babel Org files, I've added 2 new faces: - org-block-begin-l

[Orgmode] [PATCH] Always return refreshed category

2010-12-22 Thread Julien Danjou
* org-icalendar.el (org-print-icalendar-entries): Do not manually refresh categories. * org-clock.el (org-clock-insert-selection-line): Do not manually refresh categories. * org.el (org-get-category): Refresh categories if no category found. (org-entry-properties): Do not manually refresh cat

[Orgmode] Re: [PATCH] Skip source block fontification when the language is not defined

2010-12-22 Thread Bernt Hansen
Dan Davison writes: > Bernt Hansen writes: > >> * lisp/org.el: Skip source block fontification during export when language >> is not defined >> --- >> This may not be the correct fix for this issue but it works for me. > > Hi Bernt, > > I've checked in a slightly different version[1] of this fix

[Orgmode] Re: Page numbering in manual

2010-12-22 Thread Alan E. Davis
Updating this to, I hope, clarify my request. I see that to convert to LaTeX is a chore, and don't know whether the file would be amenable to tweaks, like using the chappg LaTeX package. Texinfo is a black box for me. I am guessing that the best way to do this is to convert the Texinfo source in

[Orgmode] Re: Fontification of blocks

2010-12-22 Thread Dan Davison
Sébastien Vauban writes: > Hi David, > > "David O'Toole" wrote: >> 2010/12/10 Sébastien Vauban : >>> In order to make the blocks stand out more clearly in the mix of prose, code >>> and table results of many Babel Org files, I've added 2 new faces: >>> >>> - org-block-begin-line >>> - org-block-e

Re: [Orgmode] Bug: HTML export fails to close list [7.4 (release_7.4.80.g0e5e5)]

2010-12-22 Thread Noorul Islam K M
Nicolas Goaziou writes: > Hello, > >> Noorul Islam K M writes: > >> Actually I did not face this issue as I explained earlier, I am not >> sure why. > > Were you selecting the sub-tree before exporting? > No, I was not. Now I can re-produce it. Thanks and Regards Noorul ___

Re: [Orgmode] Bug: Jumping to a date in the agenda changes view back to 'day' [7.4 (release_7.4.80.g0e5e5)]

2010-12-22 Thread Bernt Hansen
Noorul Islam K M writes: > Bernt Hansen writes: > >> Hi, >> >> If you are viewing the agenda with a time span of a week (or anything >> larger than a day) and then use 'J' to jump to a new date the span >> changes back to day. >> > > For me, I have 'J' bound to (org-agenda-clock-goto) by default

Re: [Orgmode] Bug: HTML export fails to close list [7.4 (release_7.4.80.g0e5e5)]

2010-12-22 Thread Bernt Hansen
Nicolas Goaziou writes: > Hello, > >> Noorul Islam K M writes: > >> Actually I did not face this issue as I explained earlier, I am not >> sure why. > > Were you selecting the sub-tree before exporting? > > Regards, Yes I select the subtree with C-c @ then C-c C-e H. It seems to work if I ex

[Orgmode] Re: [PATCH] Skip source block fontification when the language is not defined

2010-12-22 Thread Dan Davison
Bernt Hansen writes: > * lisp/org.el: Skip source block fontification during export when language > is not defined > --- > This may not be the correct fix for this issue but it works for me. Hi Bernt, I've checked in a slightly different version[1] of this fix. Thanks for the report; it wasn't

[Orgmode] Re: - Bug: [CLOSED ?] Agenda view switches back to week with "g" [7.4]

2010-12-22 Thread Giovanni Ridolfi
adams...@email.unc.edu (Joel J. Adamson) writes: > > Emacs : GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.22.0) > of 2010-12-20 on edna > Package: Org-mode version 7.4 > > When I go into the weekly agenda, I use

[Orgmode] Re: Patch for ob-sql.el SQL output

2010-12-22 Thread Sébastien Vauban
Hi Charles, Charles Sebold wrote: > What do you think would be a good solution for the blank between the output > of a table and the row count if someone didn't run SET NOCOUNT ON? > > I mean, should that be another hline, or no blank line, or what? > > If somebody's trying to programatically use

[Orgmode] Re: Patch for ob-sql.el SQL output

2010-12-22 Thread Sébastien Vauban
Hi Charles and Eric, "Eric Schulte" wrote: > This looks great, I've just applied this most recent patch. For the SQL code blocks I currently play with (and with the `msosql' engine), it works great: - hline correctly outputted - last blank line correctly removed Thanks! Best regards, Seb --

Re: [Orgmode] Bug: HTML export fails to close list [7.4 (release_7.4.80.g0e5e5)]

2010-12-22 Thread Nicolas Goaziou
Hello, > Noorul Islam K M writes: > Actually I did not face this issue as I explained earlier, I am not > sure why. Were you selecting the sub-tree before exporting? Regards, -- Nicolas ___ Emacs-orgmode mailing list Please use `Reply All' to se

[Orgmode] [PATCH] Fix minor glitches on XEmacs

2010-12-22 Thread Michael Sperber
I had to apply this patch to make things work on XEmacs. First hunk: `calc-trail' does not appear to be used in `ob-calc' Second hunk: This seems to be a genuine bug (I don't see a '+' syntax class on GNU Emacs, either), and this is just my guess as to the fix. -- Cheers =8-} Mike Friede, Völk

Re: [Orgmode] Bug: HTML export fails to close list [7.4 (release_7.4.80.g0e5e5)]

2010-12-22 Thread Noorul Islam K M
Nicolas Goaziou writes: > Hello, > >> Bernt Hansen writes: > >> If you export the following org file to HTML the list is not >> terminated properly. There is a ORG-LIST-END tag in the source >> instead of the tags which results in invalid HTML. > > This should be fixed on master now. > > Th

Re: [Orgmode] Minor bug: org-agenda-holidays

2010-12-22 Thread Noorul Islam K M
Paul Sexton writes: > Yes. > "Wrong type argument: commandp, list-calendar-holidays" > > I think the following patch will fix the issue for you. Log [[[ Make org-agenda-holidays compatible with older versions of emacs. * lisp/org-agenda.el (org-agenda-holidays): Make this function compatible

Re: [Orgmode] Bug: HTML export fails to close list [7.4 (release_7.4.80.g0e5e5)]

2010-12-22 Thread Nicolas Goaziou
Hello, > Bernt Hansen writes: > If you export the following org file to HTML the list is not > terminated properly. There is a ORG-LIST-END tag in the source > instead of the tags which results in invalid HTML. This should be fixed on master now. Thanks for the report. Regard, -- Nicola

[Orgmode] [PATCH] Add explicit time zone to datetime exported to ical.

2010-12-22 Thread Rémi Vanicat
When exporting to ical, using localtime is incompatible with some software, using explicit universal time may failed with daylight saving time, so we need another possibility, that is localtime with explicit timezone. --- lisp/org-icalendar.el | 30 +- 1 files change