Re: generate an org file for today's appointments

2020-12-04 Thread Alan Schmitt
Hello, On 2020-12-03 20:15, TRS-80 writes: > I am also not someone who uses one of these "daily journal" workflows, > so I can't help but wonder how you link these daily notes back to the > underlying project that generated the event on the agenda in the first > place. Becasue in my mind, I

Re: generate an org file for today's appointments

2020-12-04 Thread Alan Schmitt
Hello, On 2020-12-03 12:01, Mikhail Skorzhisnkii writes: > I'd suggest to use function "org-agenda-write". You can export > your agenda views to org files too! However, the formatting will > be different. Probably something like: > > * Event A > SCHEDULED: <2020-12-03 Thu 10:00-12:00> > *

generate an org file for today's appointments

2020-12-02 Thread Alan Schmitt
Hello, I have my calendars converted to org files (using ical2orgpy), and as I include them as agenda files, I have this nice view in org-agenda: 9:10.. now - - - - - - - - - - - - - - - - - - - - - - - - - AlanWork: 10:00-12:00 Event A - Chris: 10:00-11:00 Event B

Re: Bring up a screen giving option to open a series of orgmode files

2020-11-27 Thread Alan Schmitt
Hello, On 2020-11-27 05:40, Jean Louis writes: > Now we have `evince' PDF viewer that can open PDF I think by page > number and by query but it cannot do the equivalent > `evince-store-link' so user has to think about the file name and page > number and so on. For that I recommend pdf-tools

Re: storing a link to a task from an agenda view

2020-11-22 Thread Alan Schmitt
On 2020-11-22 13:36, Ihor Radchenko writes: >> Do you have suggestions on how to store such a link from an agenda view? >> It can either end up in ~org-stored-links~ or captured in a variable. > > (org-store-link nil) -> (org-store-link nil 'interactive) > > Or you can just save the return value

storing a link to a task from an agenda view

2020-11-21 Thread Alan Schmitt
Hello, I'm trying to store a link to a task while the cursor is on it in the agenda view. I tried ~org-store-link~ on it, but it tells me there is no method to do so. So I looked at some of the org-agenda code to find a way to get to the underlying task, and I tried this: #+begin_src emacs-lisp

Re: add linked files to agenda files

2020-11-16 Thread Alan Schmitt
Hello Nick, On 2020-11-16 16:33, Nick Dokos writes: > Just guessing at this point, I would imagine you'd want something like > this: > > --8<---cut here---start->8--- > (defun path-from-link (link) >(org-element-property :path link)) > > (setq

add linked files to agenda files

2020-11-14 Thread Alan Schmitt
Hello, I'm experimenting with a setup where each project is its own org file, and where I have a master file linking to active projects. How can I configure org to add every linked file of that master file to the org-agenda-files? Thanks, Alan signature.asc Description: PGP signature

Re: recursive checkbox counting

2020-10-02 Thread Alan Schmitt
On 2020-10-02 09:40, Nick Dokos writes: > Not sure whether this will work (or whether it will help in your case): > > https://emacs.stackexchange.com/questions/60710/is-there-any-way-of-getting-overview-statistics-for-all-checkboxes-in-a-given-or/60747#60747 > > There are some links to other

Re: recursive checkbox counting

2020-10-02 Thread Alan Schmitt
On 2020-10-01 14:24, torys.ander...@gmail.com (Tory S. Anderson) writes: > 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. Thank you for the suggestion. I gave it a try, and unfortunately it does

Re: recursive checkbox counting

2020-10-01 Thread Alan Schmitt
Hello Eric, On 2020-10-01 12:26, Eric S Fraga writes: > On Thursday, 1 Oct 2020 at 08:44, Alan Schmitt wrote: >> I'm trying to recursively count checkboxes, with intermediate counting: > > I think you can only do this for lists of lists. In your case, you > would have

Re: Reciprocal links between items

2020-10-01 Thread Alan Schmitt
On 2020-10-01 10:53, "Victor A. Stoichita" writes: > I wonder whether org-mode has a way to indicate reciprocal A↔B > relations between two items. If item A points to item B, then > automatically B also points to A. Accordingly, when the relation > is removed on A, it is also removed from B.

recursive checkbox counting

2020-10-01 Thread Alan Schmitt
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]

Re: org-tables with monetary amounts

2020-09-25 Thread Alan Schmitt
Hello, On 2020-09-25 13:20, Daniele Nicolodi writes: > I use beancoount (another text-based accounting software, very similar > to ledger) for accounting purposes and I am very happy with it. I use > org-mode for planning and management tasks or simply to compare quotes, > things better handled

