Re: [feature request] startup variable for link display

2022-08-09 Thread Fraga, Eric
Hi Max, On Tuesday, 9 Aug 2022 at 23:31, Max Nikulin wrote: > I had in mind :set attribute of defcustom, see info "(elisp) Variable > Definitions" I see. Thank you. > In the particular case of `org-link-descriptive' some code should be > executed *after* changing of its value. Oh, okay, that

Re: [feature request] startup variable for link display

2022-08-09 Thread Fraga, Eric
Hi Max, On Tuesday, 9 Aug 2022 at 22:21, Max Nikulin wrote: > Is it possible to use setter function for the defcustom to make the > following work? I'm not sure what this means. > # Local Variables: > # org-link-descriptive: nil > # End: Ah, thank you for pointing out the variable. I didn't m

[feature request] startup variable for link display

2022-08-09 Thread Fraga, Eric
Hello all, Assuming I have not missed something, is there a variable I can set on visiting an org buffer/file that ensures that links are displayed fully? Once I've loaded an org file, I can M-x org-toggle-link-display RET. but I would like certain files to start up with links displayed. If

Re: :session for Julia in org babel?

2022-08-09 Thread Fraga, Eric
Hi Ihor, On Tuesday, 9 Aug 2022 at 20:39, Ihor Radchenko wrote: > Can you please run M-x toggle-debug-on-error and share the full > backtrace? See below. I've not started investigating at all. The Julia REPL buffer does get started so it's not an issue with Julia itself. The backtrace below i

Re: :session for Julia in org babel?

2022-08-08 Thread Fraga, Eric
> OK, now I get this: > ess-eval-buffer: Wrong type argument: symbolp, [...] > (ess-error-regexp-alist . ess-julia-error-regexp-alist) ...) Yeah, pretty much what I get as well. Thanks for confirming that it's not my configuration that causes this! -- : Eric S Fraga, with org release_9.5.4-72

Re: :session for Julia in org babel?

2022-08-08 Thread Fraga, Eric
Hi Bill, thank you for the quick response. On Monday, 8 Aug 2022 at 11:49, Bill Burdick wrote: > Julia works in org without sessions for me but with sessions I get this error: > > org-babel-execute:julia: Cannot open load file: No such file or directory, ess Yeah, it does require the ess packag

:session for Julia in org babel?

2022-08-08 Thread Fraga, Eric
Hello all, has anybody tried using sessions for Julia in org? I'm asking because I've never used sessions (for any language) before and it's failing with obscure ess- related errors so I just want to confirm that Julia should (or should not) work with sessions before I spend some time debugging.

Re: folding problems

2022-08-05 Thread Fraga, Eric
On Friday, 5 Aug 2022 at 12:16, Fraga, Eric wrote: > Thank you. Back to "normal" (now having problems with latest Emacs updates > ;-)). Heads up for those of you that might be using graphviz-dot-mode, e.g. in dot src blocks. The development version of Emacs has removed fon

Re: folding problems

2022-08-05 Thread Fraga, Eric
On Friday, 5 Aug 2022 at 19:37, Ihor Radchenko wrote: > Hence, I have reverted the problematic commit in 1449bb31e. Thank you. Back to "normal" (now having problems with latest Emacs updates ;-)). -- : Eric S Fraga, with org release_9.5.4-707-g215de6 in Emacs 29.0.50

Re: folding problems

2022-08-05 Thread Fraga, Eric
On Friday, 5 Aug 2022 at 09:45, Ihor Radchenko wrote: > If you have some time, can you try the attached patch? I have tried it but it doesn't seem to solve the issue of multiple responses required due to "unsafe" dir local variables unfortunately. I may remove that particular setting and do what

Re: folding problems

2022-08-04 Thread Fraga, Eric
Ihor, folding is now fine. But only by disabling (reverting) the early loading of local file variables. Which I'm doing as it was breaking too many things. Org is back to being usable. -- Eric S Fraga, @ericsfraga:matrix.org, GnuPG: 0xc89193d8fffcf67d

Re: folding problems

2022-08-04 Thread Fraga, Eric
Maybe unrelated but I will add that the recent changes to how local variables are processed is breaking my usage of org quite seriously. To be clear: I am not complaining: it's my fault for tracking the bleeding edge of development for both org and Emacs. 😉 But I thought I would mention what I am

Re: folding problems

2022-08-04 Thread Fraga, Eric
On Thursday, 4 Aug 2022 at 22:34, Ihor Radchenko wrote: > Are you able to reproduce starting from emacs -Q? No, I am not able to reproduce with -Q unfortunately. 😕 I'll investigate when time permits. Thank you, eric -- : Eric S Fraga, with org release_9.5.4-706-g4702a7 in Emacs 29.0.50

folding problems

2022-08-04 Thread Fraga, Eric
Hello all, Just a quick heads up: I have just built emacs from git and updated org also from git. Having changed my org files to remove (org-content 3) lines from hooks and file local variables, replacing them with the appropriate STARTUP setting, I am sort of back where I was except that fol

Re: Something has happened such that I can't export to latex

2022-07-27 Thread Fraga, Eric
On Wednesday, 27 Jul 2022 at 16:20, Sharon Kimble wrote: > So I've looked at my config file, and the first time that org is mentioned is > - So you use org-babel-load-file *before* you set the load-path. Move the two lines that set the load path for org to before you use org-babel-load-path. In

Re: Something has happened such that I can't export to latex

2022-07-27 Thread Fraga, Eric
> Despite git pulling, etc, and restarting emacs, the problem still > remains. > > This is on org-mode 'Org mode version 9.5.2 (release_9.5.2-25-gaf6f12 @ > /home/boudiccas/git/org-mode/lisp/)' Sharon, this looks like an old version (see my signature for a more recent version number). Maybe you

Re: [PATCH] oc-csl: Add support for sub-bibliographies

2022-07-25 Thread Fraga, Eric
"Printing a bibliography" would also work. -- : Eric S Fraga, with org release_9.5.4-648-gdf1814 in Emacs 29.0.50

Re: Specify defaults for In Buffer Settings

2022-07-22 Thread Fraga, Eric
On Friday, 22 Jul 2022 at 19:05, Greg Minshall wrote: > sorry, but what is the autoinsert package? It comes with Emacs: ,[ C-h f auto-insert RET ] | auto-insert is an autoloaded interactive compiled Lisp function in | ‘autoinsert.el’. | | (auto-insert) | | Insert default contents into new f

Re: Confused about source code blocks evaluation when exporting

2022-07-22 Thread Fraga, Eric
On Friday, 22 Jul 2022 at 06:27, alain.coch...@unistra.fr wrote: > Plus one must revisit the file when changing the value of > that variable. You can reload local variables by hitting C-c C-c on the #+title: line, for instance. -- : Eric S Fraga, with org release_9.5.4-557-g3bbbf7 in Emacs 29.

Re: ChangeLog.org

2022-07-21 Thread Fraga, Eric
On Thursday, 21 Jul 2022 at 18:03, Uwe Brauer wrote: > Does somebody know about a package that support orgmode style of > ChangeLog *without* relying on git or magit (I am a mercurial user) I cannot see the file you linked to but maybe vc-update-change-log will do what you want, being version cont

Re: Specify defaults for In Buffer Settings

2022-07-21 Thread Fraga, Eric
On Thursday, 21 Jul 2022 at 04:08, Deepankar Sharma wrote: > Would appreciate any pointers on specifying defaults for In Buffer > Settings [https://orgmode.org/manual/In_002dbuffer-Settings.html] so > that they do not have to be inserted into every file. Maybe an org > wide config file or somethin

Re: Confused about source code blocks evaluation when exporting

2022-07-20 Thread Fraga, Eric
On Wednesday, 20 Jul 2022 at 14:12, alain.coch...@unistra.fr wrote: > At any rate, and as I already said, all this business became > irrelevant for me once latexmk was installed: no need then to set > org-latex-pdf-process. This became only a matter of better > understanding some of the org intric

Re: numbering src blocks in HTML export

2022-07-20 Thread Fraga, Eric
On Wednesday, 20 Jul 2022 at 11:58, Ihor Radchenko wrote: > AFAIU, source block switches are never inherited. Thank you for confirming. It's easy enough for me to change all of my src blocks with a single Emacs command. And that's why "it's all text" is so important! :-) > may we should provide

Re: numbering src blocks in HTML export

2022-07-19 Thread Fraga, Eric
Followup question, if I may: how can I make -n be default behaviour for export? I have tried, for instance, #+property: header-args:julia -n 1 to have all Julia src blocks show line numbers but it doesn't work. Thanks again, eric -- : Eric S Fraga, with org release_9.5.4-643-g057df6 in Emacs

Re: numbering src blocks in HTML export

2022-07-19 Thread Fraga, Eric
On Tuesday, 19 Jul 2022 at 15:28, Juan Manuel MacĂ­as wrote: > I usually do it this way: > > #+begin_src sh -n :exports code Thank you. Obvious (in hindsight). I now found the section in the info manual on this (under Markup for Rich Contents, which is I guess not where I expected it... but did

numbering src blocks in HTML export

2022-07-19 Thread Fraga, Eric
Hello, a quick and hopefully easy question: how do I get lines in src blocks numbered in HTML export? I have looked at the code and the first thing I did was set org-html-wrap-src-lines to t. This wraps each line in "...". I know how to use CSS to add line numbers to lines with these tags but,

Re: Confused about source code blocks evaluation when exporting

2022-07-14 Thread Fraga, Eric
On Thursday, 14 Jul 2022 at 10:09, alain.coch...@unistra.fr wrote: > #+begin_src emacs-lisp > (setq org-latex-pdf-process ) > #+end_src > > which I want to be evaluated during export but I want neither the code > not its results to appear on the exported pdf file. > > Maybe there are smarter ways t

Re: index for HTML export

2022-07-14 Thread Fraga, Eric
On Thursday, 14 Jul 2022 at 09:18, Jens Lechtenboerger wrote: > That is strange. File theindex.inc should contain the index entries. > I believe that “:makeindex t” on the Org source files with #+INDEX: > entries should do the job. Well, it seems that index generation by publishing works with "em

Re: Confused about source code blocks evaluation when exporting

2022-07-14 Thread Fraga, Eric
On Wednesday, 13 Jul 2022 at 23:06, alain.coch...@unistra.fr wrote: > Now I start again, but I do 'C-c C-e l o' instead. I am _not_ asked > whether I want to evaluate, and the 'foo' file is still there. But > the pdf file does display > > rm -f foo > > Does this still qualify as "evaluation"? I

Re: index for HTML export

2022-07-14 Thread Fraga, Eric
On Thursday, 14 Jul 2022 at 08:13, Jens Lechtenboerger wrote: > (list "index-terms" [...] > :preparation-function 'oer-reveal--add-advice-link > :completion-function 'oer-reveal--remove-advice-link > :publishing-function '(org-html-publish-to-html) > :publishing-

Re: index for HTML export

2022-07-13 Thread Fraga, Eric
(apologies for flurry of emails) Publishing works, in the sense that my org file is exported to HTML just fine. An index file is created but is not populated with any index links. What am I missing? The info page is less than helpful unfortunately. Are index lines, e.g. #+index: test!org publ

Re: index for HTML export

2022-07-13 Thread Fraga, Eric
So publishing cannot have the target directory be the same as the source directory, it would seem? Having a different directory for :publishing-directory makes publishing work. I still do not understand the error, however. My original question remains: can we create an index for HTML export with

Re: index for HTML export

2022-07-13 Thread Fraga, Eric
... and following up on this, when trying to /publish/ instead of just export, I am failing miserably. I created a simple project definition but every time I try to publish either a specific file or the project, I get (with file name partly elided): --8<---cut here---start

index for HTML export

2022-07-13 Thread Fraga, Eric
Hello all, I know (well, I believe as I haven't tried yet) I can /publish/ a project and generate an index using the #+index entries in the org files. However, for a single file, is it possible to generate the index as part of the export process directly (or even separately from the export proces

Re: Confused about source code blocks evaluation when exporting

2022-07-13 Thread Fraga, Eric
On Tuesday, 12 Jul 2022 at 23:13, alain.coch...@unistra.fr wrote: > I guess I didn't use 'incidental' correctly. I meant it as "not my > main concern". Anyway, thank you; I could check that if I switch the > 2 lines I indeed get '#+RESULTS:' to show foo'. No, you used the word correctly. My poi

Re: Confused about source code blocks evaluation when exporting

2022-07-12 Thread Fraga, Eric
On Tuesday, 12 Jul 2022 at 14:53, alain.coch...@unistra.fr wrote: > So far so good. (Well almost: why does '#+RESULTS:' show 'bar' and > not 'foo'? After all, I'm just setting 'my-var', I'm not asking to > display its value. But that's incidental.) It's not incidental. By default, the results

Re: when does :cache not cache?

2022-07-08 Thread Fraga, Eric
Please ignore. Restarting Emacs fixed the problem. For some reason, re-loading org was not enough. I can export without error again. -- : Eric S Fraga, with org release_9.5.4-613-gb3b17c in Emacs 29.0.50

Re: when does :cache not cache?

2022-07-08 Thread Fraga, Eric
Hi Ihor, On Monday, 4 Jul 2022 at 21:06, Ihor Radchenko wrote: > Ihor Radchenko writes: > >> The patch introduces a new functionality to ob-core.el allowing more >> stable temporary file names. I am not sure if my implementation is the >> best way to solve the problem, so comments are welcome. >

Re: Org and Hyperbole

2022-07-07 Thread Fraga, Eric
Robert, one immediate issue that has arisen is the binding of C-c C-m (i.e. C-c RET) to hui-select-thing. This clobbers the whole gnus-dired-mode-map in dired mode (for those of us that use gnus...). Just noting this but should probably take this off-list as it has nothing to do with org. -- :

Re: Org and Hyperbole

2022-07-06 Thread Fraga, Eric
So I installed hyperbole and it works very nicely. The key binding is no longer intrusive. Thank you. -- : Eric S Fraga, with org release_9.5.4-609-g713598 in Emacs 29.0.50

Re: Org and Hyperbole

2022-07-04 Thread Fraga, Eric
On Monday, 4 Jul 2022 at 21:09, Tim Cross wrote: > It appears that hyperbole now uses C-h h as its menu key. Other C-h > bindings appear to be unaffected (you just don't get the old Hello file > which you normally have bound to C-h h). Ah, that sounds better. I can definitely manage without easy

Re: Org and Hyperbole

2022-07-04 Thread Fraga, Eric
On Monday, 4 Jul 2022 at 19:01, Ihor Radchenko wrote: > I posted a bug report related to this in the past and it was fixed. So, > situation may be somewhat better. You might try and see what happens. Thank you. I will play with this system again then. -- Eric S Fraga, @ericsfraga:matrix.org, G

Re: Org and Hyperbole

2022-07-04 Thread Fraga, Eric
Robert, just one quick comment and question (maybe the documentation covers this; if so, apologies): when I tried hyperbole years ago, the annoying thing was that it took over C-h. My muscle memory after decades of Emacs use was disturbed significantly as I use C-h (for Emacs help) all the time.

Re: Beamer export: Executing LaTeX between two frames

2022-06-26 Thread Fraga, Eric
On Sunday, 26 Jun 2022 at 12:17, Ihor Radchenko wrote: > This is too hacky as for my taste. > > I'd rather use :ignore: tag from ox-extra: Excellent. I did not know that the ignore tag processing closed the previous headline body as it seems to do given your example. This definitely makes things

Re: Implementing ox-beamer property support in ox-latex.

2022-06-22 Thread Fraga, Eric
On Tuesday, 21 Jun 2022 at 14:14, bob--- via "General discussions about Org-mode." wrote: > The problem that I encountered was that you can't easily "close" environments. > The example below shows what I mean: You would probably find things easier using special blocks, e.g. --8<---cu

Re: Beamer export: Executing LaTeX between two frames

2022-06-22 Thread Fraga, Eric
On Tuesday, 21 Jun 2022 at 10:01, M. ‘quintus’ GĂŒlker wrote: > I am working on a presentation for a conference (using org-mode and its > beamer export) and want to exchange the entire background for a specific > frame with an image. This is possible with Beamer, see This is a bit hacky but see att

Re: LoB elsipgantt sample input table

2022-06-18 Thread Fraga, Eric
Tim, updated org file which invokes the code to create the GANTT chart (also attached as a screenshot for illustration). -- Eric S Fraga, @ericsfraga:matrix.org, GnuPG: 0xc89193d8fffcf67d GANTT.org Description: GANTT.org

Re: Creating animated gif from latex src blocks

2022-06-18 Thread Fraga, Eric
On Saturday, 18 Jun 2022 at 00:26, Edouard Debry wrote: > As a matter of fact, you can, but I will check out the latex package you > mentioned > > "Fraga, Eric" writes: > >> Check out the animate LaTeX package. I don't believe you can create >>

Re: LoB elsipgantt sample input table

2022-06-17 Thread Fraga, Eric
Dear Tim, On Friday, 17 Jun 2022 at 18:27, Tim Cross wrote: > "Fraga, Eric" writes: >> On Friday, 17 Jun 2022 at 13:34, Tim Cross wrote: >>> One of the more interesting code blocks is elispgantt, which can >>> generate a Gantt chart from data supplie

Re: Is ob-latex maintained ?

2022-06-17 Thread Fraga, Eric
On Friday, 17 Jun 2022 at 13:48, DEBRY.Edouard wrote: > Unfortunately not. > > If I remember well, this setting is for math environments, whether you > want to preview them as png or svg, it does not work for src blocks. Well, my src blocks work although I use imagemagick and then have the followi

Re: Creating animated gif from latex src blocks

2022-06-17 Thread Fraga, Eric
Check out the animate LaTeX package. I don't believe you can create such the actual animation from tikz itself. -- : Eric S Fraga, with org release_9.5.4-535-ged6f8d in Emacs 29.0.50

Re: Utility of description lists

2022-06-17 Thread Fraga, Eric
On Friday, 17 Jun 2022 at 09:35, William Denton wrote: > When I have a list of things I want to briefly descibe! And where the leading bullet or number would simple add clutter. -- : Eric S Fraga, with org release_9.5.4-535-ged6f8d in Emacs 29.0.50

Re: Is ob-latex maintained ?

2022-06-17 Thread Fraga, Eric
Have you tried adding the line: #+options: tex:dvipng to the file? (you may need to type C-c C-c on that line to refresh the settings.) Would this solve your problem? -- : Eric S Fraga, with org release_9.5.4-535-ged6f8d in Emacs 29.0.50

Re: LoB elsipgantt sample input table

2022-06-17 Thread Fraga, Eric
On Friday, 17 Jun 2022 at 13:34, Tim Cross wrote: > One of the more interesting code blocks is elispgantt, which can > generate a Gantt chart from data supplied in a table. It is based on > code originally submitted by Eric Fraga and modified by Tom Dye. . If you give me the link, I will try to wr

Re: export to odt, but #text# should be coloured

2022-06-10 Thread Fraga, Eric
On Thursday, 9 Jun 2022 at 20:37, Uwe Brauer wrote: > Now, how can I achieve something like this for the odt export? I have used something like the following in the past: (format "%s" contents) -- : Eric S Fraga, with org release_9.5.4-521-g1105da in Emacs 29.0.50

Re: re-scanning bibliography for org-cite

2022-06-09 Thread Fraga, Eric
On Thursday, 9 Jun 2022 at 10:34, Bruce D'Arcus wrote: > It should take another few days of development and testing before I'm > ready to merge it, but it pretty much works now, and any help with > code review and/or testing would be much appreciated. Okay, let me know. It's easy enough for me t

Re: when does :cache not cache?

2022-06-09 Thread Fraga, Eric
On Thursday, 9 Jun 2022 at 21:35, Ihor Radchenko wrote: > Did you have a chance to test the patch? No. Sorry. Got busy with other things and had temporarily (well, permanently) solved the problem (for me) by adding :eval no-export to all of my gnuplot blocks. -- : Eric S Fraga, with org relea

Re: re-scanning bibliography for org-cite

2022-06-09 Thread Fraga, Eric
On Thursday, 26 May 2022 at 18:24, Ihor Radchenko wrote: > The relevant function is org-cite-basic--parse-bibliography. To finally follow up on this, the problem is not with org-cite but appears to be due to my use of citar. Citar seems to cache the keys somewhere/somehow and this cache is not up

Re: Include LaTeX source and compiled result

2022-06-09 Thread Fraga, Eric
On Thursday, 9 Jun 2022 at 09:58, Denis Maier wrote: > Anything else? I've found those files, but I was wondering whether Emacs > could give me some more useful debug infos? (Especially since compiling > the temporary files works...) Nothing else I know about. It's one of the weak points in the

Re: Include LaTeX source and compiled result

2022-06-09 Thread Fraga, Eric
On Wednesday, 8 Jun 2022 at 21:01, Denis Maier wrote: > :exports code works. But the problem with the other options is that the > compilation fails. But I cannot tell why. It just tells me "Code block > produced no output". This is not surprising as the LaTeX src blocks are expected to be LaTeX b

Re: Org-attach for a directory

2022-06-08 Thread Fraga, Eric
On Wednesday, 8 Jun 2022 at 11:59, Cletip Cletip wrote: > My question is in the object : can we attach a directory to a heading? If you mean copying the directory and all of its contents, I imagine not. However, you can link to the directory if you wish by visiting the directory using dired, say

Re: Include LaTeX source and compiled result

2022-06-08 Thread Fraga, Eric
On Wednesday, 8 Jun 2022 at 09:43, Denis Maier wrote: > However, I cannot manage to get this to work: If you want to show the LaTeX, you need to add ":exports code" to the src block, or ":exports both :results file" if you want to show both code and the resulting PDF. -- : Eric S Fraga, with or

Re: [PATCH] Support #+include-ing URLs

2022-06-07 Thread Fraga, Eric
On Tuesday, 7 Jun 2022 at 19:27, Timothy wrote: > This already occurs with #+setupfile. Ah, interesting. I had not realised this. It definitely would be nice to provide confirmation for setup files as well, then. thank you, eric -- : Eric S Fraga, with org release_9.5.4-521-g1105da in Emacs

Re: [PATCH] Support #+include-ing URLs

2022-06-07 Thread Fraga, Eric
On Sunday, 5 Jun 2022 at 22:01, Max Nikulin wrote: > Is it possible to disable fetching remote files by some setting? +1 I would not want automatic retrieval of URLs without confirmation. -- : Eric S Fraga, with org release_9.5.4-521-g1105da in Emacs 29.0.50

Re: File Scoped Properties?

2020-03-05 Thread Fraga, Eric
On Thursday, 5 Mar 2020 at 10:28, Tim Visher wrote: > I _am_ able to get it to work by adding a file local variable like > > ``` > # Local Variables: > # org-attach-id-dir: "~/.foo/data" > # End: > ``` > > but then whenever I open the file it tells me it's possibly not safe to set > that. You've

