Re: After years without issues, Orgmode now fails to apply agenda filters to preset templates
Pedro writes: > I use the same version emacs and orgmode version as you, and I have > similar needs as you: filtering org-agenda by tags, etc. > > I will share my whole section of org-agenda-custom-commands as it > is, I hope you can followup it nicely. Find it attached in file: > agenda-filters.org Thanks for your reply! it appears that you that the org-agenda-filter-preset that have been working in my emacs 28.3 (I try to use whatever ships with the emacs version for stability reasons) and earlier are not functioning anymore. At least, I see your approach is making heavy use of org-agenda-skip-function and org-agenda-skip-enty-if. I will rethink my setup to use those things. Thanks for your response! - Tory
After years without issues, Orgmode now fails to apply agenda filters to preset templates
Hello, After years without issue where I could choose, for example, to see my daily work agenda, the filters are now failing to be applied. This is in org 9.6.15, as shipped with my emacs 29.3. I have verified that this problem is the same in =emacs -Q= without any other packages: when I choose my agenda view, such as "C-a w d" for my daily work agenda, I still get an agenda buffer named "Org_Agenda(wd)", but none of my preset filters have applied. I skimmed the documentation and I haven't seen any changed syntax. Here is my definition from my =use-package org= =:custom= section: #+begin_src lisp (org-agenda-custom-commands '(("w" . "Work") ("wd" "Work Day" ((agenda "" ((org-agenda-span 1) (org-agenda-start-on-weekday nil) (org-agenda-regexp-filter-preset '("+ODH\\|AGENDA\\|CONFERENCE" "-TSA\\|PRIESTHOOD") nil))) #+end_src Why has this stopped applying my filter when it worked for so long? Is it a bug, or do I need to change something to make it up-to-date? (I'm cross-posting this to both reddit and the orgmode mailing list since the two audiences might not overlap much)
[BUG] Capture fails condition-case: Capture template ‘i’: Wrong type argument: sequencep, org-display-buffer-split [9.6.15 (release_9.6.15 @ /home/torysa/emacs/.emacs.d/straight/build/org/)]
When I select any capture command, most crucially including the one from my gnus emails and most simply just my save my own text, I am blocked by the error Capture template ‘i’: Wrong type argument: sequencep, org-display-buffer-split [9.6.15 (release_9.6.15 @ /home/torysa/emacs/.emacs.d/straight/build/org/)] the template that causes the above error is this: ("i" "Icebox" entry (file+olp+datetree "~/org/icebox.org") "* TODO %U %^{prompt} %^g\n%?" :prepend t) However, I seem to receive the same error on the rest of them. https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. Emacs : GNU Emacs 29.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.41, cairo version 1.18.0) Package: Org mode version 9.6.15 (release_9.6.15 @ /home/torysa/emacs/.emacs.d/straight/build/org/) current state: == (setq org-special-ctrl-o nil org-link-elisp-confirm-function 'yes-or-no-p org-agenda-diary-file "~/org/agenda.org" org-directory "~/org/" org-agenda-skip-deadline-prewarning-if-scheduled t org-agenda-start-with-clockreport-mode t org-bibtex-headline-format-function 'org-bibtex-headline-format-default org-agenda-custom-commands '(("l" . "schooL") ("ld" "schooL Day" ((agenda "" ((org-agenda-span 1) (org-agenda-start-on-weekday nil) (org-agenda-regexp-filter-preset '("+:CLASS:" "-:TSA:"))) ) ) nil) ("lw" "schooL Week" ((agenda "" ((org-agenda-span 7) (org-agenda-start-on-weekday nil) (org-agenda-regexp-filter-preset '("+:CLASS:" "-:TSA:"))) ) ) nil) ("lm" "schooL Month" ((agenda "" ((org-agenda-span 'month) (org-agenda-start-on-weekday nil) (org-agenda-regexp-filter-preset '("+:CLASS:" "-:TSA:"))) ) ) nil) ("p" . "Priesthood") ("pd" "Priesthood Day" ((agenda "" ((org-agenda-span 1) (org-agenda-start-on-weekday nil) (org-agenda-regexp-filter-preset '("+:PRIESTHOOD:" "-:TSA:"))) ) ) nil) ("pw" "Priesthood Week" ((agenda "" ((org-agenda-span 7) (org-agenda-start-on-weekday nil) (org-agenda-regexp-filter-preset '("+:PRIESTHOOD:" "-:TSA:"))) ) ) nil) ("pm" "Priesthood Month" ((agenda "" ((org-agenda-span 'month) (org-agenda-start-on-weekday nil) (org-agenda-regexp-filter-preset '("+:PRIESTHOOD:" "-:TSA:"))) ) ) nil) ("w" . "Work") ("wd" "Work Day" ((agenda "" ((org-agenda-span 1) (org-agenda-start-on-weekday nil) (org-agenda-regexp-filter-preset '("+:ODH:\\|:AGENDA:\\|:CONFERENCE:" "-:TSA:\\|:PRIESTHOOD:"))) ) ) nil) ("ww" "Work Week" ((agenda "" ((org-agenda-span 7) (org-agenda-start-on-weekday nil) (org-agenda-regexp-filter-preset '("+:ODH:\\|:AGENDA:\\|:CONFERENCE:" "-:TSA:\\|:PRIESTHOOD:"))) ) ) nil) ("wm" "Work Month" ((agenda "" ((org-agenda-span 'month) (org-agenda-start-on-weekday nil) (org-agenda-regexp-filter-preset '("+:ODH:\\|:AGENDA:\\|:CONFERENCE:" "-:TSA:\\|:PRIESTHOOD:"))) ) ) nil)
Re: Tableofcontents
I was unaware of latexmk; installing now! Thanks! sad that the original problem is not helped by it, though. Ihor Radchenko writes: > web...@toryanderson.com (Tory S. Anderson) writes: > >> I don't run the cutting-edge org, but I often have to run my export twice to >> get things like page numbers correct. Maybe it's not ideal, but if you run >> the export a second time does it change the result? > > When available, Org mode uses latexmk, which takes care about running > LaTeX as many times as necessary. > > In this particular case, latexmk is used. The problem is with LaTeX > throwing critical errors. Critical enough to not produce pdf in one of > the iterations.
Re: Diary sexp and comparing dates, agenda
I don't have an answer -- my own use of diary-sexp is nothing more than standard holiday inclusion -- but I'm interested and watching for answers on the list. I personally didn't know that you could do such calculations the way you are, such as "too close to DATE", so I'm impressed! - Tory
Re: Tableofcontents
Horst Leps writes: > (I use Emacs 28, Mac-Mini Apple M2, Sonoma 14.2.1) > Since a few days: Orgmode export to Latex only creates one Latex run, so that > the table of contents remains empty and no longer shows any sections. - > What to do? Horst I don't run the cutting-edge org, but I often have to run my export twice to get things like page numbers correct. Maybe it's not ideal, but if you run the export a second time does it change the result? - Tory
Re: is it possible to choose a completion engine?
Ah! Turns out I rely on the Fast completion more than I realized; I am used to hitting "t p" from the agenda to tag an item with a custom status I've created, as you guessed in your message. But untouched was the type of key-menu I really want to hide when, for example, I hit =C-c a= =org-agenda= and get a menu of agenda options to choose from, or =(org-clock-goto '(4))= and I get a big indexed list of clock items. I don't mind keeping the fast keys, but would love for the big screens of options to go away. The =org-use-fast-todo-selection= and =org-use-fast-tag-selection= variables do not effect the method used for those big index screens, which are the ones I actually care about and would like to use with standard completion. Ihor Radchenko writes: > web...@toryanderson.com (Tory S. Anderson) writes: > >> Org currently stands out from my workflow because it does completions its >> own way, with lists and number/letter keys. It would be nice if I could >> instead have the benefit of vertico, or helm, or whatever else instead. Org >> would even benefit from marginalia and embark in some cases. Is there an >> easy variable I'm missing to make org use completing-reads instead of the >> indexing thing it does? > > This is because you customized your tags/todo keywords to have a quick > key binding to set. By default, Org uses custom "fast" interface for > completion in such cases. You can either remove the bindings to > explicitly set `org-use-fast-tag-selection' and/or > `org-use-fast-todo-selection' to nil.
Re: is it possible to choose a completion engine?
Samuel Wales writes: > i guess menu selection is a kind of completion and frameworks coud be > used also. a big thing for me that works with ido and ido-hacks and > ido-clever-match is olpath completion for refile-goto and refile. Thank you for the recommendation! I've never tried ido, having gone from Helm to Avy/Ivy to Selectrum to Vertico. IIRC, ido is built in to emacs, right? So that would be a big plus. It sounds like it finds a sweetspot for you.
is it possible to choose a completion engine?
Org currently stands out from my workflow because it does completions its own way, with lists and number/letter keys. It would be nice if I could instead have the benefit of vertico, or helm, or whatever else instead. Org would even benefit from marginalia and embark in some cases. Is there an easy variable I'm missing to make org use completing-reads instead of the indexing thing it does? Thanks! - Tory
Re: Org-mode notes about school lessons
Sébastien Gendre writes: > Hello everyone, > > I used Org-mode for taking notes in some school lessons, but it was a > bit chaotic. I try to make it more efficient, easy to navigate and > manage. I used org notes heavily through more than two school degrees, and loved it. Definitely a sweet-spot in org use-cases. > * What I need You have a pretty comprehensive list of needs; that is a lot of useful information. > > Secondly, I need a quick view on the week lessons schedule: For each day, > what lesson I have, when and where. I live in org agenda, even now. You can filter it by tag/keyword easily by =C-c /=, removing filters with =|= (pipe). Don't forget to add your class to the agenda list with =org-agenda-file-to-front= (C-x [) > > thirdly, I need to manage the projects that teachers ask us to do. With > deadlines. Agenda is made for this. Just add a TODO to the headline =C-c C-t t= (org-todo) #+DEADLINE: =C-c d= (org-deadline) timestamp and see it in your agenda. You can modify how the notifications come for it. Also, make liberal use of org tags =org-agenda-set-tags= on headings, which you can use to filter your agenda view (eg by class). > * What I plan to do > > As I need to write a lot for each lesson, and each lesson are mostly > independent from each other, I plan to have 1 file per lesson. This is a very stylistic, but I am a "all in one file" user, though I have a seperate directory and .org file per class, but no more split than that. I have always had =C-c s= bound in org files to something like =consult-org-heading= (or the helm equivalent, or selectrum equivalent, or even the vanilla emacs equivalent that I can't remember right now). To me, being able to easily go to headings/classes in one file fits my usage. I could see arguments for the other, though, since emacs is good at browsing/searching multiple files, too. And I suppose git version control might be more useful on the multiple-file setup. > In each file, I plan to have the same structure: > - General information > - Tasks and Projects > - Distributed documents > - Notes > > In "General information", I put the schedule of the lesson, the > classroom, the teacher and assistant name and e-mail and the URL to our > online platform. #+URL, #+TEACHER, etc will be okay here. Though I would probably just put them in as plain text. > In "Tasks and Projects", I put all work the teacher ask us to do. For > each, an Org-mode sub-headline with a TODO status. A project is just a task > with sub-tasks. Or maybe have a PROJECT status ? > How about both? Are projects seperate from other tasks, though? I would make heavy use of sub-tasks, with =[/]= in the headlines to give a count of sub-tasks completed. > In "Distributed documents", I create a sub-headline for each document. I > then attach a copy of the document to its sub-headline with org-attach. > Finally, I took note with Org-noter. I have not used org-attach, though I know I should learn it. I have just stored related docs in the folder for the class. > In "Notes" I make a tree of sub-headline based on the lesson plan. And, > when the teacher talk about a subject, I took a note in it's > sub-headline. > > > * What I miss > > First, the tasks. I don't know If it's better to keep them in the lesson > org file or move them with all my other tasks (home and work). I think > to include them in the org-agenda, so I can have global view of all ma > tasks. From school, work and home. I keep them in the class listing, then add that to my agenda, as described above. Add the class to your agenda files and you are set. > Second, the weekly schedule. Is it better to have a column view on a > separate file or to see the all the lessons in my org-agenda ? In the > first case, is it possible to build a column view from different file ? > In the second case, how to do it and to manage vacations ? Column view is another thing I have never intentionally used. I just filter my agenda to what I want. > Third, do I include my work notes inside the lesson file ? Or do I > create a separate file for each works ? Some work asked to do are just > exercise, but some are rated and in this case we are asked to write a > report. As mentioned above, I find putting them in the same file to be most useful. Even reports I put in the same file, using export to make them pdf or odt or docx or whatever the class needs. > Fourth, is it better to include my school notes into org-roam with other > knowledge or keep them separate ? If I mix what I learn on my free time > and what I learn on school time, it would make more to review before an > exam. I've been told that I should try org-roam. I never felt a need, though. Plain org does the trick for me. org for class notes was a huge benefit to my quality of life for a lot of years, so I have some simple but opinionated takes on this. I hope this is useful, and I am always appreciative of any corrections. - Tory
Re: Interest in an Org video meetup?
I would enjoy a video meetup on Orgmode, since it is the first and last program I interact with during my computing day. -- Tory S. Anderson Application & Web Developer https://toryanderson.com
Re: The fate of ob-asymptote.el
Not a major contributor to Org yet, but I have been using it faithfully for a decade. Asymptote looks to be incredibly useful in my research! Thanks for making me aware of it! https://asymptote.sourceforge.io/index.html - Tory
[RESOLVED] Re: gnus links not followed, also avl-tree error (org-capture issues)
The avl-tree error was an issue with vertico, which I updated and it went away. The Gnus Links error seems to have gone away with that updgrade, too. Thanks! - Tory Ihor Radchenko writes: > "Tory S. Anderson" writes: > >>> Thanks for reporting! Are you able to reproduce with emacs -Q? >> >> Thanks! I am not sure what an emacs -Q would mean in cases like this, since >> they are custom written capture templates in the first place, so -Q would >> lose them. > > Please refer to https://orgmode.org/manual/Feedback.html > Basically, you can create the minimal possible config containing your > problematic custom capture template and whatever it takes to trigger the > problem and share it + steps to reproduce. > > Otherwise, it is very difficult to debug the problem on our side. > >> Important update: By including all of org-contrib the two problems go away, >> although other problems are introduced. But trying to search the contrib for >> which things in particular are solving these errors has not been successful. > > You may try to bisect your config. I have recorded a video explaining > how to do it: > https://open.tube/videos/watch/4d819114-43bf-42df-af94-f94fc53dd0d9 > > Best, > Ihor
Re: gnus links not followed, also avl-tree error (org-capture issues)
Ihor Radchenko writes: > web...@toryanderson.com (Tory S. Anderson) writes: > >> Second, most of my plain (just me typing entries) captures fail to complete >> at all. >> >> =org-capture: Capture abort: Wrong type argument: avl-tree-, nil >> This is sending me back years to before I developed a nicely tuned org >> workflow, and it isn't pleasant. Is there something I forgot to include, or >> have there been breaking syntax changes somewhere? > > Thanks for reporting! Are you able to reproduce with emacs -Q? Thanks! I am not sure what an emacs -Q would mean in cases like this, since they are custom written capture templates in the first place, so -Q would lose them. Important update: By including all of org-contrib the two problems go away, although other problems are introduced. But trying to search the contrib for which things in particular are solving these errors has not been successful. - Tory
gnus links not followed, also avl-tree error (org-capture issues)
Org captures have become an intrinsic part of my daily workflow, but having just upgaded emacs and orgmode, I suddenly find two errors (which clearly have related causes, at least as far as the upgrades go). First, when I create a new capture link from a Gnus message, it successfully creates the same orgmode link it ever did, eg: =[[gnus:mail.pro#dm5pr0801mb3799d6bd01f4178ba5f89ebbf6...@dm5pr0801mb3799.namprd08.prod.outlook.com][Email from Bonnie Bingham: Fw: Moody approved to work]] However, when attempting to FOLLOW that link it doesn't take me there, instead prompting me with =No match - create this as a new heading? (y or n) Second, most of my plain (just me typing entries) captures fail to complete at all. =org-capture: Capture abort: Wrong type argument: avl-tree-, nil This is sending me back years to before I developed a nicely tuned org workflow, and it isn't pleasant. Is there something I forgot to include, or have there been breaking syntax changes somewhere? Org mode version 9.5.2 (9.5.2-ga0755e @ /home/torysa/emacs/.emacs.d/straight/build/org/) GNU Emacs 28.1 (build 1, x86_64-suse-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) - Tory
Re: [BUG] error when saving a new capture [9.5.2 (9.5.2-g971eb6 @ /home/torysa/emacs/.emacs.d/straight/build/org/)]
Actually big thanks to your response; it prompted me to figure out how to update my emacs, which I built from source a year or two ago when I wanted to give native comp a whirl. It was a process, but was eventually successful. The error was auto-reported when it popped up, and I decided to give the inviting "report" button a whirl, though I've never thought of it before. I don't even remember the context. But, per your advice, I have updated both emacs and orgmode. Maybe it's gone. Thanks! - Tory Tim Cross writes: > web...@toryanderson.com (Tory S. Anderson) writes: > >> Remember to cover the basics, that is, what you expected to happen and >> what in fact did happen. You don't know how to make a good report? See >> >> https://orgmode.org/manual/Feedback.html#Feedback >> >> Your bug report will be posted to the Org mailing list. >> >> >> I was just saving a capture, no link or anything else. It bound up the >> thread until I could C-g out of it. >> >> Emacs : GNU Emacs 28.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version >> 3.24.29, cairo version 1.16.0) >> of 2021-09-01 >> Package: Org mode version 9.5.2 (9.5.2-g971eb6 @ >> /home/torysa/emacs/.emacs.d/straight/build/org/) >> > > My first suggestion would be to do an Emacs upgrade. Your running a > pre-release version (Emacs 28.0.50) which for a development version is > extremely old (over 6 months and isn't even one of the release candidate > builds for Emacs 28). Note also that Emacs 28.1 has been released. > > The second thing I would do following upgrade is to try and reproduce > the issue using emacs -Q. > > Finally, you need to provide more specific details. In order for anyone > to help or debug any issue, the first critical step is to be able to > reproduce it. As it stands now, there is nowhere near sufficient > information to do that. The best thing you can do to help is try to > reproduce the issue in a default configuration (i.e. emacs -Q), which > will help ensure the issue has not been introduced by additional > packages you have installed or any customisation you have done and > providing a minimal recipe to reproduce the issue. Generally, if someone > is able to provide a simple recipe which reliably reproduces the issue, > the issue will be resolved very quickly. If on the other hand, nobody can > reproduce the issue, it probably won't ever be fixed.
Re: [BUG] Off-by-one error in width of Agenda window? [9.5.2 (release_9.5.2-25-gaf6f12 @ /data/installs/snapshots/emacs-28.1/lisp/org/)]
"N. Jackson" writes: > Recently it seems as if Org Agenda thinks its window is one > character wider than it actually is. The incorrect behaviour I > observe is: > > 1. Tags in Agenda are all wrapped to the next line even though there > is plenty of space to display them on the same > line. (org-agenda-tags-column is set to its default value of `auto' > so I expect tags to be right aligned to the right edge of the > window.) Can confirm. I have had this same error for at least a year, and just upgraded my emacs and orgmode and still have it as well. I almost don't notice it anymore. I work on three monitors and see the error when I refresh my agenda on another monitor. I haven't attempted to debug it though. - Org mode version 9.5.2 (9.5.2-ga0755e @ /home/torysa/emacs/.emacs.d/straight/build/org/) - Emacs 28.1 (repo)
[SOLVED] Re: How can I get capture-link to stop bugging me about mairix?
web...@toryanderson.com (Tory S. Anderson) writes: > I upgraded orgmode recently and added org-contrib to my loading. I'm not sure > if that's related or not, but suddenly, when I invoke org-capture on a Gnus > message (which used to happen seamlessly) suddenly I am getting the following > selection message, asking me whether I want org-mairix-store-gnus-link or the > old working default org-gnus-store-link . This is the first time I have ever > heard of Mairix, and I can't find any customizations to set to get it to stop > asking me. > > http://images.toryanderson.com/org-link-mairix.png > > How can I get it to stop asking me to select org-gnus-store-link? > > - Tory I found and customized =org-link-parameters= to no longer include the Mairix lines, which were probably created when I included all the contrib with straight. The problem is gone now. By the way, it would be nice if there were a compliment to =org-add-link-type= like =org-remove-link-type=. I was surprised to have one but not the other. - Tory
[BUG] error when saving a new capture [9.5.2 (9.5.2-g971eb6 @ /home/torysa/emacs/.emacs.d/straight/build/org/)]
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. I was just saving a capture, no link or anything else. It bound up the thread until I could C-g out of it. Emacs : GNU Emacs 28.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.29, cairo version 1.16.0) of 2021-09-01 Package: Org mode version 9.5.2 (9.5.2-g971eb6 @ /home/torysa/emacs/.emacs.d/straight/build/org/) current state: == (setq org-special-ctrl-o nil org-link-elisp-confirm-function 'yes-or-no-p org-agenda-diary-file "~/org/agenda.org" org-directory "~/org/" org-agenda-skip-deadline-prewarning-if-scheduled t org-agenda-start-with-clockreport-mode t org-after-todo-state-change-hook '(org-checklist) org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n\n(fn ENTRY)"] org-agenda-custom-commands '(("l" . "schooL") ("ld" "schooL Day" ((agenda "" ((org-agenda-span 1) (org-agenda-start-on-weekday nil) (org-agenda-regexp-filter-preset '("+:CLASS:" "-:TSA:"))) ) ) nil) ("lw" "schooL Week" ((agenda "" ((org-agenda-span 7) (org-agenda-start-on-weekday nil) (org-agenda-regexp-filter-preset '("+:CLASS:" "-:TSA:"))) ) ) nil) ("lm" "schooL Month" ((agenda "" ((org-agenda-span 'month) (org-agenda-start-on-weekday nil) (org-agenda-regexp-filter-preset '("+:CLASS:" "-:TSA:"))) ) ) nil) ("p" . "Priesthood") ("pd" "Priesthood Day" ((agenda "" ((org-agenda-span 1) (org-agenda-start-on-weekday nil) (org-agenda-regexp-filter-preset '("+:PRIESTHOOD:" "-:TSA:"))) ) ) nil) ("pw" "Priesthood Week" ((agenda "" ((org-agenda-span 7) (org-agenda-start-on-weekday nil) (org-agenda-regexp-filter-preset '("+:PRIESTHOOD:" "-:TSA:"))) ) ) nil) ("pm" "Priesthood Month" ((agenda "" ((org-agenda-span 'month) (org-agenda-start-on-weekday nil) (org-agenda-regexp-filter-preset '("+:PRIESTHOOD:" "-:TSA:"))) ) ) nil) ("w" . "Work") ("wd" "Work Day" ((agenda "" ((org-agenda-span 1) (org-agenda-start-on-weekday nil) (org-agenda-regexp-filter-preset '("+:ODH:\\|:AGENDA:\\|:CONFERENCE:" "-:TSA:\\|:PRIESTHOOD:"))) ) ) nil) ("ww" "Work Week" ((agenda "" ((org-agenda-span 7) (org-agenda-start-on-weekday nil) (org-agenda-regexp-filter-preset '("+:ODH:\\|:AGENDA:\\|:CONFERENCE:" "-:TSA:\\|:PRIESTHOOD:"))) ) ) nil) ("wm" "Work Month" ((agenda "" ((org-agenda-span 'month) (org-agenda-start-on-weekday nil) (org-agenda-regexp-filter-preset '("+:ODH:\\|:AGENDA:\\|:CONFERENCE:" "-:TSA:\\|:PRIESTHOOD:"))) ) ) nil) ("n" . "Non-work") ("nd" "Non-work Day" ((agenda "" ((org-agenda-span 1) (org-agenda-start-
How can I get capture-link to stop bugging me about mairix?
I upgraded orgmode recently and added org-contrib to my loading. I'm not sure if that's related or not, but suddenly, when I invoke org-capture on a Gnus message (which used to happen seamlessly) suddenly I am getting the following selection message, asking me whether I want org-mairix-store-gnus-link or the old working default org-gnus-store-link . This is the first time I have ever heard of Mairix, and I can't find any customizations to set to get it to stop asking me. http://images.toryanderson.com/org-link-mairix.png How can I get it to stop asking me to select org-gnus-store-link? - Tory
[FIXED] Re: org-log-note-clock-out ends action after note, forgetting to clock in to something
> Ignacio Casso writes: I can't reproduce this bug in Emacs 27.2. >>> I'm on orgmode 9.4.6, with emacs 28.0.50. Verified: This is fixed in the latest orgmode version (problem is gone in 9.5.2). It now clocks into different things without forgetting the rest of the action after leaving the note.
Re: org-log-note-clock-out ends action after note, forgetting to clock in to something
Ignacio Casso writes: >>> I can't reproduce this bug in Emacs 27.2. >> >> This is good news: it means I can probably proceed with bisection and >> debugging after updating to see if the issue persists. Thanks! >> >> I'm on orgmode 9.4.6, with emacs 28.0.50. > > On second though I realize I should have told you my org version, not > Emacs. It's 9.5.2. And I have checked it in my org built-in version, > 9.4.4, and there I can reproduce the bug, so it's not your > configuration's fault and it was a bug that has already been fixed. I > suggest you upgrade to a later org version to fix the issue. Excellent news! That saves me hours of bisection! (as long as those hours aren't spent fixing things after an orgmode upgrade) - Tory
Re: org-log-note-clock-out ends action after note, forgetting to clock in to something
Ignacio Casso writes: >> Anyone else duplicating this error would be useful to know. > > I can't reproduce this bug in Emacs 27.2. This is good news: it means I can probably proceed with bisection and debugging after updating to see if the issue persists. Thanks! I'm on orgmode 9.4.6, with emacs 28.0.50.
org-log-note-clock-out ends action after note, forgetting to clock in to something
This is regarding the behavior of =org-log-note-clock-out=. When =nil= I can just be clocked in to A and then when I clock in to B it stops A, starts B. This is nice. However, when =org-log-note-clock-out= is true, I get prompted for a note -- which is what I want -- but it stops there. So, if I was repeating the above action of clocking from A to B, it clocks out of A, asks for a note, but does NOT clock in to B. This discrepancy is annoying; while I am adapting to remember to clock out before clocking in to another item (so I can get my note), it would be nice if it remembered that it was supposed to be clocking in to that other thing AFTER the note finishes. Anyone else duplicating this error would be useful to know. Let me know if there is somewhere else I should report this issue. - Tory
org-log-note-clock-out ends action after note, forgetting to clock in to something
This is regarding the behavior of =org-log-note-clock-out=. When =nil= I can just be clocked in to A and then when I clock in to B it stops A, starts B. This is nice. However, when =org-log-note-clock-out= is true, I get prompted for a note -- which is what I want -- but it stops there. So, if I was repeating the above action of clocking from A to B, it clocks out of A, asks for a note, but does NOT clock in to B. This discrepancy is annoying; while I am adapting to remember to clock out before clocking in to another item (so I can get my note), it would be nice if it remembered that it was supposed to be clocking in to that other thing AFTER the note finishes. Anyone else duplicating this error would be useful to know. Let me know if there is somewhere else I should report this issue. - Tory
Org agenda width is one char-column too short
As seen in the linked image, my agenda width is a single char too short so it clips the last : of the tags. I always use truncate-lines-mode, so this is a minor inconvenience but might be something easily fixed for new users? I think it has always done this for me. https://i.imgur.com/RFRhLMT.png Here are my configurations for agenda in Straight; if I'm not mistaken, there is nothing here that should effect things. Everything else is still at the default. I only got to thinking about this because agenda does such an admirable job of fitting to screens (something not easy in many emacs situations). --8<---cut here---start->8--- (use-package org-agenda :straight (:type built-in) :after org :custom (org-agenda-restriction-lock-highlight-subtree nil) (org-agenda-show-outline-path nil) (org-agenda-fontify-priorities nil) (org-agenda-restriction-lock-highlight-subtree nil) :custom-face (org-agenda-clocking ((t (:background "gold" :foreground "black" (org-agenda-dimmed-todo-face ((t (:foreground "dimgray" (org-agenda-calendar-event ((t (:inherit default (org-agenda-clocking ((t (:background "gold" :foreground "black" (org-agenda-current-time ((t (:background "blue2" :foreground "white smoke" :weight ultra-bold (org-agenda-dimmed-todo-face ((t (:foreground "dimgray" (org-agenda-done ((t (:inherit org-done :box (:line-width 2 :color "#00ff00" :style released-button) :bind (:map org-agenda-mode-map ("p" . org-agenda-show-clocking-issues) ("P" . tsa/org-appts)) :config (add-hook 'org-agenda-mode-hook (lambda () (toggle-truncate-lines 1))) ) --8<---cut here---end--->8---
Re: org-agenda no longer clocks out then in
After some exploration I found that it appears to be the result of the setting org-log-note-clock-out . It I switch this off, switching tasks works as expected. It used to be that having it on didn't cause the bug of failing to switch to a new task immediately. Can anyone else please verify that having the note pop up with (org-log-note-clock-out t) causes it not to successfully clock in to the new item when previously clocked in to a different item, when switching via the org agenda? It looks that way to me. - Tory Marco Wahl writes: > torys.ander...@gmail.com (Tory S. Anderson) writes: > >> For years my workflow has centered in org-agenda and I would go from >> one clocked item to the next. For instance, I would be clocked into >> my "Emails" task, which never closes, and then eventually move down in >> the agenda to "Task B". Then I hit C-x TAB to clock in. It correctly >> queries for a comment on the task I'm leaving but no longer clocks me >> in to the new task as I'd asked. Is this a bug or am I missing a new >> setting? > > This should work AFAICT and it does for me. (With key {I} or {C-c C-x > TAB} in the agenda opposed to your setting with {C-x TAB}.) > > Could you provide a complete mini example? Possibly this helps to see > more clearly. > > > Best regards,
Re: org-agenda no longer clocks out then in
My minimal loadup doesn't exhibit the problem. So, tracing the function "org-agenda-clock-in" that my =C-x TAB= is bound to, I see this. On the broken one I see the following: #+begin_src lisp =1 -> (org-agenda-clock-in nil) 1 <- org-agenda-clock-in: !non-local\ exit! #+end_src Whereas on the clean working one I see: #+begin_src lisp =1 -> (org-agenda-clock-in nil) 1 <- org-agenda-clock-in: 0 #+end_src But find-grep doesn't find anything in my dependencies that matches "non-local". This looks likely to be related to the original problem. Any idea how I can find the source of this !non-local? This is my first time using emacs function tracing. Marco Wahl writes: > torys.ander...@gmail.com (Tory S. Anderson) writes: > >> For years my workflow has centered in org-agenda and I would go from >> one clocked item to the next. For instance, I would be clocked into >> my "Emails" task, which never closes, and then eventually move down in >> the agenda to "Task B". Then I hit C-x TAB to clock in. It correctly >> queries for a comment on the task I'm leaving but no longer clocks me >> in to the new task as I'd asked. Is this a bug or am I missing a new >> setting? > > This should work AFAICT and it does for me. (With key {I} or {C-c C-x > TAB} in the agenda opposed to your setting with {C-x TAB}.) > > Could you provide a complete mini example? Possibly this helps to see > more clearly. > > > Best regards,
org-agenda no longer clocks out then in
For years my workflow has centered in org-agenda and I would go from one clocked item to the next. For instance, I would be clocked into my "Emails" task, which never closes, and then eventually move down in the agenda to "Task B". Then I hit C-x TAB to clock in. It correctly queries for a comment on the task I'm leaving but no longer clocks me in to the new task as I'd asked. Is this a bug or am I missing a new setting? Org mode version 9.4.6 (9.4.6-gf70e36 Thanks! - Tory
Bug: clock-in from org-agenda freezes thread when enforce + todo keywords [9.4.4 (release_9.4.4 @ /usr/local/share/emacs/28.0.50/lisp/org/)]
After long bisection and suffering for a while from this issue, I have narrowed down an issue that is breaking my workflow. I noticed that some time recently orgmode has begun freezing my system (as an exwm user, this is serious) when I attempt to clock in to certain tasks from the agenda. Clocking in from their actual orgmode file works just fine, but sometimes then even checking the agenda causes thread freezing (I see my CPU spike to maximum on that thread, and emacs becomes unresponsive). In my minimal reproducable version, no packages are loaded other than org-mode and use-package. Here is my current version, although I've been encountering this problem for longer than I've been using this version, probably. Besides all the details included below by the bug report, Here is the use-package declaration that produces the frozen thread when you attempt to clock in to the "parent" item in your agenda (it may be important that the dates/deadlines are "today"; I don't know). In this toy example you can recover with C-g a time or two, but in my full setup even c-g can take up to 30 seconds to register. Steps to reproduce: 1. load emacs with the use-package declaration below 2. visit =M-x org-agendaa3. Clock in to the "Parent" item on the agenda by highlighting it and doing =C-c C-x-- thread will freeze indefinitely, although in toy example you can break free with C-g #+begin_src lisp (use-package org :straight (:type built-in) :demand t :custom (org-enforce-todo-dependencies t) (org-agenda-files '("~/org/nested.org")) (org-todo-keywords '((type "TODO(t)" "STARTED(s)" "UNSTARTED(u)" "|" "DONE(d)") (type "PENDING(p)" "HOLD(h)" "ONGOING(o)" "|" "DONE(d)") (sequence "|" "CANCELED(c)" "ABSTAINED(a)" #+end_src Here is nested.org : https://gitlab.com/-/snippets/2133558 Emacs : GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.29, cairo version 1.16.0) of 2021-06-03 Package: Org mode version 9.4.4 (release_9.4.4 @ /usr/local/share/emacs/28.0.50/lisp/org/) current state: =(setq org-link-elisp-confirm-function 'yes-or-no-p org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 "\n\n(fn ENTRY)"] org-agenda-files '("~/org/nested.org") org-export-before-parsing-hook '(org-attach-expand-links) org-archive-hook '(org-attach-archive-delete-maybe) org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-mode-hook '(#[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-all append local] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes) org-confirm-shell-link-function 'yes-or-no-p outline-isearch-open-invisible-function 'outline-isearch-open-invisible org-agenda-before-write-hook '(org-agenda-add-entry-text) org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-confirm-elisp-link-function 'yes-or-no-p org-todo-keywords '((type "TODO(t)" "STARTED(s)" "UNSTARTED(u)" "|" "DONE(d)") (type "PENDING(p)" "HOLD(h)" "ONGOING(o)" "|" "DONE(d)") (sequence "|" "CANCELED(c)" "ABSTAINED(a)")) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-blocker-hook '(org-block-todo-from-children-or-siblings-or-parent) org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) org-enforce-todo-dependencies t org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-link-shell-confirm-function 'yes-or-no-p org-babel-pre-tangle-hook '(save-buffer) org-agenda-loop-over-headlines-in-active-region nil org-occur-hook '(org-first-headline-recenter) org-metadown-hook '(org-babel-pop-to-session-maybe) org-link-parameters '(("attachment" :follow org-attach-follow :complete org-attach-complete-link) ("id" :follow org-id-open) ("eww" :follow org-eww-open :store org-eww-store-link) ("rmail" :follow org-rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe-store-link) ("irc" :follow org-irc-visit :store org-irc-store-link :export org-irc-export) ("info" :follow org-info-open :export org-info-export :store org-info-store-link) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link :store org-b
Big problem: org agenda freezes my process
I've been trying to debug a nearly show-stopping issue for a few weeks now; the next step is a more thorough bisection of my setup, but I wanted to send this in case anyone else experiences this or already knows the solution. Lately, when I try to view an orgmode agenda it seems that two things make it cause my emacs CPU threat to spin to max and freeze up, which is a huge problem since I'm an exwm user and live in my agenda view. As far as I've been able to tell, when an item from today is clocked into multiple times in the same day, it prompts most agenda actions to result in a freeze and some kind of loop that is binding up my system. It has some gaps, so if I spam C-g I will eventually, usually, escape given 30 seconds to 2 minutes. I first ran into this problem thinking it was because I had an entry with a "+1d" note on it, so it would always show up; but inconsistent results led me to the more precise discovery that it's apparently when it is logged in to multiple times in the day AND when it is shown with =(org-agenda-show-log t)=, which I had on my default. At its worst, even moving the cursor in the agenda buffer would trigger the freezing, let alone actually clocking in/out of anything. However, when I am not showing the log, it seems like it's ok. I've tried =toggle-debug-on-quit" but I don't recognize anything in the stack trace that actually tells me what it is doing when it spins to a halt. I'm currently on org mode version 9.3.7. I've tried with different versions but without a change in behavior. This, combined with the fact that the issues seem to have begun in the past month, indicates that it probably isn't orgmode itself causing this issue, but I haven't located what it IS yet. If anyone has ideas on how to debug this without a bisection, or an has dealt with this before, I'm more than eager to hear it; in the meanwhile, I'll perform a more thorough bisection of my init file as time permits. - Tory
Agenda clock-report-mode doesn't observe agenda filters
I love org-agenda-clockreport-mode . However, I have several files that include my work projects, and they all have my :WORK: tag on them. I want to get the number of hours put into :WORK: for the period and understand that the way is supposed to be to just filter my agenda view to be what I am interested in, then look at the associated clockreport at the bottom. However, the clockreport seems to always calculate everything, regardless of my agenda filters (showing time results for things NOT showing with my current filters). Looks like a bug, unless I misunderstood something. - Tory
Re: Reply-All noise
I do use reply-to-all (gnus-style), but I don't notice doubles. It might be because I have my client set up to do deduping, though. writes: > Hi, > > I had this discussion in several mailinglists but gave up. > > But I am suprised to see this phenomenon in a emacs related (means: > "super nerdy") mailinglist, too. > > So tell me please how do you handle this "problem"? Or do I setup > something wrong with my list account? > > From my point of view, the problem is that most of you press "Reply > All" when answering to a mailinglist posting. But that is IMO wrong > because you answer to the list AND to the thread opener in that case. > > So the thread opener receive two (nearly) identical messages. > > Do you receive double mails? Doesn't it bother you?
Re: recursive checkbox counting
The way I've made this work is with the following property: :COOKIE_DATA: ALL But I suppose I haven't tried if that's fully recursive. HTH, - Tory Alan Schmitt writes: > Hello, > > I'm trying to recursively count checkboxes, with intermediate counting: > > * [0/0] 2020 > :PROPERTIES: > :COOKIE_DATA: checkbox recursive > :END: > ** [1/1] Week 39 > - [X] [[file:2020-09-29.org][§:2020-09-29 (Tuesday)]] > ** [2/2] Week 36 > - [X] [[file:2020-09-08.org][§:2020-09-08 (Tuesday)]] > - [X] [[file:2020-09-07.org][§:2020-09-07 (Monday)]] > > Unfortunately I don't know what property I need to set on the top-level > node to recursively count everything. I would like to see [3/3] there. > Is there a way to do it? > > Thanks, > > Alan
Re: Problem in 9.3: (next-error) broken
Perhaps I was on an old version, although I don't think it was that old. In any case, I keep having org-occur-next-match set away from nil, and I'm actually having trouble figuring out which hook will fix it, since org-mode-hook doesn't seem to be doing it. Instead I end up manually evaluating =(setq next-error-function nil)= every time I need next-error. Any suggestions? Kyle Meyer writes: > Tory S. Anderson writes: > >> I discovered teh cause of this error is that new versions of orgmode >> sets next-error-function and so breaks the. I've added a hook to clear >> this in orgmode and I can navigate my grep properly again. > > I'm not having any luck triggering the issue, but in any case there > seems to be something missing from that explanation. Org has set > next-error-function to org-occur-next-match since dd2346134 (Implement > next-error and previous-error functionality for sparse trees, > 2011-01-06), and the definition of org-occur-next-match hasn't changed > substantially since.
Re: Problem in 9.3: (next-error) broken
I discovered teh cause of this error is that new versions of orgmode sets next-error-function and so breaks the. I've added a hook to clear this in orgmode and I can navigate my grep properly again. "Tory S. Anderson" writes: > Running 9.3 as included in emacs 27, I have found a breaking error that I am > not sure how to debug any further. Here's my workflow: > > 1 or 2. Execute (find-grep) for something that brings results > 1 or 2. Switch to an orgmode buffer > 3. Attempt C-` (next-error) > > Result: user-error: No more matches > > Switch to a non-org buffer and try again -- it works properly, even without > re-grepping. > > This error DID occur in emacs -Q, so it shouldn't be the result of any > competing packages. > > Any suggestions to recover my workflow? > > Thanks, > > - Tory
Problem in 9.3: (next-error) broken
Running 9.3 as included in emacs 27, I have found a breaking error that I am not sure how to debug any further. Here's my workflow: 1 or 2. Execute (find-grep) for something that brings results 1 or 2. Switch to an orgmode buffer 3. Attempt C-` (next-error) Result: user-error: No more matches Switch to a non-org buffer and try again -- it works properly, even without re-grepping. This error DID occur in emacs -Q, so it shouldn't be the result of any competing packages. Any suggestions to recover my workflow? Thanks, - Tory
begin_quote
A couple questions here. when I type =
How to annotate past clock entries so the note shows in agenda?
Hello all, When I clock out of an entry I have a pop up from (org-add-log-note); I can add a note which will appear in my agenda right after the clock item. Often times, though, I want to go back through my day's agenda and add these; for example, upon marking "done" on a task it automatically clocks me out and does not invite me to take a note. Or at journaling time at day's end I'd like to add such a note that would be visible in my agenda. The prompt comes from org-store-log-note called by org-add-log-note. The latter checks org-log-note-purpose. That's as far as my sleuthing has been able to go, though; I can manually call the function to receive the prompt for adding a clock-out note, but it doesn't stick it anywhere useful. How can I add clock-out notes after the event? Must I manually go to the clock event and type in my note there, or can I utilize the same prompt somehow? Thanks for any help! - Tory
org-clip-link should be included in core
Per alphapapa's suggestion to bring this up to this list, it seems that everyone (doom, spacemacs, and individuals) are rolling their own of a functionality that should be included in core: the ability to de-linkify text at point, leaving just the text without orgmode surroundings. One person claims it's already in there, but I don't see anything like =clip-link= in the actual code from https://code.orgmode.org/bzg/org-mode/src/master/lisp. Discussion happening here: https://www.reddit.com/r/emacs/comments/gjm8q6/delinking_orgmode_text/
Re: [O] Orgmode repeater intervals with end date
I was very pleased to find, when browsing the manual for a different reason, the 'orgmode' solution to the problem, which provides daily customization ability and also maintains exportability: `org-clone-subtree-with-timeshift`[1], with which I can easily accomplish my goals and even consolidate my notes-for-that-event-instance. I'm just writing this here because it has totally upgraded my planning experience and I wish I'd known about it sooner! Thanks all! - Tory Footnotes: [1] https://orgmode.org/manual/Structure-editing.html
Re: [O] Orgmode repeater intervals with end date
Thanks; oddly, that works. --8<---cut here---start->8--- *** TODO Personal Meeting DEADLINE: <2018-01-10 Wed 16:00 .+2w>--<2018-04-18 Wed> --8<---cut here---end--->8--- I still get a daily count on every day in the interim: --8<---cut here---start->8--- (8/99): TODO Personal Meeting --8<---cut here---end--->8--- But I suppose I can work around that. Oddly, it doesn't seem to work with plain dates or with SCHEDULED: . Any idea why? "numbch...@gmail.com" writes: You can try this: ``` * Test repeat time range with end date DEADLINE: <2018-01-01 Mon 12:00 .+2d>--<2018-01-13 Sat> ``` This will repeat, and end on the day 13. Also deadline works fine. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Thu, Jan 11, 2018 at 7:37 PM, wrote: On 2018-01-10 18:24, ed...@openmail.cc wrote: Message: 8 Date: Tue, 09 Jan 2018 22:16:56 -0700 From: torys.ander...@gmail.com (Tory S. Anderson) To: orgmode list Subject: [O] Orgmode repeater intervals with end date Message-ID: <87incamgxj@byu.edu> Content-Type: text/plain; format=flowed Hi all, When repeater intervals are set on on org dates (eg = <2018-01-10 Wed 16:00 +2w>=) the output is exported nicely to ical and appears nicely in agenda. Is there anyway to put an end-date on org dates so that the +2w will not just continue forever? I could use org-class, but then it wouldn't be exported to ical nicely. I was hopefully with <2018-01-10 Wed 16:00 +2w>--<2018-04-10 Wed 16:00 +2w> but this just put the range as counting every day in the interim. Is there an existing way to have an end-date on a repeating cycle? - Tory Have you tried with DEADLINE:? I seem to remember to have read something like that somewhere. Don't trust me. If it helps, I am glad, but I am not sure. Have a look at https://www.gnu.org/software/emacs/manual/ html_node/emacs/Sexp-Diary-Entries.html However, I am not sure if you can use an Emacs sexp to specify an end date. Ian.
Re: [O] Orgmode repeater intervals with end date
I just tried --8<---cut here---start->8--- DEADLINE: <2018-04-19 Thu> <2018-01-10 Wed 16:00 +2w> --8<---cut here---end--->8--- But unfortunately entries were still appearing after the deadline. ed...@openmail.cc writes: Message: 8 Date: Tue, 09 Jan 2018 22:16:56 -0700 From: torys.ander...@gmail.com (Tory S. Anderson) To: orgmode list Subject: [O] Orgmode repeater intervals with end date Message-ID: <87incamgxj@byu.edu> Content-Type: text/plain; format=flowed Hi all, When repeater intervals are set on on org dates (eg =<2018-01-10 Wed 16:00 +2w>=) the output is exported nicely to ical and appears nicely in agenda. Is there anyway to put an end-date on org dates so that the +2w will not just continue forever? I could use org-class, but then it wouldn't be exported to ical nicely. I was hopefully with <2018-01-10 Wed 16:00 +2w>--<2018-04-10 Wed 16:00 +2w> but this just put the range as counting every day in the interim. Is there an existing way to have an end-date on a repeating cycle? - Tory Have you tried with DEADLINE:? I seem to remember to have read something like that somewhere. Don't trust me. If it helps, I am glad, but I am not sure. - ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands! $24.95 ONETIME Lifetime accounts with Privacy Features! 15GB disk! No bandwidth quotas! Commercial and Bulk Mail Options!
[O] Orgmode repeater intervals with end date
Hi all, When repeater intervals are set on on org dates (eg =<2018-01-10 Wed 16:00 +2w>=) the output is exported nicely to ical and appears nicely in agenda. Is there anyway to put an end-date on org dates so that the +2w will not just continue forever? I could use org-class, but then it wouldn't be exported to ical nicely. I was hopefully with <2018-01-10 Wed 16:00 +2w>--<2018-04-10 Wed 16:00 +2w> but this just put the range as counting every day in the interim. Is there an existing way to have an end-date on a repeating cycle? - Tory
Re: [O] Org citations, CSL and citeproc-el
Just a second on this; it's a fantastic and useful idea. Richard Lawrence writes: Dear Simonyi, Simonyi András writes: a few days ago I've released the first public version of citeproc-el (https://github.com/andras-simonyi/citeproc-el), a CSL 1.01 citation processor library for Emacs. Wow! I don't know if you are aware, but we had discussed the possibility of building something like this on the list a few years back. At the time it seemed like a lot more work than anyone was willing to do, and so the effort stalled. Thanks so much for working on this -- it looks like you've done a ton of work! The resulting link syntax is rather cumbersome so I'd like to ask your opinion about introducing an alternative org-mode citation syntax that handles all of these elements. One option would be to use something very similar to pandoc's citation syntax (which I tried to follow as much as possible in the cite link descriptions of citeproc-orgref). We had a (very) long discussion about implementing a new citation syntax for Org in the spring of 2015. Most of it took place in February and March; see: https://lists.gnu.org/archive/html/emacs-orgmode/2015-02/threads.html https://lists.gnu.org/archive/html/emacs-orgmode/2015-03/threads.html And here is how I summarized the state of that discussion in June: https://lists.gnu.org/archive/html/emacs-orgmode/2015-06/msg00426.html The upshot was that we came to agreement on quite a few points about what citation syntax should look like, and those points have been implemented in Org syntax in the wip-cite branch of the Org repo. (This branch is now long out of date and at the very least in need of a rebase onto current master, I suspect.) It would be really great to get things moving again. Using your code to provide citation processing during Org export for the syntax that's already been implemented would be the place to start. There are other aspects of the syntax we agreed on that are not implemented yet; as I recall, the idea was to get a minimal agreeable subset working, and then add to it based on real-world experience and feedback. A more general question I'd like to raise how (or whether) you see citeproc-el's (and CSL's) potential place in the org-mode ecosystem. There are a lot of directions which the further development could take (BibLaTeX support, citeproc-YAML bibliographies, CSL editing and CSL extensions etc.) and I'd be grateful to receive your input on which ones I should focus on. Here's my two cents on this. From what I recall about the discussion (it's hard to believe it's already been almost three years...), I would focus on two things: 1) BibLaTeX support. Most Org users who want citation support want it primarily for LaTeX export, and BibLaTeX provides a good model of what we should try to achieve in Org citation support. 2) org-bibtex support. Org-bibtex is a library that represents citation data via Org's property syntax. Some people use this and it would be great to have it integrated with the new citation syntax and export. That would provide an end-to-end citation solution that is completely native to Org and Emacs. Again, thanks for jump-starting this effort! I look forward to contributing to it this spring.
Re: [O] org to static site?
I've got a single-chord setup with Hugo, adapted from: http://www.holgerschurig.de/en/emacs-blog-from-org-to-hugo/ I'm very pleased with it. - Tory George myglc2 Clemmer writes: On 05/31/2017 at 12:00 Matt Price writes: I'm trying to wean myself off of Wordpress for next year's teaching websites, and am wondering what solutions other people are using for turning a collection of org pages and/or subtrees into a static html site. I am leaning towards Hugo but honestly not for any sensible reason; I've seen other people use Jekyll, though the fact that Github doesn't support direct conversion from org-mode removes some of Jekyll's appeal; and I know there are a number of other solutions too. So, I would love to hear what you all recommend. [...] No doubt too late for your teaching website, but you may find this interesting ... https://github.com/myglc2/emacsite HTH - George
Re: [O] Footnotes-per-element?
THanks for this; it may be a workable solution. The trick is, I didn't generate the footnotes myself -- I have concatenated a bunch of html -> orgmode pandoc outputs. Still an elisp find-and-replace might do what I need. I was just hoping for a quick switch to flip for localized footnotes. Thanks! - Tory Kaushal Modi writes: On Fri, Oct 27, 2017 at 8:12 AM Tory S. Anderson < torys.ander...@gmail.com> wrote: I have a single org file that represents a collection of articles; each article starts with a first-level heading and includes its own footnotes, always restarting from 0. I have a ** Footnotes section in each article with the appropriate footnotes, but it isn't respected when I follow one of the footnote references; following [fn:3] in the any article, for example, will take me to [fn:3] of the first article's footnotes. What's the best way around this, so that each article will use its own footnotes section? I just increment the footnotes across all the articles. So, for example, if article 1 has footnotes 1 and 2, article 2 will continue from footnote number 3. The beauty is that if you export article 2, it will auto-reset the footnote reference to number 1. The key is to not manually number the footnotes and let C-c C-x f (bound to org-footnote-action) do its thing. Hope that helps. -- Kaushal Modi
[O] Footnotes-per-element?
I have a single org file that represents a collection of articles; each article starts with a first-level heading and includes its own footnotes, always restarting from 0. I have a ** Footnotes section in each article with the appropriate footnotes, but it isn't respected when I follow one of the footnote references; following [fn:3] in the any article, for example, will take me to [fn:3] of the first article's footnotes. What's the best way around this, so that each article will use its own footnotes section? Thanks in advance, - Tory
Re: [O] Ediff org files starts folded
I've wondered the same thing. Normally I just manually and open all bullets before ediffing, but this assumes, of course, that the file is already open. Alex Branham writes: Hello - Whenever I ediff an org file, the three windows start with the content folded and out of site. I have to navigate to windows A, B, and C and hit S- until everything is visible. Does anyone know a way to start org mode files unfolded when ediffing them? Thanks! Alex
Re: [O] helm-org-clock for using helm rather than orgmode select menu
Are you sure? In my org 9.0 box, I still see a non-helm "org-agenda" menu (one of the things I haven't gotten around to helm-ifying yet). cesar mena writes: "Tory S. Anderson" writes: I've made the following adjustment to org-clock-select-task that allows you to (optionally) use helm to select, rather than orgmode's built in screens. Eventually I'd like to see all orgmode commands have the option of using helm rather than their custom screens, as Helm is a great package. Until then, hopefully you can find this useful or give useful suggestions. https://github.com/WorldsEndless/helm-org-clock from the 9.0 changelog it looks like this was done? Remove all options related to ido or iswitchb This includes org-completion-use-iswitchb and org-completion-use-ido. Instead Org uses regular functions, e.g., completion-read so as to let those libraries operate. best, - cm
[O] helm-org-clock for using helm rather than orgmode select menu
I've made the following adjustment to org-clock-select-task that allows you to (optionally) use helm to select, rather than orgmode's built in screens. Eventually I'd like to see all orgmode commands have the option of using helm rather than their custom screens, as Helm is a great package. Until then, hopefully you can find this useful or give useful suggestions. https://github.com/WorldsEndless/helm-org-clock
[O] Specifing an agenda org-class time without hours in headline
The documentation [1] says that hour times can be specified on a recurring object with a given syntax, but I have never been able to make it work. Is the documentation wrong? I try: --8<---cut here---start->8--- ** [#A] 17:30 Parent Time <%%(org-class 2016 2 7 2016 12 31 4)> 5:30pm-8:30pm Parent Time --8<---cut here---end--->8--- but if I remove the 17:30 from the title, it receives no time at all. Any help? Footnotes: [1] http://orgmode.org/worg/org-faq.html#org-class
Re: [O] org-contacts bug when completing tags in gnus
Yeah, I dodge around these sort of problems a lot with org-contacts. It is in need of a curator and probably a rewritten version; it also doesn't play nice with Helm. I haven't tried it with org 9.0 yet, though. Alan Schmitt writes: Hello, I'm giving org-contacts a try, and I'm having an error when I'm trying to complete a tag (something should be a sequence but it's a number). Digging a little into it, it seems that the problem is during hilighting, where a fontified string is returned by all-completions instead of a list (in `completion-pcm--all-completions' in minibuffer.el), which then make `completion-hilit-commonality' fail because it expects a list. I'm only seeing this problem with org-contacts, so I'm wondering if it might be the reason for this problem in emacs code. My contacts file looks like this: * Test :test: :PROPERTIES: :EMAIL: alan.schm...@polytechnique.org :END: To reproduce, save this in some path/contacts.org file, do the following (require 'org-contacts) (org-contacts-gnus-insinuate) (setq org-contacts-files (list "path/contacts.org")) then start an email in gnus, in the To field write +, then hit TAB. I'm using org-mode 9 and emacs 25.1.1. Is this a known problem with them? Thanks, Alan
[O] Useful Org Agenda Function: Add "Today" to event
My regular org workflow often sees me having unfinished tasks during a day (be it an email request, a phone call, a long-standing one-off, etc). In these cases I find it useful to add a timestamp for "today" to the item so that I still have original scheduling/deadline information, but it shows up on today's daily view. This is especially handy since timestamp entries can be stacked without interfering with each other, so I can keep a record of all past instances as well. I have this working fine for me via a keyboard macro to be used in agenda mode, which goes to the org file of the event, moves to the heading, moves down a couple lines, and inserts the deadline, and returns. Certainly a non-macro way would be fine here, but this was the easiest and fastest for me and meets my needs. Improvements are welcome! Otherwise, hopefully this function is useful. (Please let me know if some other function already does this) --8<---cut here---start->8--- (fset 'tsa/org-agenda-add-today (lambda (&optional arg) "Keyboard macro." (interactive "p") (kmacro-exec-ring-item (quote ([return 3 16 14 5 return 21 3 46 return 24 98 return] 0 "%d")) arg) (message "Gave event \"TODAY\" date"))) (with-eval-after-load 'org-agenda (define-key org-agenda-mode-map (kbd "C-c .") 'tsa/org-agenda-add-today)) (with-eval-after-load 'org-agenda (define-key org-agenda-mode-map (kbd "C-c C-.") 'tsa/org-agenda-add-today)) --8<---cut here---end--->8--- - Tory
[O] Why does Helm break org-contact group add?
I thoroughly enjoy Org Contact for managing my contacts. One of its features is the ability to enter + and have an entire group of contacts added to the To: or Cc: . Unfortunately, when global-helm-mode is enabled, it doesn't work; when `+ TAB` is entered, an error occurs: Lisp error: (wrong-type-argument sequencep 65) I'm new enough to debugging elisp that the lengthy error trail isn't very decipherable. Can anyone give me a hand on how to get the TAB working with the contact-fill?
[O] Duplicating DEADLINE and date in capture templates
I have some capture templates that supply both a deadline and a regular date. This is because I want the days-in-advance notice of deadlines when I view in my agenda, but deadlines are not exported to ICAL so I need a regular date as well. However, these two are always the same value. Any suggestions on how to clone them so I only need to enter them once? --8<---cut here---start->8--- ;; in my setq org-capture-templates ("tT" "Soon (tomorrow) TODO" entry (file+headline "/home/torysa/emacs/org/td.org" "Tomorrow") "* TODO %^{prompt} %^{Insert}T DEADLINE: %^{Deadline}T%?" :prepend t) --8<-------cut here---end--->8--- -- Tory S. Anderson Computational Cognitive Narratologist & Application Developer http://toryanderson.com
Re: [O] tables, comment in one line, export to html
Second the suggestion to make | / | columns ignored for export in mainstream orgmode. Uwe Brauer writes: > Hi Uwe > On Tue, Apr 19, 2016 at 1:08 PM, Uwe Brauer > wrote: > I have the same need now and just hacked something simple > together to > export > | / | / || | > | | 1n | 2y | 3y | Great!! thanks, I just tested it. So all columns having a / header are ignored, at least for html and latex export. This is really great. Thanks again. I'd say that code should be somehow included in mainstream orgmode, if you don't mind? regards Uwe -- Tory S. Anderson Computational Cognitive Narratologist & Application Developer http://toryanderson.com
Re: [O] State of things: Email with orgmode?
Gnorb looks really interesting, but is lacking a crucial "using it" section on the github [1], so I don't know what it can actually do or what a use-case would be. Does it do what org-mime does? Eric Abrahamsen writes: torys.ander...@gmail.com (Tory S. Anderson) writes: For ages I've been hearing about people doing or wanting email with orgmode. I've been using gnus for years, but am curious as to what is possible with orgmode. My search engines aren't revealing any explanations, but orgmode navigation combined with the composition possiblities with things like html export and integration with orgmode power seems like nice potential. Orgmode already has a very useful facility with taking links to Gnus messages, and the highly useful org contacts; what else is out there? Is there a way to write and send emails from orgmode, without just doing copy/paste/attach? I've got a package in Elpa called Gnorb, that provides some integration between Org and Gnus. It also includes a function `gnorb-org-email-subtree' that lets you export a subtree as a text or file, and send it as an email. That might also be useful. Footnotes: [1] https://github.com/girzel/gnorb -- Tory S. Anderson Computational Cognitive Narratologist & Application Developer http://toryanderson.com
[O] State of things: Email with orgmode?
For ages I've been hearing about people doing or wanting email with orgmode. I've been using gnus for years, but am curious as to what is possible with orgmode. My search engines aren't revealing any explanations, but orgmode navigation combined with the composition possiblities with things like html export and integration with orgmode power seems like nice potential. Orgmode already has a very useful facility with taking links to Gnus messages, and the highly useful org contacts; what else is out there? Is there a way to write and send emails from orgmode, without just doing copy/paste/attach?
[O] Duplicating Capture Times
I use orgmode capturing to schedule events. The date ends up going in to three places: since my agenda file has things scheduled in a tree, it asks where in the tree to put it. Then it asks, what regular date to insert for the schedule; then it asks what date to use for the deadline. I use deadlines because of how they function in orgmode, and I use regular dates so they are exported properly for Google Calendar. But how can I cause two or even all three of these to use the answer from just one prompting of the date, so I don't have to specify so many times? Thanks, - Tory
Re: [O] TODO items which do not appear in the agenda?
I'm a little confused; for me, by default, TODO items do NOT appear in the agenda. They only appear if connected to a deadline, date, or schedule item. I have files of hundreds of TODO items that don't appear in agenda unless I give them a date. I think this is the default behavior. Marcin Borkowski writes: Hi all, I would like to have some TODO items, so that I can mark some tasks as incomplete; however, I don't want them to appear in the agenda, so that it's not too cluttered. Use case: * Blog ** DONE Blog post idea 1 ** TODO Blog post idea 2 I know about (setq org-agenda-todo-list-sublevels nil). However, marking the whole "Blog" headline as DONE only so that I don't see the individual post ideas in my agenda seems hackish. I also know that I could define my own TODO items and use filtering (maybe even with a custom agenda command). Maybe this is the way to go, but somehow I'd prefer a simple set of TODO keywords (TODO/DONE/CANCELED, for instance). So, does the Org hive mind have any other ideas how to implement "TODO items which do not appear in the agenda"? TIA
Re: [O] Favorite way of syncing?
At the moment I'm using a self-hosted OwnCloud to do syncing; it's super easy (takes care of itself), but sometimes conflicts are a problem (particularly when I forget to save my buffers before leaving work); if you notice it, though, it provides a conflict version (and has automatic versioning a la Dropbox). Eric Abrahamsen writes: jorge.alfaro-muri...@yale.edu (Jorge A. Alfaro-Murillo) writes: Tobias Frischholz writes: I was wondering what is your favorite way of syncing your org files and everything. [...] I’ve also read about org-sync and magit (git is an option for me). And now I’m starting the get confused. magit is just the emacs mode for git, if you don't have it and use git you should really install it. But it does not sync anything you still have to M-x magit F F and M-x magit P P, for pull and push. I have several computers and synchronize my org files with git. I think it is the best option because I do not have to worry about the sync not working (for example when I do not have a connection) and conflicts in the files. I do this, too. I don't think Magit helps much, in fact I'd be better off writing functions for `emacs-startup-hook' and `kill-emacs-hook' that do my pushes and pulls for me. But for now, I just try to remember to commit and push before I leave a machine. This way, you also really learn to appreciate using "git fetch" and "git status", rather than doing a blind "git pull". Eric -- Tory S. Anderson Computational Cognitive Narratologist http://toryanderson.com
[O] Org-Contacts skip archived contacts
It would be useful to mark a contact as "archived" so that it won't auto-fill in an email, as when I may want to look someone up in the future but don't need to contact them now. Judging by the docstring I thought the answer would be with `org-contacts-matcher` but I can't quite make sense of how this thing works. Is there a line I should add to this to tell it to ignore `:archive:` tags, or can someone think of an easier way? --8<---cut here---start->8--- (defcustom org-contacts-matcher (mapconcat 'identity (list org-contacts-email-property org-contacts-alias-property org-contacts-tel-property org-contacts-address-property org-contacts-birthday-property) "<>\"\"|") "Matching rule for finding heading that are contacts. This can be a tag name, or a property check." :type 'string :group 'org-contacts) --8<---cut here---end--->8---
[O] Suggestions on sync algorithms
I'm planning to make a mode that allows me to manage my Pivotal Tracker projects from orgmode; Pivotal Tracker exposes a rich JSON API and the basic task of mapping Pivotal data types to Org syntax is conceptually straight forward. But I'm trying to decide on the best way to perform syncronization so that changes on pivotal (which may be made by team members) are correctly synced with my local changes, and vice versa. I'm hoping for suggestions (links OK) on a clean way to perform this synchronization. One option would be to convert local and remote to org and then ediff the products; is there a more automatic way of which I should be aware? - Tory
[O] Collaborative Team Project Management with Orgmode?
I've relied on Orgmode heavily for over half a decade, and I'm loathe to leave it. But what solutions have been found out there for using it collaboratively (where others are not using emacs), rather than just for personal task management (where it excels)? It has some integration with Trello, I know; some of my co-workers are advocating BaseCamp (...) and PivotalTracker. PivotalTracker looks pretty good, but I would rather find a way to leverage orgmode in a way that facilitates collaboration. What has worked for you?
[O] org-agenda-custom-commands with org-agenda-filter-by-regexp
I've previously had success with using `org-agenda-tag-filter-preset` in `org-agenda-custom-commands` but I wanted to include OR logic on two different tags, which seemed beyond th tag-filter (which seems to use AND logic). In my agenda view I can use `=` to use a conditional on two tags, but I can't seem to duplicate that behavior in a custom command. With no errors it simply doesn't seem to work, and googling around has proved fruitless for giving examples; I've tried a number of different syntax without effect. --8<---cut here---start->8--- (setq org-agenda-custom-commands '(("w"."Work") ("wd" "Work Day" ((agenda "" ((org-agenda-span 1) (org-agenda-start-on-weekday nil) (org-agenda-filter-by-regexp '(":\\(ODH\)\\|\\(AGENDA\\):" --8<---cut here---end--->8--- What's the proper way to get a working regexp filter in my custom-command? Thanks!
Re: [O] org-ref & helm-bibtex notes
Yeah, helm bibtex is awesome. This has been a major topic of discussion in the module development. See: https://github.com/tmalsburg/helm-bibtex/issues/40 Last I talked with the developer, he was thinking hard about it and had maybe even started development on single-note file options. "Julian Burgos" writes: > Dear list, > > I have been using org-ref for a while, using reftex to insert citations in > my org documents. Now I am switching to helm-bibtex, which is pretty > awesome. I have a couple of question about the note files. Org-ref uses > a single file to keep notes (e.g. notes.org), but helm-bibtex assumes that > notes are kept in separate files, one per article. My questions are: > > a) Do you have a preference in the single file vs multiple files question? > Are advantages/disadvantages? I tend to prefer the single file option, > it makes search easy and also I can add TODO items that later I can pull > out in the agenda view. With multiple files this would not be as easy. > Do you agree? > > b) Helm-bibtex identifies which references have a note file, adding a > symbol on the reference list. Can we make helm-bibtex look into a single > file (say the "notes.org" file), look for the :Custom_ID: properties of > the entries, and use that to mark the reference list? I am teaching > myself emacs-lisp but this is above my capacity right now. > > Many thanks, > > Julian
Re: [O] Javascript syntax highlighting?
I use somethign similar for blogs I write in orgmode. In my case, it depends on having a server-side library for syntax highlighting: I use google-code-prettify[1] on the server side and then just paste the exported code from orgmode, and it works for me. Peter Davis writes: > If I edit a JavaScript file in emacs, I get beautiful syntax > highlighting. However, if I put the same code in a .org file between > > #+BEGIN_SRC Javascript > ... > #+END_SRC > > I get nothing but plain black text. Is there any way to get the syntax > highlighting in HTML output, so I can use it in a blog post? > > Thanks, > -pd Footnotes: [1] https://code.google.com/p/google-code-prettify/
Re: [O] org-clock-persistence-insinuate not working anymore (25.0.5)
How about any suggestions on how to debug this, since it isn't actually throwing any errors (and I'm a novice emacs-debugger)? The tasks list will contain "interrupted task" and "recent task" but none of the actual task names. (this comes from passing a single arg to org-clock-in) torys.ander...@gmail.com (Tory S. Anderson) writes: > I've been using the following code for several months to make it easy to > clock back in to my frequent tasks as I track my time usage: > > (org-clock-persistence-insinuate) > (setq org-clock-persist t) > > A few days ago I updated emacs to the dev master and my clock is no longer > persisting; the list of recent tasks is perpetually "nil". Any ideas on how > to fix this, or what happened?
[O] org-clock-persistence-insinuate not working anymore (25.0.5)
I've been using the following code for several months to make it easy to clock back in to my frequent tasks as I track my time usage: --8<---cut here---start->8--- (org-clock-persistence-insinuate) (setq org-clock-persist t) --8<---cut here---end--->8--- A few days ago I updated emacs to the dev master and my clock is no longer persisting; the list of recent tasks is perpetually "nil". Any ideas on how to fix this, or what happened?
[O] completing-read for org-clock-select-task: It works!
In my first attempt at actually adding functionality to an existing emacs library, I've written some code to make `org-clock-select-task' use completing-read instead of the built-in org menu if you set `org-select-task-completing', for those who would find this useful (it now works with Helm). It seems like my functions, which are backed by a hash table, ought to be more capable of removing (non-adjacent) duplicates from the list since the table keys are the strings themselves, but I still see them appearing. Why doesn't the hash table merge the entries (they seem to have identical keys)? Should this adjustment be useful to anyone else, what would I do next to contribute? As this is a first forray into more public-use elisp, I'm also open to any other suggestions or tips. Code at: http://www.toryanderson.com/files/helm-org-clock.el
[O] Org-Timer has nice popups; how can I use them elsewhere?
So, orgmode timers have a nice popup when they run out; on my KDE, it's gentle GUI-box (not emacs) that nicely rises and falls. I would love to have this as how my appt reminders work, instead of the ugly minibuffer screeching; but looking through the org-timer code didn't give me any ideas. How can I achieve this?
[O] Footnotes as links?
I guess this is either a feature request or a discussion point, but is there a good reason that footnotes aren't considered as links for the purposes of things like `org-next-link` (despite being displayed like links)? From where I'm sitting, this would be very useful for the sake of things like ace-links, which allows you to quickly navigate to on-screen links.
Re: [O] Bug: message after org-clock-in [8.2.10 (8.2.10-34-gc41bbc-elpa @ /home/torys/.emacs.d/elpa/org-20150223/)]
Alright; because of the need for a fully loaded agenda (which probably needs to include periodic appointments), I've been unable to duplicate this from `emacs -Q`. However, I can toggle it's happening in my working setup. With a functional agenda including periodic files, with `(setq org-log-note-clock-out t)`, upon completing a note after clock-out I receive unidentified messages such as, Entry repeats: DEADLINE: <2015-03-13 Fri 20:00 +1w> This seems to occur regardless of the buffer I am accessing at the time of clock-out. Can anyone else verify this happening in their working setup when clocking notes are enabled, as per above? Brett Viren writes: > torys.ander...@gmail.com (Tory S. Anderson) writes: > >> I'd love to. Unfortunately, search engines were unable to give me >> decisive answer on what an ECM is. > > Heh. I guessed what it meant, but not what it stood for, and found: > > http://orgmode.org/worg/org-faq.html > > Some users call this an "ECM", a French acronym that means a > "minimal complete example". > > Cheers, > -Brett.
Re: [O] Bug: message after org-clock-in [8.2.10 (8.2.10-34-gc41bbc-elpa @ /home/torys/.emacs.d/elpa/org-20150223/)]
I'd love to. Unfortunately, search engines were unable to give me decisive answer on what an ECM is. Nicolas Goaziou writes: > Hello, > > torys.ander...@gmail.com (Tory S. Anderson) writes: > >> After I use `org-clock-in` (using a C-u modifier and keyed globally), I >> receive a message like the following: >> Entry repeats: DEADLINE: <2015-03-04 Wed 14:00 +1w> >> >> This message does not correspond to either the task I clocked out from or >> the task I clocked in to. I assume this is a (minor) bug. > > Could you provide an ECM for this? > > Thank you. > > > Regards,
Re: [O] What to use for tables with lengthy text in cells?
I think \ is overloaded for export purposes, but maybe / is clear? I think that's a good idea. Skip Collins writes: > One more crazy idea. What if there were a choice of two vertical > separators? Currently '|' is the only character used for this purpose. > If, however, something like '\' were used to signal a multi-line cell, > then it would be possible to control this feature on a row-by-row > basis. As soon as the user replaces one of the '|' characters with > '\', all vertical separators in that row also change, converting all > of its cells to multi-line text. This has the advantage of being > backward compatible and not overloading the horizontal line separator.
Re: [O] What to use for tables with lengthy text in cells?
Not a bad idea, but this would be incompatible with the existing useof horizontal lines to separate sections and export to visual lines, right? Skip Collins writes: > Here's another suggestion. There could be an optional org table mode > in which horizontal lines are used to separate rows: > > | Lorem ipsum dolor sit amet, | foo | > | consectetur adipiscing elit. Sed | | > | sit amet luctus sapien. Phasellus | | > | malesuada, ipsum et hendrerit | | > | mattis, neque neque sodales risus, | | > | hendrerit consectetur enim ipsum eu | | > | felis. | | > |-+-| > | Vestibulum ante ipsum primis in | bar | > | faucibus orci luctus et ultrices | | > | posuere cubilia Curae; Nulla dictum | | > | iaculis sodales. Sed elementum | | > | semper leo, venenatis lacinia odio | | > | eleifend vitae. Aliquam lectus | | > | felis, tempor nec lacus ut, | | > | consequat tincidunt nisl. | | > |-+-| > | Fusce eu nunc sit amet orci | baz | > | lobortis accumsan. Vivamus laoreet | | > | ante pellentesque, scelerisque | | > | tellus nec, ultrices nibh. Etiam | | > | scelerisque lobortis erat, in | | > | consectetur nisi tincidunt a. Duis | | > | eu est elit. Pellentesque fringilla | | > | gravida ligula, non convallis | | > | ligula viverra sollicitudin. | | > > Perhaps adding the required machinery to allow in-cell paragraph > filling would not be too difficult?
Re: [O] clocktables include "\emsp" - how to get rid of that?
This effect has been discussed here: http://comments.gmane.org/gmane.emacs.orgmode/90292 It exports nicely, so I believe that's the reason it was made this way. You can replace them with spaces using `org-toggle-pretty-entities`, although it will throw off the width of your table. Otherwise you can edit the code that inserts them, which is mentioned in the linked thread. - Tory Rainer Stengele writes: > Hi, > > I am getting "\emsp" in my clocktable reports. > I use > > #+BEGIN: clocktable :maxlevel 4 :fileskip0 t :tcolumns 0 :level nil :scope > agenda-with-archives :timestamp nil :block 2015-03 :step day :link t > :stepskip0 t > #+END: > > to create these clocktable > > > Daily report: [2015-03-02 Mo] > | File | Headline > | Time | > |---+--+| > | | ALL *Total time* > | *9:00* | > |---+--+| > | Projectmanagement.org | *File time* > | *2:45* | > | | \emsp [[..][Project Managament: Weekly meetings > etc.]] | 2:45 | > | | \emsp\emsp [[..][TODO *00 - Project Managament > -...]]| 2:45 | > > Anybody has an idea where this comes from and how to get rid of it? > > Thank you. > Regards, Rainer
Re: [O] What to use for tables with lengthy text in cells?
It's not a perfect solution (many of us have wished for some way of doing multi-line cells in orgmode, but there's no clear solution...) but I use a combination of width restraints[1] and toggle-truncate-lines, which I've bound to . If it comes to the worst, I would probably pull out csv-mode and use a CSV file. I think the problem is that there's no simple way to wrap within just a cell in Emacs. "Charles C. Berry" writes: > On Mon, 2 Mar 2015, Charles C. Berry wrote: > >> On Mon, 2 Mar 2015, Matt Price wrote: >> >>> I have a project which will require me to enter about a paragraph in each >>> of 5 fields several times a day. I would use org tables, but I need to be >>> able to see the table contents in the buffer, and org hides long lines. I >>> tried using table.el but it feels incredibly clumsy - for instance, I can't >>> find a way to add a row to the end of the table, which seems crazy. >>> >>> I am wondering what other people do in this situation - I guess I could >>> use a spreadsheet or an odt document but I would much rather stay in emacs >>> if I can. >> >> I sometimes use babel blocks for this purpose. >> > > But I did not give an example of filling in a table using that > strategy. > > So here is an example of how you would use that strategy to fill out a > table with fields that get edited. Obviously, you can use the string > resulting from org-fill-template in other ways than in the example > below. > > > * Not exported > :noexport: > > Define a table template (and put it out of the way in a subtree that > is not exported) > > #+name: tmplt > #+BEGIN_SRC org >| Never change me | %a| >| %b | Dont modify me either | > #+END_SRC > > Define the fill-in cells and be sure they are not exported: > > #+name: pcta > #+BEGIN_SRC org > this is ~a~. > #+END_SRC > > #+name: pctb > #+BEGIN_SRC org > this is *b*. > #+END_SRC > > > * This gets exported > > #+HEADER: :var a=pcta() :var b=pctb() :var tm=tmplt() > #+BEGIN_SRC emacs-lisp :wrap latex :exports results >(org-export-string-as > (org-fill-template tm `(("a" . ,a)("b" . ,b))) > 'latex t) > #+END_SRC > > #+RESULTS: > #+BEGIN_latex > \begin{center} > \begin{tabular}{ll} > Never change me & this is \verb~a~.\\ > this is \textbf{b}. & Dont modify me either\\ > \end{tabular} > \end{center} > #+END_latex > > HTH, > > Chuck Footnotes: [1] http://orgmode.org/manual/Column-width-and-alignment.html#Column-width-and-alignment
Re: [O] Notifications-notify for org-mode scheduled items?
I was actually just playing with this. If you don't mind adding your whole daily schedule to the notify list, you can use (org-agenda-to-appt) Unrelated to agenda, there is (appt-add) As far submitting just a single item from the agenda for a pop-up reminder, I'm still at a loss. - Tory Leo Ufimtsev writes: > Hello folks, > > I would like to receive desktop notifications (1* e.g below) for scheduled > items. > E.g if I schedule like this: > > * Make Coffee > SCHEDULED: <2015-03-02 Mon 01:30> > > Then I would like a desktop notification to pup up at 1:30 telling me to make > coffee. > > I saw the org-notify package, but besides this post: > http://permalink.gmane.org/gmane.emacs.orgmode/59339 > I didn't see any documentation on it, making it somewhat tricky to configure. > > I'd be willing to spend time figuring out the package, but I'm wondering, has > someone got something like this to work already? > And if so, would you be willing to share a 'high-level' overview? (I'd be > happy to figure out the details). > > Thank you > > > 1* I get a desktop notification if I run this command: > (notifications-notify >:title "Title" >:body "This is important." >:actions '("Confirm" "I agree" "Refuse" "I disagree") >:on-action 'my-on-action-function >:on-close 'my-on-close-function) > ref: > https://www.gnu.org/software/emacs/manual/html_node/elisp/Desktop-Notifications.html > > > Leo Ufimtsev | Intern Software Engineer @ Eclipse Team
[O] Bug: message after org-clock-in [8.2.10 (8.2.10-34-gc41bbc-elpa @ /home/torys/.emacs.d/elpa/org-20150223/)]
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. After I use `org-clock-in` (using a C-u modifier and keyed globally), I receive a message like the following: Entry repeats: DEADLINE: <2015-03-04 Wed 14:00 +1w> This message does not correspond to either the task I clocked out from or the task I clocked in to. I assume this is a (minor) bug. Emacs : GNU Emacs 25.0.50.6 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.9) of 2015-02-10 on localhost.localdomain Package: Org-mode version 8.2.10 (8.2.10-34-gc41bbc-elpa @ /home/torys/.emacs.d/elpa/org-20150223/) current state: == (setq org-clocktable-defaults '(:maxlevel 4 :lang "en" :scope subtree :block nil :wstart 1 :mstart 1 :tstart nil :tend nil :step nil :stepskip0 nil :fileskip0 nil :tags nil :emphasize nil :link t :narrow 40! :indent t :formula nil :timestamp nil :level nil :tcolumns nil :formatter nil) org-tab-first-hook '(org-hide-block-toggle-maybe org-src-native-tab-command-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-log-note-clock-out t org-contacts-files '("~/contacts.org") org-icalendar-combined-agenda-file "~/Documents/Diary/Cal/cal.ics" org-speed-command-hook '(org-speed-command-default-hook org-babel-speed-command-hook) org-agenda-diary-file "~/emacs/agenda.org" org-special-ctrl-o nil org-time-clocksum-format '(:hours "%d" :require-hours t :minutes ":%02d" :require-minutes t) org-clock-history-length 35 org-occur-hook '(org-first-headline-recenter) org-metaup-hook '(org-babel-load-in-session-maybe) org-icalendar-include-todo t org-html-format-drawer-function '(lambda (name contents) contents) org-latex-format-inlinetask-function 'ignore org-confirm-shell-link-function 'yes-or-no-p org-image-actual-width nil org-finalize-agenda-hook '(org-agenda-property-add-properties) org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-agenda-sticky t org-file-apps '(("\\.odt\\'" . "xdg-open %s") (auto-mode . emacs) ("\\.mm\\'" . default) ("\\.x?html?\\'" . default) ("\\.pdf\\'" . default)) org-export-with-toc nil org-email-link-description-format "Email %c: %s" org-agenda-custom-commands '(("c" . "Weekly class agendas 2015-S") ("c6" "LMC 6215" ((agenda "" ((org-agenda-span 7) (org-agenda-start-on-weekday nil) (org-agenda-tag-filter-preset (quote ("+LMC_6215" "-SCHEDULE" ) ) ) ("c8" "CS 8803" ((agenda "" ((org-agenda-span 7) (org-agenda-start-on-weekday nil) (org-agenda-tag-filter-preset (quote ("+CS_8803" "-SCHEDULE" ) ) ) ("w" . "Weekly work schedule") ("wg" "GRA work" ((agenda "" ((org-agenda-span 7) (org-agenda-start-on-weekday nil) (org-agenda-tag-filter-preset (quote ("+GRA" ) ) )
[O] org-agenda-to-appt interactively with multiple args?
So I've been playing around with org appointments and found the org-agenda-to-appt function; but upon calling it, it loads my whole day into the appointment queue. I have various questions, such as how I can view and edit the current queue, but more importantly, I read the following as part of the doc string: (org-agenda-to-appt &optional REFRESH FILTER &rest ARGS) Activate appointments found in `org-agenda-files'. With a C-u prefix, refresh the list of appointments. If FILTER is t, interactively prompt the user for a regular expression, and filter out entries that don't match it. If FILTER is a string, use this string as a regular expression for filtering entries out. Now, is this function not primarily meant to be called interactively? Or, after all these years in emacs, am I going to learn how to pass multiple args to an interactive function? Because the fact is, I don't always want EVERYTHING in the appointment list. I just want an alarm for those one or two things... Sheepishly yours, - Tory
Re: [O] Org mode for the new guy.
I think you might like the orgmode reference cards (pick your format): http://orgmode.org/worg/orgcard.html http://orgmode.org/orgcard.pdf http://orgmode.org/orgcard.txt You might also be interested in my screencast/blog series, "NOn-Programmer's Emacs" https://www.youtube.com/watch?v=Q8AqHdZTgNI&index=1&list=PLGSBMyq5kLRZOPH4GlMqwskuyQ8AHmUwL Welcome to Emacs for study; for university, I've lived on it. - Tory Garrett Fuller writes: > I am still learning how to use emacs. When I was learned about org > mode, I was really excited. I found it very difficult to extract the > basic usage of org mode from the resources available on the website. > The resources available are both plentiful and VERY thorough, but all > I wanted was a rundown of basic use commands so I could play with it > and get comfortable. > > I eventually got there, and wrote myself a little ,org cheat sheet of > controls and commands. I wanted to share what I worked out with other > beginners somehow, but I have absolutely no idea how to go about > that. > > So, I figured I would share it with you guys. Maybe you can make it > available for beginners? > > Org mode is cooler than sliced bread, btw. Love it. I am now taking > notes in all of my classes with it. Thanks alot! > > -- > The more I learn, the more I know I don't know. > Garrett Fuller
Re: [O] orgmode-contacts "wrong type arguments"
Thanks Nick for the tip; I've recently learned about debug-on-entry, which I attempted to use to no avail last night, but the functions listed in the info manual you cited are useful. Following them I have found that the problem seems to be a conflict bewteen Org-Contacts and Helm; loading without helm enabled fixes the problem. Unfortunately, this seems like a lose-lose tradeoff to disable helm or go without mailing list functionality. I'm open to any suggestions, now that I know that a Helm conflict is apparently causing the listp error. Nick Dokos writes: > torys.ander...@gmail.com (Tory S. Anderson) writes: > >> Presumably this is related to my having upgraded to: >> Org-mode version 8.2.10 (8.2.10-33-g880a2b-elpa) >> GNU Emacs 25.0.50.6 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.9) of >> 2015-02-10 on localhost.localdomain >> >> I use org-contacts[1] to autofill addresses in GNUs. Normally can use >> "+CATEGORY" to add all names in a category; but now that particular >> functionality seems to be broken (although the package is otherwise >> functional). In my efforts to improve my elisp, can anyone tell me why >> the code doesn't work, and what might have changed to cause it to >> break? >> >> Error: >> completion-in-region: Wrong type argument: listp, #("NAME >> , NAME , NAME , >> NAME " 0 15 (fontified nil org-category >> "contacts") 44 65 (fontified nil org-category "contacts") 88 99 >> (fontified nil org-category "contacts") 127 141 (fontified nil >> org-category "contacts")) >> >> Footnotes: >> [1] https://julien.danjou.info/projects/emacs-packages#org-contacts >> > > When you get an error, the first thing you should do is get a backtrace: > >(info "(org) Feeback") > > It's far more likely that you can find the error (or somebody can find > it for you) with a backtrace in hand.
[O] Org open link in new window
Navigating through the labyrinth of org commands and wrappers, I've not been able to find out if there's already a way to open a link (particularly a footnote link) in a new window, so that I could retain my in-line location and context while reading the linked/footnoted text. I realize this functionality is probably out there, but I'm not seeing it in the manual section on links. How can I open links in new window (splitting my screen)?
[O] orgmode-contacts "wrong type arguments"
Presumably this is related to my having upgraded to: Org-mode version 8.2.10 (8.2.10-33-g880a2b-elpa) GNU Emacs 25.0.50.6 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.9) of 2015-02-10 on localhost.localdomain I use org-contacts[1] to autofill addresses in GNUs. Normally can use "+CATEGORY" to add all names in a category; but now that particular functionality seems to be broken (although the package is otherwise functional). In my efforts to improve my elisp, can anyone tell me why the code doesn't work, and what might have changed to cause it to break? Error: completion-in-region: Wrong type argument: listp, #("NAME , NAME , NAME , NAME " 0 15 (fontified nil org-category "contacts") 44 65 (fontified nil org-category "contacts") 88 99 (fontified nil org-category "contacts") 127 141 (fontified nil org-category "contacts")) Footnotes: [1] https://julien.danjou.info/projects/emacs-packages#org-contacts
Re: [O] Citation syntax: a revised proposal
+1 Thanks for the work substantiating the idea. Richard Lawrence writes: > Hi everyone, > > Since discussion seems to have petered out on the previous thread (see: > http://thread.gmane.org/gmane.emacs.orgmode/94524), I took some time to > go back over the discussion and write up a concrete proposal for > citation syntax. > > This proposal represents my attempt to formulate a syntax that is easy > to read, easy to parse, and covers all the use-cases that people > mentioned as being important. It is surely not perfect, but I learned a > lot from the previous thread, and I hope something like this will serve > the community's needs. > > The proposal is below, both inline (for easy quoting) and attached (for > easy reading). To keep it relatively short, I have mostly not explained > my reasoning for the choices I made, but I am happy to do so here if > anyone has questions. > > I welcome feedback, comments, criticisms, and objections on any point. > However, since we've already had a long discussion about this, I > respectfully request that we try to keep this thread focused. To that > end, I suggest: > > 1) If you have criticisms or objections, please try to indicate > whether you think they are `substantive' (e.g., you see a problem > that would prevent you from using this syntax, or prevent Org from > implementing it) or not (e.g., you would prefer a slightly > different but equivalent way of expressing something). > > 2) If you wish to express an opinion about the proposal without > offering further comments, let us know by just replying with +1 > (meaning you'd like to see this syntax, or something reasonably > similar to it, be adopted), 0, or -1 (meaning you'd prefer not to > see this syntax or anything similar to it adopted). > > I guess this is my Valentine to the Org community. :) Thanks for reading! > > Best, > Richard > > #+TITLE: Citation syntax, a revised proposal > #+DATE: <2015-02-14 Sat> > > #+AUTHOR: Richard Lawrence > #+EMAIL: richard.lawre...@berkeley.edu > > #+LANGUAGE: en > #+SELECT_TAGS: export > > #+EXCLUDE_TAGS: noexport > > * Citation syntax > ** Requirements > A citation is a textual reference to one or more individual works, > together with other information about those works, grouped together in > a single place. > > Within a citation, each reference to an individual work needs to be > capable of containing: > 1) a database key that references the cited work > 2) prefix / pre-note > 3) suffix / post-note > > Whole citations also need: > 4) [@4] a way of specifying whether the citation is in-text or > parenthetical > 5) a way of representing a common prefix and suffix, if the citation > is a multi-cite > 6) a way of specifying whether the citation should produce a > complete bibliography entry in-place > 7) an extensible way of specifying formatting properties to export > filters and/or specific export backends > > ** Citation definitions > *** Citation keys; bibliography references vs. complete entries > A citation key consists of a unique label preceded by a flag, which is > optionally preceded by a hyphen. > > The flag is either `@' or `&'. `@' indicates that the citation should > produce a normal reference to the bibliography entry for the cited > work (in whatever style the document uses), located elsewhere. > > The `&' flag indicates that the citation should produce a complete > bibliography entry for the cited work in the place where the citation > appears. > > The optional hyphen (`-') indicates that the author's name should be > suppressed from the rendered citation. (Note that this is only useful > in author-X citation styles; it should have no effect in numeric > styles.) > > *** Basic citations: Parenthetical vs. in-text > There are two basic types of citation: /parenthetical/ and /in-text/. > Each of these may contain references to one or more individual works. > > The difference between parenthetical and in-text citations is > expressed using parentheses around the /first/ citation key. A > parenthetical citation has such parentheses around the first citation > key; an in-text citation lacks them. (Parentheses around non-initial > keys are permitted for visual consistency and to keep the grammar > simple, but have no meaning.) > > A citation thus consists in general of a bracketed list, beginning > with `cite:', of one or more individual references, each of which: > - may contain a prefix, > - must contain a citation key, which may or may not be surrounded by `(...)' > - and may contain a suffix > Individual references are separated by semi-colons. > > There are also two special cases to make simple-but-common uses very > easy to type and read: > 1) a parenthetical citation for a single work with no prefix and > suffix may be written by just surrounding the key with brackets, > like: [@Doe99]. > 2) an in-text citation for a single work with no
Re: [O] navigating org-clock-in recent work list
So being new to elisp, I'm hoping there's a simple hack to disable the org-clock-select-task menu and go to a default (e.g. `C-x b' or `C-x f') style "type your option" interface that will would be populated with and return the same thing as the select-task-menu? I've been looking at the elisp behind the buffer switching functions and I'm afraid it's beyond me; perhaps the "default" of invoking a prompt and passing autocompletion values isn't as simple as I'd hoped? torys.ander...@gmail.com (Tory S. Anderson) writes: > As per a recent discussion on the mailing list, I'm using the following to > enable persistence and extended length of the clock history: > > ;; Org clock-in > (org-clock-persistence-insinuate) > (setq org-clock-persist t) > ;;; * Orgmode Modules > (add-to-list 'org-modules 'habits) > ;; Number of clock tasks to remember in history. > (setq org-clock-history-length 35) ; 1 to 9 + A to Z > > It works great, with one annoying problem: now that I have a list that goes > to M, it can be hard to figure out which shortcut goes to which item. I can > think of two possible solutions: > > 1. Alternately highlight lines, or underline (spreadsheet/table style) > 2. Preferably, since I use Helm, if there were simply an autocomplete prompt > (like switch-buffer; no shortcut keys) this would actually be easiest. > > Can I disable the special pop-up screen (i.e. `org-clock-select-task') and > just use an shortcut-less autocomplete prompt (which, with helm will be > facilitated)?
Re: [O] Orgmode → ODT: Certain chars break export
There is a helpful wiki page now that you found XML; it even mentions my specific character.[1] The main source seems to be at the w3.org spec.[2] Rasmus writes: > torys.ander...@gmail.com (Tory S. Anderson) writes: > >> From a user perspective just stripping the characters seems best to >> me, but finding out what the characters seems obnoxious. > > But maybe there is a valid way to represent such characters in XML? At > the very least entities must be replaced before stripping these... > >> Neither a quick search nor skimming the ODT doc specification[1][2] seem >> to give any insight into a set of illegal characters. Does elisp have >> anything similar to Java's "isWhitespace"[3] that could be used to check >> character features? > > It's an XML thing. When I tried to open the contents.xml with Firefox it > also says broken XML. But I also don't know which are the characters that > are not supported by XML. > > —Rasmus Footnotes: [1] https://en.wikipedia.org/wiki/Valid_characters_in_XML#XML_1.1 [2] http://www.w3.org/TR/xml11/#charsets
[O] navigating org-clock-in recent work list
As per a recent discussion on the mailing list, I'm using the following to enable persistence and extended length of the clock history: --8<---cut here---start->8--- ;; Org clock-in (org-clock-persistence-insinuate) (setq org-clock-persist t) ;;; * Orgmode Modules (add-to-list 'org-modules 'habits) ;; Number of clock tasks to remember in history. (setq org-clock-history-length 35) ; 1 to 9 + A to Z --8<---cut here---end--->8--- It works great, with one annoying problem: now that I have a list that goes to M, it can be hard to figure out which shortcut goes to which item. I can think of two possible solutions: 1. Alternately highlight lines, or underline (spreadsheet/table style) 2. Preferably, since I use Helm, if there were simply an autocomplete prompt (like switch-buffer; no shortcut keys) this would actually be easiest. Can I disable the special pop-up screen (i.e. `org-clock-select-task') and just use an shortcut-less autocomplete prompt (which, with helm will be facilitated)?
Re: [O] Orgmode → ODT: Certain chars break export
>From a user perspective just stripping the characters seems best to me, but >finding out what the characters seems obnoxious. Neither a quick search nor >skimming the ODT doc specification[1][2] seem to give any insight into a set >of illegal characters. Does elisp have anything similar to Java's >"isWhitespace"[3] that could be used to check character features? Rasmus writes: > torys.ander...@gmail.com (Tory S. Anderson) writes: > >> While we're on the topic of ODT export problems: I was in the process >> of converting PDF to Text to Org to ODT/DocX and discovered that >> certain characters seem to break exported odt documents, which fail >> with a line and col number. So far the only one I know for sure is the >> "" (Char: C-l (12, #o14, #xc)). Hopefully a single fix can handle >> all such cases. >> >> You probably don't need it, but I verified with the following file: >> http://toryanderson.com/files/breakorg.org > > The export is fine, but the produced XML is invalid since it contains an > illegal character. But how to resolve this? Should ox strip illegal > charterers (if so what are they)? If so, could they be used for entities? > > —Rasmus Footnotes: [1] https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=office [2] http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#__RefHeading__1415196_253892949 [3] http://www.fileformat.info/info/unicode/char/000c/index.htm
[O] Orgmode → ODT: Certain chars break export
While we're on the topic of ODT export problems: I was in the process of converting PDF to Text to Org to ODT/DocX and discovered that certain characters seem to break exported odt documents, which fail with a line and col number. So far the only one I know for sure is the "" (Char: C-l (12, #o14, #xc)). Hopefully a single fix can handle all such cases. You probably don't need it, but I verified with the following file: http://toryanderson.com/files/breakorg.org Org-mode version 8.2.10 (8.2.10-32-gddaa1d-elpa)
[O] Table formulas: daily hour * rate = cost
I have the followign table, which should speak for itself. First the "cost" column needs to be calculated, which is hours * rate, and then the "hrs" and "ttl" fields should be filled in based on sums of their columns. However, I'm not sure why $cost isn't being evaluated; I've tried it with column names as well as indices but unless I specify each field individually (e.g. @3$5) I can't get a result here. Formula debugging seems to ignore it, too. But I've been trying to follow the example on the "advanced feature" page[1] as closely as possible; what's the problem? --8<---cut here---start->8--- | | Date| Hours | Rate | Cost | | ! | | hours | rate | cost | |---+-+---+--+--| | | February 9 | 4.00 | 38 |0 | | | February 10 | 4.00 | 38 |0 | | | February 11 | 4.00 | 38 |0 | | | February 12 | 4.00 | 38 |0 | | | February 13 | 4.00 | 38 |0 | |---+-+---+--+--| | | | 20. | |0 | | ^ | | hrs | | ttl | #+TBLFM: $5=$hours*$rate::$hrs=vsum(@I..@II)::$ttl=vsum(@I..@II) --8<---cut here---end--->8--- Footnotes: [1] http://orgmode.org/org.html#Advanced-features
[O] [DONE] Re: Org Linking to Bookmark [+]
Thanks, Drew; I have it now. To all concerned, it's easy to add bookmark+ link support to org-mode with the following: --8<---cut here---start->8--- ;;; * bmkp links http://orgmode.org/manual/Adding-hyperlink-types.html (org-add-link-type "bmkp" 'org-bmkp-open) (add-hook 'org-store-link-functions 'org-bmkp-store-link) (defcustom org-bmkp-command 'bookmark-jump "The Emacs command to be used to display a bmkp page." :group 'org-link :type '(choice (const bookmark-jump) (const bookmark-jump-other-window))) (defun org-bmkp-open (path) "Visit the bmkppage on PATH. PATH should be a bookmark name that can be thrown at the `bookmark-jump' function." (funcall org-bmkp-command path)) (defun org-bmkp-store-link () "Store a link to a bmkp bookmark." (when (memq major-mode '(bookmark-bmenu-mode)) (let* ((bookmark (bookmark-bmenu-bookmark)) (link (concat "bmkp:" bookmark)) (description (format "Bookmark: %s" bookmark))) (org-store-link-props :type "bmkp" :link link :description description --8<---cut here---end--->8--- Drew Adams writes: >> (defun org-bmkp-store-link () >>"Store a link to a bmkp bookmark." >>(when (memq major-mode '(bookmark-bmenu-mode)) >> (let* ((bookmark (org-bmkp-get-bookmark-name)) > > | > v > (bookmark-bmenu-bookmark) > > It looks like you are trying to get the name of the bookmark at > point in buffer `*Bookmark List*'. To do that, just evaluate > (bookmark-bmenu-bookmark). > > For Bookmark+, if you pass that function a non-nil arg then you > get the full bookmark record, not just the name. (But anyway, > most bookmark functions accept either the name or the bookmark.) > > (No relation with Org links, but you can also create simple, > non-persistent bookmark links using `bmkp-insert-bookmark-link'. > Dunno whether that will help with what you want to do. > http://www.emacswiki.org/emacs/BookmarkPlus#BookmarkLinks)
[O] Org Linking to Bookmark [+]
I have weekly TODO items that link to something that needs to be updated; for instance, I write a weekly letter to my daughter where each week the actual file for the letter will change. Right now I have to manually update that link in the org file, which is quite cumbersome. If I could just link to a bookmark then periodic updates of the bookmark would take care of any problem with updating the todo item. So, I've been tryin to kludge a solution based on the orgmode manual; while any suggestions would be useful for my budding elisp skills, in particular I'm not sure how to write the last function (org-bmkp-get-bookmark-name). Any suggestions? --8<---cut here---start->8--- ;;; * bmkp links http://orgmode.org/manual/Adding-hyperlink-types.html (org-add-link-type "bmkp" 'org-bmkp-open) (add-hook 'org-store-link-functions 'org-bmkp-store-link) (defcustom org-bmkp-command 'bmkp "The Emacs command to be used to display a bmkp page." :group 'org-link :type '(choice (const bookmark-jump) (const bookmark-jump-other-window))) (defun org-bmkp-open (path) "Visit the bmkppage on PATH. PATH should be a bookmark name that can be thrown at the `bookmark-jump' function." (funcall org-bmkp-command path)) (defun org-bmkp-store-link () "Store a link to a bmkp bookmark." (when (memq major-mode '(bookmark-bmenu-mode)) (let* ((bookmark (org-bmkp-get-bookmark-name)) (link (concat "bmkp:" bookmark)) (description (format "Bookmark"))) (org-store-link-props :type "bmkp" :link link :description description (defun org-bmkp-get-bookmark-name () ;; TODO "Get the bookmark name at point (from bookmark list)." (if (string-match " \\(\\S-+\\)\\*" (buffer-name)) (match-string 1 (buffer-name)) (error "Cannot create link to this bmkp bookmark"))) --8<---cut here---end--->8---
[O] With Sticky Agenda, org-calendar-goto-agenda doesn't work
Bug, I suppose. If I have sticky agenda mode enabled, later going to my calendar and pressing "c" (`org-calendar-goto-agenda') on a date just takes me to whatever date is currently displayed in my agenda. I have to `org-toggle-sticky-agenda' before it it will work.
Re: [O] Simple in-buffer links?
Hi Lawrence, Welcome to org-mode! I think what you're looking for is footnote funcationality[1]. To get started, just use `C-c C-x f' in your orgmode document. Then use it again to go back to where you were. There's more you can do and the page I've cited will get you started. HTH, - Tory Lawrence Bottorff writes: > I'm a beginner and I can't figure out how to build a simple link. All > I want to do is have numbered footnotes throughout my org file that, > when clicked, jump down to that footnote. Eg: > > -- This is in my org file and I'm describing Emacs fill (1). You can > also do auto-fill (2) > > . > . > . > > (1) A fill is text formatting to look like a block. > (2) Auto-fill sets fill for the whole life of the buffer. > > This is all I want to do. I might also like these footnote > elaborations at the bottom to be in another location (another file). > > LB Footnotes: [1] http://orgmode.org/manual/Footnotes.html
[O] Automatically entering org blocks?
Is there a command for automatically entering org blocks (such as for quotes or src), the same way there's a command for inserting drawers? I'm sure there must be, but I've searched the "block" and "insert" command lists and don't see anything that seems promising. --8<---cut here---start->8--- #+BEGIN_QUOTE Deeply insightful quotation! #+END_QUOTE --8<---cut here---end--->8--- I'm sure I'm missing something; it's a pain to have to manually begin and close these things every time. I guess I'm getting spoiled by so much of the org mode goodness that makes things easier.
[O] Adding Google Code Prettify support to exported code blocks
I've started using Google Code Prettify on my blog and needed to add better support in the exports I'm getting out of org-mode. In particular, on my block prettify seems to do a poor job of guessing the language; so I've edited org-html-src-block to add the prettify tags (which are similar to the already exported src tags). But, ever the lisp learner, I'm open to suggestions for improvements. Following are code and an example. --8<---cut here---start->8--- ;; Exporting code blocks suitable for google code prettify (https://code.google.com/p/google-code-prettify/) (defun org-html-src-block (src-block contents info) "Transcode a SRC-BLOCK element from Org to HTML. CONTENTS holds the contents of the item. INFO is a plist holding contextual information. Modified to work with google code prettify (if installed on site)" (if (org-export-read-attribute :attr_html src-block :textarea) (org-html--textarea-block src-block) (let ((lang (org-element-property :language src-block)) (caption (org-export-get-caption src-block)) (code (org-html-format-code src-block info)) (label (let ((lbl (org-element-property :name src-block))) (if (not lbl) "" (format " id=\"%s\"" (org-export-solidify-link-text lbl)) (if (not lang) (format "\n%s" label code) (format "\n%s%s\n" (if (not caption) "" (format "%s" (org-export-data caption info))) ;; add prettyprint and lang- tags to exports (format "\n%s" lang lang label code)) --8<---cut here---end--->8--- This allows this org block: --8<---cut here---start->8--- #+BEGIN_SRC lisp ;; saving views (setq org-agenda-custom-commands '(("c" . "Weekly class agendas 2015-S") ("c6" "LMC 6215" ((agenda "" ((org-agenda-span 7) (org-agenda-start-on-weekday nil) (org-agenda-tag-filter-preset '("+LMC_6215" "-SCHEDULE")) ("c8" "CS 8803" ((agenda "" ((org-agenda-span 7) (org-agenda-start-on-weekday nil) (org-agenda-tag-filter-preset '("+CS_8803" "-SCHEDULE" #+END_SRC --8<---cut here---end--->8--- to produce this (prettifiable) output: --8<---cut here---start->8--- --8<---cut here---end--->8--- Upon pasting, it looks good on my blog.
[O] Auto-complete overrides org-contacts for address fields
I use the excellent org-mode contacts module[1] for auto-completion of addresses in my messages. Now I'm starting to play around with autocomplete-ispell and would like to use it in message mode, but I find it overrides the suggestions for my address fields. Does anyone know a way around this, so that addresses are still handled by org-contacts and not auto-complete? Footnotes: [1] https://julien.danjou.info/projects/emacs-packages#org-contacts