Re: multiple EXPORT_LATEX_HEADER lines

2020-06-16 Thread Alan Schmitt
Hello Eric, On 2020-06-15 10:20, Eric S Fraga writes: > On Saturday, 13 Jun 2020 at 17:02, Alan Schmitt wrote: >> This is the crux of the issue: there does not seem to be any way to >> generate a multi-line header. And this causes problems with LaTeX. > > Is the problem sol

Re: multiple EXPORT_LATEX_HEADER lines

2020-06-13 Thread Alan Schmitt
Hello, On 2020-06-12 16:01, Eric S Fraga writes: > The snippet from the OP will collate all three LaTeX header lines into a > single line on export, which is expected in terms of org's > behaviour. This appears to cause problems with LaTeX, which is maybe > expected or not; I don't know what

Re: multiple EXPORT_LATEX_HEADER lines

2020-06-12 Thread Alan Schmitt
Hello Dominik, On 2020-06-12 10:31, Dominik Schrempf writes: > are you looking for, e.g., > > #+latex_header: \addbibresource{bibliography.bib} > #+latex_header_extra: do some stuff > #+latex_header_extra: and even more > > I don't use the EXPORT keyword at the beginning, I am not sure if it is

multiple EXPORT_LATEX_HEADER lines

2020-06-12 Thread Alan Schmitt
Hello, I would like to have a multi-line export header when exporting a subtree. I tried this: :EXPORT_LATEX_HEADER: \makeatletter :EXPORT_LATEX_HEADER+: \@setplength{refvpos}{\useplength{toaddrvpos}} :EXPORT_LATEX_HEADER+: \makeatother The problem is that it's exported on a single line, and as

Re: links are not parsed in keyword context

2020-04-13 Thread Alan Schmitt
Hello Nicolas, On 2020-04-13 11:19, Nicolas Goaziou writes: > This is a feature. With a few exception, keyword value is not parsed, > i.e., Org does not need to understand what happens in there. Thank you for the explanation. >> Alternatively, should I suggest org-ref uses an approach similar

links are not parsed in keyword context

2020-04-13 Thread Alan Schmitt
Hello, If you consider the following line in an org file #+begin_src org #+FOO: http://alan.petitepomme.net/ #+end_src then calling ~org-element-context~ returns #+begin_src emacs-lisp (keyword (:key "FOO" :value "http://alan.petitepomme.net/; :begin 1 :end 38 :post-blank 1

Re: org-ref: xxx-add-bibtex-entry with an org-capture like interface

2020-04-10 Thread Alan Schmitt
Hello, On 2020-04-09 15:43, John Kitchin writes: > This is basically what doi-add-bibtex-entry does. There isn't one > function that does arxiv too, but there is arxiv-add-bibtex-entry. Those > are both commands in org-ref. These don't pop up a buffer for approval, > that is something you would

Re: problem when linking to headlines?

2020-02-26 Thread Alan Schmitt
On 2020-02-26 16:38, Nicolas Goaziou writes: > Oops. Fixed. Thank you! Thanks a lot for the quick fix! Best, Alan

problem when linking to headlines?

2020-02-26 Thread Alan Schmitt
Hello, I have these two files: link1.org: * Test link2.org: [[file:link1.org::*Test][Test]] When I click on the first link, I get this in a dired buffer (there is no error). /home/schmitta/tmp: wildcard link1.org::*Test zsh:1: no matches found: link1.org::*Test I'm using Org Mode

Re: org link to OCaml comment

2020-02-20 Thread Alan Schmitt
On 2020-02-19 18:49, Nicolas Goaziou writes: > Alan Schmitt writes: > >> I understand, and I can be careful (and easily fix the link if needed). >> If `org-store-link' could do it for me, that would be perfect. > > I pushed some changes to `org-store-link' in order to fi

Re: org link to OCaml comment

2020-02-07 Thread Alan Schmitt
On 2020-02-07 15:33, Nicolas Goaziou writes: > *shivers* Please never suggest again url-encoding links in Org! ;) We > only got out of this hell recently. I don't want to dive in again. Sorry, I should have put a smiley there. > There is some specific syntax in links. More specifically, the >

Re: org link to OCaml comment