Re: Bug: org-agenda fails to interpret UTF-8 filenames in some cases

2020-03-05 Thread Fraga, Eric
On Thursday, 5 Mar 2020 at 11:41, Lubos Boucek wrote: > Hello, > > After adding file "Ășkoly.org" (filename written with Czech keyboard) > with `C-c [`, immediate `M-x org-agenda t` goes through. However, > after restarting emacs, the same command stops with warning > "Non-existent agenda file c:/U

Re: Nested quote blocks?

2020-03-04 Thread Fraga, Eric
On Wednesday, 4 Mar 2020 at 12:57, Tim Visher wrote: > Thanks for responding, Eric. :) You're very welcome! > IIUC, your solution should work but it's necessarily tied to specific > export backends, right? It is partly but the general concept of using special blocks works for HTML also. You e

Re: Analyze tangled files

2020-03-03 Thread Fraga, Eric
On Tuesday, 3 Mar 2020 at 19:17, Ag Ibragimov wrote: > Is there a way to compare all tangled files with the content of an Org > document and see a diff? Not as far as I am aware of. However, you can "untangle" source files back into the org file so you could do a diff on the org file with a prev

Re: Nested quote blocks?

2020-03-03 Thread Fraga, Eric
On Tuesday, 3 Mar 2020 at 12:57, Tim Visher wrote: > Is there a way to get nested quotes blocks to work? What is your actual goal? That is, what you do mean by "to work"? I ask because although, as Nicolas has said, you cannot do this directly with org, you can achieve some specific goals with

