[O] ox-html: Opt out of htmlize.el

2017-11-09 Thread Chunyang Xu
When user sets org-html-htmlize-output-type to nil, don't use htmlize.el. >From 902e6cea48912bd291c1d3192cb30dc9a1a41fa3 Mon Sep 17 00:00:00 2001 From: Chunyang Xu <m...@xuchunyang.me> Date: Thu, 9 Nov 2017 23:43:32 +0800 Subject: [PATCH] ox-html: Allow disabling htmlize * lisp/ox-html.el

[O] [PATCH] * doc/org.texi: Add org-babel-load-languages to Variable Index

2017-08-13 Thread Chunyang Xu
TINYCHANGE --- doc/org.texi | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/org.texi b/doc/org.texi index 944c9c56e..032087fc2 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -15541,6 +15541,7 @@ Org supports the following languages for the @samp{src} code blocks: Additional

Re: [O] Bug: Babel result block '#+end_example' not indented [9.0.9 (release_9.0.9-748-g3359e0 @ /Users/xcy/src/org-mode/lisp/)]

2017-08-13 Thread Chunyang Xu
I find my last patch breaks at least ":result org", please see the newer patch. >From 4ef5b67af22469bf2591dda0b9b90db1f4df8617 Mon Sep 17 00:00:00 2001 From: Chunyang Xu <m...@xuchunyang.me> Date: Sun, 13 Aug 2017 15:08:52 +0800 Subject: [PATCH] ob-core: Fix indentation * l

[O] Bug: Babel result block '#+end_example' not indented [9.0.9 (release_9.0.9-748-g3359e0 @ /Users/xcy/src/org-mode/lisp/)]

2017-08-13 Thread Chunyang Xu
rom f48e1dfc70e7f91fe39c5545997e84855981db82 Mon Sep 17 00:00:00 2001 From: Chunyang Xu <m...@xuchunyang.me> Date: Sun, 13 Aug 2017 15:08:52 +0800 Subject: [PATCH] ob-core: Fix indentation * lisp/ob-core.el (org-babel-insert-result): Track the end position of the result block with the ma

[O] Bug: http://orgmode.org/cgit.cgi/org-mode.git/ - 502 Bad Gateway

2017-07-31 Thread Chunyang Xu
I visited the URL by clicking "cgit" on http://orgmode.org/.

[O] Bug: :results pp and code not working with multiple expressions for Emacs Lisp [9.0.9 (release_9.0.9-647-g0c9feb @ /Users/xcy/src/org-mode/lisp/)]

2017-07-16 Thread Chunyang Xu
The following Emacs Lisp code block has multiple expressions. When I try to execute it, it fails and says "princ: Invalid function: (a b c)". #+BEGIN_SRC emacs-lisp :results value pp (setq my-list '(a b c)) my-list #+END_SRC Is it intended? --- Here is the Backtrace: Debugger entered--Lisp

[O] [PATCH] * doc/library-of-babel.org: Replace non-existent with-temp-filebuffer.

2017-07-13 Thread Chunyang Xu
TINYCHANGE --- doc/library-of-babel.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/library-of-babel.org b/doc/library-of-babel.org index 0098e7263..b6c90c763 100644 --- a/doc/library-of-babel.org +++ b/doc/library-of-babel.org @@ -73,7 +73,7 @@ Read local or remote

Re: [O] org-protocol documentation

2017-06-19 Thread Chunyang Xu
Mario Martelli writes: >> for what it's worth, the Emacs Mac Port supports org-protocol out of >> box. It works without the Emacs server (emacsclient), e.g., > > Good to know. I’ve listed it in the documentation. > Do you plan to provide ready built binaries? The

Re: [O] org-protocol documentation

2017-06-19 Thread Chunyang Xu
Mario Martelli writes: > Hi, > > recently I’ve updated my macOS - Org mode setup. I had some pain setting up > org-protocol properly for what it's worth, the Emacs Mac Port supports org-protocol out of box. It works without the Emacs server (emacsclient), e.g., $

