Re: [O] Outline and org-mode don't insert text into folded sections logically

2011-10-29 Thread Carsten Dominik
On 30.10.2011, at 02:07, Bastien wrote: > Hi Suvayu, > > suvayu ali writes: > >> Ah! Okay that seems reasonable, lets see what others think. :) > > I've now pushed this commit so that more people can test it. While I think that this is a potentially useful idea, I would like to point out a

Re: [O] Tags included in subtree export title despite tags:nil in header

2011-10-29 Thread Nick Dokos
Suvayu Ali wrote: > In the attached patch, I use the variable org-export-with-tags to check > whether tags should be included or skipped in the export title. However > irrespective of the export options I get the value not-in-toc. As a > result, the tags are not included even if tags:t is set. >

Re: [O] Outline and org-mode don't insert text into folded sections logically

2011-10-29 Thread Bastien
Hi Suvayu, suvayu ali writes: > Ah! Okay that seems reasonable, lets see what others think. :) I've now pushed this commit so that more people can test it. -- Bastien

Re: [O] [patch] Don't output preamble DIV if its contents is empty

2011-10-29 Thread Bastien
Hi Sébastien, "Sebastien Vauban" writes: > Question: why do we do like that (inserting the ChangeLog contents after the > first line of the commit log)? Is it automatically used somewhere to generate > a proper ChangeLog file? Yes -- see UTILITIES/make_emacs_changelog which collects logs from

Re: [O] Trying to use a custom face for highlighting tags used in agenda filtering

2011-10-29 Thread Bastien
Hi Sébastien, "Sebastien Vauban" writes: >> I've updated the patch using org-propertize instead of propertize > > OK, for better XEmacs support, if I understand well. Yes. >> and using a better default for the face :) > > Well, I wouldn't call org-default a better default, but that's fine with

Re: [O] Tags included in subtree export title despite tags:nil in header

2011-10-29 Thread Suvayu Ali
Hi Bastien and others, On Sat, 29 Oct 2011 18:13:49 +0200 Bastien wrote: > Hi Suvayu, > > Suvayu Ali writes: > > > Sorry I should have provided an example file in the first place. I > > am not setting the EXPORT_TITLE property. The bug is the tags:nil > > option is not respected whether it is

Re: [O] Trying to use a custom face for highlighting tags used in agenda filtering

2011-10-29 Thread Sebastien Vauban
Hi Bastien, Bastien wrote: > "Sebastien Vauban" writes: > >> Please find a (very useful ;-)) patch for highlighting (in the mode-line) >> the tags which are used to filter the agenda. > > Applied thanks. Thanks. > I've updated the patch using org-propertize instead of propertize OK, for better

Re: [O] [patch] Don't output preamble DIV if its contents is empty

2011-10-29 Thread Sebastien Vauban
Hi Bastien, Bastien wrote: > "Sebastien Vauban" writes: >>> are there adverse effects when an empty div is in the file? >> >> Yes, there are, reason for such patch. > > I understand the reasons and I have applied the patch -- please provide a > ChangeLog next time. I can assure you that I'll do,

[O] Bug: Publishing with auto-sitemap is broken [7.7 (release_7.7.497.gae02e)]

2011-10-29 Thread Bernt Hansen
Hi Nicolas. Publishing with an automatically generated index file is broken for me. With org-publish-projects set with :auto-sitemap t :sitemap-filename "index.html" :sitemap-title "Test Publishing Area" :sitemap-style "tree" I get th

Re: [O] #+LaTeX_CLASS regex too restrictive?

2011-10-29 Thread Nick Dokos
Richard Lewis wrote: > At Sat, 29 Oct 2011 12:34:25 -0400, > Nick Dokos wrote: > > > > Richard Lewis wrote: > > > > > > > > The class name I'm using includes "/" characters. > > > > It seems to me that that's a bad idea: class names correspond to file > > names (without the .cls extension),

Re: [O] #+LaTeX_CLASS regex too restrictive?

2011-10-29 Thread Richard Lewis
At Sat, 29 Oct 2011 12:34:25 -0400, Nick Dokos wrote: > > Richard Lewis wrote: > > > > > The class name I'm using includes "/" characters. > > It seems to me that that's a bad idea: class names correspond to file > names (without the .cls extension), so "/" characters will probably > cause con

Re: [O] #+LaTeX_CLASS regex too restrictive?

2011-10-29 Thread Nick Dokos
Richard Lewis wrote: > > The class name I'm using includes "/" characters. It seems to me that that's a bad idea: class names correspond to file names (without the .cls extension), so "/" characters will probably cause confusion (at least on Unix-based filesystems). So instead of extending org

Re: [O] Outline and org-mode don't insert text into folded sections logically

2011-10-29 Thread suvayu ali
On Sat, Oct 29, 2011 at 18:15, Bastien wrote: > Hi Suvayu, > > suvayu ali writes: > >> This works beautifully! I noticed that there is a tiny lag (maybe >> about half a second) between the revealing and inserting the >> character. However there is no such issue if there is no need to >> reveal th