2020-02-06 Thread Alan Schmitt
Hello Nicolas, On 2020-02-06 18:10, Nicolas Goaziou writes: > Link enclosed within parens meant coderef links, i.e., the syntax is > reserved. You can probably remove the closing parenthesis to avoid this. Thank you for the explanation. Is there a way to either escape the parentheses (maybe

Re: org link to OCaml comment

2020-02-06 Thread Alan Schmitt
Hello John, On 2020-02-06 09:58, John Kitchin writes: > I think you need to do it like this: > > #+BEGIN_SRC test.ml -r > > (* Object projection functions *) (ref:opf) > > > #+END_SRC > > [[file:2020-02-05.org::(opf)]] > > The -r in the header removes the coderef when you run it. Thank you

org link to OCaml comment

2020-02-06 Thread Alan Schmitt
Hello, I'm trying to create an org link to a specific place in an OCaml file. I thought I would use some specific target in an OCaml comment, but it does not work. Here is an OCaml comment: (* Object projection functions *) Here is the link create by `org-store-link` (I put it here with no

Re: debugging why a latex preview fails

2020-01-29 Thread Alan Schmitt
Hello Fabrice and Eric, Thanks a lot for your suggestions. I ended up edebugging 'org-create-formula-image' to have a look at the created tex file (that is indeed cleaned up after the generation). The file was fine, but dvipng failed on it (with errors like "raw PostScriptdvipng warning:

debugging why a latex preview fails

2020-01-28 Thread Alan Schmitt
Hello, I'm trying to add some diagrams in a note, and I want to use latex preview for that. Unfortunately the result is not what I expect: I do see an image, but there seem to be errors in the latex processing. How can I see what latex is produced to find where the issue is? To be precise, my

Re: automatic completion of file tags

2020-01-26 Thread Alan Schmitt
Hi Bastien, On 2020-01-26 18:04, Bastien writes: > I'm not entirely sure: you want to tag all headline in a file with > multiple pre-defined tags? There are no headlines in the file (it's a small note). I want to tag the file itself (or its content). It's mostly to help with full-text search

automatic completion of file tags

2020-01-23 Thread Alan Schmitt
Hello, I'm playing with an implementation of Zettelkasten using deft and org files, and I want to tag each note with some tags taken from a list (I'm using the ~#FILETAGS:~ line for that at the moment). Is there a builtin org way of doing it (have a list of tags defined somewhere and tag a whole

Re: [O] moving an entry from one date tree to another

2019-09-28 Thread Alan Schmitt
On 2019-09-28 04:55, Adam Porter writes: See unpackaged/org-refile-to-datetree from: https://github.com/alphapapa/unpackaged.el#refile-to-datetree-file-using-earliestlatest-timestamp-in-entry This is great, thanks! Alan signature.asc Description: PGP signature

[O] moving an entry from one date tree to another

2019-09-27 Thread Alan Schmitt
Hello, Is there an easy way to move an entry from one date tree to another? I guess I need two things: - figure out where in the date tree the entry is, - create the parents if needed, and move it there. This might be a more general question: given an entry in some file, can I move it

Re: [O] org-ref question: create a note from a bibliography entry

2019-07-18 Thread Alan Schmitt
On 2019-07-18 15:54, John Kitchin writes: M-x org-ref-open-bibtex-notes should do that when your cursor is in a bibtex entry. Thank you very much, I don't know how I missed it. Best, Alan signature.asc Description: PGP signature

[O] org-ref question: create a note from a bibliography entry

2019-07-18 Thread Alan Schmitt
Hello, I have a question about org-ref. Is there a way to directly create a note when being inside a bibliography entry? I currently insert a cite link and using it I can create the note, but I would like to skip the "insert a cite link" part. Thanks, Alan signature.asc Description: PGP

Re: [O] converting many ics files to a single org file

2019-06-20 Thread Alan Schmitt
On 2019-06-19 14:01, Robert Horn writes: The golang ical2org (https://github.com/rjhorniii/ical2org) definitely does this. It seems to have many features that I would use. Thanks! Alan signature.asc Description: PGP signature

Re: [O] converting many ics files to a single org file

2019-06-11 Thread Alan Schmitt
On 2019-06-10 22:20, Thomas Plass writes: As per its docstring it's one file per invocation. But the docstring also lists: $ cat in.ical | ical2orgpy - - > out.org I haven't tried, but something like this might work (on Unixoids): $ echo -n > out.org $ for i in *.ical; do cat $i |

[O] converting many ics files to a single org file

2019-06-10 Thread Alan Schmitt
Hello, I'm using vdirsyncer to keep a local copy of my calendars. I would now like to have them in org-mode, so I'm looking for a tool to do the conversion. One important constraint is that, by default, vdirsyncer generates one ics file for each event. I've found this tool

Re: [O] Advance notice of birthdays in org-mode via org-contacts

2019-05-28 Thread Alan Schmitt
Hi Eric, On 2019-05-28 04:34, Eric Abrahamsen writes: And (shameless plug) if you're using EBDB, you can set both `ebdb-use-diary' and `org-agenda-include-diary' to t, and anniversaries will show in the agenda. Thank you for the plug, I've been wanting to look at EBDB for a while. I

[O] refreshing pictures that are results of code blocks

2019-05-15 Thread Alan Schmitt
Hello, I'm playing with picture generating code like this: #+begin_src python :results file :session :var matplot_lib_filename="figure2.png" :exports both import matplotlib.pyplot as plt data = [14.0, 7.6, 11.2, 12.8, 12.5, 9.9, 14.9, 9.4, 16.9, 10.2, 14.9, 18.1, 7.3, 9.8, 10.9, 12.2, 9.9,

Re: [O] Bug: Can't access org agenda custom command [9.2.1 (9.2.1-33-g029cf6-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20190225/)]

2019-02-26 Thread Alan Schmitt
On 2019-02-26 09:14, Nicolas Goaziou writes: I think the problem is on line 3036 of org-agenda.el. The code (propertize match nil 'face 'org-warning)) should be (propertize match 'face 'org-warning)) (I changed it locally and

Re: [O] Bug: Can't access org agenda custom command [9.2.1 (9.2.1-33-g029cf6-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20190225/)]

2019-02-25 Thread Alan Schmitt
On 2019-02-26 02:19, Gustavo Barros writes: I've been having trouble with my custom agenda commands since the latest update. The agenda dispatcher used to work fine until the last update, but now, given one of my custom agenda commands, it issues the error

Re: [O] Inlining TikZ blocks as SVG in HTML export

2019-01-21 Thread Alan Schmitt
On 2019-01-09 22:46, Christophe Garion writes: Hello, I would like to be able to export Org files containing TikZ pictures to HTML files with SVG pictures corresponding to TikZ pictures inlined directly in the HTML files. My use case is to produce quizz questions with graph drawings for

Re: [O] a couple tangle questions (tangle a single block, comment syntax)

2018-10-11 Thread Alan Schmitt
On 2018-10-11 16:12, Alan Schmitt writes: > Now I just need to find a way to specify the syntax for comments in the > headers, and I'm all set. I'm feeling silly. What I need to use is the "conf" language, not "config". Sorry for the noise. Alan -- OpenPGP Key ID

Re: [O] a couple tangle questions (tangle a single block, comment syntax)

2018-10-11 Thread Alan Schmitt
On 2018-10-11 08:06, John Kitchin writes: > Do you mean interactively? With org-babel-tangle you can: > > With one universal prefix argument, only tangle the block at point. > > When two universal prefix arguments, only tangle blocks for the > tangle file of the block at point. Thank you! I

[O] a couple tangle questions (tangle a single block, comment syntax)

2018-10-11 Thread Alan Schmitt
Hello, I'm moving my configuration files to an org file to be tangled, and I have a couple questions. First, is there a command to tangle a single block, or blocks in a subtree? Second, I like to have the :comments link option in my tangled files (to reference where they were tangled from), but

Re: [O] Emacs mobile org

2018-09-10 Thread Alan Schmitt
On 2018-09-10 11:41, Marcin Borkowski writes: > On 2018-09-10, at 09:46, Alan Schmitt wrote: > >> I use orgzly, and it works great with syncthing https://syncthing.net/ > > BTW, in my experience syncthing seems quite flaky. I turn it on on both > the coputer and my phone,

Re: [O] Emacs mobile org

2018-09-10 Thread Alan Schmitt
On 2018-09-09 21:43, Kaushal Modi writes: > On Sun, Sep 9, 2018 at 7:53 PM M. P. wrote: > >> Hello I am running emacs on a mac I have a galaxy s8 android phone. I am >> wanting to sync my phone with emacs on my computer. >> I would prefer not to use a cloud service but instead use >>

[O] gnus link no longer work

2018-09-06 Thread Alan Schmitt
Hello, I've recently noticed that following gnus links (created by org-store-link) no longer work. When I try to open one, I get an error, and I see the gnus summary populated with the message I need, but I cannot read it. Here is the backtrace when I follow the link Debugger entered--Lisp

Re: [O] including the | character in a table

2018-07-25 Thread Alan Schmitt
On 2018-07-25 07:43, Kevin Foley writes: > You can use \vert to insert pipes in exported tables. Thank you Michel and Kevin for these proposals. \vert works great (as long as it's outside ~~, but I can deal with it). Thanks! Alan -- OpenPGP Key ID : 040D0A3B4ED2E5C7 Monthly Athmospheric

[O] including the | character in a table

2018-07-25 Thread Alan Schmitt
Hello, I'm writing a cheat sheet for a programming language, and I'm having trouble with operators that use |. For instance: | match expr with | pattern matching | | | pattern -> expr | action | How can I escape the |? I tried putting a \ before but it does not work. Thanks, Alan

Re: [O] Orgalist notes

2018-05-04 Thread Alan Schmitt
Hello, I'm having the same indentation, as can be seen here. For some strange reason, as soon as I get to the next line (using return) I get extra space. I just refilled this paragraph and it looks like this. - this

Re: [O] preview embedded latex fragments error with my settings

2018-03-27 Thread Alan Schmitt
According to the log, you need to configure the export to use xelatex. The error using xelatex is at this point, where it seems you should not use math-mode: l.86 $\LaTeX $ Do you have this in your code? Did you try removing the enclosing $? Best, Alan -- OpenPGP Key ID :

Re: [O] preview embedded latex fragments error with my settings

2018-03-27 Thread Alan Schmitt
On 2018-03-27 08:57, stardiviner writes: > I have divsvgm program on my arch linuxsystem. And "/tmp/orgtexhClnu9.dvi" > does > not exist, it is not produced. Only "/tmp/orgtexhClnu9.tex" and > "/tmp/orgtexhClnu9.log" two file. What does the log file say? There will

Re: [O] [PATCH v2 0/3] org-sbe fixes

2018-03-26 Thread Alan Schmitt
On 2018-03-25 23:06, Nicolas Goaziou writes: > I have reverted your changes from maint. Should there be a new release? This change is present in 9.1.8. Best, Alan -- OpenPGP Key ID : 040D0A3B4ED2E5C7 Monthly Athmospheric CO₂, Mauna Loa Obs. 2018-02: 408.35, 2017-02:

Re: [O] [PATCH v2 0/3] org-sbe fixes

2018-03-25 Thread Alan Schmitt
Hello, On 2018-03-20 00:07, Nicolas Goaziou writes: > Hello, > > Vladimir Panteleev writes: > >> OK, here is v2 with table-based tests. >> >> Vladimir Panteleev (3): >> ob-table: Fix org-sbe's handling of quotes in cell values >> ob-table:

Re: [O] exporting a big project in multiple files to both pdf and html

2018-02-02 Thread Alan Schmitt
On 2018-02-02 18:41, Yasushi SHOJI writes: > https://github.com/yashi/multi-html-single-pdf > > I have to use macro expansion and `org-export-global-macros` to swap the link. > I don't think we have conditionals to switch an internal and an external link. > > HTML

Re: [O] exporting a big project in multiple files to both pdf and html

2018-02-02 Thread Alan Schmitt
> What you want is to have multiple pdf files, say a.pdf and b.pdf, and link > from > a.pdf to some specific page on the b.pdf, right? No, I want multiple html files and a single pdf file generated from multiple org files. It seems the simplest solution is to call a function that fixes the links

Re: [O] exporting a big project in multiple files to both pdf and html

2018-02-01 Thread Alan Schmitt
On 2018-02-01 13:56, Nicolas Goaziou writes: >> Not here. If I try to export the second file (the one with the link to >> the first file), I get an error: >> >> user-error: Unable to resolve link: "*A headline" >> >> This is why I think I need to have the target file name

Re: [O] is there a macro to have backend-specific behavior?

2018-02-01 Thread Alan Schmitt
On 2018-02-01 13:02, Nicolas Goaziou writes: >> My use case is this one: I have a link to a custom id, and I want to >> export it as [[#id]] in latex and [[file:file.org::#id]] for html >> *before* link resolution happens (so that the custom id in the latex >> export is

Re: [O] exporting a big project in multiple files to both pdf and html

2018-02-01 Thread Alan Schmitt
On 2018-02-01 20:09, Yasushi SHOJI writes: >> How do I change the link in the second headline so that I can split the >> second headline into its own file and export it by itself? > > Using [[*A headline]] ? > > I might be still missing something but I got following: > >

[O] is there a macro to have backend-specific behavior?

2018-02-01 Thread Alan Schmitt
Hello, Is there a way to define a macro that has different behaviors depending on export backend? I have macros that use the @@latex:foo@@ syntax, but in that case I "foo" is supposed to be literal latex. My use case is this one: I have a link to a custom id, and I want to export it as [[#id]]

Re: [O] exporting a big project in multiple files to both pdf and html

2018-02-01 Thread Alan Schmitt
On 2018-02-01 11:17, Yasushi SHOJI <yasushi.sh...@gmail.com> writes: > On Fri, Jan 26, 2018 at 2:37 AM, Alan Schmitt > <alan.schm...@polytechnique.org> wrote: >> I'm working on a project that is becoming too big to manage as a single >> file, so I'm looking at

Re: [O] computing the size of a tikz to png image during export

2018-01-29 Thread Alan Schmitt
On 2018-01-28 16:37, Fabrice Popineau writes: > I jump on this example to ask: does this by-backend trick still work with > Org 9.1.6? It works here. I did not provide the definition, here it is: (defmacro by-backend ( body) `(cl-case org-export-current-backend

[O] exporting a big project in multiple files to both pdf and html

2018-01-25 Thread Alan Schmitt
Hello, I'm working on a project that is becoming too big to manage as a single file, so I'm looking at splitting it in several files. This would also have the benefit of generating several smaller html pages instead of a single huge one. My question is about pdf export. Is it possible to take a

Re: [O] computing the size of a tikz to png image during export

2018-01-25 Thread Alan Schmitt
On 2018-01-25 06:46, Eric S Fraga <esfli...@gmail.com> writes: > On Wednesday, 24 Jan 2018 at 08:54, Alan Schmitt wrote: >> If I understand how it works in the png case, a standalone latex file is >> first generated, then it is compiled to pdf and converted to png using &g

[O] computing the size of a tikz to png image during export

2018-01-24 Thread Alan Schmitt
Hello, I use this great trick to have both a pdf and html export of tikz images: #+header: :file (by-backend (latex "tp6-tree.tikz") (t "tp6-tree.png")) #+header: :imagemagick yes :iminoptions -density 600 :imoutoptions -geometry 800 #+header: :results file raw #+header: :fit yes #+header:

Re: [O] Can export the files with bibliography only to LaTeX

2017-12-14 Thread Alan Schmitt
Hello, org-ref (https://github.com/jkitchin/org-ref) has some bibliography support for html (and looking back at it for plain text, although I never tried it). Best, Alan -- OpenPGP Key ID : 040D0A3B4ED2E5C7 Monthly Athmospheric CO₂, Mauna Loa Obs. 2017-11: 405.14, 2016-11: 403.53

Re: [O] Problems with Org-mode & Minted

2017-12-07 Thread Alan Schmitt
Hello, On 2017-12-07 10:42, jerome moliere writes: > org-latex-minted-options '(("frame" "lines") ("linenos=true") > ("fontsize=\scriptsize") ) I think this is wrong, you should have two strings in each list. Have you tried '(("frame" "lines") ("linenos"

Re: [O] mentioning EXPORT_LATEX_HEADER in the latex header info node

2017-11-17 Thread Alan Schmitt
On 2017-11-16 22:00, Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: > Alan Schmitt <alan.schm...@polytechnique.org> writes: > >> The LaTeX header and sectioning structure info node talks about >> LATEX_HEADER and LATEX_HEADER_EXTRA. Maybe it could mention

[O] mentioning EXPORT_LATEX_HEADER in the latex header info node

2017-11-13 Thread Alan Schmitt
Hello, The LaTeX header and sectioning structure info node talks about LATEX_HEADER and LATEX_HEADER_EXTRA. Maybe it could mention the EXPORT version as well, as is done for the LATEX_CLASS_OPTION. Best, Alan -- OpenPGP Key ID : 040D0A3B4ED2E5C7 Monthly Athmospheric CO₂, Mauna Loa Obs.

Re: [O] Applescript help

2017-11-13 Thread Alan Schmitt
On 2017-11-11 20:06, Jay Iyer writes: > Hi, in my Org workflow, I am trying to use the do-applescript function to > hide an active Emacs session. Can you tell me what I am doing wrong with > the following that I think should work but is not? Thanks. -jay > >

[O] tiny bug in ox-koma-letter.el

2017-10-13 Thread Alan Schmitt
Hello, I'm exporting a letter without a to-address, and it generates a spurious "mbox" in the letter. I found that if I change line 708 of ox-koma-letter.el from "mbox{}" to "\\mbox{}" the problem goes away. Is this a (known) bug? Thanks, Alan -- OpenPGP Key ID : 040D0A3B4ED2E5C7 Monthly

Re: [O] [RFC] org-agenda: Jump directly to line in case of a timestamp

2017-10-09 Thread Alan Schmitt
On 2017-10-09 09:19, Eric S Fraga <esfli...@gmail.com> writes: > On Monday, 9 Oct 2017 at 08:54, Alan Schmitt wrote: >> One thing I would really like is the timestamp behavior of >> org-agenda-goto with the windows behavior of org-agenda-switch-to. > > You could &qu

Re: [O] [RFC] org-agenda: Jump directly to line in case of a timestamp

2017-10-09 Thread Alan Schmitt
Hello, On 2017-10-07 22:23, Matt Lundin writes: > The only difference, if I remember correctly, is that > org-agenda-switch-to replaces the agenda buffer with the target org > buffer, whereas org-agenda-goto shows the target org buffer in another > window. One thing I would

Re: [O] M-RET is not working in the ogr-plus-contrib-20170918

2017-09-19 Thread Alan Schmitt
On 2017-09-18 17:17, Nicolas Goaziou writes: > For the record, we changed > > (org-defkey org-mode-map [(meta return)] 'org-meta-return) > > into > > (org-defkey org-mode-map (kbd "M-RET") #'org-meta-return) > > This may be related to a binding priority order. Thank

Re: [O] M-RET is not working in the ogr-plus-contrib-20170918

2017-09-18 Thread Alan Schmitt
On 2017-09-18 16:06, Nicolas Goaziou writes: > Hello, > > Ярослав Данько writes: > >> Hi, all. After installing the latest ogr-plus-contrib 20170918 i noticed >> that M-RET is not working anymore to continue the list or to insert a new >>

Re: [O] shift-return no longer increments dates?

2017-09-13 Thread Alan Schmitt
On 2017-09-13 14:17, Nicolas Goaziou writes: >> I just updated emacs and org-mode, and I am having a small issue. When I >> hit shift-return on a date field, it simply copies it and no longer >> increments it. > > Fixed. Thank you. Thanks! Alan -- OpenPGP Key ID :

[O] shift-return no longer increments dates?

2017-09-13 Thread Alan Schmitt
Hello, I just updated emacs and org-mode, and I am having a small issue. When I hit shift-return on a date field, it simply copies it and no longer increments it. I do have `org-table-copy-increment' set to t: > org-table-copy-increment is a variable defined in ‘org-table.el’. > Its value is t

Re: [O] org mode moves to GNU emacs core

2017-07-03 Thread Alan Schmitt
"ESF" == Eric S Fraga writes: ESF> On Monday, 3 Jul 2017 at 08:33, Uwe Brauer wrote: >> But the release cycles are very different, so in order to have always >> the latest stable org package, I need to compile and install the whole >> GNU emacs beast. I thought the whole idea

Re: [O] Capture template 'C': nil

2017-06-30 Thread Alan Schmitt
"MM" == Mario Martelli writes: MM> I tried your template once again. And it turned out that the file must be existent. MM> ("c" "capture CWN through org protocol" item (file "~/org/notes.org") MM> "- %?%:description\n %:link\n\n") MM> Does work for

Re: [O] Capture template stopped working: nil

2017-06-30 Thread Alan Schmitt
Hello, "FL" == Florian Lindner writes: FL> Hey Nicolas, hey Bastien, FL> might you give a hint why FL> ("j" "Journal" item FL> (file+datetree "journal.org") FL> "%?\n%i" :kill-buffer t) FL> which still gives the same error: org-capture: Capture template ‘j’: nil I'm

Re: [O] Capture template 'C': nil

2017-06-30 Thread Alan Schmitt
"MM" == Mario Martelli writes: MM> Try to use ‘entry’ instead of ‘item’ Unfortunately I need an item. It used to work, unfortunately it no longer does. MM> “C” is usually bound to “Customise org-capture-templates”. Probably MM> it’s better to choose another key. Thank you

[O] Capture template 'C': nil

2017-06-30 Thread Alan Schmitt
Hello, I'm having a problem with a capture template called from org-protocol, both with old and new style links. Here is the template ("C" "capture CWN through org protocol" item (file "next-cwn.org") "- %?%:description\n %:link\n\n") When I use it on a page, it directly adds the entry

[O] problem with bibtex-parse-buffers-stealthily

2017-04-10 Thread Alan Schmitt
Hello, I'm having `bibtex-parse-buffers-stealthily' fail when there is an org-mode buffer with a bibtex source block. For instance, if you have the following block in an org file #+begin_src bibtex @article{FernandezGabbay2007, number = {6}, volume = {205}, pages = {917--965}, year =

Re: [O] How do you store web pages for reference?

2017-03-17 Thread Alan Schmitt
On 2017-03-16 09:04, Bob Newell writes: > Scott Otterson writes: > >> I use Evernote, which has handy annotation, tagging, and search > > I use this also, but I wanted something working within Emacs similar to > the Evernote web-clipper. Org-board

Re: [O] Subject: Use of date trees in Capture has been modified

2017-03-16 Thread Alan Schmitt
Hello Carsten, On 2017-03-16 08:55, Carsten Dominik writes: > I have just pushed (to master) a patch that modifies the use > of date trees in capture templates. If you don't use them, > no need to read on. I can't update till this reaches maint (which I use), but I'll probably

Re: [O] How do you store web pages for reference?

2017-03-15 Thread Alan Schmitt
Hello Peter, On 2017-03-13 13:43, Peter Salazar writes: > By the way, you can definitely save a PDF with links if you prefer that. I > use DevonThink, and I use this snippet to save > a PDF of a webpage, complete with links. > >

Re: [O] jumping from Agenda/Timeline to .org source file

2017-03-09 Thread Alan Schmitt
Hello Eric, On 2017-03-09 07:23, Eric S Fraga <e.fr...@ucl.ac.uk> writes: > On Wednesday, 8 Mar 2017 at 12:55, Alan Schmitt wrote: > > [...] > >> I would like to use `org-agenda-goto', but without splitting the frame. >> In other words, I want to destination to be

Re: [O] jumping from Agenda/Timeline to .org source file

2017-03-08 Thread Alan Schmitt
On 2017-03-08 12:02, Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: > Hello, > > Alan Schmitt <alan.schm...@polytechnique.org> writes: > >> Hello, >> >> On 2017-03-01 13:28, use...@internet.lu writes: >> >>> When I jump from the Agenda-T

Re: [O] jumping from Agenda/Timeline to .org source file

2017-03-03 Thread Alan Schmitt
Hello, On 2017-03-01 13:28, use...@internet.lu writes: > When I jump from the Agenda-Timeline view to the source .org file, > either with TAB, SPACE or by using the follow mode, Emacs will > position me exactly *below* the source line in the org file (where the > scheduled date is). On macOS or

Re: [O] org-bbdb-anniversaries-future

2017-03-01 Thread Alan Schmitt
On 2017-03-01 15:03, Michael Welle writes: >> I don't think it helps. IIRC, code integration in Emacs is pretty >> strict. You could simply sign FSF papers. > Yes. Trouble is nobody could explain to me what I have to sign and what > that means in the legal system I'm in. My

Re: [O] org-bbdb-anniversaries-future

2017-03-01 Thread Alan Schmitt
Hello, On 2016-07-14 14:09, Michael Welle writes: > Hello, > > org-bbdb-anniversaries-future uses the following format to insert > anniversaries into the agenda: > > Birthday: [[bbdb:foo bar][foo bar (37th) -- 2016-07-14]] > > Seeing the date in the agenda makes me feel like

Re: [O] Strings converted to numbers in Org table?

2017-02-27 Thread Alan Schmitt
On 2017-02-27 10:17, "Charles C. Berry" writes: > IMHO, it is often best to handle formatting of output in the language of > the src block. There are some tools for doing this in R: the `ascii' > package is one. `xtable' is another. I've had the same problem when working

[O] org-revert-all-org-buffers always prompts

2017-02-16 Thread Alan Schmitt
Hello, I use `org-revert-all-org-buffers` in the recommended way (after calling `org-save-all-org-buffers`), so I would expect that I would not be asked confirmation as no org buffer is unsaved, as is said in the function description: "Prompt for confirmation when there are unsaved changes."

Re: [O] Update for MobileOrg iOS v1.7 released

2017-02-02 Thread Alan Schmitt
Hello, On 2017-02-01 04:36, Sean Escriva writes: > This is actually the behavior defined by org-mobile.el in the function > org-mobile-push: > http://orgmode.org/cgit.cgi/org-mode.git/tree/lisp/org-mobile.el#n306 > the actual file is created here: >

Re: [O] Update for MobileOrg iOS v1.7 released

2017-01-31 Thread Alan Schmitt
On 2017-01-31 03:58, Sean Escriva writes: > Hello fellow Org users, > > After beta testing several builds, the latest updated version of > MobileOrg for iOS has finally been released: > https://itunes.apple.com/us/app/mobileorg/id634225528?mt=8 > > Functionality is

Re: [O] is it bad to have both org and org-plus-contrib installed?

2017-01-24 Thread Alan Schmitt
On 2017-01-24 12:14, Kaushal Modi writes: > I don't recall facing the issue like yours when org gets > auto-installed as dependency. But I found it annoying to wait for org > to get installed as dependency magically when some package having that > as dependency got

[O] is it bad to have both org and org-plus-contrib installed?

2017-01-24 Thread Alan Schmitt
Hello, I recently had one of those transient problems that go away when reinstalling org (the one where no code block can be executed). As I was doing so, I noticed that I had both org and org-plus-contrib installed, visibly because some packages depend on org. Is this a bad thing? And is there

  1   2   3   4   5   6   7   8   9   >