Re: [O] Asks user what to do with each tangle-file before overriding?

2017-06-18 Thread Chunyang Xu
"Charles C. Berry" writes: [...] > It sounds like you are re-inventing version control and wanting it to be > implemented in org-babel-tangle. > > `org-babel-tangle' can do a lot of work to assemble the files that result > from tangling. Modifying `org-babel-tangle' to do

Re: [O] Asks user what to do with each tangle-file before overriding?

2017-06-18 Thread Chunyang Xu
Nicolas Goaziou writes: [...] > I don't think it is a good idea to have file that can be both edited > manually, and auto-generated (i.e., tangled). Or, to put it differently, > the idea behind tangling is that you only handle the code block, not the > file itself. I

[O] Asks user what to do with each tangle-file before overriding?

2017-06-15 Thread Chunyang Xu
Hi, Currently 'C-c C-v C-t' ('org-babel-tangle') simply overrides existing tangle-file, I would like org to ask me what to do? such as a) yes (override) b) no (don't override) c) show the diff then ask again In addition, if there is no diff (i.e., having the same contents), user can choose

Re: [O] org to static site?

2017-05-31 Thread Chunyang Xu
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

[O] Bug: org-git-link.el fails for file in $HOME but not under Git [9.0.7 (release_9.0.7-493-g82a503 @ /Users/xcy/src/org-mode/lisp/)]

2017-05-29 Thread Chunyang Xu
macs 25.2.1 (x86_64-apple-darwin16.4.0, Carbon Version 157 AppKit 1504.81) of 2017-04-26 Package: Org mode version 9.0.7 (release_9.0.7-493-g82a503 @ /Users/xcy/src/org-mode/lisp/) >From 15a25f5dba882aa913b12ae42fa89874b3cd8a0d Mon Sep 17 00:00:00 2001 From: Chunyang Xu <m...@xuchunyang.me> Date: Mon, 29 May 2017 17:

Re: [O] Bug: link formating problem [9.0.5 (9.0.5-elpaplus @ /Users/mistkafka/.emacs.d/elpa/org-plus-contrib-20170210/)]

2017-05-27 Thread Chunyang Xu
Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: > Hello, > > Chunyang Xu <m...@xuchunyang.me> writes: > >> I changed `org-plain-link-re' to make it not longer think "[" and "]" >> are valid characters in a URL, which solves the prob

Re: [O] Bug: link formating problem [9.0.5 (9.0.5-elpaplus @ /Users/mistkafka/.emacs.d/elpa/org-plus-contrib-20170210/)]

2017-05-27 Thread Chunyang Xu
Nicolas Goaziou <m...@nicolasgoaziou.fr> writes: > Hello, > > Chunyang Xu <m...@xuchunyang.me> writes: > >> I changed `org-plain-link-re' to make it not longer think "[" and "]" >> are valid characters in a URL, which solves the prob

Re: [O] Bug: link formating problem [9.0.5 (9.0.5-elpaplus @ /Users/mistkafka/.emacs.d/elpa/org-plus-contrib-20170210/)]

2017-05-26 Thread Chunyang Xu
I changed `org-plain-link-re' to make it not longer think "[" and "]" are valid characters in a URL, which solves the problem. diff -u --label /Users/xcy/.emacs.d/elpa-25.2.1/org-plus-contrib-20170515/org.el --label \#\

Re: [O] Bug: link formating problem [9.0.5 (9.0.5-elpaplus @ /Users/mistkafka/.emacs.d/elpa/org-plus-contrib-20170210/)]

2017-05-26 Thread Chunyang Xu
Kaushal Modi <kaushal.m...@gmail.com> writes: > On Wed, May 24, 2017 at 9:50 AM Chunyang Xu <m...@xuchunyang.me> wrote: > >> >> Nicolas Goaziou writes: >> >> > Hello, >> > >> > 林镇国 <mistka...@gmail.com> writes:

Re: [O] Bug: link formating problem [9.0.5 (9.0.5-elpaplus @ /Users/mistkafka/.emacs.d/elpa/org-plus-contrib-20170210/)]

2017-05-24 Thread Chunyang Xu
Nicolas Goaziou writes: > Hello, > > 林镇国 writes: > >> When I insert a link to my note, such as“这是一个[[link][链接]]啦~”, >> the text after the link, "啦~", will be formatting as link style. > > FWIW, I cannot reproduce it, i.e., only "链接" appears with a link face. I can

Re: [O] Bug: Can't execute C code block from remote directory [9.0.5 (release_9.0.5-401-g86ff11 @ /Users/xcy/src/org-mode/lisp/)]

2017-04-05 Thread Chunyang Xu
Nicolas Goaziou writes: > Hello, > > Chunyang Xu <m...@xuchunyang.me> writes: > >> Here is a patch which can fix the issue. > > Thank you. > >> From e42b22f74c2f04a4d8e7eec0a6bdacbd08bebf12 Mon Sep 17 00:00:00 2001 >> From: Chunyang Xu <m...@xuchun

Re: [O] Bug: Can't execute C code block from remote directory [9.0.5 (release_9.0.5-401-g86ff11 @ /Users/xcy/src/org-mode/lisp/)]

2017-04-03 Thread Chunyang Xu
Here is a patch which can fix the issue. >From e42b22f74c2f04a4d8e7eec0a6bdacbd08bebf12 Mon Sep 17 00:00:00 2001 From: Chunyang Xu <m...@xuchunyang.me> Date: Mon, 3 Apr 2017 14:46:51 +0800 Subject: [PATCH] ob-C: Fix remote executing * lisp/ob-C.el (org-babel-C-execute): Process remote

[O] Bug: Can't execute C code block from remote directory [9.0.5 (release_9.0.5-401-g86ff11 @ /Users/xcy/src/org-mode/lisp/)]

2017-04-01 Thread Chunyang Xu
Hi. My computer is running Mac OS, I would like to run some C code from my VPS which is running GNU/Linux Ubuntu. For example, #+BEGIN_SRC C :dir /ssh:xuchunyang.me: puts("Hello, World!"); #+END_SRC but when I execute this code block with C-c C-c, it popups *Org-Babel Error Output* and here is

[O] Bug: Empty result when Emacs Lisp code block evals to nil [9.0.5 (release_9.0.5-401-g86ff11 @ /Users/xcy/src/org-mode/lisp/)]

2017-04-01 Thread Chunyang Xu
Hi. I notice that if the result is nil during executing emacs-lisp code block, org simply displays a empty #+RESULT block. For example, #+BEGIN_SRC emacs-lisp t #+END_SRC #+RESULTS: : t #+BEGIN_SRC emacs-lisp nil #+END_SRC #+RESULTS: I don't see why 'nil' is special than other values like

[O] HTTPS support of Org ELPA?

2017-03-14 Thread Chunyang Xu
Hi. Can someone add HTTPS support for Org ELPA? Github user @thblt complained about lacking HTTPS support via https://github.com/melpa/melpa/issues/4554#issuecomment-278638944 Thanks.

[O] Bug: http://orgmode.org/worg/org-configs/org-hooks.php 404 [9.0.5 (release_9.0.5-347-g2f4860 @ /Users/xcy/src/org-mode/lisp/)]

2017-03-14 Thread Chunyang Xu
Hi. The URL is mentioned at (info "(org) Hooks"), when I open it in web browser, it says "404 Not Found"

[O] Bug: "Tbl -> Calculate -> Which Column?" says "Wrong type argument: commandp, org-table-current-column" [9.0.3 (release_9.0.3-255-g728929 @ /Users/xcy/src/org-mode/lisp/)]

2017-01-31 Thread Chunyang Xu
In an Org Mode buffer, put point in a table and click "Tbl -> Calculate -> Which Column?" in Menu bar, it fails and reports the following in the echo area Wrong type argument: commandp, org-table-current-column by looking at the source code of 'org-table-current-column', it is not a

[O] [PATCH] org-info: Fix html export of info link

2017-01-19 Thread Chunyang Xu
00:00:00 2001 From: Chunyang Xu <m...@xuchunyang.me> Date: Fri, 20 Jan 2017 01:08:26 +0800 Subject: [PATCH] org-info: Fix html export of info link * org-info.el (org-info-map-node-url): New defun. (org-info-export): Use the new function. --- lisp/org-info.el | 20 +++-

Re: [O] [PATCH] org-info: Fix docstring

2016-12-14 Thread Chunyang Xu
Nicolas Goaziou writes: > Hello, > > Chunyang Xu <m...@xuchunyang.me> writes: > >> Never mind. The first patch was incorrect. I have attached a new >> patch. > > Thank you. Since that docstring was badly formatted, I applied your > suggestion along with o

Re: [O] [PATCH] org-info: Fix docstring

2016-12-14 Thread Chunyang Xu
Never mind. The first patch was incorrect. I have attached a new patch. >From 7c5ee47741f1a9cbdb6b2df8ddad99aa95cb01e5 Mon Sep 17 00:00:00 2001 From: Chunyang Xu <m...@xuchunyang.me> Date: Thu, 15 Dec 2016 03:19:08 +0800 Subject: [PATCH] org-info: Fix docstring * lisp/org-info.el (org

[O] [PATCH] org-info: Fix docstring

2016-12-14 Thread Chunyang Xu
User-agent: mu4e 0.9.18; emacs 25.1.1 * lisp/org-info.el (org-info-map-html-url): Fix docstring, there is no `org-info-official-gnu-document' anymore. --- lisp/org-info.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-info.el b/lisp/org-info.el index

[O] [PATCH] org-mac-link: Add autoload cookies for all commands

2016-11-19 Thread Chunyang Xu
Hi, I would like to add autoload cookies for commands in org-mac-link.el, so I don't have to autoload them manually in my init.el. >From 5e00fa82001b57051770f0e4854e03ece39cc68d Mon Sep 17 00:00:00 2001 From: Chunyang Xu <m...@xuchunyang.me> Date: Wed, 16 Nov 2016 21:30:13 +0800 Subjec

Re: [O] Bug: No 'make uninstall' [9.0 (release_9.0 @ /home/xcy/src/org-mode/lisp/)]

2016-11-06 Thread Chunyang Xu
"make clean-install" does what I want. Thanks. On Mon, Nov 7, 2016 at 6:09 AM, Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote: > Hello, > > Chunyang Xu <xuchunyang...@gmail.com> writes: > >> I just install Org into /usr/local/share via >> 'make &

[O] Bug: No 'make uninstall' [9.0 (release_9.0 @ /home/xcy/src/org-mode/lisp/)]

2016-11-06 Thread Chunyang Xu
I just install Org into /usr/local/share via 'make && sudo make install', then I realize that I don't need this and want to uninstall, but there is no uninstall rule. I am going to delete these files and update infodir manually, which is not very easy. Is it possible to provide a uninstall rule?

Re: [O] Provide rsync access to Org ELPA

2016-07-03 Thread Chunyang Xu
On Sun, Jul 3, 2016 at 12:24 AM, Achim Gratz <strom...@nexgo.de> wrote: > Chunyang Xu writes: >> rsync access would allow people to efficiently mirror Org ELPA >> [http://orgmode.org/elpa/]. Please provide rsync access to it. > > Git transport is more efficient tha

[O] Provide rsync access to Org ELPA

2016-07-02 Thread Chunyang Xu
Hello all, rsync access would allow people to efficiently mirror Org ELPA [http://orgmode.org/elpa/]. Please provide rsync access to it. Thanks. Chunyang

[O] [PATCH] org-capture: Adapt user-error for aborting by user

2016-05-01 Thread Chunyang Xu
:00 2001 From: Chunyang Xu <xuchunyan...@gmail.com> Date: Sun, 1 May 2016 12:47:14 +0800 Subject: [PATCH] org-capture: Adapt user-error for aborting by user When `org-capture` is aborted by user with 'q' or 'C-g', `user-error' is better than `error' to use to exit. --- lisp/org-capture.el |