Re: [O] Outline and org-mode don't insert text into folded sections logically

2011-10-29 Thread Bastien
Hi Suvayu, suvayu ali writes: > This works beautifully! I noticed that there is a tiny lag (maybe > about half a second) between the revealing and inserting the > character. However there is no such issue if there is no need to > reveal the surrounding text. The lag is intentional -- just to ma

Re: [O] Tags included in subtree export title despite tags:nil in header

2011-10-29 Thread Bastien
Hi Suvayu, Suvayu Ali writes: > Sorry I should have provided an example file in the first place. I am > not setting the EXPORT_TITLE property. The bug is the tags:nil option > is not respected whether it is present in the file header or it is set > by the EXPORT_OPTIONS property for the exported

Re: [O] Outline and org-mode don't insert text into folded sections logically

2011-10-29 Thread suvayu ali
Hi Bastien, This works beautifully! I noticed that there is a tiny lag (maybe about half a second) between the revealing and inserting the character. However there is no such issue if there is no need to reveal the surrounding text. Thanks a lot for implementing this feature. :) On Sat, Oct 29

Re: [O] Outline and org-mode don't insert text into folded sections logically

2011-10-29 Thread Bastien
Hi Suvayu, suvayu ali writes: > Did you by any chance attach the old patch again? ;) Er, yes :) Here is the fresh one -- thanks for testing it. >> As for `org-reveal', please report a bug if it doesn't work >> as expected in specific parts of the buffer. > > I will try to make a more complete

Re: [O] Outline and org-mode don't insert text into folded sections logically

2011-10-29 Thread suvayu ali
Hi Bastien, On Sat, Oct 29, 2011 at 16:10, Bastien wrote: > Hi Suvayu, > > suvayu ali writes: > >> A few comments. I have also attached a small test file. > > thanks for the comments.   Can you try the updated patch? > It will take care of unfold the invisible part of the buffer > when trying to

Re: [O] [odt] Support for annotations/comments

2011-10-29 Thread Torsten Wagner
Hi, Jambunathan On Oct 29, 2011 7:32 AM, "Jambunathan K" > I needed an excuse for adding support for annotations. Exporting the > below org will produce the attached odt/pdf files. Note that the pdf > file is produced by LibreOffice pdf export. > > Annotations is a ODT only feature right now and wi

Re: [O] Tags included in subtree export title despite tags:nil in header

2011-10-29 Thread Suvayu Ali
Hi Bastien, On Sat, 29 Oct 2011 15:08:44 +0200 Bastien wrote: > Hi Suvayu, > > Suvayu Ali writes: > > > org-exp.el:2155:(defun org-export-get-title-from-subtree () > > Can you instrument this function with edbug-defun and see what might > be wrong with it? > Lines: 2170:(looking-a

Re: [O] Links to C/C++ source code lines

2011-10-29 Thread Rafal
Bastien altern.org> writes: > > > >> Looks nice, thanks. Just wondering: are you aware of the "A.3 Adding > >> hyperlink types" section in the manual? You core uses advice instead > >> of the `org-add-link-type' function -- is that on purpose? > > > > No, I missed that paragraph. That would be

Re: [O] Outline and org-mode don't insert text into folded sections logically

2011-10-29 Thread Bastien
Hi Suvayu, suvayu ali writes: > A few comments. I have also attached a small test file. thanks for the comments. Can you try the updated patch? It will take care of unfold the invisible part of the buffer when trying to edit _in_ it and _right after it_. As for `org-reveal', please report a

Re: [O] Tags included in subtree export title despite tags:nil in header

2011-10-29 Thread Bastien
Hi Suvayu, Suvayu Ali writes: > org-exp.el:2155:(defun org-export-get-title-from-subtree () Can you instrument this function with edbug-defun and see what might be wrong with it? I tried this file: , | * file | | ** beamer :noexport: |:PROPERTIES: |:EXPORT_TITLE: beamertitle |

Re: [O] #+LaTeX_CLASS regex too restrictive?

2011-10-29 Thread Bastien
Hi Richard, Richard Lewis writes: > I updated my org-mode repository last night and found today that my > LaTeX export wasn't working anymore because it couldn't find the LaTeX > class: "No definition for class `%s' in `org-export-latex-classes'". > > The class name I'm using includes "/" charac

Re: [O] Bug in HTML export

2011-10-29 Thread Bastien
Hi Pavel, Pavel Panchekha writes: > Ampersands in #+AUTHOR: declarations are not correctly escaped by > Org-mode. > > To reproduce, export: > > #+AUTHOR: a & b > > You'll find the line > > > > in the output, but it should be > > > > The same problem occurs with other special characters in auth

Re: [O] [PATCH] org-capture, removing whitespace from new captures

2011-10-29 Thread Bastien
Hi Paul, Paul writes: > In fact adding whitespace-cleanup to org-capture-before-finalize-hook > was what I tried first, but it didn't do what I wanted. This hook is > called _after_ the buffer is widened - making whitespace-cleanup > operate on the _entire_ buffer, not just the newly added capt

