Re: [O] Clean up org-faces.el

2018-04-08 Thread Vikas Rawal
> > off topic here, but the problem with visual-line-mode for me is that > at least in 24.4 it does not respect fill column. this is a > dealbreaker. i stick with m-q. There is a visual-fill-column-mode. Have you tried that? Vikas

Re: [O] [ANN] OrgStruct is dead. Long live Orgalist.

2018-04-08 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Nicolas Goaziou writes: > It cloud even be in an Org ELPA Do You mean can publish package like MELPA separately? - -- [ stardiviner ] don't need to convince with trends. Blog: https://stardiviner.github.io/

Re: [O] Clean up org-faces.el

2018-04-08 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Rasmus writes: > Hi, > > stardiviner writes: > >> Add face for inline src: src_ruby{require 'library'} >> >> Here is my custom face: ... > > Are you saying that we should display inline calls better? > >

[O] How to combine Lisp style and Calc style Table Formula together?

2018-04-08 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 I try to display table columns value like 1 with format "1.0e+4". So I use function (format "%1.1e" $1). Here is my org table: |n | Algorithm A (n) | Algorithm B (4n + 8) | Algorithm C (n^{2}) | Algorithm D (2n^{2}+1) | Algorithm E

[O] git clone org mode

2018-04-08 Thread Vikas Rawal
Fellow orgers, The following two pages on worg both recommend using "git clone g...@code.orgmode.org:bzg/org-mode.git” to clone the org repo. https://orgmode.org/worg/dev/index.html

Re: [O] Need help on my writing org-mode test.

2018-04-08 Thread Nicolas Goaziou
Hello, stardiviner writes: > I'm try to write a test for following src block: > > #+begin_src sh :results link :file "test.txt" > echo "hello" > test.txt > echo "test" > #+end_src > > > #+RESULTS[<2018-04-08 18:30:51> 22a787defa349526768722f4bfc8509dd16ab154]: >

[O] visual-line-mode [was: Re: Clean up org-faces.el]

2018-04-08 Thread Samuel Wales
On 4/8/18, Diego Zamboni wrote: >> off topic here, but the problem with visual-line-mode for me is that >> at least in 24.4 it does not respect fill column. this is a >> dealbreaker. i stick with m-q. > > It still doesn’t (I’m using 25.3.2), but I have become used to

Re: [O] Clean up org-faces.el

2018-04-08 Thread Diego Zamboni
> that is a great blog post! lots of good detail. and visually pleasing > itself. Thanks! I recently started using ox-hugo for my blogging, and it works great. > off topic here, but the problem with visual-line-mode for me is that > at least in 24.4 it does not respect fill column. this is

Re: [O] Clean up org-faces.el

2018-04-08 Thread Samuel Wales
that is a great blog post! lots of good detail. and visually pleasing itself. off topic here, but the problem with visual-line-mode for me is that at least in 24.4 it does not respect fill column. this is a dealbreaker. i stick with m-q. the variable line-spacing is defined in c, so that

Re: [O] [ANN] OrgStruct is dead. Long live Orgalist.

2018-04-08 Thread Nicolas Goaziou
Hello, Samuel Wales writes: > ooc, why is org contrib deprecated? i find it useful to just get git > and i do not use emacs packages. contrib/ is an all-or-nothing thing. You cannot properly package individually libraries, either in an ELPA or in a distribution. As

Re: [O] Clean up org-faces.el