Re: ob-python.el: questions about output

2020-02-24 Thread Fraga, Eric
On Monday, 24 Feb 2020 at 08:18, Jack Kamm wrote: > This sounds interesting. Do you know of any documentation or examples > for :prologue and :epilogue? I checked the Worg page for ob-maxima, but > it didn't mention these header arguments. I don't know of any documentation. They basically simply

Re: ob-python.el: questions about output

2020-02-24 Thread Fraga, Eric
On Monday, 24 Feb 2020 at 08:17, Jack Kamm wrote: > 1. noweb (as Eric mentioned). Then you only need to write the code > once, but note that it will be executed twice. Doesn't need to execute twice: maybe add ":eval no" to the first block, the one that will be included in the other one? -- : Eri

Re: ob-python.el: questions about output

2020-02-24 Thread Fraga, Eric
On Monday, 24 Feb 2020 at 02:13, R C wrote: > When exported I would like the line: return 'img/ex1.png' not to be > included in the listing of the src block. I don't think this is currently possible in the sense you want. You could use :noweb where you have one src block referring to others and o

Re: Limiting properties and property values

2020-02-23 Thread Fraga, Eric
On Sunday, 23 Feb 2020 at 15:10, Vikas Rawal wrote: > I am thinking of using org-mode to compile a small database. Although org is fantastic, it is sometimes worth considering other tools (and with babel, these can often be brought into the org sphere of activity easily). For instance, GNU recut

