Re: [Orgmode] Re: Aligning Columns in HTML Export Tables
Carsten Dominik writes: > Baoqiu, > > (or any other users of the docbook exporter) > I am not sure if the docbook format has suffered from this change, > could you please run a few tests involving tables and report back? Thanks for supporting this new feature. DocBook exporter does not really suffer from this change, but it does not benefit from it either. After checking the documentation of DocBook and HTML table, it seems that using the "class" attribute in elements for alignment is not the best solution. Attribute "align" is officially supported by DocBook and HTML based on the following two links: 1. http://docbook.org/tdg5/en/html/html.td.html 2. http://www.w3.org/TR/html401/struct/tables.html#h-11.3.2 If I change "class" to "align" in the following lines, the same table can be recognized by both Firefox and DocBook. I am wondering if there is any special reason to use "class" instead of "align". If not, can we change the elisp code to use "align"? ABC 123 1213300 9114 Thanks! -- Baoqiu ___ 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] Re: [PATCH] quote the real csv separator
Łukasz Stelmach writes: > Carsten Dominik writes: > >> On Oct 24, 2010, at 12:56 AM, Łukasz Stelmach wrote: >> >>> I'd rather use an optional sep argument to the org-quote-csv-field >>> function but I've got no idea how to stick it into the orgtbl-apply- >>> fmt. However, the quoting function should use current rather then >>> assume comma. >>> > [...] >>> >> thanks for the patch, but I do not understand it. >> >> The separator for csv is always the comma, or am I wrong here? > > A bit. The fact is that both OpenOffice (i've just checked) and > Microsoft Office (I am almost 100% sure) allow to choose the separator > upon export. And org-mode also allows it with radio tables with the :sep > parameter (which is passed to the generic exporter). > >> So this function should use comma, hard-coded. The only place >> where it is used is when orgtbl-to-csv calls the generic >> exporter. It does so with comma as separator and with >> org-quote-csv-field as formatting function. >> >> What use case do you have in mind? > > For me in particular? This is quite complicated ;-) And if you decide to > reject the patch I will understand. (Read only I you have some time to > waste ;) > > My bank lets me download monthly reports as CSV. In fact they let me > choose the separator and the default value is the comma. But I choose > '|' because then I can open the csv as org file and just do > > (replace-regexp "^" "|") > > to get a beautiful org-mode table. There is an easier org-mode way I think. Just get the comma delimited data into your org file, select the region and C-c | to get your table. If you are inserting an external file with C-x i RET then C-x C-x marks the region and C-c | converts it to a table. If this works better for you then I would suggest dropping the patch. Regards, Bernt ___ 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
Re: [Orgmode] Table of Contents
On Sun, Oct 24, 2010 at 10:58:00PM -0200, Flavio Souza wrote: > I'd like to know if there is a way to change the "Table of Contents" > title, when publishing a HTML file. > > The reason is that I'd like to translate "Table of Contents" to > Portuguese automatically. Hi Flavio, Have a look at org-export-language-setup. You can customize this variable via M-x customize-variable. BR, .j. ___ 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] Table of Contents
Hi, I'd like to know if there is a way to change the "Table of Contents" title, when publishing a HTML file. The reason is that I'd like to translate "Table of Contents" to Portuguese automatically. How can I do that? Flavio Souza http://www.flaviosouza.org ___ 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
Re: [Orgmode] bug? - can't set effort from agenda
On 24 Oct 2010 at 15:45, George Pearson wrote: > The problem has now changed though, since I added this line to my two > org files: > > #+PRIORITIES: A Z Z > > Now when I type "e" on a task in the agenda, and hit a number key to > set the effort, I get the following: > > byte-code: Before first headline at position 223 in buffer master.org. > > Position 223 is the 1st character of the line following the priorities > line. I have also seen position 203, which is the first character of > the "priorities" line itself. Unfortunately, it would be a bit time- > consuming for me to remove the "priorities" line, as I now have a > number of tasks outside of the usual A-C range that would need to be > adjusted first. Can do it if necessary though. I have removed the "#+PRIORITIES" line and replaced it with customized settings (i.e. in .emacs). Same problem setting effort in the agenda though: byte-code: Before first headline at position 203 in buffer master.org Position 203 is now the beginning of the blank line after my other #+ lines and before the first headline. Here are the lines preceding position 203: #+STARTUP: odd #+STARTUP: hidestars #+STARTUP: logdone #+SEQ_TODO: TODO NEXT PENDING | DONE(d!) CANCELLED(c@) #+TAGS: [redacted] Ideas? ___ 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
Re: [Orgmode] VISIBILITY property and C-u C-u
On Sun, Oct 24, 2010 at 18:09, Gez wrote: >> Would you like to make a patch? > I would like to and I > read http://orgmode.org/worg/org-contribute.php#sec-3 but I don't have git. If you would like to this can also be hacked without git. For the first few patches on only one or two files I just downloaded the most recent version of the file(s) to be changed like e. g. doc/org.texi or lisp/org.el starting from http://repo.or.cz/w/org-mode.git/tree with the right most link `raw', made a copy of the file, changed the copy and after that made a `diff -up file_original file_changed'. To make this diff look like it came from git-diff I manually hacked the lines with --- and +++ to look like the commitdiff that can be seen in the history of the files on the above links and then posted this modified patch. ___ 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] Re: [PATCH] unicode nbsp in org-emphasis-regexp-components
Carsten Dominik writes: > On Oct 23, 2010, at 12:39 AM, Łukasz Stelmach wrote: > >> The Unicode contains a NON-BREAK SPACE character at position 0xA0. >> IMHO org-mode's emphasis code should by default treat this (any >> other?) character the same as normal space. When i write: >> >>It was a /big bang/. >> >> I'd like the "big bang" to be put in italic especially when exported >> to HTML. (I don't know if it goes properly through all the mailing >> systems but I put the "\u00A0" between "a" and "/" above.) >> [...] >> > > I am aftraid that this will break flavors of Emacs which do not > support unicode characters, like Emacs 22. Org-mode still supports > Emacs 22. And I do not know how to write this in a way that it > will remaind compatible. Do you? How about simply checking the Emacs version? (defcustom org-emphasis-regexp-components (if (<= 23 (string-to-number (car (split-string emacs-version "\\." '(" \t('\"{\u00A0" "- \t.,:!?;'\")}\\" " \t\r\n,\"'" "." 1) '(" \t('\"{" "- \t.,:!?;'\")}\\" " \t\r\n,\"'" "." 1)) [...] The problem with earlier version is that although most, if not all, ISO Latin pages put `NO-BREAK SPACE' at 0xA0 some may use different codepages. But they can do this also in newer Emacsen if they haven't converted their files yet, can't they? If you think putting `A0' in that regexp may break things, then I'd suggest putting a note about it somewhere for people who'd like to customise it for themselves. -- Miłego dnia, Łukasz Stelmach ___ 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
Re: [Orgmode] %20 in file://... URL
At Sun, 24 Oct 2010 22:49:12 +0200, Vincent Belaïche wrote: > > Hello, > > My Org mode version is not able to interprete any `%20' or suchlike > escape codes in file://... URL, is that normal ? Which Org mode version are you using? M-x org-version RET And can you give an example of a link that does not work as expected? Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpT2yrxggnUy.pgp Description: PGP signature ___ 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
Re: [Orgmode] Proposal: delete on DONE
On 24 Oct 2010 at 22:29, Carsten Dominik wrote: > You can just press C-k in the agenda to kill a task instead of marking it > done. This seems to be more direct than wasting the time to mark them > first Doh! (Slaps forhead.) Excellent. Somehow I had never noticed that command. ___ 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] %20 in file://... URL
Hello, My Org mode version is not able to interprete any `%20' or suchlike escape codes in file://... URL, is that normal ? Vincent. ___ 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] Re: [PATCH] quote the real csv separator
Carsten Dominik writes: > On Oct 24, 2010, at 12:56 AM, Łukasz Stelmach wrote: > >> I'd rather use an optional sep argument to the org-quote-csv-field >> function but I've got no idea how to stick it into the orgtbl-apply- >> fmt. However, the quoting function should use current rather then >> assume comma. >> [...] >> > thanks for the patch, but I do not understand it. > > The separator for csv is always the comma, or am I wrong here? A bit. The fact is that both OpenOffice (i've just checked) and Microsoft Office (I am almost 100% sure) allow to choose the separator upon export. And org-mode also allows it with radio tables with the :sep parameter (which is passed to the generic exporter). > So this function should use comma, hard-coded. The only place > where it is used is when orgtbl-to-csv calls the generic > exporter. It does so with comma as separator and with > org-quote-csv-field as formatting function. > > What use case do you have in mind? For me in particular? This is quite complicated ;-) And if you decide to reject the patch I will understand. (Read only I you have some time to waste ;) My bank lets me download monthly reports as CSV. In fact they let me choose the separator and the default value is the comma. But I choose '|' because then I can open the csv as org file and just do (replace-regexp "^" "|") to get a beautiful org-mode table. The reports from the bank are prepared for each account independently. When I transfer money between them I get entries in two reports. To get rid of this mess I decided to write a perl programme and I do it. And I prepare test data as radio tables and export them using pipe (yeah I know, this doesn't make a good point in favour of my patch) because... I prefer to manipulate all my bank report data with org-mode as tables. *My* use case isn't very good, is it? -- Miłego dnia, Łukasz Stelmach ___ 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
Re: [Orgmode] Proposal: delete on DONE
On Oct 24, 2010, at 10:27 PM, George Pearson wrote: I would like to suggest a feature in which, when a task is marked done, the task is deleted, i.e. no trace of it remains. I have a number of tasks to do (e.g. "reply to Jeff's email") that I have NO need to have a record of performing. Currently, these DONE tasks just pile up in my org files and I need to go manually through and delete them, a time consuming process. Would be nice to mark these tasks "delete on done" when created, and this "flag" could be checked in the "done" processing. Perhaps the logging property could be used, or is there a better way? Unfortunately, I have no lisp programming experience to speak of... You can just press C-k in the agenda to kill a task instead of marking it done. This seems to be more direct than wasting the time to mark them first - Carsten ___ 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 ___ 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] Proposal: delete on DONE
I would like to suggest a feature in which, when a task is marked done, the task is deleted, i.e. no trace of it remains. I have a number of tasks to do (e.g. "reply to Jeff's email") that I have NO need to have a record of performing. Currently, these DONE tasks just pile up in my org files and I need to go manually through and delete them, a time consuming process. Would be nice to mark these tasks "delete on done" when created, and this "flag" could be checked in the "done" processing. Perhaps the logging property could be used, or is there a better way? Unfortunately, I have no lisp programming experience to speak of... ___ 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
Re: [Orgmode] proposal for enhanced org-get-priority function
At Wed, 20 Oct 2010 13:14:39 -0400, I.S. wrote: > Priorities of the form [#]- or [#]+ > are supported with +/- being optional and modifying the > letter priority. The letter priority is multiplied by 10 and > then the number priority is added on. Thus a priority string of > [#B]+5 is higher than [#B] which is higher than [#B]-2 and all are > lower than [#A]. > The number sub-priorities allow finer control of sorting in org > agendas. This *could* help with what I would like to see. Every day I would like to arrange my agenda tasks for the day in the order that I would like to do them. (Setting fake times-of-day for each is somewhat time consuming; I am now experimenting with an A-Z priority range. The real-world priority of my tasks is basically all the same, so I thought I could commandeer the priority setting to get sequencing.) If easy to set, the sub-priority could be helpful in my sequencing goal. ___ 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] Re: hide schedueled done tasks from the todo-list
Fritjof writes: > Is there a way to hide repeating schedueled tasks which are "done" > from the todo-list, until the next occurence comes alone? I'd like to > only use the todolist (C-c a t), and not the agenda (C-c a a). Use (setq org-agenda-todo-ignore-scheduled (quote future)) and a version of org-mode after Feb 12, 2010 (6.35 or later) -Bernt ___ 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] Re: [PATCH] sexp may retrurn a list
Łukasz Stelmach writes: > I've disovered, that %%(org-bbdb-anniversaries) returns (as every other > sexp) a string. Which is OK if there is only one. > > Anniversaries: John Doe's 10th wedding anniversary > > Unfortunately the agenda view becomes awful if we have noted Jane's > weeding date too > > Anniversaries: John Doe's 10th wedding anniversary; Jane Doe's 10th > wedding anniversary > > And what if we know 3 Eves and 5 Adams and it's Christmas Eve? (Hint: > their name day) [...] As Thomas Bauman pointed out, there are functions that can be used in sexps which return cons cells like this (nil . "Full Moon 3:35am (CEST)") (this one is diary-lunar-phases), these aren't properly supported by the previous version of my patch. This one can distinguish between such a cons cell and a "real" list. ("John Doe's 10th wedding anniversary" "Jane Doe's 10th wedding anniversary") This is because (consp (cdr '(a . b))) ; => nil so org-diary-sexp-entry can be made return (cdr result) only in case of the former cons cell. The third condition in the `cond' block is IMHO enough as it is now, but if you think adding (listp (cdr result)) may help then be it. --8<---cut here---start->8--- diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index ede62e8..8544a62 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -4499,17 +4499,20 @@ the documentation of `org-diary'." category (org-get-category beg) todo-state (org-get-todo-state)) - (if (string-match "\\S-" result) - (setq txt result) - (setq txt "SEXP entry returned empty string")) - - (setq txt (org-format-agenda-item - "" txt category tags 'time)) - (org-add-props txt props 'org-marker marker) - (org-add-props txt nil - 'org-category category 'date date 'todo-state todo-state - 'type "sexp") - (push txt ee + (dolist (r (if (stringp result) +(list result) + result)) ;; we expect a list here + (if (string-match "\\S-" r) + (setq txt r) + (setq txt "SEXP entry returned empty string")) + + (setq txt (org-format-agenda-item + "" txt category tags 'time)) + (org-add-props txt props 'org-marker marker) + (org-add-props txt nil + 'org-category category 'date date 'todo-state todo-state + 'type "sexp") + (push txt ee) (nreverse ee))) (defun org-diary-class (m1 d1 y1 m2 d2 y2 dayname &rest skip-weeks) diff --git a/lisp/org-bbdb.el b/lisp/org-bbdb.el index 53514f7..0d3134d 100644 --- a/lisp/org-bbdb.el +++ b/lisp/org-bbdb.el @@ -338,8 +338,7 @@ This is used by Org to re-create the anniversary hash table." (setq text (append text (list tmp))) (setq text (list tmp) )) -(when text - (mapconcat 'identity text "; " +text)) (defun org-bbdb-complete-link () "Read a bbdb link with name completion." diff --git a/lisp/org.el b/lisp/org.el index b482b8e..c1d4e7d 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -15024,7 +15024,10 @@ D may be an absolute day number, or a calendar-type list (month day year)." (sleep-for 2)) (cond ((stringp result) result) ((and (consp result) + (not (consp (cdr result))) (stringp (cdr result))) (cdr result)) + ((and (consp result) + (stringp (car result))) result) (result entry) (t nil --8<---cut here---end--->8--- -- Miłego dnia, Łukasz Stelmach ___ 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
Re: [Orgmode] [PATCH] quote the real csv separator
On Oct 24, 2010, at 6:52 PM, Nick Dokos wrote: Carsten Dominik wrote: Hi Lukasz, thanks for the patch, but I do not understand it. The separator for csv is always the comma, or am I wrong here? So this function should use comma, hard-coded. The only place where it is used is when orgtbl-to-csv calls the generic exporter. It does so with comma as separator and with org-quote-csv-field as formatting function. What use case do you have in mind? - Carsten [This is *not* a comment on the patch itself, which I have not looked at carefully.] CSV started out simple and grew to be a monster (but it is still useful despite all that). It's not formally defined, so there are several variations, dialects and subdialects. Here e.g. is the description of the python module that handles CSV: it defines an "excel" dialect and an "excel_tab" subdialect, the latter using a TAB as a delimiter. If you want more details and have python installed, start it up, import csv and then say "help(csv)". Thanks for this, useful info. I remember when we implemented csv that it seemed trivial and was not. Org-mode does have a separate orgtbl-to-tsv which handles tab-separated data. HTH, Nick , | NAME | csv - CSV parsing and writing. | | FILE | /usr/lib/python2.5/csv.py | | MODULE DOCS | http://www.python.org/doc/current/lib/module-csv.html | | DESCRIPTION | This module provides classes that assist in the reading and writing | of Comma Separated Value (CSV) files, and implements the interface | described by PEP 305. Although many CSV files are simple to parse, | the format is not formally defined by a stable specification and | is subtle enough that parsing lines of a CSV file with something | like line.split(",") is bound to fail. The module supports three | basic APIs: reading, writing, and registration of dialects. | | | DIALECT REGISTRATION: | | Readers and writers support a dialect argument, which is a convenient | handle on a group of settings. When the dialect argument is a string, | it identifies one of the dialects previously registered with the module. | If it is a class or instance, the attributes of the argument are used as | the settings for the reader or writer: | | class excel: | delimiter = ',' | quotechar = '"' | escapechar = None | doublequote = True | skipinitialspace = False | lineterminator = '\r\n' | quoting = QUOTE_MINIMAL | | SETTINGS: | | * quotechar - specifies a one-character string to use as the | quoting character. It defaults to '"'. | * delimiter - specifies a one-character string to use as the | field separator. It defaults to ','. | * skipinitialspace - specifies how to interpret whitespace which | immediately follows a delimiter. It defaults to False, which | means that whitespace immediately following a delimiter is part | of the following field. | * lineterminator - specifies the character sequence which should | terminate rows. | * quoting - controls when quotes should be generated by the writer. | It can take on any of the following module constants: | | csv.QUOTE_MINIMAL means only when required, for example, when a | field contains either the quotechar or the delimiter | csv.QUOTE_ALL means that quotes are always placed around fields. | csv.QUOTE_NONNUMERIC means that quotes are always placed around | fields which do not parse as integers or floating point | numbers. | csv.QUOTE_NONE means that quotes are never placed around fields. | * escapechar - specifies a one-character string used to escape | the delimiter when quoting is set to QUOTE_NONE. | * doublequote - controls the handling of quotes inside fields. When | True, two consecutive quotes are interpreted as one during read, | and when writing, each quote character embedded in the data is | written as two quotes ` ___ 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
Re: [Orgmode] bug? - can't set effort from agenda
Since Noorul can set the effort in the agenda, must be something to do with me. (Far) below is the output of org-submit-bug-report. The problem has now changed though, since I added this line to my two org files: #+PRIORITIES: A Z Z Now when I type "e" on a task in the agenda, and hit a number key to set the effort, I get the following: byte-code: Before first headline at position 223 in buffer master.org. Position 223 is the 1st character of the line following the priorities line. I have also seen position 203, which is the first character of the "priorities" line itself. Unfortunately, it would be a bit time- consuming for me to remove the "priorities" line, as I now have a number of tasks outside of the usual A-C range that would need to be adjusted first. Can do it if necessary though. Emacs : GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600) of 2010-05-08 on G41R2F1 Package: Org-mode version 7.01h current state: == (setq org-empty-line-terminates-plain-lists t org-remember-interactive-interface 'outline org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars) org-agenda-custom-commands '(("i" "Do promptly" tags-todo "Week|Schedule|Important" ((org-agenda-skip-function (quote (org-agenda-skip-entry-if (quote scheduled) (quote deadline)) ) ) ) ) ("c" "Weekly schedule" ((agenda "" ((org-agenda-ndays 1))) (agenda "" ((org-agenda-ndays 7) (org-agenda-repeating-timestamp-show-all t) (org-agenda-skip-function (quote (org-agenda-skip-entry-if (quote deadline) (quote scheduled)) ) ) ) ) ) ((org-agenda-compact-blocks t))) ) org-agenda-files '("~/orgfiles/master.org" "~/orgfiles/recurring.org") org-agenda-window-setup 'other-frame org-metaup-hook '(org-babel-load-in-session-maybe) org-after-todo-state-change-hook '(org-clock-out-if-current) org-agenda-todo-ignore-scheduled t org-export-blocks-postblock-hook '(org-exp-res/src-name-cleanup) org-export-latex-format-toc-function 'org-export-latex-format-toc-default org-agenda-skip-scheduled-if-done t org-log-redeadline 'time org-export-preprocess-hook '(org-export-blocks-preprocess) org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-result-toggle-maybe) org-src-mode-hook '(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-agenda-before-write-hook '(org-agenda-add-entry-text) org-default-notes-file "/home/george/orgfiles/master.org" org-directory "/home/george/orgfiles/" org-log-reschedule 'time 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-mode-hook '(#[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-show-block-all append local] 5] #[nil "\300\301\302\303\304$\207" [org-add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes turn-on-font-lock) org-agenda-ndays 1 org-global-properties '(("Effort_ALL" . "0 0:05 0:10 0:15 0:20 0:30 0:45 1:00 1:30 2:00") ) org-ctrl-c-ctrl-c-hook '(org-babel-lob-execute-maybe org-babel-hash-at-point org-babel-execute-src-block-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-agenda-mode-hook '((lambda nil (hl-line-mode 1))) org-agenda-start-on-weekday nil org-export-interblocks '((lob org-babel-exp-lob-one-liners) (src org-babel-exp-inline-src-blocks)) org-reverse-note-order t org-occur-hook '(org-first-headline-recenter) org-export-preprocess-before-selecting-backend-code-hook '(org-beamer-select-beamer-code) org-agenda-todo-ignore-deadlines t org-columns-default-format "%CATEGORY %35ITEM %Effort{:} %PRIORITY
Re: [Orgmode] proposal for enhanced org-get-priority function
At Wed, 20 Oct 2010 13:14:39 -0400, I.S. wrote: > > Dear Experts, > > I'd like to propose a replacement for the org-get-priority function > which is backward compatible with the current version but allows the > user to add a sub-priority such as [#A]-5 or [#B]+3: > Could you provide a patch against current master and send it to the list as a text/plain attachment? This way the proposed modification will end up in Org's patchtracker[1]. Best, -- David [1] http://patchwork.newartisans.com/project/org-mode/ -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpbAGlZSSm1p.pgp Description: PGP signature ___ 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
Re: [Orgmode] Re: 7.01 & Xemacs 21.4.22: decompose-region is not known
On Oct 24, 2010, at 7:28 PM, Uwe Brauer wrote: Regarding Re: [Orgmode] Re: 7.01 & Xemacs 21.4.22: decompose- region is not known; Carsten Dominik adds: Hi Uwe, Does the latest Org-mode git version work for you now? For xemacs 21.4.X? No but the reason is simple the recent version of org does not ship the noutline file, so no wounder that I obtain an error message of the sort While compiling toplevel forms in file /home/oub/ALLES/xemacs/site- lisp/packages/org-mode-web/lisp/org.el: !! File error (("Cannot open load file" "noutline")) Error occurred processing lisp/org.el: Cannot open load file: noutline You mentioned that noutline will not be shipped any more, but then I don't understand that error message. I think noutline is now in XEmacs, in some package - but I do not know which versions of XEmacs will/can load this package. It should be in a file outline.el and provide both outline and noutline. Michael, can you help sort this out, please? - Carsten Uwe ___ 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
Re: [Orgmode] Was "...questions about...email" -> orgmode + email + company firewall
At Thu, 21 Oct 2010 13:33:59 -0500, John Hendy wrote: > > My question is whether gnus or some other text-based email program that > emacs can use has some method of doing whatever this webmail extention is > doing. Well... Wanderlust[1] and Mew[2] support the Shimbun library shipped with emacs-w3m[3] which can be used parse webpages and present them as messages. So it seems the method to be there, but requires some serious hacking to get it working. Another possibility: Find a Perl/Python/Ruby/Whatever script that can download the messages to a local folder via POP3 and access this local folder with a Emacs mailer of your choice. Best, -- David [1] http://gohome.org/wl/ [2] http://www.mew.org/en/ [3] http://emacs-w3m.namazu.org/ -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpqAsRC2W4Ql.pgp Description: PGP signature ___ 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] Re: update of snapshot release broken?
On Sun, Oct 24, 2010 at 17:05, Jambunathan K wrote: > Michael Brand writes: >> On Sun, Oct 24, 2010 at 12:41, Jambunathan K wrote: >>> 1. Look for snapshot links in >>> - http://repo.or.cz/w/org-mode.git. >> I'm sorry, I was not able to find such links there. > > Not sure why it is so. > > Base URL: http://repo.or.cz/w/org-mode.git/snapshot > > 1. HEAD: ./d600831eb70a0c87fca493f1e367193b88844137.tar.gz > 2. PARENT: ./987beb627715c7645be1055c055e001283f866dc.tar.gz > 3. GRANDPARENT: ./94f2f59a9379814b0235826c1c19ceb4bc698f49.tar.gz > > Good thing is that you can see what magic number contains the latest fix > that you are currently interested in. All this without issuing a single > git command. Ah, now I see. The links at most right on each row of the shortlog. Thank you for the explanation, this is really useful if git is not available. ___ 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
Re: [Orgmode] Worg pull broken?
At Fri, 22 Oct 2010 17:55:28 +0200, Sébastien Vauban wrote: > > Hello, > > Just wanted to update my local repo of Worg: > > --8<---cut here---start->8--- > [...@mediacenter] ~/src/Worg>git pull > error: Unable to find 9a6e35ee0276b7736f5a08dccba52a4374574892 under > http://repo.or.cz/r/Worg.git > Cannot obtain needed blob 9a6e35ee0276b7736f5a08dccba52a4374574892 > while processing commit f58d7c210e22c66d18dae80f45280e32c086b7c3. > error: Fetch failed. > --8<---cut here---end--->8--- > > Does that tell you something? Does this problem still occur and what remote repository are you pulling from? (cat .git/config) There are postings on the web that mention this error when pulling via http: protocol. Pulling git+ssh://repo.or.cz/srv/git/Worg.git works fine here. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpcWiE6wnihX.pgp Description: PGP signature ___ 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
Re: [Orgmode] [PATCH] Fix broken internal links on export
At Tue, 12 Oct 2010 21:30:12 +0530, Jambunathan K wrote: > > Note: > Is 'dedicated the right value to return? > From my understanding of the code: Yes. The patch fixes the problem and has been accepted. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpYnJMal1JLG.pgp Description: PGP signature ___ 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
Re: [Orgmode] bug? - can't set effort from agenda
On Sun, Oct 24, 2010 at 9:56 PM, George Pearson wrote: > Running org 7.01h and emacs 23.2.1 on windows XP. > > Typing "e" on a task in the daily agenda goes through the steps of > setting the effort, but the change is NOT made in the original org > buffer. This fails whether or not an effort had already been set > for the task. > > Using C-c C-x e in the original org buffer DOES work. > > Not sure when this started, as I haven't played with efforts for > some months now. > For me this works. In Agenda Buffer I typed 'e' and then entered select 2:00 hours and the original task entry got the following lines added. :PROPERTIES: :Effort: 2:00 :END: I have Org-mode version 7.01trans (release_7.01h.841.gd5360) GNU Emacs 23.2.2 (i686-pc-linux-gnu) of 2010-06-08 on sajida Thanks and Regards Noorul Thanks and Regards Noorul > > ___ > 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 > ___ 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
Re: [Orgmode] org-publish fails to export the #anchor in other_org_file.html#anchor
At Wed, 13 Oct 2010 00:29:25 +0200, Daniel Clemente wrote: > > > I think org-html-make-link doesn't export anchors („fragments“) in links > between org files. > The following patch corrects this for me; please review. You where right. The patch has been accepted. Best, -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber dmj...@jabber.org Email. dm...@ictsoc.de pgpDwg54urlIm.pgp Description: PGP signature ___ 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
Re: [Orgmode] VISIBILITY property and C-u C-u
On Sun, Oct 24, 2010 at 18:09, Gez wrote: > I'm still getting the same behaviour (i.e. not fixed), using org-latest.zip I guess only because this snapshot is not recent enough because its update is broken. If the download contains old files like e. g. org.el from mid of October you might read here: http://thread.gmane.org/gmane.emacs.orgmode/32427 ___ 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
Re: [Orgmode] timestamp with repeater interval
On Sun, 24 Oct 2010 17:11:34 +0200, Rainer Thiel wrote: > > Many thanks, Eric, > > 2010/10/21 Eric S Fraga : > > Matt Lundin has just posted a respond (in another thread) which answers > > your question: > > > > On Wed, 20 Oct 2010 21:31:04 -0400, Matt Lundin wrote: > >> > >> Christopher Witte writes: > >> > >> > Is there a way to get timestamps that repeat (say weekly) up to a > >> > certain date when it stops repeating? I have a weekly appointment that > >> > will only go for the next 8 weeks and I don't want to have to input > >> > each appointment separately and I don't want it cluttering up my diary > >> > beyond it's end date. > >> > >> Though you can't yet do this with org-mode timestamps, you can use a > >> diary sexp. Does the following FAQ help? > >> > >> http://orgmode.org/worg/org-faq.php#org-diary-class > > This would be exactly what I need -- if it really worked. It does not > for me, probably because I haven't really understood how it is > supposed to work. I should have expected that an entry like this: > > * TODO Class 10:00am-12:00am > <%%(org-diary-class 10 18 2010 2 12 2011 3)> > > in one of my agenda files would make show up an agenda entry every > Wednesday between Oct 18th, 2010 and Feb 12, 2011 in my agenda. But > this is not the case, nothing shows up. What am I doing wrong? What is wrong (if you can call it that) is that the actual argument list to the org-diary-class function depends on the settings of a couple of variables: calendar-date-style and/or european-calendar-style. As I have the former set to 'iso, in my case I need to specify dates in the Y M D order: --8<---cut here---start->8--- * TODO Class 10:00am-12:00am <%%(org-diary-class 2010 10 18 2011 2 12 3)> --8<---cut here---end--->8--- You may need to do the same. I've cc-ed the org-mode list for others to be aware of this as well. -- Eric S Fraga GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D ___ 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] Re: update of snapshot release broken?
On Sun, Oct 24, 2010 at 15:58, Bernt Hansen wrote: > git pull on one machine > git describe to get short SHA1 > git checkout SHA1 on other machine > should give you exactly the same codebase on each. > [...] > HTH, Yes, exactly what I have been looking for, thank you for the description. ___ 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
Re: [Orgmode] Re: 7.01 & Xemacs 21.4.22: decompose-region is not known
>> Regarding Re: [Orgmode] Re: 7.01 & Xemacs 21.4.22: decompose-region is not >> known; Carsten Dominik adds: > Hi Uwe, > Does the latest Org-mode git version work for you now? For xemacs 21.4.X? No but the reason is simple the recent version of org does not ship the noutline file, so no wounder that I obtain an error message of the sort While compiling toplevel forms in file /home/oub/ALLES/xemacs/site-lisp/packages/org-mode-web/lisp/org.el: !! File error (("Cannot open load file" "noutline")) >>Error occurred processing lisp/org.el: Cannot open load file: noutline You mentioned that noutline will not be shipped any more, but then I don't understand that error message. Uwe ___ 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] hide schedueled done tasks from the todo-list
Is there a way to hide repeating schedueled tasks which are "done" from the todo-list, until the next occurence comes alone? I'd like to only use the todolist (C-c a t), and not the agenda (C-c a a). ___ 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
Re: [Orgmode] [PATCH] Make footnotes work correctly in message-mode
Nick Dokos writes: Hi Carsten & Nick, >> Applied, thanks - bplease confirm that I did get the right patch. Yes, you've applied the right one. Thanks! > Message-mode is just *one* message composition mode available to emacs > users and there are various other mail readers out there that don't > use it (e.g. mh-e) and therefore cannot take advantage of this > patch. Yes, indeed, but I think that there are tendencies to make message-mode the default mail editing mode in emacs. At least Gnus and now also rmail use it. Anyway, we can add a big (or ...) with any mail mode we know, or we can even assume that an occurence of "^-- \n" is that special that is has to be a mail. Bye, Tassilo ___ 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
Re: [Orgmode] [PATCH] Make footnotes work correctly in message-mode (was: Difference between org-footnote.el and footnote.el)
Carsten Dominik wrote: > Applied, thanks - bplease confirm that I did get the right patch. > > Thanks. > > - Carsten > > On Oct 22, 2010, at 11:53 AM, Tassilo Horn wrote: > > > * repos/el/org-mode/lisp/org-footnote.el > > (org-footnote-create-definition) > > (org-footnote-goto-local-insertion-point): Add footnotes before > > signature when in message-mode. > > --- > > lisp/org-footnote.el | 25 +++-- > > 1 files changed, 15 insertions(+), 10 deletions(-) > > > > diff --git a/lisp/org-footnote.el b/lisp/org-footnote.el > > index 36fcfb2..ac1305f 100644 > > --- a/lisp/org-footnote.el > > +++ b/lisp/org-footnote.el > > @@ -302,15 +302,19 @@ or new, let the user edit the definition of > > the footnote." > > (t > > (setq re (concat "^" org-footnote-tag-for-non-org-mode-files > > "[ \t]*$")) > > (unless (re-search-forward re nil t) > > - (goto-char (point-max)) > > - (skip-chars-backward " \t\r\n") > > - (insert "\n\n") > > - (delete-region (point) (point-max)) > > - (insert org-footnote-tag-for-non-org-mode-files "\n")) > > - (goto-char (point-max)) > > - (skip-chars-backward " \t\r\n"))) > > -(insert "\n\n") > > -(insert "[" label "] ") > > + (let ((max (if (and (eq major-mode 'message-mode) > > + (re-search-forward message-signature-separator nil > > t)) > > + (progn (beginning-of-line) (point)) > > +(goto-char (point-max) > > + (skip-chars-backward " \t\r\n") > > + (delete-region (point) max) > > + (insert "\n\n") > > + (insert org-footnote-tag-for-non-org-mode-files "\n") > > +;; Skip existing footnotes > > +(while (re-search-forward "^[[:space:]]*\\[[^]]+\\] " nil t) > > + (forward-line)) > > +(insert "[" label "] \n") > > +(goto-char (1- (point))) > > (message "Edit definition and go back with `C-c &' or, if > > unique, with `C-c C-c'."))) > > > > ;;;###autoload > > @@ -506,7 +510,8 @@ ENTRY is (fn-label num-mark definition)." > > (beginning-of-line 0)) > > (if (looking-at "[ \t]*#\\+TBLFM:") (beginning-of-line 2)) > > (end-of-line 1) > > - (skip-chars-backward "\n\r\t ")) > > + (skip-chars-backward "\n\r\t ") > > + (forward-line)) > > > > (defun org-footnote-delete (&optional label) > > "Delete the footnote at point. > > -- > > 1.7.3.1 > > > > Ups, my previous patch (as reply to Seb) had a bug, so here's a new > > one. Message-mode is just *one* message composition mode available to emacs users and there are various other mail readers out there that don't use it (e.g. mh-e) and therefore cannot take advantage of this patch. Whether anybody cares or not, I don't know.[fn:1] Nick Footnotes: [fn:1] Personally (mh-e user), I don't care. My signature has always been nil. ___ 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
Re: [Orgmode] [PATCH] quote the real csv separator
Carsten Dominik wrote: > Hi Lukasz, > > thanks for the patch, but I do not understand it. > > The separator for csv is always the comma, or am I wrong here? > So this function should use comma, hard-coded. The only place > where it is used is when orgtbl-to-csv calls the generic > exporter. It does so with comma as separator and with > org-quote-csv-field as formatting function. > > What use case do you have in mind? > > - Carsten > [This is *not* a comment on the patch itself, which I have not looked at carefully.] CSV started out simple and grew to be a monster (but it is still useful despite all that). It's not formally defined, so there are several variations, dialects and subdialects. Here e.g. is the description of the python module that handles CSV: it defines an "excel" dialect and an "excel_tab" subdialect, the latter using a TAB as a delimiter. If you want more details and have python installed, start it up, import csv and then say "help(csv)". HTH, Nick , | NAME | csv - CSV parsing and writing. | | FILE | /usr/lib/python2.5/csv.py | | MODULE DOCS | http://www.python.org/doc/current/lib/module-csv.html | | DESCRIPTION | This module provides classes that assist in the reading and writing | of Comma Separated Value (CSV) files, and implements the interface | described by PEP 305. Although many CSV files are simple to parse, | the format is not formally defined by a stable specification and | is subtle enough that parsing lines of a CSV file with something | like line.split(",") is bound to fail. The module supports three | basic APIs: reading, writing, and registration of dialects. | | | DIALECT REGISTRATION: | | Readers and writers support a dialect argument, which is a convenient | handle on a group of settings. When the dialect argument is a string, | it identifies one of the dialects previously registered with the module. | If it is a class or instance, the attributes of the argument are used as | the settings for the reader or writer: | | class excel: | delimiter = ',' | quotechar = '"' | escapechar = None | doublequote = True | skipinitialspace = False | lineterminator = '\r\n' | quoting = QUOTE_MINIMAL | | SETTINGS: | | * quotechar - specifies a one-character string to use as the | quoting character. It defaults to '"'. | * delimiter - specifies a one-character string to use as the | field separator. It defaults to ','. | * skipinitialspace - specifies how to interpret whitespace which | immediately follows a delimiter. It defaults to False, which | means that whitespace immediately following a delimiter is part | of the following field. | * lineterminator - specifies the character sequence which should | terminate rows. | * quoting - controls when quotes should be generated by the writer. | It can take on any of the following module constants: | | csv.QUOTE_MINIMAL means only when required, for example, when a | field contains either the quotechar or the delimiter | csv.QUOTE_ALL means that quotes are always placed around fields. | csv.QUOTE_NONNUMERIC means that quotes are always placed around | fields which do not parse as integers or floating point | numbers. | csv.QUOTE_NONE means that quotes are never placed around fields. | * escapechar - specifies a one-character string used to escape | the delimiter when quoting is set to QUOTE_NONE. | * doublequote - controls the handling of quotes inside fields. When | True, two consecutive quotes are interpreted as one during read, | and when writing, each quote character embedded in the data is | written as two quotes ` ___ 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
Re: [Orgmode] [PATCH] Apply patch for hour/minute repeater support
Dear Andrew, thanks for the patch. However, I don't think Org is ready to deal with hour and minute granularity of tasks. The decision weather to display a task in the agenda is based solely on days, not on time, and this is deeply engrained into a number of places inside Org. I don't see how this will be very meaningful. So I will not take the patch, at least for now. More discussion and many other changes would be needed. Thanks for your contribution anyway - I hope another one will make it! Best wishes - Carsten On Sep 14, 2010, at 7:06 PM, Andrew J. Korty wrote: This patch adds hour and minute granularity to repeaters. Let me know if there's interest in incorporating it, and I'll start the FSF paperwork process. Andrew Korty --- doc/org.texi |4 ++-- lisp/org-agenda.el |2 +- lisp/org.el| 27 +++ 3 files changed, 18 insertions(+), 15 deletions(-) diff --git a/doc/org.texi b/doc/org.texi index d6ea141..e9ede5a 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -5006,8 +5006,8 @@ plain timestamp will be shown exactly on that date. @cindex timestamp, with repeater interval A timestamp may contain a @emph{repeater interval}, indicating that it applies not only on the given date, but again and again after a certain -interval of N days (d), weeks (w), months (m), or years (y). The -following will show up in the agenda every Wednesday: +interval of N minutes(M), hours(H), days (d), weeks (w), months (m), or +years (y). The following will show up in the agenda every Wednesday: @example * Pick up Sam at school <2007-05-16 Wed 12:30 +1w> diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 9f94fa6..176c8f0 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -4385,7 +4385,7 @@ the documentation of `org-diary'." (apply 'encode-time ; DATE bound by calendar (list 0 0 0 (nth 1 date) (car date) (nth 2 date 1 11)) - "\\|\\(<[0-9]+-[0-9]+-[0-9]+[^>\n]+?\\+[0-9]+[dwmy]>\\)" + "\\|\\(<[0-9]+-[0-9]+-[0-9]+[^>\n]+?\\+[0-9]+[MHdwmy]>\\)" "\\|\\(<%%\\(([^>\n]+)\\)>\\)")) marker hdmarker deadlinep scheduledp clockp closedp inactivep donep tmp priority category ee txt timestr tags b0 b3 e3 head diff --git a/lisp/org.el b/lisp/org.el index 70dd482..ace8291 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -621,7 +621,7 @@ An entry can be toggled between QUOTE and normal with :type 'string) (defconst org-repeat-re - "<[0-9]\\{4\\}-[0-9][0-9]-[0-9][0-9] [^>\n]*?\\([.+]?\\+[0-9]+ [dwmy]\\(/[0-9]+[dwmy]\\)?\\)" + "<[0-9]\\{4\\}-[0-9][0-9]-[0-9][0-9] [^>\n]*?\\([.+]?\\+[0-9]+ [MHdwmy]\\(/[0-9]+[dwmy]\\)?\\)" "Regular expression for specifying repeated events. After a match, group 1 contains the repeat expression.") @@ -11392,7 +11392,8 @@ This function is run automatically after each state change to a DONE state." (aa (assoc last-state org-todo-kwd-alist)) (interpret (nth 1 aa)) (head (nth 2 aa)) -(whata '(("d" . day) ("m" . month) ("y" . year))) +(whata '(("M" . minute) ("H" . hour) ("d" . day) ("m" . month) + ("y" . year))) (msg "Entry repeats: ") (org-log-done nil) (org-todo-log-states nil) @@ -11429,7 +11430,7 @@ This function is run automatically after each state change to a DONE state." (setq type (if (match-end 1) org-scheduled-string (if (match-end 3) org-deadline-string "Plain:")) ts (match-string (if (match-end 2) 2 (if (match-end 4) 4 0 - (when (string-match "\\([.+]\\)?\\(\\+[0-9]+\\)\\([dwmy]\\)" ts) + (when (string-match "\\([.+]\\)?\\(\\+[0-9]+\\)\\([MHdwmy]\\)" ts) (setq n (string-to-number (match-string 2 ts)) what (match-string 3 ts)) (if (equal what "w") (setq n (* n 7) what "d")) @@ -11438,13 +11439,15 @@ This function is run automatically after each state change to a DONE state." (setq time (save-match-data (org-time-string-to-time ts))) (cond ((equal (match-string 1 ts) ".") - ;; Shift starting date to today + ;; Shift starting date to now (org-timestamp-change - (- (time-to-days (current-time)) (time-to-days time)) - 'day)) + (truncate (/ (- (time-to-seconds (current-time)) + (time-to-seconds time)) 60)) + 'minute)) ((equal (match-string 1 ts) "+") (while (or (= nshift 0) -(<= (time-to-days time) (time-to-days (current-time +(<= (time-to-seconds time) + (time-to-seconds (current-time (when (= (incf nshift) nshiftmax) (or (y-or-n-p (message "%d repeater intervals were not enough to shift date past today. Continue? " nshift))
Re: [Orgmode] [PATCH] quote the real csv separator
Hi Lukasz, thanks for the patch, but I do not understand it. The separator for csv is always the comma, or am I wrong here? So this function should use comma, hard-coded. The only place where it is used is when orgtbl-to-csv calls the generic exporter. It does so with comma as separator and with org-quote-csv-field as formatting function. What use case do you have in mind? - Carsten On Oct 24, 2010, at 12:56 AM, Łukasz Stelmach wrote: Hi. I'd rather use an optional sep argument to the org-quote-csv-field function but I've got no idea how to stick it into the orgtbl-apply- fmt. However, the quoting function should use current rather then assume comma. --8<---cut here---start->8--- diff --git a/lisp/org.el b/lisp/org.el index b482b8e..501dd8d 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -18019,7 +18019,7 @@ With prefix arg UNCOMPILED, load the uncompiled versions." (defun org-quote-csv-field (s) "Quote field for inclusion in CSV material." - (if (string-match "[\",]" s) + (if (string-match (concat "[\"" *orgtbl-sep* "]") s) (concat "\"" (mapconcat 'identity (split-string s "\"") "\"\"") "\"") s)) --8<---cut here---end--->8--- -- Miłego dnia, Łukasz Stelmach ___ 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 ___ 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] bug? - can't set effort from agenda
Running org 7.01h and emacs 23.2.1 on windows XP. Typing "e" on a task in the daily agenda goes through the steps of setting the effort, but the change is NOT made in the original org buffer. This fails whether or not an effort had already been set for the task. Using C-c C-x e in the original org buffer DOES work. Not sure when this started, as I haven't played with efforts for some months now. ___ 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
Re: [Orgmode] [PATCH] Make footnotes work correctly in message-mode (was: Difference between org-footnote.el and footnote.el)
Applied, thanks - bplease confirm that I did get the right patch. Thanks. - Carsten On Oct 22, 2010, at 11:53 AM, Tassilo Horn wrote: * repos/el/org-mode/lisp/org-footnote.el (org-footnote-create-definition) (org-footnote-goto-local-insertion-point): Add footnotes before signature when in message-mode. --- lisp/org-footnote.el | 25 +++-- 1 files changed, 15 insertions(+), 10 deletions(-) diff --git a/lisp/org-footnote.el b/lisp/org-footnote.el index 36fcfb2..ac1305f 100644 --- a/lisp/org-footnote.el +++ b/lisp/org-footnote.el @@ -302,15 +302,19 @@ or new, let the user edit the definition of the footnote." (t (setq re (concat "^" org-footnote-tag-for-non-org-mode-files "[ \t]*$")) (unless (re-search-forward re nil t) - (goto-char (point-max)) - (skip-chars-backward " \t\r\n") - (insert "\n\n") - (delete-region (point) (point-max)) - (insert org-footnote-tag-for-non-org-mode-files "\n")) - (goto-char (point-max)) - (skip-chars-backward " \t\r\n"))) -(insert "\n\n") -(insert "[" label "] ") + (let ((max (if (and (eq major-mode 'message-mode) + (re-search-forward message-signature-separator nil t)) + (progn (beginning-of-line) (point)) +(goto-char (point-max) + (skip-chars-backward " \t\r\n") + (delete-region (point) max) + (insert "\n\n") + (insert org-footnote-tag-for-non-org-mode-files "\n") +;; Skip existing footnotes +(while (re-search-forward "^[[:space:]]*\\[[^]]+\\] " nil t) + (forward-line)) +(insert "[" label "] \n") +(goto-char (1- (point))) (message "Edit definition and go back with `C-c &' or, if unique, with `C-c C-c'."))) ;;;###autoload @@ -506,7 +510,8 @@ ENTRY is (fn-label num-mark definition)." (beginning-of-line 0)) (if (looking-at "[ \t]*#\\+TBLFM:") (beginning-of-line 2)) (end-of-line 1) - (skip-chars-backward "\n\r\t ")) + (skip-chars-backward "\n\r\t ") + (forward-line)) (defun org-footnote-delete (&optional label) "Delete the footnote at point. -- 1.7.3.1 Ups, my previous patch (as reply to Seb) had a bug, so here's a new one. Bye, Tassilo ___ 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 ___ 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
Re: [Orgmode] VISIBILITY property and C-u C-u
Applied, thanks. - Carsten On Oct 24, 2010, at 8:43 AM, Michael Brand wrote: On Oct 17, 2010, at 5:41 PM, Gez wrote: C-u C-u TAB also cycles when it's repeated. I have also noticed this buglet and have used a workaround until now. On Fri, Oct 22, 2010 at 18:14, Carsten Dominik wrote: I believe I have fixed this, please verify. Thank you for this, it resolves both `C-u C-u TAB' and `C-u C-u C-u TAB' except for the special case with the variable org-cycle-global-at-bob. For this special case I suggest additionally: --- a/lisp/org.el +++ b/lisp/org.el @@ -5772,7 +5772,8 @@ in special contexts. `org-cycle-emulate-tab' for details. - Special case: if point is at the beginning of the buffer and there is - no headline in line 1, this function will act as if called with prefix arg. + no headline in line 1, this function will act as if called with prefix arg + (C-u TAB, same as S-TAB) also when called without prefix arg. But only if also the variable `org-cycle-global-at-bob' is t." (interactive "P") (org-load-modules-maybe) @@ -5798,7 +5799,7 @@ in special contexts. (if nstars (format "\\{1,%d\\}" nstars) "+") " \\|\\([ \t]*\\)\\([-+*]\\|[0-9]+[.)]\\) \\)")) (t (concat "\\*" (if nstars (format "\\{1,%d\\} " nstars) "+ "))) - (bob-special (and org-cycle-global-at-bob (bobp) + (bob-special (and org-cycle-global-at-bob (not arg) (bobp) (not (looking-at outline-regexp (org-cycle-hook (if bob-special Michael ___ 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
Re: [Orgmode] [PATCH] unicode nbsp in org-emphasis-regexp-components
Hi Lukasz, I am aftraid that this will break flavors of Emacs which do not support unicode characters, like Emacs 22. Org-mode still supports Emacs 22. And I do not know how to write this in a way that it will remaind compatible. Do you? - Carsten On Oct 23, 2010, at 12:39 AM, Łukasz Stelmach wrote: Hi. The Unicode contains a NON-BREAK SPACE character at position 0xA0. IMHO org-mode's emphasis code should by default treat this (any other?) character the same as normal space. When i write: It was a /big bang/. I'd like the "big bang" to be put in italic especially when exported to HTML. (I don't know if it goes properly through all the mailing systems but I put the "\u00A0" between "a" and "/" above.) --8<---cut here---start->8--- diff --git a/lisp/org.el b/lisp/org.el index 6ea9d25..b8cd38e 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -3419,7 +3419,7 @@ After a match, the match groups contain these elements: "\\([" post "]\\|$\\)") (defcustom org-emphasis-regexp-components - '(" \t('\"{" "- \t.,:!?;'\")}\\" " \t\r\n,\"'" "." 1) + '(" \t('\"{\u00A0" "- \t.,:!?;'\")}\\" " \t\r\n,\"'" "." 1) "Components used to build the regular expression for emphasis. This is a list with 6 entries. Terminology: In an emphasis string like \" *strong word* \", we call the initial space PREMATCH, the final --8<---cut here---end--->8--- -- Miłego dnia, Łukasz Stelmach ___ 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 ___ 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
Re: [Orgmode] VISIBILITY property and C-u C-u
> On Oct 17, 2010, at 5:41 PM, Gez wrote: C-u C-u >> TAB is documented in the reference card but not in the manual or on >> worg as far as I can see - Shouldn't it be added? Also shouldn't >> VISIBILITY be listed with the other "special properties" in the >> manual etc? > > Would you like to make a patch? I would like to and I read http://orgmode.org/worg/org-contribute.php#sec-3 but I don't have git. >> I have a query about the C-u C-u TAB command. When I've just edited >> or used S-TAB (no matter which part of the global cycle it's on) C-u >> C-u TAB works as I would expect. But if I've just used TAB, C-u C-u >> TAB cycles hrough -> CONTENTS -> SHOW ALL etc, even while the mini >> buffer displays "startup visibility plus VISIBILITY properties" at >> each stage of the cycle. C-u C-u TAB also cycles when it's >> repeated. > I believe I have fixed this, please verify. I'm still getting the same behaviour (i.e. not fixed), using org-latest.zip which I just downloaded today from http://orgmode.org/org-latest.zip. But my version still says Org-mode version 7.01trans so perhaps I'm not testing the fixed version. Sorry if there's something I'm misunderstanding. Gez (Windows, GNU Emacs 23.2.1, Org-mode version 7.01trans)___ 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] Re: update of snapshot release broken?
Michael Brand writes: > On Sun, Oct 24, 2010 at 12:41, Jambunathan K wrote: >> 1. Look for snapshot links in >> - http://repo.or.cz/w/org-mode.git. > > I'm sorry, I was not able to find such links there. Not sure why it is so. Base URL: http://repo.or.cz/w/org-mode.git/snapshot 1. HEAD: ./d600831eb70a0c87fca493f1e367193b88844137.tar.gz 2. PARENT: ./987beb627715c7645be1055c055e001283f866dc.tar.gz 3. GRANDPARENT: ./94f2f59a9379814b0235826c1c19ceb4bc698f49.tar.gz Good thing is that you can see what magic number contains the latest fix that you are currently interested in. All this without issuing a single git command. Jambunathan K. ___ 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
Re: [Orgmode] Re: Adding tags, grouping tags
On Oct 15, 2010, at 4:43 PM, Ilya Shlyakhter wrote: (...) I think that a way to define logical groups of tags (or even a hierarchy of tags -- say with a subtree of tag names?) would be a very useful addition. >>> On 10/16/2010 01:32 AM, Carsten Dominik wrote: I can see that this could be useful - but the code is not in any way prepared to do this, so this would be pretty hard to implement. I would also find it useful, though I appreciate that it won't be easy. Some of the same purpose is already served by #+PROPERTY: xyz_ALL lines (a kind of tag group) and by tag inheritance (acting like a structured vocabulary in certain contexts, like a notes file structured by topic). But none of this provides the full functionality of structured vocabularies. The Drupal taxonomy module is a nice example. On Oct 16, 2010, at 9:26 PM, Robert Horn wrote: Is it worth exploring use of the properties drawer? The tags in org are a fairly simple and thus limited structure. The properties drawer can have a lot more structure with a more controlled environment. >>> On 10/16/10 4:09 PM, Carsten Dominik wrote: I don't think I understand what you mean here. How would that help? On 10/23/10 5:15 PM, Robert Horn wrote: My first thought was just to deal with visual clutter and parsing headaches. Encoding standards like IDv3 have a large list of tags and tags with values that are encoded and hidden in MP3 files. The display is controlled by application. This is very much like the drawer behavior in org. So putting tags into drawers would deal with the clutter associated with having a great many tags on one item. But that's not new, that's what we have now -- the ability to hide away tags in a drawer by making them property values. Isn't the point rather that properties are named? If Org gets a vocabulary structure, it could be restricted to certain named properties. There would be no need to look up the vocabulary tree for tags (which would remain 'flat' keywords by definition), nor for other properties than those defined as having a structured vocabulary. This might save on performance, as well as spare the user some confusion. To build on the example in the Info pages: *** Goldberg Variations :PROPERTIES: :Title: Goldberg Variations :Composer: J.S. Bach :Artist:Glenn Gould :Instrument: Piano :Publisher: Deutsche Grammophon :NDisks:1 :END: Here :Instrument: would be the only property with a vocab structure, part of which might look something like * Instrument ** Strings *** Lutes *** Harps *** Zithers Piano ** Wind ** Percussion So, this item would be one of the matches for a search for `Instrument=Strings'. The next level would be to have org aware of the tag structure. This would mean having a vocabulary description that describes the tags. The vocabulary can be described as: Top level: Context, e.g., GTD Level 1: TagA Level 2: TagB, a kind of TagA Level 3: TagC, a kind of TagB Level 1: TagD etc Usually Tags are unique with in a context, but might collide between contexts. So I might find the tag "TASK" used in different contexts. Multiple tags can occur within a context, so something might have TagA and TagD, and the presence of a lower level tag implies the higher level tags. So TagC would imply TagB and TagA in the example above. As long as only properties can have structured vocabularies, and not tags, the context will be given by the property name, helping avoid term collisions; a meteorologist could search his CD collection with `instrument=wind' and his research notes with `measurement=wind' without getting them mixed up. (This, again, is what we have today.) The vocabulary description could easily be done with some lisp customization, the way it is done for task states, or it could be in an org file. Both ways have their advantages. Agree. Since Org is so great for structured lists, thoguh, it would be really tempting to use an Org file to define vocabularies, e.g. as in the Goldberg Variations example above. For each tag you can have a list of pairs of context+tag to keep tags unique. Appending these as text to each line introduces a lot of visual clutter and parsing headaches. I would put these into drawers to reduce the visual clutter and manage duplication. Again, this is what is achieved by restricting this functionality to properties. What is not achieved, I'm afraid, is making it any easier to implement the feature on top of existing code. Yours, Christian Moe ___ 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] Re: update of snapshot release broken?
Michael Brand writes: > On Sun, Oct 24, 2010 at 13:09, Jambunathan K wrote: >> git archive --format=tar --prefix=project/ HEAD | gzip >latest.tar.gz > > Thanks, that helps me already to install the currently very latest > version to a different machine at some time later. But even better for > me would be to git-pull the very latest version on one machine, get > its SHA1 and then do a git-whatever with the same SHA1 at some time > later on another machine to get the same version again. git pull on one machine git describe to get short SHA1 git checkout SHA1 on other machine should give you exactly the same codebase on each. Example: $ git checkout origin/master # on machine 1 $ git describe release_7.01h-823-gd600831 # Note SHA1 starting here ^^^ # SHA1 is d600831 # On other machine $ git pull # to get up to date code $ git checkout d600831 And you have the same commit on both machines. With this method you can also backup and move to any arbitrary commit in the history -- if you find you have a bug in the current code that was introduced 5 commits ago, you can back up to a previous commit (the one before the one introducing the bug) and keep working. HTH, Bernt ___ 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
Re: [Orgmode] update of snapshot release broken?
Am 24.10.2010 09:40, schrieb Michael Brand: Hi all I just noticed that both http://orgmode.org/org-latest.zip and http://orgmode.org/org-latest.tar.gz provide old files like e. g. org.el from mid of October Currently I misuse this snapshot to install the exactly same version at home and at work. I did not find out in reasonable time how to use git to get the same version again later that was the most recent at the time of the upgrade on the first machine. Hi, with `git branch' you should be able to specify a commit, from with the branch is drawn. `git log -n 1' should give you the last commit hash, for example commit a84186785645652a8daff9e09d81db3d2bb3c5ce HTH Andreas -- https://code.launchpad.net/~a-roehler/python-mode/python-mode-components https://code.launchpad.net/s-x-emacs-werkstatt/ I hope there are others that would also appreciate if someone would add how to do this use case with git to http://orgmode.org/worg/org-faq.php#keeping-current-with-Org-mode-development Michael ___ 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 ___ 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
Re: [Orgmode] Unable to quit emacs after enabling Clocking
Changed the line to (setq backup-directory-alist '((".*" . "./.emacs.d/"))) Regards, mwnn On 10/24/2010 03:46 PM, Eric S Fraga wrote: On Sun, 24 Oct 2010 15:15:55 +0530, mwnn wrote: I fixed the issue by setting the value of backup-directory-alist as shown below: (setq backup-directory-alist '((".~" . "./.emacs.d/"))) I'm not sure I understand this correctly but shouldn't the first entry be a regex file pattern? This would only appear to match files with a single character followed by ~? According to the documentation for that variable, if you want all files going to the specified directory (which in your case will be relative to the original file's location), maybe you want ".*" as the file regex? eric ___ 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] Re: update of snapshot release broken?
On Sun, Oct 24, 2010 at 13:09, Jambunathan K wrote: > git archive --format=tar --prefix=project/ HEAD | gzip >latest.tar.gz Thanks, that helps me already to install the currently very latest version to a different machine at some time later. But even better for me would be to git-pull the very latest version on one machine, get its SHA1 and then do a git-whatever with the same SHA1 at some time later on another machine to get the same version again. ___ 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] Re: update of snapshot release broken?
On Sun, Oct 24, 2010 at 12:41, Jambunathan K wrote: > 1. Look for snapshot links in > - http://repo.or.cz/w/org-mode.git. I'm sorry, I was not able to find such links there. ___ 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] Re: update of snapshot release broken?
Michael Brand writes: > Hi all > > I just noticed that both > http://orgmode.org/org-latest.zip > and > http://orgmode.org/org-latest.tar.gz > provide old files like e. g. org.el from mid of October > > Currently I misuse this snapshot to install the exactly same version > at home and at work. I did not find out in reasonable time how to use > git to get the same version again later that was the most recent at > the time of the upgrade on the first machine. I hope there are others > that would also appreciate if someone would add how to do this use > case with git to > http://orgmode.org/worg/org-faq.php#keeping-current-with-Org-mode-development > Looks like you have pulled from git already. In that case you could create a snapshot in your work area using the following command. , [from git user manual] | git archive --format=tar --prefix=project/ HEAD | gzip >latest.tar.gz ` Jambunathan K. > Michael > > ___ > 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 ___ 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] Re: update of snapshot release broken?
Jambunathan K writes: > Michael Brand writes: > >> Hi all >> >> I just noticed that both >> http://orgmode.org/org-latest.zip >> and >> http://orgmode.org/org-latest.tar.gz >> provide old files like e. g. org.el from mid of October >> >> Currently I misuse this snapshot to install the exactly same version >> at home and at work. I did not find out in reasonable time how to use >> git to get the same version again later that was the most recent at >> the time of the upgrade on the first machine. I hope there are others >> that would also appreciate if someone would add how to do this use >> case with git to >> http://orgmode.org/worg/org-faq.php#keeping-current-with-Org-mode-development >> > I think you are keen to have the same versions running on both your home and work machines. An easy way to achieve this (without worrying too much about git) is to download the tarball store it in a safe place so that you can reuse it at a later point. Not exactly answering your query. Hope atleast your needs are taken care of. Why bother about git when you don't have to? Btw, the need to use git to install latest tarballs would go away in foreseeable future. Jambunathan K. > 1. Look for snapshot links in >- http://repo.or.cz/w/org-mode.git. > > 2. There are ELPA tarballs at >- http://orgmode.org/pkg/daily/ > > (2) is currently WIP. Recommend to use (1) till such time. > > Jambunathan K. > >> Michael >> >> ___ >> 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 ___ 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] Re: update of snapshot release broken?
Michael Brand writes: > Hi all > > I just noticed that both > http://orgmode.org/org-latest.zip > and > http://orgmode.org/org-latest.tar.gz > provide old files like e. g. org.el from mid of October > > Currently I misuse this snapshot to install the exactly same version > at home and at work. I did not find out in reasonable time how to use > git to get the same version again later that was the most recent at > the time of the upgrade on the first machine. I hope there are others > that would also appreciate if someone would add how to do this use > case with git to > http://orgmode.org/worg/org-faq.php#keeping-current-with-Org-mode-development > 1. Look for snapshot links in - http://repo.or.cz/w/org-mode.git. 2. There are ELPA tarballs at - http://orgmode.org/pkg/daily/ (2) is currently WIP. Recommend to use (1) till such time. Jambunathan K. > Michael > > ___ > 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 ___ 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
Re: [Orgmode] Re: Orgmode meetup at FOSDEM, February 2011. Who would come?
Hi Puneeth, Nothing yet, unfortunately. I'll keep the list posted as soon as I hear anything. -Richard On Oct 24, 2010, at 12:53 AM, Puneeth wrote: > Hi Richard, > > The FOSDEM site says, > > 2010-10-23: Acceptance notification of devrooms > > Wondering if you have any news on this. > > Best, > Puneeth ___ 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
Re: [Orgmode] Unable to quit emacs after enabling Clocking
On Sun, 24 Oct 2010 15:15:55 +0530, mwnn wrote: > > I fixed the issue by setting the value of backup-directory-alist as > shown below: > > (setq backup-directory-alist '((".~" . "./.emacs.d/"))) I'm not sure I understand this correctly but shouldn't the first entry be a regex file pattern? This would only appear to match files with a single character followed by ~? According to the documentation for that variable, if you want all files going to the specified directory (which in your case will be relative to the original file's location), maybe you want ".*" as the file regex? eric -- Eric S Fraga GnuPG: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D ___ 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
Re: [Orgmode] [org-babel] Using the power of ESS inside an R source code block
Am 24.10.2010 05:44, schrieb Bernd Weiss: Dear all, Yesterday, I spent some time (re-)discovering the power of org-babel and R. Everything works well but there is one issue that I find somewhat annoying (I apologise if this word is too rude). As a long-time ESS user I wish that I could use things like ESS syntax highlighting, indentation or some keybindings (e.g. for "<-") inside an R source code block. However, with respect to an e-mail from Eric Schulte http://www.mail-archive.com/emacs-orgmode@gnu.org/msg22301.html (or this one: https://stat.ethz.ch/pipermail/ess-help/2009-September/005544.html ) this seems to be a feature wich is hard to realise inside org-babel. Is this (still) correct? Or is it a problem with my installation/initialisation of org-mode/org-babel?[1] Ok, one workaround are indirect buffers, right? This blog post is really helpful (see "A note about syntax highlighting in Emacs") http://blogisticreflections.wordpress.com/2010/05/23/introduction-to-using-r-with-org-babel-part-1/ Bernd ___ 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
Re: [Orgmode] Unable to quit emacs after enabling Clocking
I fixed the issue by setting the value of backup-directory-alist as shown below: (setq backup-directory-alist '((".~" . "./.emacs.d/"))) Thanks for your support, mwnn On 10/24/2010 09:17 AM, Noorul Islam wrote: On Sun, Oct 24, 2010 at 8:54 AM, mwnn wrote: The call trace is as shown below: Debugger entered--Lisp error: (wrong-type-argument stringp (".~")) expand-file-name((".~") "/home/mwnn/.emacs.d/") make-backup-file-name-1("/home/mwnn/.emacs.d/org-clock-save.el") find-backup-file-name("/home/mwnn/.emacs.d/org-clock-save.el") backup-buffer() basic-save-buffer-2() basic-save-buffer-1() basic-save-buffer() save-buffer() org-clock-save() run-hooks(kill-emacs-hook) kill-emacs() save-buffers-kill-emacs(nil) save-buffers-kill-terminal(nil) call-interactively(save-buffers-kill-terminal nil nil) What is the value of backup-directory-alist? C-h v backup-directory-alist I think it should be an alist. Thanks and Regards Noorul ___ 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] [org-babel] Using the power of ESS inside an R source code block
Dear all, Yesterday, I spent some time (re-)discovering the power of org-babel and R. Everything works well but there is one issue that I find somewhat annoying (I apologise if this word is too rude). As a long-time ESS user I wish that I could use things like ESS syntax highlighting, indentation or some keybindings (e.g. for "<-") inside an R source code block. However, with respect to an e-mail from Eric Schulte http://www.mail-archive.com/emacs-orgmode@gnu.org/msg22301.html (or this one: https://stat.ethz.ch/pipermail/ess-help/2009-September/005544.html ) this seems to be a feature wich is hard to realise inside org-babel. Is this (still) correct? Or is it a problem with my installation/initialisation of org-mode/org-babel?[1] Thanks, Bernd [1] This is the org-mode part in my .emacs: ;; The following lines are always needed. Choose your own keys. (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode)) (global-set-key "\C-cl" 'org-store-link) (global-set-key "\C-ca" 'org-agenda) (global-set-key "\C-cb" 'org-iswitchb) (global-font-lock-mode 1) ; for all buffers (add-hook 'org-mode-hook 'turn-on-font-lock) ; Org buffers only ;;(setq org-ditaa-jar-path "D:/programme/emacs/site-lisp/org-mode/contrib/scripts/ditaa.jar") (setq org-directory "e:/projects/org/") (setq org-confirm-babel-evaluate nil) ;; active Babel languages (setq org-babel-load-languages (quote ((emacs-lisp . t) (R . t) (python . t) ) ) ) (setq org-src-fontify-natively t) ___ 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
Re: [Orgmode] Minor docstring bug: org-footnote-goto-previous-reference
On Sun, Oct 24, 2010 at 12:56 PM, T.F. Torrey wrote: >> Date: Sun, 24 Oct 2010 08:57:35 +0530 >> Subject: Re: [Orgmode] Minor docstring bug: >> org-footnote-goto-previous-reference >> From: Noorul Islam >> To: rpgold...@sift.info >> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) >> Cc: Org Mode >> Sender: emacs-orgmode-bounces+tftorrey=tftorrey@gnu.org >> >> On Sun, Oct 24, 2010 at 5:00 AM, Robert Goldman wrote: >> > The docstring for the command "org-footnote-goto-previous-reference" is >> > >> > Find the next previous of the footnote with label LABEL. >> > >> > ...which I can't actually parse. >> > >> > "Find the (immediately) previous reference to the footnote with label >> > LABEL." >> > >> > Is that better? >> > >> >> Patch is attached. I modified it a bit. > > Noorul, > > Actually, your modification makes it grammatically incorrect. The word > "immediately" is to modify the adjective "previous", and in English, an > adjective needs to be modified by an adverb. So, "immediately previous" > would be correct, but "immediate previous" is not. > > Trying to be helpful, not merely nit-picking, I can understand. Attached is the modified patch. Thanks and Regards Noorul diff --git a/lisp/org-footnote.el b/lisp/org-footnote.el index 36fcfb2..1ce1815 100644 --- a/lisp/org-footnote.el +++ b/lisp/org-footnote.el @@ -188,7 +188,7 @@ with start and label of the footnote if there is a definition at point." (message "Edit definition and go back with `C-c &' or, if unique, with `C-c C-c'." (defun org-footnote-goto-previous-reference (label) - "Find the next previous of the footnote with label LABEL." + "Find the immediately previous reference of the footnote with label LABEL." (interactive "sLabel: ") (org-mark-ring-push) (setq label (org-footnote-normalize-label label)) ___ 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] update of snapshot release broken?
Hi all I just noticed that both http://orgmode.org/org-latest.zip and http://orgmode.org/org-latest.tar.gz provide old files like e. g. org.el from mid of October Currently I misuse this snapshot to install the exactly same version at home and at work. I did not find out in reasonable time how to use git to get the same version again later that was the most recent at the time of the upgrade on the first machine. I hope there are others that would also appreciate if someone would add how to do this use case with git to http://orgmode.org/worg/org-faq.php#keeping-current-with-Org-mode-development Michael ___ 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] Re: Bug: Re: Latex export: Differing behavior for symbols in headlines
Richard Lawrence responds to himself: >>> 2) If so, what's the right way to work around it? If not, where should >>> I look to try and fix it? >>> > > I'm still wondering about the latter question here. This is important > enough to me that I am willing to take a stab at fixing it, but my Elisp > experience is basically limited to init file customizations. Can anyone > who knows the ins and outs of the LaTeX export code give me a few > pointers about where to start? OK, I've been reading the code in org-latex.el for a while now, and I have at least come to understand why $'s in a headline are escaped when the export is restricted to a subtree. The explanation is this: within org-export-as-latex, the headline is bound to `title', and passed to org-export-latex-make-header, which in turn passes the value into org-export-latex-content, thusly: ;; org-latex.el, line 1283 (format "\n\n\\title{%s}\n" ;; convert the title (org-export-latex-content title '(lists tables fixed-width keywords))) org-export-latex-content works by performing a series of mutations on a temporary buffer. One of these mutations, org-export-latex-special-chars, replaces "$" with "\$". So that's where the replacement is happening when the headline of a subtree is used as the title for a LaTeX export. (Actually, this begs the question: how should one export an Org file to LaTeX if part of the title should be in math mode? Is escaping $'s in the document title really the best behavior? My guess would be that people need math mode in their document titles far more often than they need a literal "$".) Here's what I don't understand yet: when the entire Org file is exported, rather than just a subtree, the headlines (which eventually become the section titles in the output) are apparently *not* processed this way, because then the $'s in such headlines pass through unescaped. I'm not sure if this is because they never pass through org-export-latex-content, or because $'s have had the org-protected property set by the time they *do* pass through it. Guidance would be much appreciated! Best, Richard ___ 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
Re: [Orgmode] Minor docstring bug: org-footnote-goto-previous-reference
> Date: Sun, 24 Oct 2010 08:57:35 +0530 > Subject: Re: [Orgmode] Minor docstring bug: > org-footnote-goto-previous-reference > From: Noorul Islam > To: rpgold...@sift.info > X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) > Cc: Org Mode > Sender: emacs-orgmode-bounces+tftorrey=tftorrey@gnu.org > > On Sun, Oct 24, 2010 at 5:00 AM, Robert Goldman wrote: > > The docstring for the command "org-footnote-goto-previous-reference" is > > > > Find the next previous of the footnote with label LABEL. > > > > ...which I can't actually parse. > > > > "Find the (immediately) previous reference to the footnote with label > > LABEL." > > > > Is that better? > > > > Patch is attached. I modified it a bit. Noorul, Actually, your modification makes it grammatically incorrect. The word "immediately" is to modify the adjective "previous", and in English, an adjective needs to be modified by an adverb. So, "immediately previous" would be correct, but "immediate previous" is not. Trying to be helpful, not merely nit-picking, Terry > Fix doc string > > * lisp/org-footnote.el (org-footnote-goto-previous-reference): Fix doc string > > Proposed by Robert Goldman > > Thanks and Regards > Noorul > ___ > 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 ___ 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