[O] Re: [BUG] fill-paragraph in orgstruct mode blows up
Hello, Nick Dokos nicholas.do...@hp.com writes: I use orgstruct mode when composing email and fill-paragraph blew up with the following backtrace when I tried to fill a paragraph after a drawer, as described in the last paragraph of this email. This should be fixed now. Thanks for your report (again). Regards, -- Nicolas
[O] Re: [Feature Request] Cross headings in tables
Achim Gratz strom...@nexgo.de writes: git://repo.or.cz/org-mode/org-tableheadings.git I've just pushed a commit to have the key C-c _ (underscore, since tilde ~ is already in use for conversion of table.el tables to org tables) insert table header rows, just like C-c - inserts a hline. That would make this feature complete as far as I am concerned. As always, feedback and suggestions are welcome. Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptation for Waldorf rackAttack V1.04R1: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
Re: [O] [REGRESSION] Html Export
At Thu, 17 Mar 2011 21:57:40 +0530, Jambunathan K wrote: Can someone fix this regression in the HTML exporter - 294dcb. The problem is with hyperlink whose description is an image. So have unicorn logo on the dir where you save this file. Would appreciate if the whole document exports fine without any regression. 7b74ef1c135505b56537d6bdc18ad9e1a713154b fixed the exporter but forgot the img tag in hyperlink descriptions -- this should be fixed in master now. Will releasing a 7.5.1 version be a good idea considering that HTML exporter had quite a bumpy ride in the last few weeks. +1 Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpjnKdhU1b3U.pgp Description: PGP signature
Re: [O] Re: Another HTML Export Problem
At Thu, 17 Mar 2011 14:34:52 +, Eric S Fraga wrote: I don't know if this is the same problem but exporting, to HTML, the Yes, this was a symptom of the broken HTML export. Should be fixed now. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpq3ZsnjwF5V.pgp Description: PGP signature
Re: [O] Bug when publishing images
At Wed, 16 Mar 2011 10:17:41 +0100, Francesco Pizzolante wrote: Hi David, There's still a little problem though when adding a caption: --8---cut here---start-8--- #+CAPTION: toto [[file:toto.png]] --8---cut here---end---8--- Indeed. I overlooked a stray p tag. This one is fixed by now. Again, thanks a lot for the fix: it's perfect at the level of the image now. There's still a small problem with the caption being escaped (I thought it would disappear with your previous fix, that's why I didn't add it to my example, so here it is now). This should be fix now. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgp1tl9asnExO.pgp Description: PGP signature
Re: [O] org-publish not publishing changed files
At Fri, 18 Mar 2011 19:19:50 -0700, Suvayu Ali wrote: On Fri, 18 Mar 2011 21:33:04 -0400 Nick Dokos nicholas.do...@hp.com wrote: If you can figure out *why* they got out of sync, that would be a bonus and worth a post here, particularly if you can identify a bug in the code. I think there was a post sometime earlier where the OP faced this issue because his setup used symlinks. The timestamps of the symlinks didn't change so the publishing didn't happen. The issue with publishing symlinked files was fixed in Januar by b4979a86ca10d058a780440e88c5a3e33c1adff5. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpPD7u4yZUDY.pgp Description: PGP signature
Re: [O] org-publish not publishing changed files
On Sun, 20 Mar 2011 12:30:32 +0100 David Maus dm...@ictsoc.de wrote: At Fri, 18 Mar 2011 19:19:50 -0700, Suvayu Ali wrote: I think there was a post sometime earlier where the OP faced this issue because his setup used symlinks. The timestamps of the symlinks didn't change so the publishing didn't happen. The issue with publishing symlinked files was fixed in Januar by b4979a86ca10d058a780440e88c5a3e33c1adff5. Thanks for correcting me David. :) Best, -- David -- Suvayu Open source is the future. It sets us free.
[O] absolute HTML links
I just know I'm going to get pointed to a bit of documentation I haven't come across, but… I've made a link abbreviation that I want to export to HTML directly as an absolute link: #+LINK: mylink /absolute/url/%s/ I'd like [[mylink:bob][link text]] to export as: a href=/absolute/url/bob/link text/a Right now the link is turned into a file:// protocol. Do I have any recourse here? Thanks! Eric
[O] Re: Org minor mode in mail-mode
René jl...@yahoo.com writes: Here is the the configuration I run (defun turn-on-full-org-mailing () (turn-on-orgstruct++) (turn-on-orgtbl) (load org-html-mail)) (add-hook 'mail-mode-hook 'turn-on-full-org-mailing) Unfortunately with this, calling M-q (fill-paragraph) right after the header separator (--text follows this line--) leads to filling the header along with the first paragraph of my mail. [...] Any idea on how to make use of org minor mode in mail-mode and still be able to fill-paragraph without impacting mail headers? The org minor modes set the local value of fill-paragraph-function to org-fill-paragraph. You can override this by adding a line to your hook function: (defun turn-on-full-org-mailing () (turn-on-orgstruct++) (turn-on-orgtbl) (load org-html-mail) (setq fill-paragraph-function 'message-fill-paragraph)) I'm not sure how this will affect calling fill on lists or tables, however. A proper fix would probably add a test to org-fill-paragraph to see if we are in message mode. Best, Matt
[O] babel R: should/does order of parameters matter?
Hello, First of all thanks very much for all the very well explained help given in previous threads I have started. Now, I have found different results arise from a difference in position of parameters (I'm using commit c01c2ad Fri Mar 18, R version 2.12.20, Feb 25): #+TBLNAME: data | x | parameter | value | |---+---+---| | 0 | heat |30 | | 1 | heat |30 | This next block works as I expect and returns the column names: #+source: namesNFirst #+begin_src R :var N :var tbl :var param :colnames yes names(tbl) #+end_src #+call: namesNFirst(N=10,tbl=data,param=heat) #+results: namesNFirst(N=10,tbl=data,param=heat) | x | | parameter | | value | Now, I would expect this to return the same result as above: #+source: namesNLast #+begin_src R :var tbl :var param :var N :colnames yes names(tbl) #+end_src #+call: namesNLast(tbl=data,param=heat,N=10) but it doesn't: #+results: namesNLast(tbl=data,param=heat,N=10) | X0 | | heat | | X30 | Removing the string parameter 'param', and again it works as expected: #+source: namesNoParam #+begin_src R :var tbl :var N :colnames yes names(tbl) #+end_src #+call: namesNoParam(tbl=data,N=10) #+results: namesNoParam(tbl=data,N=10) | x | | parameter | | value | I can't find any difference R-side when using :session. At this stage I am asking for help; is this intended or a bug?. Thanks. Myles
Re: [O] hide #+ lines?
I gotta admit, I find the general tone of attention to detail and professional respect on this list quite refreshing. There's few lists to which I subscribe that's as consistently helpful and polite. Compliments to all. Cheers. Fil On 19 March 2011 22:19, Nick Dokos nicholas.do...@hp.com wrote: Filippo A. Salustri salus...@ryerson.ca wrote: You're right of course. Sorry about the mixup with the attribution. There was nothing wrong with your attribution. I was just adding some information to my previous posting about who suggested the drawer solution, but more importantly, adding the bit of setup needed: I think it's important to make each thread complete or provide enough references so that future wanderers can find their way without too much trouble. Nick, your previous post that mentioned org-drawers helped my hide the eval line. Thanks for that. As for the #+BEGIN block, my installation shows these lines in a rather gaudy orange, which I do find distracting. I found that those lines do have their own face, so I made 'em dark grey (my background is black). I can still see them, but it's the text in the block that stands out now. That sounds like a good solution. 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: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
[O] Re: Org minor mode in mail-mode
Hello, Matt Lundin m...@imapmail.org writes: Any idea on how to make use of org minor mode in mail-mode and still be able to fill-paragraph without impacting mail headers? The org minor modes set the local value of fill-paragraph-function to org-fill-paragraph. You can override this by adding a line to your hook function: (defun turn-on-full-org-mailing () (turn-on-orgstruct++) (turn-on-orgtbl) (load org-html-mail) (setq fill-paragraph-function 'message-fill-paragraph)) I'm not sure how this will affect calling fill on lists or tables, however. It will break list and tables filling. A proper fix would probably add a test to org-fill-paragraph to see if we are in message mode. Another idea would be to change `paragraph-start' and `paragraph-separate' values when turning on orgstruct and orgtbl. #+begin_src emacs-lisp (setq paragraph-start (concat (regexp-quote mail-header-separator) $\\| -- $\\| ; signature delimiter ---+$\\|; delimiters for forwarded messages page-delimiter $\\| ; spoiler warnings .*wrote:$\\|; attribution lines message-cite-prefix-regexp $\\| ; empty lines in quoted text ; mml tags #!*/?\\(multipart\\|part\\|external\\|mml\\|secure\\) paragraph-start)) (setq paragraph-separate paragraph-start) #+end_src Regards, -- Nicolas
[O] [babel] feature request: automatically connect source code block to its session
Hi all, I have a feature request (if what I want is not already possible, that is). Could a source code block, which has the :session header argument, be associated with its session as soon as C-' is pressed? The background to this question is, that all ess support functionality for R (r-autoyas, autocomplete-R, and ess-eldoc) need an associated R session. They start to function only as soon as the first line of the code block is evaluated, which associates the source buffer with its session. The autocomplete-R even fails to load without an associated R session (byte-code: Language mode `R-mode' fails with: Symbol nil may not be buffer-local) and this way cuts the connection to org, such that C-' becomes undefined. Regards, Andreas attachment: andreas_leha.vcf smime.p7s Description: S/MIME Cryptographic Signature
Re: [O] Re: [Orgmode] Headlines export problem
At Thu, 3 Mar 2011 10:10:16 +0100, PASZTOR Miklos wrote: Hello, Thanks for keeping an eye on this. Sorry for being silent. On Wed, Mar 02, 2011 at 06:48:56PM +0100, Bastien wrote: Hi, PASZTOR Miklos pasz...@iszt.hu writes: I'm using org-mode version 7.4. When I export org files to html - having H:2 in the options line - it seems that each third level headline becomes a *separate* unnumbered list. I cannot reproduce this problem with latest Org. Do you still have it? I do. I have pulled down the latest Org (release_7.4.589.gdc608), and if I have: 8-8 ** Second *** Third *** Several *** Times 8-8 I get: 8-8 h3 id=sec-1_1Second /h3 div class=outline-text-3 id=text-1_1 ul li id=sec-1_1_1Third br/ /li /ul ul li id=sec-1_1_2Several br/ /li /ul ul li id=sec-1_1_3Times br/ /li /ul /div 8-8 Please note the consecutive /ul ul tags. I can confirm this with Org-mode version 7.5 (release_7.5.90.g1fb3) on GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11 on raven, modified by Debian The level 3 headlines should be items of a single list. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgp5BNfdR5qLm.pgp Description: PGP signature
Re: [O] regexp link on windows problem
At Fri, 11 Mar 2011 13:41:45 + (UTC), Rafal wrote: Bastien bzg at altern.org writes: Hi Bastien, Can you give an example? So I'm trying to write a custom function to set regexp search string for c/c++ code by writing org-create-file-search-functions hook. (code #1 below ) After using the hook by issuing org-store-link in c/c++ buffer, and org-insert-link in org-mode buffer I noticed that the link has slashes instead of backslashes in my regexp. So I delved into the org-insert-link code and found out that it calls expand-file-name on the whole link (filename::regexp) which translates my regexp's backslashes to slashes. It happens only on emacs on windows, under linux it is ok. I also experimented by changing the culprit lines of org-store-link and it helped (code #2 below) but it seems to be too destructive. So I'm wondering if it is a bug that may be fixed or my way of doing it is wrong? I suppose more a glitch. AFAIK there is currently no distinction between real link target paths (files, directories etc.) and expressions that would qualify as a query part of a link (e.g. like the regexp). Maybe fiddling with percent escaping (Cf. org-link-escape and org-link-unescape) might provide a way to protect the slashes from conversion. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpNPqotOXQXS.pgp Description: PGP signature
Re: [O] fill-region and list items
At Tue, 08 Mar 2011 13:48:30 -0800, Michael Hohn wrote: Hi all, after upgrading to the current git head (version 7.xx, previously 6.36), fill-region produces wrong indentation for my lists. Starting with - one - very, very, very, very, very, very, very, very, very, very, very, very, long - short and marking the second item via mark-paragraph followed by fill-region results in - one - very, very, very, very, very, very, very, very, very, very, very, very, long - short I have tried different settings for org-list-ending-method but this doesn't change the result. Has anybody seen this? Erm.. To me the two lists look identical? What is the expected output? Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpY7dzkcJ00r.pgp Description: PGP signature
Re: [O] fill-region and list items
At Sun, 20 Mar 2011 18:14:26 +0100, David Maus wrote: Has anybody seen this? Erm.. To me the two lists look identical? What is the expected output? Forget this message, an artefact of scanning the list for bugs/issues forward in time starting om March, 6th. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpeJyT2hp0xX.pgp Description: PGP signature
Re: [O] org table calc and lisp for hh:mm timetable
I wrapped Bastien's functions below in a simple macro, which IMO results in a very nice way to handle time values in Org-mode tables as in the attached org file (below). Note, the first argument to the `with-time' macro controls whether results are returned as a time string or a numerical value. That argument may be followed by any number of (possibly nested) expressions. If this looks to be generally useful I'd be happy to post it to worg. Best -- Eric | time | miles | minutes/mile | |---+---+--| | 34:43 | 2.9 |11:58 | | 56:00 | 5.5 |10:10 | | 31:00 | 3.04 |10:11 | | 32:15 | 2.77 |11:38 | | 33:56 | 3.0 |11:18 | | 72:00 | 6.74 |10:40 | | 52:22 | 4.62 |11:20 | #+TBLFM: $3='(with-time t (/ $1 $2)) #+begin_src emacs-lisp :results silent (defun org-time-string-to-seconds (s) Convert a string HH:MM:SS to a number of seconds. (cond ((and (stringp s) (string-match \\([0-9]+\\):\\([0-9]+\\):\\([0-9]+\\) s)) (let ((hour (string-to-number (match-string 1 s))) (min (string-to-number (match-string 2 s))) (sec (string-to-number (match-string 3 s (+ (* hour 3600) (* min 60) sec))) ((and (stringp s) (string-match \\([0-9]+\\):\\([0-9]+\\) s)) (let ((min (string-to-number (match-string 1 s))) (sec (string-to-number (match-string 2 s (+ (* min 60) sec))) ((stringp s) (string-to-number s)) (t s))) (defun org-time-seconds-to-string (secs) Convert a number of seconds to a time string. (cond ((= secs 3600) (format-seconds %h:%.2m:%.2s secs)) ((= secs 60) (format-seconds %m:%.2s secs)) (t (format-seconds %s secs (defmacro with-time (time-output-p rest exprs) Evaluate an org-table formula, converting all fields that look like time data to integer seconds. If TIME-OUTPUT-P then return the result as a time value. (list (if time-output-p 'org-time-seconds-to-string 'identity) (cons 'progn (mapcar (lambda (expr) `,(cons (car expr) (mapcar (lambda (el) (if (listp el) (list 'with-time nil el) (org-time-string-to-seconds el))) (cdr expr `,@exprs #+end_src Bastien b...@altern.org writes: Hi Martin, Martin Halder martin.hal...@gmail.com writes: this is fantastic, already love lisp, thanks a lot.. now I have exactly what I wanted.. additionally I needed the time format in industrial mode (1h = 100m = 100s), implemented in ihms. thanks for these functions -- I allowed myself to add them to Worg/org-hacks.html, in a new Times computation section: http://orgmode.org/worg/org-hacks.html I added these functions I myself wrote for a particular purpose: #+begin_src emacs-lisp (defun org-hh:mm:ss-string-to-seconds (s) Convert a string HH:MM:SS to a number of seconds. (when (string-match \\([0-9]+\\):\\([0-9]+\\):\\([0-9]+\\) s) (let ((hour (string-to-number (match-string 1 s))) (min (string-to-number (match-string 2 s))) (sec (string-to-number (match-string 3 s (+ (* hour 3600) (* min 60) sec (defun org-subtract-hh:mm:ss-time (t1 t2) Substract two hh:mm:ss time values. (let* ((sec (- (org-hh:mm:ss-string-to-seconds t2) (org-hh:mm:ss-string-to-seconds t1))) (hour (floor (/ sec 3600))) (min (floor (/ (- sec (* 3600 hour)) 60))) (secs (round (- sec (* 3600 hour) (* 60 min) (format %.2d:%.2d:%.2d hour min secs))) #+end_src With these function, you can subtract durations in a table like this: | Part |Begin | End | Duration | |---+--+--+--| | One | 00:00:00 | 00:01:11 | 00:01:11 | | Two | 00:01:12 | 00:02:00 | 00:00:48 | | Three | 00:02:05 | 00:16:06 | 00:14:01 | #+TBLFM: $4='(org-subtract-hh:mm:ss-time $2 $3) Which was useful for me when I had to derush video files. HTH,
Re: [O] org table calc and lisp for hh:mm timetable
I wrapped Bastien's functions below in a simple macro, which IMO results in a very nice way to handle time values in Org-mode tables as shown below. Note, the first argument to the `with-time' macro controls whether results are returned as a time string or a numerical value. That argument may be followed by any number of expressions. | time | miles | minutes/mile | |---+---+--| | 34:43 | 2.9 |11:58 | | 56:00 | 5.5 |10:10 | | 31:00 | 3.04 |10:11 | | 32:15 | 2.77 |11:38 | | 33:56 | 3.0 |11:18 | | 72:00 | 6.74 |10:40 | | 52:22 | 4.62 |11:20 | #+TBLFM: $3='(with-time t (/ $1 $2)) #+begin_src emacs-lisp (defun org-time-string-to-seconds (s) Convert a string HH:MM:SS to a number of seconds. (cond ((and (stringp s) (string-match \\([0-9]+\\):\\([0-9]+\\):\\([0-9]+\\) s)) (let ((hour (string-to-number (match-string 1 s))) (min (string-to-number (match-string 2 s))) (sec (string-to-number (match-string 3 s (+ (* hour 3600) (* min 60) sec))) ((and (stringp s) (string-match \\([0-9]+\\):\\([0-9]+\\) s)) (let ((min (string-to-number (match-string 1 s))) (sec (string-to-number (match-string 2 s (+ (* min 60) sec))) ((stringp s) (string-to-number s)) (t s))) (defun org-time-seconds-to-string (secs) Convert a number of seconds to a time string. (cond ((= secs 3600) (format-seconds %h:%.2m:%.2s secs)) ((= secs 60) (format-seconds %m:%.2s secs)) (t (format-seconds %s secs (defmacro with-time (time-output-p rest exprs) Evaluate an org-table formula, converting all fields that look like time data to integer seconds. If TIME-OUTPUT-P then return the result as a time value. (list (if time-output-p 'org-time-seconds-to-string 'identity) (cons 'progn (mapcar (lambda (expr) `,(cons (car expr) (mapcar #'org-time-string-to-seconds (cdr expr `,@exprs #+end_src Bastien b...@altern.org writes: Hi Martin, Martin Halder martin.hal...@gmail.com writes: this is fantastic, already love lisp, thanks a lot.. now I have exactly what I wanted.. additionally I needed the time format in industrial mode (1h = 100m = 100s), implemented in ihms. thanks for these functions -- I allowed myself to add them to Worg/org-hacks.html, in a new Times computation section: http://orgmode.org/worg/org-hacks.html I added these functions I myself wrote for a particular purpose: #+begin_src emacs-lisp (defun org-hh:mm:ss-string-to-seconds (s) Convert a string HH:MM:SS to a number of seconds. (when (string-match \\([0-9]+\\):\\([0-9]+\\):\\([0-9]+\\) s) (let ((hour (string-to-number (match-string 1 s))) (min (string-to-number (match-string 2 s))) (sec (string-to-number (match-string 3 s (+ (* hour 3600) (* min 60) sec (defun org-subtract-hh:mm:ss-time (t1 t2) Substract two hh:mm:ss time values. (let* ((sec (- (org-hh:mm:ss-string-to-seconds t2) (org-hh:mm:ss-string-to-seconds t1))) (hour (floor (/ sec 3600))) (min (floor (/ (- sec (* 3600 hour)) 60))) (secs (round (- sec (* 3600 hour) (* 60 min) (format %.2d:%.2d:%.2d hour min secs))) #+end_src With these function, you can subtract durations in a table like this: | Part |Begin | End | Duration | |---+--+--+--| | One | 00:00:00 | 00:01:11 | 00:01:11 | | Two | 00:01:12 | 00:02:00 | 00:00:48 | | Three | 00:02:05 | 00:16:06 | 00:14:01 | #+TBLFM: $4='(org-subtract-hh:mm:ss-time $2 $3) Which was useful for me when I had to derush video files. HTH,
Re: [O] gnowsys-mode update?
Hello Thanks everyone for your interest in the project. It is indeed designed to adhere with semantic web, designed on top of GNOWSYS. Org-mode made it all very simple for representing the entire concept inside emacs in a text based format. Please feel free to use it and let me know if any help required. I would appreciate your efforts to test and report any bugs found and also any features that you would like to be incorpated in it. On Sun, Mar 20, 2011 at 5:42 AM, brian powell briangpowel...@gmail.comwrote: I too am interested in gnowsys-mode and have been meaning to look more deeply into it. I remember reviewing gnowsys-mode and it looked very interesting and related to the semantic web and there was a semantic web workshop in Reston, VA recently--gnowsys-mode was on the agenda. THere may be some exciting apps one could make with a mashup with org-mode and gnowsys-mode (with one or the other as an emacs sub/minor-mode). On Sat, Mar 19, 2011 at 6:33 PM, Martin Weigele mar...@weigele.de wrote: Thank you very much Nagarjuna G - Am Samstag, 19. März 2011, 12:19:46 schrieb Nagarjuna G: On Fri, Mar 18, 2011 at 8:25 PM, Martin Weigele mar...@weigele.de wrote: Hi all, I've run into some texts about gnowsys as a major mode extending org, ... ... Yes. We use the gnowsys-mode interface for sites running using gnowsys. So far this is the only complete interface for gnowsys. Mostly used by the developers and those who maintain the sites, such as atlas.gnowledge.org OK I understand now the starting point to understand gnowsys, and, hence, for gnowsys on top of orgmode is http://www.gnu.org/software/gnowsys . This is so great. I am glad that somewhere some one is interested in this project. It is very encouraging. Let me know what kind of usecase you have thought about for using gnowsys-mode. The project is even in pre-infancy state, but it is about using such modelling to understand and learn structures in humanities (for me coming from a CS background). Martin -- Cheers Divya
[O] Re: Custom Agenda View for Projects
Jason McBrayer jmcb...@carcosa.net writes: I can see the same behaviour here. I only get a few of my PROJECT headlines if org-enforce-todo-dependencies is t; I get all of them if it is nil. My value for org-todo-keywords is: ((type TODO NEXTACTION INPROCESS WAITING NEEDSPREREQ | DONE DELEGATED CANCELLED) (type PROJECT | COMPLETED) (type SOMEDAY MAYBE | CANCELLED)) The odd thing, to me, is that this doesn't seem to affect e.g. WAITING or SOMEDAY tasks, though those are not likely to have children, which PROJECT headlines certainly will. Hi Jason, I think this is org-mode's normal dimmed blocked blocked task handling. Do you by any chance have it set to invisible which will hide the blocked tasks completely? Regards, -- Bernt
[O] Re: Problem with agenda and diary
Nick Dokos nicholas.do...@hp.com writes: Not sure why my reply was addressed the way it was: left Julien out, replied directly to Tassilo and the ML. There is something funky going on with my mailer. Hi Nick, I think that is because Julien's mail has an explicit Mail-Followup-To header that specifies replied should go somewhere else. I don't think using M-F-T headers is a good idea on mailing lists. Regards, -- Bernt
[O] Re: Bug: org-footnote-renumber-fn:N breaks if a footnote is the first thing on a line [7.5 (release_7.5.77.g74268)]
Tassilo Horn th...@fastmail.fm writes: 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. If a footnote is the first thing in a line, then org-footnote-renumber-fn:N will break. It does not error, but the footnote turns into [fn:]. Here's a recipe. Let's say, you have this minimal org file: --8---cut here---start-8--- this is a test file with a footnote [fn:1] * Footnotes [fn:1] test. --8---cut here---end---8--- As you can see, the footnote is the first thing in a line. Now calling org-footnote-renumber-fn:N produces: --8---cut here---start-8--- this is a test file with a footnote [fn:] * Footnotes [fn:] test. --8---cut here---end---8--- This is a major bug, because in larger org documents chances are high that you don't notice the breakage at first. The problem is that: --8---cut here---start-8--- (defun org-footnote-renumber-fn:N () Renumber the simple footnotes like fn:17 into a sequence in the document. (interactive) (let (map i (n 0)) (save-excursion (save-restriction (widen) (goto-char (point-min)) (while (re-search-forward \\[fn:\\([0-9]+\\)[]:] nil t) (setq i (string-to-number (match-string 1))) (when (and (string-match \\S- (buffer-substring (point-at-bol) (match-beginning 0))) ^^ (not (assq i map))) (push (cons i (number-to-string (incf n))) map))) (goto-char (point-min)) (while (re-search-forward \\(\\[fn:\\)\\([0-9]+\\)\\([]:]\\) nil t) (replace-match (concat \\1 (cdr (assq (string-to-number (match-string 2)) map)) \\3))) --8---cut here---end---8--- I don't understand `string-match' test underlined above. In my case, the buffer-substring that is tested is the empty string . That makes the test fail. Basically, the test ensures that the footnote is not the first thing in the line, but why? The assq check already ensures that the footnote definition lists produce no duplicates. Attached is a patch that simply deletes the check. It works fine for me. I also added an assertion that checks that you never replace a footnote with [fn:]. If the number after renumbering is nil, then an error is produced. Emacs : GNU Emacs 24.0.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.22.1) of 2011-03-12 on thinkpad Package: Org-mode version 7.5 (release_7.5.77.g74268) Bye, Tassilo From ce5a7f085ddaa67b3712884e6d86500ed075c399 Mon Sep 17 00:00:00 2001 From: Tassilo Horn tass...@member.fsf.org Date: Sun, 20 Mar 2011 19:58:44 +0100 Subject: [PATCH] Fix renumbering for footnotes at BOL. --- lisp/org-footnote.el |8 1 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lisp/org-footnote.el b/lisp/org-footnote.el index 9dbd6be..3985469 100644 --- a/lisp/org-footnote.el +++ b/lisp/org-footnote.el @@ -570,13 +570,13 @@ and all references of a footnote label. (goto-char (point-min)) (while (re-search-forward \\[fn:\\([0-9]+\\)[]:] nil t) (setq i (string-to-number (match-string 1))) - (when (and (string-match \\S- (buffer-substring - (point-at-bol) (match-beginning 0))) - (not (assq i map))) + (when (not (assq i map)) (push (cons i (number-to-string (incf n))) map))) (goto-char (point-min)) (while (re-search-forward \\(\\[fn:\\)\\([0-9]+\\)\\([]:]\\) nil t) - (replace-match (concat \\1 (cdr (assq (string-to-number (match-string 2)) map)) \\3))) + (setq i (cdr (assq (string-to-number (match-string 2)) map))) + (assert (progn i) t Footnote has no number. Better undo renumbering!) + (replace-match (concat \\1 i \\3))) (defun org-footnote-auto-adjust-maybe () Renumber and/or sort footnotes according to user settings. -- 1.7.4.1
[O] Re: help with sorting agenda views
Filippo A. Salustri salus...@ryerson.ca writes: Hi, I'm getting confused with sorting agenda views. Hopefully someone can help me out. I have a custom agenda view that, today, looks like this: Friday 18 March 2011 UTMIE: In 13 d.: TODO [#A] Annual Report Matthew:In -1 d.: TODO Edit Matthew's thesis. iMac: Deadline: TODO Archive email Thunderbird iMe:In 1 d.: REVIEW Tag my zotero library 8101: In 5 d.: REVIEW Grade Assignment 4 The second item is late. I wish I could get late items to show up first, before all else. At the moment, the custom agenda command includes this bit: (0 Show ACTIVE/REVIEW/BUG tasks ((agenda ((org-agenda-sorting-strategy (quote ((agenda time-up priority-down)) (todo REVIEW|ACTIVE|WIP))) I thought that doing this would make sure late items came first. In my .emacs, I also have this bit in custom-set-variables: '(org-agenda-sorting-strategy (quote ((agenda time-up priority-down) (todo priority-down) ))) I checked the doc and google, and I can't find anything helpful. Can someone advise me? Hi Filippo, I have a custom agenda sorting function that orders items in the agenda specifically the way I want. You should be able to adapt this for your needs. Details are at http://doc.norang.ca/org-mode.html#sec-16_3_5 Regards, -- Bernt
Re: [O] Re: org-src-fontify-natively makes things very, very slow
Le Wang l26w...@gmail.com writes: On Sun, Mar 20, 2011 at 4:34 AM, Eric S Fraga e.fr...@ucl.ac.uk wrote: yes, I used to use yasnippet a lot but I don't any longer. I am actually in confusion as to which completion mechanism to use in Emacs these days and am going a little crazy... :( I'm currently playing with auto-complete. Why did you give up on yasnippet? Confusion amongst the key bindings, between org, yasnippet and the autocompletion tools I have been trying. I want to be able to use TAB for completion. I may come back to yasnippet in due course so it's nothing to do with yasnippet per se. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.90.g1fb3.dirty)
Re: [O] Re: Another HTML Export Problem
David Maus maus.da...@gmail.com writes: At Thu, 17 Mar 2011 14:34:52 +, Eric S Fraga wrote: I don't know if this is the same problem but exporting, to HTML, the Yes, this was a symptom of the broken HTML export. Should be fixed now. It is indeed. Many thanks. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.90.g1fb3.dirty)
Re: [O] org table calc and lisp for hh:mm timetable
Eric Schulte schulte.e...@gmail.com writes: I wrapped Bastien's functions below in a simple macro, which IMO results in a very nice way to handle time values in Org-mode tables as in the attached org file (below). Note, the first argument to the `with-time' macro controls whether results are returned as a time string or a numerical value. That argument may be followed by any number of (possibly nested) expressions. If this looks to be generally useful I'd be happy to post it to worg. Although I don't need it now, I *know* I will need something like this in the future so please do put it up on Worg! Nice and elegant. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.90.g1fb3.dirty)
[O] Re: [PATCH] Wash output of org-encrypt-entry, take 3
Óscar Fuentes o...@wanadoo.es writes: +(defun org-crypt-wash-encrypted-string (str) + Remove superfluos and annoying text from the encrypted string. + (with-temp-buffer Typo in the docstring: superfluos - superfluous -- Bernt
Re: [O] org table calc and lisp for hh:mm timetable
Hi, Returning to this thread: 1. I love Eric's macro wrapper idea -- now time arithmetic in tables gets truly manageable. If it's not included into Org-mode, it's a must for Worg! 2. There's duplication with org-timer-hms-to-secs and org-timer-secs-to-hms. (Cf. my http://permalink.gmane.org/gmane.emacs.orgmode/39501.) Do Martin's/Bastien's/Eric's hms/seconds conversion functions add value that should be patched into org-timer? 3. One thing Eric's converters do and org-timer doesn't is to handle a string with only two two-digit groups (e.g. 12:45). Eric's converters interpret it as 12m 45s -- good for running times. The functions I posted (see link above) interpreted such strings as 12h 45m -- good for time of day. I suggest the latter is more convenient for most use cases: When I'm working with seconds (running times, audio track durations) it's sort of a technical use, so I'm prepared to add 0 hours in front. When a time of day like 12:45 is good enough, I don't want to have to add 00 seconds in back. (And am/pm is not used in my locale.) Yours, Christian On 3/20/11 6:50 PM, Eric Schulte wrote: I wrapped Bastien's functions below in a simple macro, which IMO results in a very nice way to handle time values in Org-mode tables as shown below. Note, the first argument to the `with-time' macro controls whether results are returned as a time string or a numerical value. That argument may be followed by any number of expressions. | time | miles | minutes/mile | |---+---+--| | 34:43 | 2.9 |11:58 | | 56:00 | 5.5 |10:10 | | 31:00 | 3.04 |10:11 | | 32:15 | 2.77 |11:38 | | 33:56 | 3.0 |11:18 | | 72:00 | 6.74 |10:40 | | 52:22 | 4.62 |11:20 | #+TBLFM: $3='(with-time t (/ $1 $2)) #+begin_src emacs-lisp (defun org-time-string-to-seconds (s) Convert a string HH:MM:SS to a number of seconds. (cond ((and (stringp s) (string-match \\([0-9]+\\):\\([0-9]+\\):\\([0-9]+\\) s)) (let ((hour (string-to-number (match-string 1 s))) (min (string-to-number (match-string 2 s))) (sec (string-to-number (match-string 3 s (+ (* hour 3600) (* min 60) sec))) ((and (stringp s) (string-match \\([0-9]+\\):\\([0-9]+\\) s)) (let ((min (string-to-number (match-string 1 s))) (sec (string-to-number (match-string 2 s (+ (* min 60) sec))) ((stringp s) (string-to-number s)) (t s))) (defun org-time-seconds-to-string (secs) Convert a number of seconds to a time string. (cond ((= secs 3600) (format-seconds %h:%.2m:%.2s secs)) ((= secs 60) (format-seconds %m:%.2s secs)) (t (format-seconds %s secs (defmacro with-time (time-output-prest exprs) Evaluate an org-table formula, converting all fields that look like time data to integer seconds. If TIME-OUTPUT-P then return the result as a time value. (list (if time-output-p 'org-time-seconds-to-string 'identity) (cons 'progn (mapcar (lambda (expr) `,(cons (car expr) (mapcar #'org-time-string-to-seconds (cdr expr `,@exprs #+end_src Bastienb...@altern.org writes: Hi Martin, Martin Haldermartin.hal...@gmail.com writes: this is fantastic, already love lisp, thanks a lot.. now I have exactly what I wanted.. additionally I needed the time format in industrial mode (1h = 100m = 100s), implemented in ihms. thanks for these functions -- I allowed myself to add them to Worg/org-hacks.html, in a new Times computation section: http://orgmode.org/worg/org-hacks.html I added these functions I myself wrote for a particular purpose: #+begin_src emacs-lisp (defun org-hh:mm:ss-string-to-seconds (s) Convert a string HH:MM:SS to a number of seconds. (when (string-match \\([0-9]+\\):\\([0-9]+\\):\\([0-9]+\\) s) (let ((hour (string-to-number (match-string 1 s))) (min (string-to-number (match-string 2 s))) (sec (string-to-number (match-string 3 s (+ (* hour 3600) (* min 60) sec (defun org-subtract-hh:mm:ss-time (t1 t2) Substract two hh:mm:ss time values. (let* ((sec (- (org-hh:mm:ss-string-to-seconds t2) (org-hh:mm:ss-string-to-seconds t1))) (hour (floor (/ sec 3600))) (min (floor (/ (- sec (* 3600 hour)) 60))) (secs (round (- sec (* 3600 hour) (* 60 min) (format %.2d:%.2d:%.2d hour min secs))) #+end_src With these function, you can subtract durations in a table like this: | Part |Begin | End | Duration | |---+--+--+--| | One | 00:00:00 | 00:01:11 | 00:01:11 | | Two | 00:01:12 | 00:02:00 | 00:00:48 | | Three | 00:02:05 | 00:16:06 | 00:14:01 | #+TBLFM: $4='(org-subtract-hh:mm:ss-time $2 $3) Which was useful for me when I had to derush video files. HTH,
[O] Re: help with sorting agenda views
Bernt, Thanks. I've been reading your page on org; I just haven't gotten to section 16 yet. :) Cheers. Fil On 20 March 2011 15:34, Bernt Hansen be...@norang.ca wrote: Filippo A. Salustri salus...@ryerson.ca writes: Hi, I'm getting confused with sorting agenda views. Hopefully someone can help me out. I have a custom agenda view that, today, looks like this: Friday 18 March 2011 UTMIE: In 13 d.: TODO [#A] Annual Report Matthew: In -1 d.: TODO Edit Matthew's thesis. iMac: Deadline: TODO Archive email Thunderbird iMe: In 1 d.: REVIEW Tag my zotero library 8101: In 5 d.: REVIEW Grade Assignment 4 The second item is late. I wish I could get late items to show up first, before all else. At the moment, the custom agenda command includes this bit: (0 Show ACTIVE/REVIEW/BUG tasks ((agenda ((org-agenda-sorting-strategy (quote ((agenda time-up priority-down)) (todo REVIEW|ACTIVE|WIP))) I thought that doing this would make sure late items came first. In my .emacs, I also have this bit in custom-set-variables: '(org-agenda-sorting-strategy (quote ((agenda time-up priority-down) (todo priority-down) ))) I checked the doc and google, and I can't find anything helpful. Can someone advise me? Hi Filippo, I have a custom agenda sorting function that orders items in the agenda specifically the way I want. You should be able to adapt this for your needs. Details are at http://doc.norang.ca/org-mode.html#sec-16_3_5 Regards, -- Bernt -- 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: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/
[O] Re: [PATCH] Wash output of org-encrypt-entry, take 3
Óscar Fuentes o...@wanadoo.es writes: With a gpg executable with default settings, org-encrypt-entry produces output like this: -BEGIN PGP MESSAGE- Version: GnuPG v1.4.10 (GNU/Linux) jA0EAwMCBWZVym6QMPVgyTxreTb1AEL3uTO+qCh2lR9/Qxk4nEMpPr9/RwNk95Gb slUra9X+N+qSWghEHvvxY0Ol8Yw9Ko4n7JVhHFs= =E4vw -END PGP MESSAGE- The first line (Version:...) can change from machine to machine and over time (as gpg is updated with a new version.) This is problematic when the file is stored under version control, because as you decrypt and encrypt an entry that line will change and create differences among the file on the workspace and the file stored on VC. Second, the empty line just wastes space and it is plain ugly once we remove the first one with the Version text. Finally, on some systems (mostly Windows) depending on how your Emacs and gpg are configured, ^M characters may appear at the end of every line of gpg output once it is inserted on the Emacs buffer. This happens when the buffer uses Unix line-endings but gpg uses DOS line-endings. The patch removes all that junk from the encrypted text just before it is inserted on the buffer. I'm assuming that the transformations made by this patch are uncontroversial and desirable. If anyone actually prefers to keep that noise on his encrypted org entries, an alternative implementation that uses a configurable list of regexps is trivial to implement, but then every user would have to do some job for achieving the same result. patch snipped Other than the typo in the docstring this patch seems to work as advertised with my minimal testing on GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11 on raven, modified by Debian Regards, -- Bernt
[O] java snippet code not exported
I was carrying around this issue since long time, but today I finally understood what exactly the source is. Suppose I have this very simple orgfile, if I try to export it to html I get the error as below. Can anyone else reproduce it? I guess is font-locking problem but that should be a perfectly valid (even if perfectly useless java snippet). --8---cut here---start-8--- title #+begin_src java import static org.junit.Assert.*; #+end_src --8---cut here---end---8--- --8---cut here---start-8--- Debugger entered--Lisp error: (args-out-of-range 106 113) put-text-property(106 113 face font-lock-type-face) c-fontify-recorded-types-and-refs()... --8---cut here---end---8--- Thanks, Andrea -- Org-mode version 7.5 (release_7.5.60.g706a)
[O] Re: BUG: time entry window scrollbar always scrolls right
Le Wang l26w...@gmail.com writes: In the time entry prompt C-c !, when I press the up or down on the scroll-bar right scroll happens. Hi, I can reproduce this (after enabling the scroll bar which is normally off in my setup). It seems scrolling always moves forwards in time. This may be a bug in the calendar code and not org-mode. I can reproduce the same behaviour with M-x calendar and then hitting the up and down arrows on the scroll bar. GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11 on raven, modified by Debian Org-mode version 7.5 (release_7.5.102.g13665) Regards, -- Bernt
Re: [O] org table calc and lisp for hh:mm timetable
Christian Moe m...@christianmoe.com writes: Hi, Returning to this thread: 1. I love Eric's macro wrapper idea -- now time arithmetic in tables gets truly manageable. If it's not included into Org-mode, it's a must for Worg! Great, if no Org-mode changes result, then I will certainly post this code up to Worg. 2. There's duplication with org-timer-hms-to-secs and org-timer-secs-to-hms. (Cf. my http://permalink.gmane.org/gmane.emacs.orgmode/39501.) I believe these new functions are slightly more forgiving of alternate time format strings, than the strict format expected by the org-timer-* functions, however maybe it makes sense to consolidate these and the org-timer-* functions around a set of core org-time functions. Do Martin's/Bastien's/Eric's hms/seconds conversion functions add value that should be patched into org-timer? I think of these as separate from org-timer given that they mainly deal with table formulas, however maybe both these and org-timer-* could benefit from a centralized org-time-* functionality. 3. One thing Eric's converters do and org-timer doesn't is to handle a string with only two two-digit groups (e.g. 12:45). Eric's converters interpret it as 12m 45s -- good for running times. The functions I posted (see link above) interpreted such strings as 12h 45m -- good for time of day. I suggest the latter is more convenient for most use cases: When I'm working with seconds (running times, audio track durations) it's sort of a technical use, so I'm prepared to add 0 hours in front. When a time of day like 12:45 is good enough, I don't want to have to add 00 seconds in back. (And am/pm is not used in my locale.) I think the best would be for these functions (at least the table formula functions) to remain agnostic as to the actual denomination of the time, but rather just parse *:* as base sixty digits. That way a string like 1:20 could mean 80 minutes or 80 seconds, the parser needs not know which, and the formula writer would /hopefully/ get back what's expected. While this topic is raised, would it make sense for Org-mode table formula to automatically parse any time-like string into time units (i.e., base sixty). That would be the easiest for most users, and (I imagine) would rarely result in surprising and unexpected behavior. Best -- Eric Yours, Christian On 3/20/11 6:50 PM, Eric Schulte wrote: I wrapped Bastien's functions below in a simple macro, which IMO results in a very nice way to handle time values in Org-mode tables as shown below. Note, the first argument to the `with-time' macro controls whether results are returned as a time string or a numerical value. That argument may be followed by any number of expressions. | time | miles | minutes/mile | |---+---+--| | 34:43 | 2.9 |11:58 | | 56:00 | 5.5 |10:10 | | 31:00 | 3.04 |10:11 | | 32:15 | 2.77 |11:38 | | 33:56 | 3.0 |11:18 | | 72:00 | 6.74 |10:40 | | 52:22 | 4.62 |11:20 | #+TBLFM: $3='(with-time t (/ $1 $2)) #+begin_src emacs-lisp (defun org-time-string-to-seconds (s) Convert a string HH:MM:SS to a number of seconds. (cond ((and (stringp s) (string-match \\([0-9]+\\):\\([0-9]+\\):\\([0-9]+\\) s)) (let ((hour (string-to-number (match-string 1 s))) (min (string-to-number (match-string 2 s))) (sec (string-to-number (match-string 3 s (+ (* hour 3600) (* min 60) sec))) ((and (stringp s) (string-match \\([0-9]+\\):\\([0-9]+\\) s)) (let ((min (string-to-number (match-string 1 s))) (sec (string-to-number (match-string 2 s (+ (* min 60) sec))) ((stringp s) (string-to-number s)) (t s))) (defun org-time-seconds-to-string (secs) Convert a number of seconds to a time string. (cond ((= secs 3600) (format-seconds %h:%.2m:%.2s secs)) ((= secs 60) (format-seconds %m:%.2s secs)) (t (format-seconds %s secs (defmacro with-time (time-output-prest exprs) Evaluate an org-table formula, converting all fields that look like time data to integer seconds. If TIME-OUTPUT-P then return the result as a time value. (list (if time-output-p 'org-time-seconds-to-string 'identity) (cons 'progn (mapcar (lambda (expr) `,(cons (car expr) (mapcar #'org-time-string-to-seconds (cdr expr `,@exprs #+end_src Bastienb...@altern.org writes: Hi Martin, Martin Haldermartin.hal...@gmail.com writes: this is fantastic, already love lisp, thanks a lot.. now I have exactly what I wanted.. additionally I needed the time format in industrial mode (1h = 100m = 100s), implemented in ihms. thanks for these functions -- I allowed myself to add them to Worg/org-hacks.html, in a new Times computation section:
[O] latest version of perl script to pull org stuff for geektool
Hi all, I've tweaked the script I recently posted to be a little more complete, and I attach it here. There's a customization part that you need to tweak. I've put some doc for it inside the script. Bastien suggested it should go into Worg. It would be my pleasure to do that but as I've never used git for things like this, and I'm nearing the end of my semester, I'm too distracted with grading to do it now. I will try to get to it once I've finished that stuff. Cheers. Fil -- 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: salus...@ryerson.ca http://deseng.ryerson.ca/~fil/ orgsummary.pl Description: Binary data
[O] Re: Another HTML Export Problem
David Maus maus.da...@gmail.com writes: At Thu, 17 Mar 2011 14:34:52 +, Eric S Fraga wrote: I don't know if this is the same problem but exporting, to HTML, the Yes, this was a symptom of the broken HTML export. Should be fixed now. Hi David, I think there is yet another HTML export issue with the current development code. --8---cut here---start-8--- * Test [2011-03-20 Sun] [2011-03-20 Sun] org.el --8---cut here---end---8--- exported here: http://www.norang.ca/tmp/org-scratch.html exports to HTML as --8---cut here---start-8--- ... body div id=content h1 class=titleorg-scratch/h1 div id=table-of-contents h2Table of Contents/h2 div id=text-table-of-contents ul lia href=#sec-11 Test /a/li /ul /div /div div id=outline-container-1 class=outline-2 h2 id=sec-1span class=section-number-21/span Test /h2 div class=outline-text-2 id=text-1 p span class=timestamp-wrapper span class=timestamp2011-03-20 Sun/span/spanlt;br/gt; span class=timestamp-wrapper span class=timestamp2011-03-20 Sun/span/spanlt;br/gt; org.el /p/div /div div id=postamble p class=dateDate: 2011-03-20 21:31:20 EDT/p p class=authorAuthor: Bernt Hansen/p p class=creatorOrg version 7.5 with Emacs version 23/p a href=http://validator.w3.org/check?uri=referer;Validate XHTML 1.0/a /div /div /body /html --8---cut here---end---8--- For the timestamps , | div class=outline-text-2 id=text-1 | | p span class=timestamp-wrapper span class=timestamp2011-03-20 Sun/span/spanlt;br/gt; | span class=timestamp-wrapper span class=timestamp2011-03-20 Sun/span/spanlt;br/gt; | org.el | /p/div ` The timestamps have the and brackets of br/ converted to lt; and gt; which is incorrect. I ran bisect and identified the following commit 6a369c26d3f936bc71cba9d7148dcecf1b2c9677 is the first bad commit commit 6a369c26d3f936bc71cba9d7148dcecf1b2c9677 Author: David Maus dm...@ictsoc.de Date: Sun Mar 13 20:27:12 2011 +0100 Expand char entities after creating markup for links and timestamps * org-html.el (org-html-make-link, org-html-handle-links): Protect generated XHTML elements. (org-export-as-html): Expand character entities after creating markup for links and timestamps. This fixes a problem with exporting active timestamps, reported by Daniel Clemente n142...@gmail.com. :04 04 1508340e77dca86766af48df2eadf747070f89ce ca668c398391b307e49113fb592fb68195640896 M lisp Regards, -- Bernt
Re: [O] Re: org-src-fontify-natively makes things very, very slow
On Mon, Mar 21, 2011 at 3:41 AM, Eric S Fraga e.fr...@ucl.ac.uk wrote: Le Wang l26w...@gmail.com writes: Why did you give up on yasnippet? Confusion amongst the key bindings, between org, yasnippet and the autocompletion tools I have been trying. I want to be able to use TAB for completion. I may come back to yasnippet in due course so it's nothing to do with yasnippet per se. I too had this issue of expansion confusion, especially when I installed the premade yasnippet packs. I solved it by adding moving yasnippet off the [tab] key, and adding it to hippie-expand, which I map to (M-/): (setq yas/trigger-key nil) (add-to-list 'hippie-expand-try-functions-list 'yas/hippie-try-expand) -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.90.g1fb3.dirty) -- Le
[O] Re: BUG: time entry window scrollbar always scrolls right
On Mon, Mar 21, 2011 at 6:19 AM, Bernt Hansen be...@norang.ca wrote: Le Wang l26w...@gmail.com writes: In the time entry prompt C-c !, when I press the up or down on the scroll-bar right scroll happens. Hi, I can reproduce this (after enabling the scroll bar which is normally off in my setup). It seems scrolling always moves forwards in time. This may be a bug in the calendar code and not org-mode. I can reproduce the same behaviour with M-x calendar I filed an Emacs bug: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8305 -- Le
[O] Re: Another HTML Export Problem
Hi Bernt, At Sun, 20 Mar 2011 21:46:19 -0400, Bernt Hansen wrote: David Maus maus.da...@gmail.com writes: At Thu, 17 Mar 2011 14:34:52 +, Eric S Fraga wrote: I don't know if this is the same problem but exporting, to HTML, the Yes, this was a symptom of the broken HTML export. Should be fixed now. I think there is yet another HTML export issue with the current development code. Indeed. This should be fixed now as well. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpXSEY1mZMQx.pgp Description: PGP signature