Re: Bug or not a bug? dot expansion in ob-shell

2020-02-23 Thread Fraga, Eric
On Friday, 21 Feb 2020 at 09:04, Bastien wrote: [...] > That said, we have three solutions: > > 1. Stick to a strict reading of Org and bash manuals: the absence of a >:results header means "return the value, i.e. the exit status". [...] > Obviously, nobody wants the first solution. Respec

Re: Item descriptions get surrounded by wrong curly braces in LaTeX export

2020-02-19 Thread Fraga, Eric
On Wednesday, 19 Feb 2020 at 18:15, Bastien wrote: >> The problem, I think, seems to have been caused by commit 5acf4d4692 > > Indeed, it should be fixed now, thanks! Confirmed! Many thanks. -- : Eric S Fraga via Emacs 28.0.50, Org release_9.3.6-354-g9d5880

Re: Exporting comments to comments?

2020-02-19 Thread Fraga, Eric
On Wednesday, 19 Feb 2020 at 11:04, Allen S. Rout wrote: > I thought about making a block of a 'comment' type, but of course all I use drawers for this functionality. By default, I do not export drawers (#+options: d:nil) but I can turn this on and then process specific drawers using filters, as

Re: Item descriptions get surrounded by wrong curly braces in LaTeX export

2020-02-19 Thread Fraga, Eric
The problem, I think, seems to have been caused by commit 5acf4d4692 which addressed problems with check boxes. I'm not sure how to fix it. -- : Eric S Fraga via Emacs 28.0.50, Org release_9.3.6-350-g39f1c1

Re: Item descriptions get surrounded by wrong curly braces in LaTeX export

2020-02-19 Thread Fraga, Eric
On Tuesday, 18 Feb 2020 at 00:50, Joon Ro wrote: > Hi, > > I noticed that in LaTeX export, descriptions in description lists are > surrounded by {} instead of [] in LaTeX export, making them not > correctly rendered. I can confirm this with the latest version of org from git. The outcome is not w

Re: Bug or not a bug? dot expansion in ob-shell

2020-02-19 Thread Fraga, Eric
On Wednesday, 19 Feb 2020 at 14:43, Bastien wrote: > Note that currently (9.3) we have this: [...] > ... so the default today is not even to consider "the last command", > but the output of all commands. Maybe, if you wish to get version 9.4 out, the best approach would be to fix that one outli

Re: problem with org-capture for calendar invite

2020-02-19 Thread Fraga, Eric
On Wednesday, 19 Feb 2020 at 13:38, Bastien wrote: > Yes, this was a mistake I made when trying to warn the user for > missing initial contents or annotation. > > Fixed now, thanks for reporting this, Confirmed. Thank you! -- : Eric S Fraga via Emacs 28.0.50, Org release_9.3.6-350-g39f1c1

Re: Bug or not a bug? dot expansion in ob-shell

2020-02-19 Thread Fraga, Eric
On Wednesday, 19 Feb 2020 at 14:00, Bastien wrote: > Anyway, I don't have yet a clue on how to add this new option. I'll > leave it to Eric first (if he has time) then look at it later this > week. Time is an issue (middle of teaching term). More importantly, my elisp-fu is not necessarily up to

Re: Bug or not a bug? dot expansion in ob-shell

2020-02-19 Thread Fraga, Eric
On Wednesday, 19 Feb 2020 at 12:38, Bastien wrote: > "0" is the _exit code_ of the successful echo command, not the value > returned by the echo command. But echo does not "return" the string as a value. It outputs the string. To quote the man page for bash, "the return value of a simple command

problem with org-capture for calendar invite

2020-02-19 Thread Fraga, Eric
For a long time, I have been using this template for org-capture: #+begin_src emacs-lisp (add-to-list 'org-capture-templates '("#" "used by gnus-icalendar-org" entry (file+olp+datetree "~/s/notes/diary.org") "%i"

Re: Bug or not a bug? dot expansion in ob-shell

2020-02-19 Thread Fraga, Eric
On Wednesday, 19 Feb 2020 at 10:41, Bastien wrote: > It returned "0" for me, while I guess "." is expected. I expected 0 as that is the "value" (i.e. the status in a shell) of the last command. If you want ".", I would expect one to use :results output in the src block header? -- : Eric S Fraga

Re: Bug or not a bug? dot expansion in ob-shell

2020-02-19 Thread Fraga, Eric
On Wednesday, 19 Feb 2020 at 17:02, Vladimir Nikishkin wrote: > Could you check if the following block behaves as expected? It does for me. What did you expect and what did you get? -- : Eric S Fraga via Emacs 28.0.50, Org release_9.3.6-316-g5dd772

Re: suggest using E-M-S 3-line notation from HAL/S for super/subscripting

2020-02-17 Thread Fraga, Eric
On Tuesday, 18 Feb 2020 at 00:43, VanL wrote: > Question for the list. Can the HAL/S notation be used for editing a > symbol, in expanded form, with prefix/postfix sub/superscript? The > collapsed form is a single line pretty printing tiny sub/superscript > before and after the symbol. Maybe (pr

Re: Multiply alerts for icalendar export

2020-02-12 Thread Fraga, Eric
On Wednesday, 12 Feb 2020 at 09:46, Bastien wrote: > Perhaps adding three different appointments to get three alerts is > good enough? Noting, of course, that you can have multiple time stamps (active ones in this case) associated with a single heading. I do this every so often. -- : Eric S Frag

Re: Short captions

2020-02-12 Thread Fraga, Eric
On Tuesday, 11 Feb 2020 at 14:50, Anthony Cowley wrote: > They are described in section 12.8 Captions Thanks. Missed that. I was looking in the LaTeX export section of the manual which doesn't mention short captions! And, actually, the :caption option for tables, say, doesn't seem to support su

Re: Short captions

2020-02-11 Thread Fraga, Eric
On Monday, 10 Feb 2020 at 23:20, Anthony Cowley wrote: > I am having trouble understanding how short captions are supposed to > work. Consider this org document: [...] > The first matches my expectations. The second is an example of taking > the last bit of markup as the short caption. The third

Re: Src blocks laid out side-by-side

2020-02-08 Thread Fraga, Eric
On Friday, 7 Feb 2020 at 17:59, Steve Downey wrote: > I have a need to lay out source blocks side by side, in order to present > before and after changes to the source. If I could embed a block in a > table, that would do it. Do you need this layout in org file itself or only in an exported docum

Re: How to intersperse commands with their output in RESULTS block?

2020-02-08 Thread Fraga, Eric
Excellent use of the :prologue and :epilogue header arguments! -- : Professor Eric S Fraga; use plain text: http://useplaintext.email : https://www.ucl.ac.uk/chemical-engineering/people/prof-eric-fraga : PGP/GnuPG key: 8F5C 279D 3907 E14A 5C29 570D C891 93D8 FFFC F67D

Re: How to intersperse commands with their output in RESULTS block?

2020-02-07 Thread Fraga, Eric
On Friday, 7 Feb 2020 at 16:26, Diego Zamboni wrote: > Quick follow up about this: following Eric's suggestion, I came up with the > following block, which cleans up all the cruft from the output of the > =script= command and produces a nicely formatted session transcript: You might like to add "

Re: org-startup-truncated default should be nil [legibility 2/6]

2020-02-06 Thread Fraga, Eric
Okay, I get it: Emacs (especially vanilla) just doesn't meet your requirements. So be it! Horse for courses, as they say here in the UK. All I can say is that I find most, if not all, other tools so frustrating. I can never get them to work the way I want. With Emacs, I can. Yes, this means t

Re: org-startup-truncated default should be nil [legibility 2/6]

2020-02-06 Thread Fraga, Eric
On Thursday, 6 Feb 2020 at 20:09, Texas Cyberthal wrote: > A blank line is useful, yes. Use of demi-paragraphs implies use of > line breaks to signal stronger transitions. E.g., from my recent > workflow: I get this. My own approach is to simply use - at the start of the line and then each of th

Re: org-startup-truncated default should be nil [legibility 2/6]

2020-02-06 Thread Fraga, Eric
So, the only problem that you have, as far as I can tell, is that Emacs doesn't distinguish paragraphs by a single newline character but requires 2 instead? For me, a blank line between paragraphs is very useful to visually identify new paragraphs (or demi-paragraphs). For writing and for intra-p

Re: org-startup-truncated default should be nil [legibility 2/6]

2020-02-06 Thread Fraga, Eric
On Thursday, 6 Feb 2020 at 17:46, Texas Cyberthal wrote: > auto-fill-mode definitely isn't what I want. Why not? Just curious. Before I switched to visual-line-mode for all org documents, I used auto-fill-mode for prose all the time. Together with fill-paragraph (M-q), this did the job very w

Re: org-startup-truncated default should be nil [legibility 2/6]

2020-02-05 Thread Fraga, Eric
On Thursday, 6 Feb 2020 at 10:33, Texas Cyberthal wrote: > Visual line mode is annoying and unnecessary; Spacemacs users do not > need it because its defaults offer adequate paragraph navigation. I'm not sure I understand the conflation of visual-line-mode with paragraph navigation. Is it becaus

Re: How to intersperse commands with their output in RESULTS block?

2020-02-05 Thread Fraga, Eric
On Wednesday, 5 Feb 2020 at 18:25, Diego Zamboni wrote: > tl;dr: is there a way to have ob-shell (or some similar mode) run commands > one by one and include the commands, interspersed with their output, in the > #+RESULTS block? You haven't said on what type of system but, if Linux, you could tr

Re: Bug: Wrong syntax in org-mode files with babel fragments in src blocks [9.2.6 (9.2.6-4-ge30905-elpaplus @ /home/lockywolf/.emacs.d/elpa/org-plus-contrib-20191021/)]

2020-02-05 Thread Fraga, Eric
On Wednesday, 5 Feb 2020 at 09:14, Bastien wrote: [...] > Org-mode sets: > > (modify-syntax-entry ?< "(>") > (modify-syntax-entry ?> ")<") > > should we adapt Org's default syntax? Difficult to judge but my gut feeling would be to leave as is. My use case involves significant amount of cod

Re: A few changes to test in master

2020-02-04 Thread Fraga, Eric
On Wednesday, 5 Feb 2020 at 08:08, Bastien wrote: > I just fixed the scroll-bar issue, thanks! Confirmed! Many thanks. -- : Eric S Fraga via Emacs 28.0.50, Org release_9.3.2-198-g06d36e

<    1   2   3   4   5   >