[O] Bug: org-timer loses track of running timer [8.3beta (release_8.3beta-582-g40f2b8 @ mixed installation! /home/rbsmith/.emacs.d/el-get/org-mode/contrib/lisp/ and /home/rbsmith/.emacs.d/el-get/org-m
I'm using org-mode 8.3beta with emacs 24.4.1. I can start a timer using org-mode-start but when I try to stop it with org-mode-stop, emacs reports back "No running timer". Emacs : GNU Emacs 24.4.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.14.3) of 2014-10-21 on bitzer.hoetzel.info Package: Org-mode version 8.3beta (release_8.3beta-582-g40f2b8 @ mixed installation! /home/rbsmith/.emacs.d/el-get/org-mode/contrib/lisp/ and /home/rbsmith/.emacs.d/el-get/org-mode/lisp/) current state: == (setq org-tab-first-hook '(org-hide-block-toggle-maybe org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-latex-classes '(("beamer" "\\documentclass[presentation]{beamer}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ("article" "\\documentclass[11pt]{article}" ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}") ("\\paragraph{%s}" . "\\paragraph*{%s}") ("\\subparagraph{%s}" . "\\subparagraph*{%s}")) ("report" "\\documentclass[11pt]{report}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ("book" "\\documentclass[11pt]{book}" ("\\part{%s}" . "\\part*{%s}") ("\\chapter{%s}" . "\\chapter*{%s}") ("\\section{%s}" . "\\section*{%s}") ("\\subsection{%s}" . "\\subsection*{%s}") ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) ) org-contacts-files '("~/org/contacts.org") org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-html-format-drawer-function '(lambda (name contents) contents) org-log-done 'time org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-function org-confirm-shell-link-function 'yes-or-no-p org-finalize-agenda-hook '(org-agenda-to-appt) org-agenda-exporter-settings '((ps-number-of-columns 2) (ps-landscape-mode t) (org-agenda-add-entry-text-maxlines 5) (htmlize-output-type (quote css))) org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-agenda-custom-commands '(("h" "Work todos" tags-todo "-personal-doat={.+}-dowith={.+}/!-TASK" ((org-agenda-todo-ignore-scheduled t))) ("H" "All work todos" tags-todo "-personal/!-TASK-MAYBE" ((org-agenda-todo-ignore-scheduled nil))) ("A" "Work todos with doat or dowith" tags-todo "-personal+doat={.+}|dowith={.+}/!-TASK" ((org-agenda-todo-ignore-scheduled nil))) ("j" "TODO dowith and TASK with" ((org-sec-with-view "TODO dowith") (org-sec-where-view "TODO doat") (org-sec-assigned-with-view "TASK with") (org-sec-stuck-with-view "STUCK with")) ) ("p" "Projects" tags-todo "+TYPE=\"Project\"" ((org-agenda-sorting-strategy (quote (priority-down))) (org-agenda-show-all-dates t) (org-agenda-include-deadlines t)) ("~/mnt/home/public_html/agenda/projects.html" "~/mnt/home/public_html/agenda/projects.ics") ) ("S" "Scheduled maintenance" tags-todo "+TYPE=\"Maintenance\"" ((org-agenda-use-time-grid nil) (org-agenda-span (quote week)) (org-agenda-add-entry-text-maxlines 0) (org-agenda-skip-entry-if (quote notscheduled)) (org-agenda-show-all-dates t) (org-agenda-include-deadlines t) (org-agenda-files (quote ("~/org/todo.org" ("~/mnt/home/public_html/agenda/maint.html" "~/mnt/home/public_html/agenda/maint.ics") ) ("x" "Test block agenda" ((agenda "" ((org-agenda-time-grid nil) (org-agenda-ndays 3) (org-deadline-warning 60)) ) (tags "+TYPE=\"Project\"") (tags "+TYPE=\"Maintenance\"")) ((org-agenda-entry-types (quote (:scheduled :deadline))) (org-agenda-sorting-strategy (quote (time-up scheduled-up priority-down))) ) ) ) org-export-with-sub-superscripts "{}" org-latex-format-headline-function 'org-latex-format-headline-default-function org-default-notes-file "~/org/notes.org" org-todo-keyword-faces '(("TODO" :weight bold)) org-capture-templates '(("t" "Todo" entry (file+headline "~/org/todo.org" "to do") "** TODO %?\n %i\n %a") ("j" "Journal" entry (file+datetree "~/org/journal.org") "* %U %?\n\n %i\n %a") ("p" "Phone call" entry (file+datetree "~/org/journal.org") "* %U :phone:\n\n %i-Who: %? \n-Company: \n\n") ("c" "Contacts" entry (file "~/org/contacts.org") "* %(org-contacts-template-name)\n:PROPERTIES:\n:EMAIL: %(org-contacts-template-email)\n:END:") ) org-after-todo-state-change-hook '(org-clock-out-if-current) org-latex-format-drawer-function '(lambda (name contents) contents) org-from-is-user-regexp nil org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-tags-column -76 org-agenda-before-wri
[O] timezone in org-mode events?
As far as I can tell, org-mode (at least out-of-the-box) doesn't seem to support any sort of timezone information in events (deadlines etc.). There are certainly events for which it would be useful to establish the absolute time (e.g. for conference abstract submission deadlines) either in terms of timezone abbreviations or UTC+/-N format. Is this sort of feature enableable as an option somewhere in org-mode? ~ Dr Benjamin Slade pgp fingerprint: 21BA 2AE1 28F6 DF36 110A 0E9C A320 BBE8 2B52 EE19 ~ {sent by mu4e on Emacs running under GNU/Linux} (Choose Linux, Choose Freedom)
Re: [O] Weird behavior in `org-agenda-redo' and/or `org-mobile-push'
Dear Bastien, Would you please consider incorporating my patch (or reimplementing it)? As it stands, the problem I described earlier (agenda buffer gets screwed up after org mobile push) persists and I need to repatch on every new version I install. I will also look into the FSF papers myself. Thanks in advance, Kosta -- Konstantin Kliakhandler http://slumpy.org )°) )°( (°( On Thu, May 22, 2014 at 7:08 PM, Konstantin Kliakhandler wrote: > Hi Bastien, > > I'm willing to sign the FSF copyright papers, provided it isn't too big of > a hassle :-). What do I need to do? > > The problem that the other part of the patch solves is as follows: > > org-batch-store-agenda-views writes all agendas (according to some > criteria) to disk. > To do this, it first generates all those agendas in a temporary buffer, > which is killed at the end. > This is done in a special environment, so as to not change the currently > open agenda buffer (if there is one). > The process is not hermetic - the plist of org-agenda-category-filter can > get modified while generating the temporary agendas (when generating > agendas with a category filter). > If indeed modified, then at the end of the process, a user sees a filtered > agenda buffer even when starting out from an unfiltered one. > > The patch addresses this by first saving the plist of the > org-agenda-category-filter variable, then executing the regular > functionality of org-batch-store-agenda-views, and finally restoring the > plist of org-agenda-category-filter variable. > > In case something falls through with the FSF papers, I think this should > be enough to implement a similar fix. > > Thanks, > Kosta > > > -- > Konstantin Kliakhandler > http://slumpy.org > )°) )°( (°( > > > On Thu, May 22, 2014 at 1:59 PM, Bastien wrote: > >> Hi Konstantin, >> >> Konstantin Kliakhandler writes: >> >> > I also fixed the problems in both org-agenda.el and am including the >> > patch. >> >> Thanks for the patch -- I applied the part that I understand: >> http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=445a8ec6 >> >> As for the other part, can you restate what bug it fixes in very >> simple words? >> >> Also, we cannot accept it unless you signed the FSF copyright >> assignment, so prepare to go this route if you want to submit >> a consequent patch. Otherwise simply describe the problem and >> a possible fix and we'll implement it. >> >> Thanks, >> >> -- >> Bastien >> > >
Re: [O] [PATH] Speedups to org-table-recalculate
Sorry, that was incorrect - real patches attached. On Mon, Dec 1, 2014 at 1:02 AM, Nathaniel Flath wrote: > Changed it to just a function - you are correct, for this purpose I don't > need a macro. > > On Fri, Nov 21, 2014 at 6:30 PM, Nicolas Goaziou > wrote: > >> Nathaniel Flath writes: >> >> > OK, I think I fixed that. >> >> Thanks. >> >> I didn't verify it compiles, but your macro still looks suspicious. >> >> > +(defmacro org-table-execute-once-per-second (t1 &rest body) >> > + "If there has been more than one second since T1, execute BODY. >> > +Updates T1 to 'current-time' if this condition is met. If T1 is >> > +nil, always execute body." >> > + `(let ((t1 ,t1)) >> > + (if t1 >> > + (let ((curtime (current-time))) >> > +(when (< 0 (nth 1 (time-subtract curtime t1))) >> > + (setq t1 curtime) >> > +,@body)) >> > + ,@body))) >> >> You shouldn't splice BODY twice in your macro. Also, I don't get why you >> need to (setq t1 curtime). >> >> Do you need a macro at all for this task? ISTM you only need to display >> a message conditionally and update a time value. >> >> >> Regard, >> > > 0001-org-table.el-org-table-recalculate-early-returns(1).patch Description: Binary data 0001-org-table.el-org-table-recalculate-is-quieter.patch Description: Binary data
[O] Display image in current section
Hi everyone I current use org-mode to organise lots of images in different sections. Sometimes i just would like to display the image in current section, not all the image, because it takes some time to show them all. Any solution? Thanks in advance. llcc
Re: [O] [PATH] Speedups to org-table-recalculate
Changed it to just a function - you are correct, for this purpose I don't need a macro. On Fri, Nov 21, 2014 at 6:30 PM, Nicolas Goaziou wrote: > Nathaniel Flath writes: > > > OK, I think I fixed that. > > Thanks. > > I didn't verify it compiles, but your macro still looks suspicious. > > > +(defmacro org-table-execute-once-per-second (t1 &rest body) > > + "If there has been more than one second since T1, execute BODY. > > +Updates T1 to 'current-time' if this condition is met. If T1 is > > +nil, always execute body." > > + `(let ((t1 ,t1)) > > + (if t1 > > + (let ((curtime (current-time))) > > +(when (< 0 (nth 1 (time-subtract curtime t1))) > > + (setq t1 curtime) > > +,@body)) > > + ,@body))) > > You shouldn't splice BODY twice in your macro. Also, I don't get why you > need to (setq t1 curtime). > > Do you need a macro at all for this task? ISTM you only need to display > a message conditionally and update a time value. > > > Regard, > 0001-org-table.el-org-table-recalculate-is-quieter.patch Description: Binary data 0001-org-table.el-org-table-recalculate-early-returns(1).patch Description: Binary data
Re: [O] how to export to HTML keeping the whitespaces
jenia.iv...@gmail.com (jenia.ivlev) writes: > Eric Abrahamsen writes: > >> jenia.iv...@gmail.com (jenia.ivlev) writes: >> >>> Hello: >>> >>> I want to export to HTML and keep the white spaces. >>> Normally, I have to do skip a line (two newline characters) or use >>> #+begin_verse... #+end_verse. >>> Which is not optimal. The two new lines take up too much space, and the >>> begin/end verse don't export in the same to way to HTML as it does to >>> text. >>> To HTML it keep the indentation corresponding to its location in the >>> tree, and to text it has a constant indentation (indentation it gives to >>> verse i think). >>> So what is the proper way to do this? How do I instruct org-export to >>> keep the whitespaces? >>> >>> Thanks very much in advnace for your time and kind help. >> >> Take a look at the docstring for the org-export-preserve-breaks >> variable. That ought to do it, and you can set it per-file in the export >> options. >> >> Eric > > > Thanks. > I set (org-export-preserve-breaks t) in .emacs file and it does preserve > the breaks, but not the white spaces: it doesnt indent depending on the > nesting in the org-tree, and it doesnt indent if I press > . The text is shown to the left mode of the > screen. > > Is there a way to change that? I don't think so, no. That's a fundamental property of the way HTML (and Latex) behave: they collapse all whitespace to single spaces, and single paragraph breaks. As far as I know, the only way to get what you want is a verbatim block, ie a tag in HTML, and as you discovered that comes with other unwanted display properties. It's possible you could build something up with non-breaking spaces, but that sounds awful. Eric
Re: [O] how to export to HTML keeping the whitespaces
Eric Abrahamsen writes: > jenia.iv...@gmail.com (jenia.ivlev) writes: > >> Hello: >> >> I want to export to HTML and keep the white spaces. >> Normally, I have to do skip a line (two newline characters) or use >> #+begin_verse... #+end_verse. >> Which is not optimal. The two new lines take up too much space, and the >> begin/end verse don't export in the same to way to HTML as it does to >> text. >> To HTML it keep the indentation corresponding to its location in the >> tree, and to text it has a constant indentation (indentation it gives to >> verse i think). >> So what is the proper way to do this? How do I instruct org-export to >> keep the whitespaces? >> >> Thanks very much in advnace for your time and kind help. > > Take a look at the docstring for the org-export-preserve-breaks > variable. That ought to do it, and you can set it per-file in the export > options. > > Eric Thanks. I set (org-export-preserve-breaks t) in .emacs file and it does preserve the breaks, but not the white spaces: it doesnt indent depending on the nesting in the org-tree, and it doesnt indent if I press . The text is shown to the left mode of the screen. Is there a way to change that?
[O] debugging Agenda keyword view?
I've never had much luck getting the keyword Agenda view to work correctly: there was a mention here before about Agenda file/buffer restrictions piling up over time, not getting cleared, but I don't actually use such restrictions much, and I still have the problem. It seems like the longer I've had Emacs/Org up and running, the less the keyword Agenda search can find. The regexp search always works correctly, but the keyword search just finds progressively fewer and fewer entries. I haven't yet been able to see a pattern, but restarting Emacs fixes it -- I can find everything again. Has anyone seen this before? I'll go code diving in a few days, but if anyone has any insights in the meantime, please let me know... Eric
Re: [O] how to export to HTML keeping the whitespaces
jenia.iv...@gmail.com (jenia.ivlev) writes: > Hello: > > I want to export to HTML and keep the white spaces. > Normally, I have to do skip a line (two newline characters) or use > #+begin_verse... #+end_verse. > Which is not optimal. The two new lines take up too much space, and the > begin/end verse don't export in the same to way to HTML as it does to > text. > To HTML it keep the indentation corresponding to its location in the > tree, and to text it has a constant indentation (indentation it gives to > verse i think). > So what is the proper way to do this? How do I instruct org-export to > keep the whitespaces? > > Thanks very much in advnace for your time and kind help. Take a look at the docstring for the org-export-preserve-breaks variable. That ought to do it, and you can set it per-file in the export options. Eric
[O] how to export to HTML keeping the whitespaces
Hello: I want to export to HTML and keep the white spaces. Normally, I have to do skip a line (two newline characters) or use #+begin_verse... #+end_verse. Which is not optimal. The two new lines take up too much space, and the begin/end verse don't export in the same to way to HTML as it does to text. To HTML it keep the indentation corresponding to its location in the tree, and to text it has a constant indentation (indentation it gives to verse i think). So what is the proper way to do this? How do I instruct org-export to keep the whitespaces? Thanks very much in advnace for your time and kind help.
[O] org-read-date with pop-up-frames set to t
Hello, I'm experimenting with using frames instead of windows, and I'm seeing some strange behavior with `org-read-date'. Here is an ECM starting from an emacs -Q (with an emacs 24.4 and the bundled org): #+begin_src emacs-lisp (setq pop-up-frames t) (setq frame-auto-hide-function 'delete-frame) (require 'org) (org-read-date) #+end_src When evaluating the `org-read-date' function, a new frame opens (great) with two windows, the bottom one being the calendar window. Question 1: is it possible just to have the calendar window in the new frame? When I select a date, I see the selected date echoed in the minibuffer (the function has returned a value), but the frame and the two windows stay there, and I have to manually delete the frame to get back where I was. Question 2: is there a way to delete this frame when I'm done selecting the date? Thanks, Alan -- OpenPGP Key ID : 040D0A3B4ED2E5C7 signature.asc Description: PGP signature
Re: [O] Wrapping sections in html not possible
Hello Richard, Puneeth Chaganti created https://github.com/GlPortal/glportal_website/blob/master/plugins/orgmode/init.el (L 111-128). Which works good but sadly it is not possible to use macros inside of the org source blocks. We are currently looking for a solution. Regards Henry