2018-04-08 Thread Samuel Wales
ah, i have org-block fixed also and did not update the list of things not separate. (org-block ((t (:inherit fixed-pitch :foreground "#70b020" (org-date ((t (:inherit fixed-pitch :foreground "#806ab0" :underline t (org-date-selected ((t (:inherit fixed-pitch

Re: [O] Clean up org-faces.el

2018-04-08 Thread Diego Zamboni
Hi Samuel, Agree, I have started using variable pitch in org-mode and it has made it much more enjoyable. I recently documented my configuration here: http://zzamboni.org/post/beautifying-org-mode-in-emacs/ About your point (1.3), I

Re: [O] Error: Symbol's value as variable is void: overlays

2018-04-08 Thread Giuseppe Lipari
Here you are : -cut-here Debugger entered--Lisp error: (void-variable overlays) htmlize-sorted-overlays-at(1) htmlize-faces-at-point() htmlize-buffer-1() htmlize-region(1 58) org-html-htmlize-region-for-paste(1 58) org-html-fontify-code("int main() {\n

Re: [O] How to get 'repeating footnotes' please?

2018-04-08 Thread Samuel Wales
[fn:apples: ...] [fn:apples] -- The Kafka Pandemic: The disease DOES progress. MANY people have died from it. And ANYBODY can get it at any time. "You’ve really gotta quit this and get moving, because this is murder by neglect." ---

Re: [O] [ANN] OrgStruct is dead. Long live Orgalist.

2018-04-08 Thread Samuel Wales
ooc, why is org contrib deprecated? i find it useful to just get git and i do not use emacs packages. On 4/8/18, Nicolas Goaziou wrote: > Rasmus writes: > >> Are there any plans to add this to either Org, Org contrib or ELPA? > > No there are no plan for

Re: [O] Clean up org-faces.el

2018-04-08 Thread Samuel Wales
On 4/8/18, Rasmus wrote: > I have been wanting to clean up org-faces.el for a couple of years. thanks. fwiw on variable pitch. i find that variable pitch reads legibly. is efficient with horizontal space, and looks great. it also makes the mode line short. took a few days to

Re: [O] Clean up org-faces.el

2018-04-08 Thread Daniele Nicolodi
On 08/04/2018 11:33, Rasmus wrote: > Daniele Nicolodi writes: > >> On 08/04/2018 07:27, Rasmus wrote: >>> I have been wanting to clean up org-faces.el for a couple of years. >> >> Only tangentially related: is there a way to have a different face for >> tables content and

Re: [O] Error: Symbol's value as variable is void: overlays

2018-04-08 Thread Adonay Felipe Nogueira
2018-04-08T17:00:59+ Giuseppe Lipari wrote: > Symbol's value as variable is void: overlays Make sure to get the backtrace, like so: --8<---cut here---start->8--- emacs --batch --eval '(setq debug-on-error t)' -l batch_project.el --kill

Re: [O] Error: Symbol's value as variable is void: overlays

2018-04-08 Thread Giuseppe Lipari
I isolated the problem. Consider the following minimal org file: cut here * An example of org file Here I put a C snippet #+begin_src c int main() { printf("hello world\n"); return 0; } #+end_src cut here When I try to

Re: [O] Clean up org-faces.el

2018-04-08 Thread Rasmus
Hi, stardiviner writes: > Add face for inline src: src_ruby{require 'library'} > > Here is my custom face: ... Are you saying that we should display inline calls better? Rasmus -- Warning: Everything saved will be lost

Re: [O] Clean up org-faces.el

2018-04-08 Thread Rasmus
Daniele Nicolodi writes: > On 08/04/2018 07:27, Rasmus wrote: >> I have been wanting to clean up org-faces.el for a couple of years. > > Only tangentially related: is there a way to have a different face for > tables content and tables structure (ie the grid)? The default

Re: [O] [ANN] ob-elvish: org-babel support for Elvish code

2018-04-08 Thread Diego Zamboni
Hi, My ob-elvish module has been working well for me, but I was thinking if the best would be to make ob-shell work with elvish instead of having a whole separate library for it. I tried adding “elvish” to org-babel-shell-names, and it seems to get recognized OK as a shell name, but execution

[O] Error: Symbol's value as variable is void: overlays

2018-04-08 Thread Giuseppe Lipari
Dear all, I use org-mode to publish my web site that I update every now and then. The site contains my lectures, and indeed I am preparing my lecture for tomorrow. Unfortunately, while publishing the site using the usual procedure, I get the infamous error Symbol's value as variable is void:

Re: [O] Bug: Prevent fill-paragraph from breaking inside Org mode links [9.1.9 (release_9.1.9-580-g39837b @ /home/drunkard/emacs_lisp_imported/org-mode/org-mode/lisp/)]

2018-04-08 Thread Nicolas Goaziou
Hello, Brent Goodrick writes: > First, it may be a separate "bug" that org-return cannot recognize the > multi-line Org link. Fixed. Thank you. > I don't know one way or the other for that, but instead I am arguing > that org mode's fill paragraph function should never break

[O] How to get 'repeating footnotes' please?

2018-04-08 Thread Sharon Kimble
How can I have repeat footnotes in an org-mode file that is exported to latex and then built into a pdf file please? All my footnotes are 4 digits like '[fn:0010]'. For example, if I had '[fn:0001] Apples are green' on page 3 of my document, how can I then have the same footnote on page 53

Re: [O] Clean up org-faces.el

2018-04-08 Thread stardiviner
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Add face for inline src: src_ruby{require 'library'} Here is my custom face: ;; inline code face => src_ruby{require 'something'} ;; ;; (REGEXP . FACE) ;; Highlight REGEXP with FACE ;; (REGEXP N FACE) ;; Highlight group N in REGEXP with

[O] Bug: Prevent fill-paragraph from breaking inside Org mode links [9.1.9 (release_9.1.9-580-g39837b @ /home/drunkard/emacs_lisp_imported/org-mode/org-mode/lisp/)]

2018-04-08 Thread Brent Goodrick
This is not a new bug. It has been there for a long time, but I am only just now getting around to reporting it. I am also proposing a fix below. How to reproduce: Open up a Org mode file and add the following item to it:

Re: [O] Clean up org-faces.el

2018-04-08 Thread Daniele Nicolodi
On 08/04/2018 07:27, Rasmus wrote: > I have been wanting to clean up org-faces.el for a couple of years. Only tangentially related: is there a way to have a different face for tables content and tables structure (ie the grid)? The default blue hurts my eyes :-) Cheers, Dan

Re: [O] Clean up org-faces.el

2018-04-08 Thread Nicolas Goaziou
Rasmus writes: > I have been wanting to clean up org-faces.el for a couple of years. Good idea. > However, it would be useful to know what sort of ideas there are about > faces. E.g. I know that faces are eventually to reflect the element > type. Faces predate elements, so

[O] Clean up org-faces.el

2018-04-08 Thread Rasmus
Hi, I have been wanting to clean up org-faces.el for a couple of years. 1. Font-lock keywords are copied over and the file is a mess to browse. 2. Some faces are basically hard-coded. It would be better to just inherit stuff and let the theme font lock dictate colors. 3. Things that must

Re: [O] [ANN] OrgStruct is dead. Long live Orgalist.

2018-04-08 Thread Nicolas Goaziou
Rasmus writes: > Are there any plans to add this to either Org, Org contrib or ELPA? No there are no plan for it. I don't think it belongs to Org proper, and Org contrib is somewhat a dead-end nowadays. It could go to GNU ELPA, I guess.

Re: [O] Bug: master: "Capture abort: (error Format specifier

2018-04-08 Thread Gregor Zattler
Hi Nicolas, * Gregor Zattler [2018-04-07; 22:30]: > * Nicolas Goaziou [2018-04-03; 22:05]: >> There is no such thing as a "%I" placeholder. Do you mean "%I"? > > Yes, I mean %i, the capital %I in this quote is --as I realize > now, while typing this

Re: [O] [patch] Improved block insertion

2018-04-08 Thread Nicolas Goaziou
Rasmus writes: > I have fixed up the patches. Great! > Ha, actually I used pcase at first but then changed it to something more > simple. Are there any performance issues with pcase or can it be used > unconditionally? It can be used unconditionally. > Any worries about

[O] Need help on my writing org-mode test.

2018-04-08 Thread stardiviner
I'm try to write a test for following src block: #+begin_src sh :results link :file "test.txt" echo "hello" > test.txt echo "test" #+end_src #+RESULTS[<2018-04-08 18:30:51> 22a787defa349526768722f4bfc8509dd16ab154]: [[file:test.txt]] And here is my ert test: (ert-deftest

Re: [O] [ANN] OrgStruct is dead. Long live Orgalist.

2018-04-08 Thread Rasmus
Nicolas Goaziou writes: > Hello, > > Eric S Fraga writes: > >> Not sure what kind of ECM you would like? I simply type in a line like >> this: >> >> 2. this is an item that has a lot of text, text that will eventually >> auto fill onto next line. >

Re: [O] [patch] Improved block insertion

2018-04-08 Thread Rasmus
Hi, Thanks for the comments! I have fixed up the patches. > I don't think the old key-binding should be kept. OK. > Suggestion: > > (key (pcase (read-char-exclusive prompt) > ((or ?\s ?\t ?\r) ?\t) > (char char))) Ha, actually I used pcase at first but then changed it to

Re: [O] [patch] Improved block insertion

2018-04-08 Thread Nicolas Goaziou
Hello, Rasmus writes: > These patches improve the block insertion mechanisms using both the > keyboard binding and org-tempo. Thank you. Some quick comments follow. > Patch 6 changes the key binding of blocks to "C-c C-," as discussed in > December 2017. Let me know if this

Re: [O] [PATCH] org-agenda-list: call recenter only when buffer is visible

2018-04-08 Thread Nicolas Goaziou
Hello, Pierre Téchoueyres writes: > Hello org's developers, > > I'm trying to correct the package `org-alert' > (https://github.com/spegoraro/org-alert) in order to not interfer with > the org-agenda buffer. > > I've tried to call `org-agenda-list' inside a temp

Re: [O] Fwd: Does doc/org-manual.org is now the document for editing?

2018-04-08 Thread Nicolas Goaziou
Hello, stardiviner writes: > I'm write a new feature for Org-mode, need to modify the document, which file > should I modify? > doc/org-manual.org or doc/org.texi? The former. Regards, -- Nicolas Goaziou