Re: [O] org-capture template property completion

2011-10-29 Thread Bastien
Hi, dlc writes: > I am an emacs novice attempting to use an org-capture template. The manual > indicates completion is available while expanding %^{prompt}. Can one get > completion on %^{prop}p for a property? I tried the same syntax for prompt > and that did not work. If you want to prompt

Re: [O] Variable publishing-directory? (resent with patch as attachment)

2011-10-29 Thread Bastien
Hi Kay, Kai Tetzlaff writes: > Here is an example: At home, i publish to a local directory > (:publishing-directory "~/tmp/publish-test") but at work i would like to > publish directly to a webserver (:publishing-directory > "/plinkx:doxydoc:~/public_html/publish-test" - this is on w32, using >

Re: [O] "git describe" in version of info file with "make info_git_describe"

2011-10-29 Thread Michael Brand
Hi Achim On Fri, Oct 28, 2011 at 11:26, Achim Gratz wrote: > Again I don't know if or when this gets merged. I've already used up my > TINYCHANGEs and hit an impasse with the FSF papers that I don't know how > to resolve... :-( Then again, the build system doesn't really become > part of Emacs,

Re: [O] [patch] Don't output preamble DIV if its contents is empty

2011-10-29 Thread Bastien
Hi Sébastien, "Sebastien Vauban" writes: >> are there adverse effects when an empty div is in the file? > > Yes, there are, reason for such patch. I understand the reasons and I have applied the patch -- please provide a ChangeLog next time. You can provide it like you just did (with the tag

Re: [O] Trying to use a custom face for highlighting tags used in agenda filtering

2011-10-29 Thread Bastien
Hi Sébastien, "Sebastien Vauban" writes: > Please find a (very useful ;-)) patch for highlighting (in the mode-line) the > tags which are used to filter the agenda. Applied thanks. I've updated the patch using org-propertize instead of propertize and using a better default for the face :) >

Re: [O] Makefile restructuring

2011-10-29 Thread Michael Brand
Hi Achim On Fri, Oct 28, 2011 at 12:00, Achim Gratz wrote: > As discussed in another thread, the version from git-describe is now > also recorded into the info documentation. see here for the thread: http://lists.gnu.org/archive/html/emacs-orgmode/2011-06/msg00054.html I have looked into your br

[O] #+LaTeX_CLASS regex too restrictive?

2011-10-29 Thread Richard Lewis
Hi there, I updated my org-mode repository last night and found today that my LaTeX export wasn't working anymore because it couldn't find the LaTeX class: "No definition for class `%s' in `org-export-latex-classes'". The class name I'm using includes "/" characters. However, the regex for matchi

Re: [O] [odt] Support for annotations/comments

2011-10-29 Thread Bastien
Hi Jambunathan, Jambunathan K writes: > I needed an excuse for adding support for annotations. Exporting the > below org will produce the attached odt/pdf files. Note that the pdf > file is produced by LibreOffice pdf export. This is very nice, thanks! > Annotations is a ODT only feature right

Re: [O] emacs 24.1 and org compatibility

2011-10-29 Thread Michael Bach
Tassilo Horn writes: Hi Tassilo! > Usually, if you've adapted your `load-path' to include the org lisp > direcory before requiring/loading anything from org, then all the > bundled org files from emacs should be shadowed. Yeah, I thought so as well. I manage org-mode (git) and my other 3rd par

Re: [O] bad link on website

2011-10-29 Thread Bastien
Hi Brian, Brian van den Broek writes: > The page contains the text >Links below point to the development version of the manual. >If you want to read the latest released manuals (currently for >Org 7.7), please browse this directory. > where "th

Re: [O] pycallgraph to org-mode

2011-10-29 Thread Bastien
Hi Andrea, Andrea Crotti writes: > I think it might come very handy, is there anything already to convert a > graphviz > directed graph into an org-mode file (it might speed up the process)? > Or any code I should take a look at? Not that i'm aware of. Let us know how it goes... -- Bastien

Re: [O] [ANN] Org Mode parser v0.0.1 for NodeJs

2011-10-29 Thread Bastien
Hi Eric, Eric Schulte writes: > We should start a page on Worg with links to external tools for > manipulating Org-mode files. Such a page could point to this > implementation as well as the python, ruby org libraries and maybe even > the Vim clone of Org-mode. There is such a page already:

Re: [O] The org paper manual - tools used

2011-10-29 Thread Bastien
Hi Marcelo, Marcelo de Moraes Serpa writes: > How was the process, from org file to tex to paper? Brian Gough might be the one to answer this. Brian worked on improving org.texi by submitting a lot of patches -- improving the syntax, etc. See Org's git history around november-december 2010 t

[O] Incorrect html export link for "%252F" forward slash

2011-10-29 Thread Robert Hotchkiss
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. --

Re: [O] Elisp programming style

2011-10-29 Thread Thorsten
Tom Prince writes: > Perhaps > > ,--- > | (defun main-function (args) > | (let ((var (assoc :key1 args))) ; extracting var once > | ... > | (helper-f