[O] New keybinding C-c C-x C-q for ̀org-clock-cancel' (was: Byte compiler warnings in org-clock.el)
Hi Achim, Achim Gratz writes: > Another issue: the key binding doesn't work, since "C-C C-x C-i" and > "C-C C-x C-I" are both mapped to org-clock-in-last via a general key > mapping of "S-TAB" to "TAB". I can't seem to find where this mapping is > defined and if it can be switched off in Org. It seems that "C-C C-x > C-z" would still be available, though. As the subject says. C-c C-x C-q => ̀org-clock-cancel' C-c C-x C-x => ̀org-clock-in-last' -- Bastien
Re: [O] BUG: Clocking is broken in master
Bernt Hansen writes: > I upgraded to release_7.8.11-174-g3ecd7a9 > this morning and after setting my clock I can't clock in on another task > anymore (the clock doesn't move) Now fixed in git, thanks for reporting this. -- Bastien
Re: [O] Problem getting booktabs example to work
Thomas S. Dye wrote: > Thanks to Nick Dokos for pointing out to me off-list that the example > was more broken than I'd thought. > In the "credit where it's due" department, Brendan Halpin was the one who found the problems: I just acted as a conduit, since I knew who the guilty party was :-) Nick
Re: [O] Problem getting booktabs example to work
Aloha Brendan, I've pushed up another fix to the example on Worg. The call to booktabs needs a width argument when the tabularx environment is used. <> Your table doesn't look as if it needs tabularx, so you might want to change to env="tabular" instead. Thanks to Nick Dokos for pointing out to me off-list that the example was more broken than I'd thought. All the best, Tom ... who has many reasons to be excited about the new exporter. -- Thomas S. Dye http://www.tsdye.com
[O] Problems with org-crypt on win7
Hi all, with some luck I managed top get org-crypt and gpg-agent running mostly smoothly on win7/emacs 23. Except one or two things which is why I'm seeking help here. emacs 24 did not work well (crashed when opening files), so an update is not an option so far. My files are utf-8 unix, as I mostly work on linux. The same encoding is on win7. Now when I encode a section on win7, I get ^M at the end of every line of GPG's ascii-armor. Is there some way to post-process the GPG output or otherwise swiftly get rid of the ^M cruft? The other issue is that the en/decryption (not sure which, but more likely decryption) is playing tricks on me - but solely on win32. Most times after decryption I discover that the decrypted text is an old version of the text in fact. Where "old" means "as it happended to be the first time it was encrypted this emacs run", roughly. Is there any obvious thing I might be missing, like temporary files/buffers to be cleaned? I'd appreciate any kind of pointer as I have absolutely no idea what might be going wrong. Cheers, Simon
Re: [O] Problem getting booktabs example to work
brendan.hal...@ul.ie (Brendan Halpin) writes: > I'm trying to implement the LaTeX/booktabs example at section 13.2 of > http://orgmode.org/worg/org-tutorials/org-latex-export.html > but am having no success. > > I've tried a range of tweaks, but the most common result is to get the > <> > line reproduced verbatim in the output. > > I've pulled the latest git version. > > In an "emacs -Q" session, I evaluate the following e-lisp: > >> (setq load-path (cons "~/mylisp/org-mode/lisp/" load-path)) >> (require 'org "~/mylisp/org-mode/lisp/org.el") >> (org-babel-do-load-languages >> 'org-babel-load-languages >> '((emacs-lisp . t) >>(R . t) >>(ruby . t) >>(latex . t) >>)) >> (org-babel-lob-ingest >> "~/mylisp/org-mode/contrib/babel/library-of-babel.org") > > and then do C-c C-e D in a buffer containing this org-mode text: > >> #+LATEX_HEADER: \usepackage{tabularx,booktabs} >> >> * Table section >> #+name: tabularx-export >> #+begin_src latex :exports results :results latex >> \begin{table}[htb!] >> \centering >> \footnotesize >> \caption{A table to test booktabs} >> \label{tab:test-table} >> <> >> \end{table} >> #+end_src >> >> * Not for export :noexport: >> #+tblname: test-table >> | | ham | hol | h2l | >> |-+---+---+---+ >> | ham | 1.000 | 0.998 | 0.996 | >> | hol | 0.998 | 1.000 | 0.999 | >> | h2l | 0.996 | 0.999 | 1.000 | >> | oma | 0.986 | 0.990 | 0.995 | >> | omv | 0.941 | 0.939 | 0.936 | > > The document is produced correctly, except for the fact that the > <> chunk appears verbatim in place of the table body. > > As far as I can see I am following the instructions correctly, but I > am probably missing some prerequisite. > > Any pointers appreciated! > > > Regards, > > Brendan Aloha Brendan, My mistake. You are right, the tabularx-export block should also have the header argument :noweb yes. I've pushed this change to Worg. Thanks for pointing it out. All the best, Tom -- Thomas S. Dye http://www.tsdye.com
Re: [O] Exporting to groff, now in org-export.el ...
Hi: I'm still working on this exporter, however being that my boss wants me to do some actual productive work, I need to split the time between work and hacking in emacs lisp. However, during the week I performed the following coding changes to the groff exporter: 1. Cleaned up some issues related to nested lists and special blocks. 2. Added formatting control on tables. Now the use of and will propagate in the exported table. 3. Added a new option for title line on tables (:title-line). It overrides the first line to cb (centralized bold). 4. Added support to propagate column width. It will convert 5 characters to one centimeter. It works sort of ok, but it's groff's doing, not org-mode. Needs more testing, but what I want to export, it's being exported fine. 5. Removed irrelevant code, more needs to be removed. This will be ongoing. Some of these have been discovered while eating my own dog food. I have an org file in which I store all the meeting notes. I started to export those to PDF using the groff exporter. Things that have been found that have resulted in bugs are being fixed and propagated. I'll do that to make sure that the exporter is stable for daily use by... using it daily. :) -- Luis Anaya papoanaya aroba hot mail punto com "Do not use 100 words if you can say it in 10" - Yamamoto Tsunetomo
Re: [O] Byte compiler warnings in org-clock.el
Bastien writes: >> The corresponding defvar should probably be moved: > > Done, thanks. Another issue: the key binding doesn't work, since "C-C C-x C-i" and "C-C C-x C-I" are both mapped to org-clock-in-last via a general key mapping of "S-TAB" to "TAB". I can't seem to find where this mapping is defined and if it can be switched off in Org. It seems that "C-C C-x C-z" would still be available, though. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptations for Waldorf Q V3.00R3 and Q+ V3.54R2: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada
[O] MobileOrg on an Android tablet?
emacs-orgmode-requ...@gnu.org writes: Hi: > Is anyone using MobileOrg for android on a tablet? I am... Vizio table running Honeycomb. > > More specific question -- is the android version just a phone app that > will get blown up onto the tablet screen, or will it use the extra > screen space on a tablet? It is the android version a phone app. Honeycomb does have options to manage the real estate on phone apps, being that this option is shown on phone apps, that's how I know that is a phone app and not a tablet "native" one. In the case of mobileorg on Honeycomb, you get more area for text if you choose to. It works ok. Keep in mind that you're organizing your life in plain text :) -- Luis Anaya papoanaya aroba hot mail punto com "Do not use 100 words if you can say it in 10" - Yamamoto Tsunetomo
Re: [O] new exporter
Nicolas Goaziou writes: > In fact, I do get the errors from a "make test" but I don't know how to > reproduce them from emacs. For starters you could try to run Emacs like "make test" does, but remove "-batch". This error somehow seems to involve that the test always returns "'left 'left 'right" rather than what the tests expects. > Also, I cannot determine when they appeared for the first time: I tried > various points back in time, but they always seem to be present. Yes, that has been my impression as well. Again, I can make them go away by removing one of the byte-compiled files, so I rather suspect another case of a macro expansion that's not quite what was intented. Only this time I really don't see from the backtrace what that would be. >> Tracebacks for the two new test errors: > > The two new errors should be gone. Thank you. Thanks. I meanwhile had figured that the limit parameter was missing, but not if it should always be (point-max). However since you did make that mistake yourself, maybe you could reconsider the function signature and perhaps making limit optional and replacing it with (point-max) if not present (reads as nil)? It seems that it would unclutter the code for the typical use... Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Q+, Q and microQ: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds
[O] [GSoC] Merge Driver progress and conflict markers
Hello list, Another small progress update on the org-merge-driver: The merge driver at this point has the ability to detect the insertion and deletion of headings, and should correctly cause updates to the tree structure to conflict. Here is a short example of the merge driver at work: Ancestor File: * Gardening ** Spring Planting * Rocket Cars ** Speed Concerns *** How to go faster * Origami - How do you fold a crane? Local Revision: * Gardening - Buy a sprinkler. * Rocket Cars - rocket cars are cool. ** Speed Concerns - I'm not going fast enough. *** How to go faster *** Bigger engines Remote Revision: * Gardening ** Spring Planting * Rocket Cars - rocket cars are dangerous. ** Safety Concerns - Look into wearing a helmet. * Origami - Cranes are easy. Output File: * Gardening - Buy a sprinkler. * Rocket Cars >>> - rocket cars are cool. === - rocket cars are dangerous. <<< ** Safety Concerns - Look into wearing a helmet. >>> ** Speed Concerns - I'm not going fast enough. *** Bigger engines === <<< >>> === * Origami - Cranes are easy. <<< Currently, I am working on global matching, which is my name for detecting element's movement across the document. I need some input on the display of conflicts: Right now I am trying to devise the output to be as informative and useful as possible. There are a number of issues to consider: 1. Providing the most amount of information possible. This means including descriptive information in the conflict markers, and never combining the conflict markers of side-by-side conflicts. There is also a risk of printing too much, and cluttering the output. 2. Nested conflict markers. With global matching implemented in the near future, the merge driver may be printing nested conflicts. This is because it is possible for conflicts to be inside other conflict boundaries. It will be important to consider the desired behavior and output of the merge driver when merging elements whose parents have conflicted. 3. Compatibility with org-mode and traditional diff tools. Some merge tools may simply fail with nested conflicts. 4. Visual queues. Nested conflict markers could be indented according to their conflict level to help see where they line up. This has the trade off of abandoning the traditional style, and may be initially confusing. Following is a simplified example of nested conflict markers. In the example, each heading is unique and we assume their movement may be tracked. In the actual merge driver, IDs would be used to implement tracking of this nature. EXAMPLE 2 Ancestor: * Heading 1 * Heading 2 * Heading 3 ** Heading A ** heading B Local Revision: * Heading 1 ** DONE Heading A ** Heading B * Heading 2 * Heading 3 Remote Revision: * Heading 2 ** TODO Heading A * Heading 3 Output File: >>> local: updated children * Heading 1 >>> local: content update ** DONE Heading A === ** TODO Heading A <<< remote: content update ** Heading B === <<< remote: deleted * Heading 2 >>> local: moved === >>> local: content update ** DONE Heading A === ** TODO Heading A <<< remote: content update <<< remote: moved * Heading 3 ## output, non-nested conflicts >>> local * Heading 1 ** DONE Heading A ** Heading B === <<< remote * Heading 2 >>> local: moved === ** TODO Heading A <<< * Heading 3 For the moment, I am partial to using nested conflict markers. Nested markers display as much information as possible, and allow the merger to do as much work as possible towards merging the final document. The drawback of nested markers is that they may be a major departure from diff output. Any kind of brainstorming, interesting examples, or opinions would be a huge help to me. Thanks, Andrew
[O] Problem getting booktabs example to work
I'm trying to implement the LaTeX/booktabs example at section 13.2 of http://orgmode.org/worg/org-tutorials/org-latex-export.html but am having no success. I've tried a range of tweaks, but the most common result is to get the <> line reproduced verbatim in the output. I've pulled the latest git version. In an "emacs -Q" session, I evaluate the following e-lisp: > (setq load-path (cons "~/mylisp/org-mode/lisp/" load-path)) > (require 'org "~/mylisp/org-mode/lisp/org.el") > (org-babel-do-load-languages > 'org-babel-load-languages > '((emacs-lisp . t) >(R . t) >(ruby . t) >(latex . t) >)) > (org-babel-lob-ingest > "~/mylisp/org-mode/contrib/babel/library-of-babel.org") and then do C-c C-e D in a buffer containing this org-mode text: > #+LATEX_HEADER: \usepackage{tabularx,booktabs} > > * Table section > #+name: tabularx-export > #+begin_src latex :exports results :results latex > \begin{table}[htb!] > \centering > \footnotesize > \caption{A table to test booktabs} > \label{tab:test-table} > <> > \end{table} > #+end_src > > * Not for export :noexport: > #+tblname: test-table > | | ham | hol | h2l | > |-+---+---+---+ > | ham | 1.000 | 0.998 | 0.996 | > | hol | 0.998 | 1.000 | 0.999 | > | h2l | 0.996 | 0.999 | 1.000 | > | oma | 0.986 | 0.990 | 0.995 | > | omv | 0.941 | 0.939 | 0.936 | The document is produced correctly, except for the fact that the <> chunk appears verbatim in place of the table body. As far as I can see I am following the instructions correctly, but I am probably missing some prerequisite. Any pointers appreciated! Regards, Brendan -- Brendan Halpin, Department of Sociology, University of Limerick, Ireland Tel: w +353-61-213147 f +353-61-202569 h +353-61-338562; Room F1-009 x 3147 mailto:brendan.hal...@ul.ieULSociology on Facebook: http://on.fb.me/fjIK9t http://teaching.sociology.ul.ie/bhalpin/wordpress twitter:@ULSociology
Re: [O] BUG: Clocking is broken in master
Bernt Hansen norang.ca> writes: > I upgraded to release_7.8.11-174-g3ecd7a9 > this morning and after setting my clock I can't clock in on another task > anymore (the clock doesn't move) > > I reverted back to release_7.8.11-88-g802fc65 which works for me. > > I don't have time to pursue the cause of this now but will look at it > this weekend if nobody beats me to it. > > Regards, > Bernt I was just going to post the same report. When I try to clock in, no clock action happens, message: org-clock-in-last: Wrong type argument: markerp, nil I am also on 3ecd7a9, reverting. Thanks, Jeff
Re: [O] new exporter
Hello, Achim Gratz writes: > Current testing results with the exporter files uncompiled: > > 2 unexpected results: >FAILED test-org-export/read-attribute >FAILED test-org-export/unravel-code > > ...and compiled: > > 6 unexpected results: >FAILED test-org-export/read-attribute >FAILED test-org-export/table-cell-alignment >FAILED test-org-export/table-cell-borders >FAILED test-org-export/table-row-ends-header-p >FAILED test-org-export/table-row-starts-header-p >FAILED test-org-export/unravel-code > > > You said you don't get those errors for the table exporter, which is > still puzzling me. In fact, I do get the errors from a "make test" but I don't know how to reproduce them from emacs. Also, I cannot determine when they appeared for the first time: I tried various points back in time, but they always seem to be present. > Tracebacks for the two new test errors: The two new errors should be gone. Thank you. Regards, -- Nicolas Goaziou
Re: [O] Bug (?): Indentation of lists and customized TODOs
Am Freitag, 13. Juli 2012, 15:07:16 schrieb AW: > Am Freitag, 13. Juli 2012, 14:34:45 schrieb Nicolas Goaziou: > > > I have used neither of them. I just type the text, auto-fill should make > > > line breaks, you are right. Auto-fill does, but beginning in the third > > > line, something fails. > > > > Starting with "emacs -Q", I still cannot reproduce your problem. Could > > you double-check your configuration? > > Yes, I did. When I start Emacs by "emacs -Q" and switch scratch to org-mode, > I can switch on auto-fill as well and it all works like expected. > > But if I start with my configuration in .emacs, I get a minor mode "Ind", > which seems to be from "org-indent.el". My .emacs starts this, but I failed > to find in which line. So "Ind" and auto-fill-mode together lead to this > strange behaviour of lists. If I turn off Ind, everything is well. But > where to turn off? > This is weird. There are some conditions more necessary to reproduce and I'm still testing. 1. »(setq org-startup-indented t)« does not trigger the wrong indentation. 2. I had this line in .emacs: »(setq-default auto-fill-function 'do-auto-fill)« and replaced it with this function: » (add-hook 'org-mode-hook (lambda () (auto-fill-mode 1))) « 3. The behaviour of lists seems to depend on which kind of text follows. As soon as I find out, I'll post the result. Regards, Alexander
[O] BUG: Clocking is broken in master
Hi, I upgraded to release_7.8.11-174-g3ecd7a9 this morning and after setting my clock I can't clock in on another task anymore (the clock doesn't move) I reverted back to release_7.8.11-88-g802fc65 which works for me. I don't have time to pursue the cause of this now but will look at it this weekend if nobody beats me to it. Regards, Bernt
Re: [O] How to integrate org-mode in a MS Windows-/Office-based environment?
Hi Martin, M writes: > One example of helpful integration: if I send or get an e-mail which I want > to follow-up on later, I want to track that in org-mode and I want to have a > way to quickly find the original message in Outlook again (to reply or > forward it or whatever), which can be done with hyperlinks. You can simplify making links to your email messages by creating a custom link abbreviation assuming there is some uniquely identifying chunk of the URL to use as a key. Here are examples using google search and maps: ;; in .emacs (setq org-link-abbrev-alist '( ("google" . "http://www.google.com/search?q=";) ("gmap" . "http://maps.google.com/maps?q=%s";) )) Example org markup: [[google:org-mode][org-mode on google]] -Brett. pgpDDe58dMKmx.pgp Description: PGP signature
Re: [O] Bug (?): Indentation of lists and customized TODOs
Am Freitag, 13. Juli 2012, 14:34:45 schrieb Nicolas Goaziou: > > I have used neither of them. I just type the text, auto-fill should make > > line breaks, you are right. Auto-fill does, but beginning in the third > > line, something fails. > > Starting with "emacs -Q", I still cannot reproduce your problem. Could > you double-check your configuration? Yes, I did. When I start Emacs by "emacs -Q" and switch scratch to org-mode, I can switch on auto-fill as well and it all works like expected. But if I start with my configuration in .emacs, I get a minor mode "Ind", which seems to be from "org-indent.el". My .emacs starts this, but I failed to find in which line. So "Ind" and auto-fill-mode together lead to this strange behaviour of lists. If I turn off Ind, everything is well. But where to turn off? Thanks again for your help, Alexander
[O] BUG! Re: Byte compiler warnings in org-clock.el
Da: Bastien Inviato: Venerdì 13 Luglio 2012 1:46 > Achim Gratz writes: > > The corresponding defvar should probably be moved: probably not. @Achim that's why I wanted to have the last version: to report bugs, as stated in the documentation [[info:org#Feedback]] "For bug reports, please first try to reproduce the bug with the latest version of Org available" > Done, thanks. Unfortunately this introduces a bug: In a new file (with a pending clock) with Org-mode version 7.8.11 (3ecd7a9ad03323 when I try to start a clock I get the error: Symbol's function definition is void: org-clock-in-last Debugger entered--Lisp error: (void-function org-clock-in-last) whereas I can clock in with version: Org-mode version 7.8.11 (1fe42fd0b [and the pending clock is resolved] If the file is already opened and after M-x org-reload I the current clock is closed when one try to clock in a new subheading the last subtree is clocked-in cheers, Giovanni
Re: [O] Bug (?): Indentation of lists and customized TODOs
> I have used neither of them. I just type the text, auto-fill should make line > breaks, you are right. Auto-fill does, but beginning in the third line, > something fails. Starting with "emacs -Q", I still cannot reproduce your problem. Could you double-check your configuration?
Re: [O] Bug (?): Indentation of lists and customized TODOs
Am Freitag, 13. Juli 2012, 12:34:19 schrieb Nicolas Goaziou: > Hello, > > AW writes: > > #+TODO: TODO INPUT ASK MAYBE | CANCELLED DONE > > * berschrift > > > > Example: > > - This is the first line. > > - This is the second line and here I'm adding more and more text. It > > > > may be the description of something, let's say the summary of one > > > > of a chapter... > > > > You see? The third line is not indented like it should be. > > I cannot reproduce it. > > Are you using auto-fill-mode? YES. 'Should have mentioned, sorry. > If so, what happens if you put "of > a chapter..." on the same line as "summary of one" and use M-q? It get's intendet allright: - This is the second line and here I'm adding more and more text. It may be the description of something, let's say the summary of one of a chapter... > > Have you used RET instead of C-j? In that case, you can simply indent > last line manually and resume editing your text. I have used neither of them. I just type the text, auto-fill should make line breaks, you are right. Auto-fill does, but beginning in the third line, something fails. > > Also, which Org version are you using? > 7.8.11 > > Regards, Alexander
Re: [O] Bug (?): Indentation of lists and customized TODOs
Hello, AW writes: > #+TODO: TODO INPUT ASK MAYBE | CANCELLED DONE > * berschrift > Example: > - This is the first line. > - This is the second line and here I'm adding more and more text. It > may be the description of something, let's say the summary of one > of a chapter... > > You see? The third line is not indented like it should be. I cannot reproduce it. Are you using auto-fill-mode? If so, what happens if you put "of a chapter..." on the same line as "summary of one" and use M-q? Have you used RET instead of C-j? In that case, you can simply indent last line manually and resume editing your text. Also, which Org version are you using? Regards, -- Nicolas Goaziou
[O] Bug (?): Indentation of lists and customized TODOs
Hi, I'm writing lots of plain lists (»unordered lists«). But the third line in one item is no longer indented, *if I customize the TODOs* by adding something like »#+TODO: TODO INPUT ASK MAYBE | CANCELLED DONE« . So how can I customize org-mode TODOs and keep the lists working? #+TODO: TODO INPUT ASK MAYBE | CANCELLED DONE * Überschrift Example: - This is the first line. - This is the second line and here I'm adding more and more text. It may be the description of something, let's say the summary of one of a chapter... You see? The third line is not indented like it should be. Thank you for your help, kind regards, Alexander
Re: [O] How to integrate org-mode in a MS Windows-/Office-based environment?
Da: M Inviato: Giovedì 12 Luglio 2012 23:06 > I'd like to > know how you integrate org-mode in your work on MS Windows. Hi Martin, I use Org in a Windows 7 environment too. Regarding he interaction with collegues, (as Russel have already suggested) I write my reports in Org, then export to HTML with the proper stilesheet and then open in word for the last editing. If I had installed LibreOffice my life'd have been a lot easier (hint, hint ;) In Org I can open dired link to pdf files (clicking o them), but I haven't yet managed to open links to word and excel files. In my home directory I have a .mailcap file: - application/pdf; "C:/Program Files (x86)/Adobe/Reader 10.0/Reader/AcroRd32.exe" %s a plic tion/w rd; "C:/Program Files (x86)/Microsoft Office/Office12/win ord.exe" %s <- DOES NOT WORK and certain letters are missing. -- Like Mikhail pointed out dired is really useful and I use Dired extensively; it can also resolve addresses through the Intranet evaluating expressions like: (dired-at-point "//Server1/everybody/my-dir") I also open the files with the appropriate program (excel, word, reader..) in the Dired buffer pressing F3, having the following code in my .emacs: ;; Dired ;= (setq delete-by-moving-to-trash t) ;;; Open files with i.e. ; http://stackoverflow.com/questions/2284319/opening-files-with-default-windows-application-from-within-emacs (defun w32-browser (doc) (w32-shell-execute 1 doc)) (eval-after-load "dired" '(define-key dired-mode-map [f3] (lambda () (interactive) (w32-browser (dired-replace-in-string "/" "\\" (dired-get-filename)) cheers, Giovanni