org-mode

Org-Mode - How do I create a new file with org-capture?

别来无恙 提交于 2021-02-18 11:29:09
问题 I want to create an org-capture template that create a dynamic file name for capture in emacs org-mode. I want that the name of the file takes the following form: (format-time-string "%Y-%m-%d") "-" (prompt for a name) ".txt" Example : 2012-08-10-MyNewFile.txt Based on this answer, I know how to dynamically create the name the file to include the date: `(defun capture-report-date-file (path) (expand-file-name (concat path (format-time-string "%Y-%m-%d") ".txt"))) '(("t" "todo" entry (file

How to compute the dot product of two column (think full column as a vector)?

邮差的信 提交于 2021-02-08 19:39:26
问题 gave this table: | a | b | c | |---+---+----+ | 3 | 4 | | | 1 | 2 | | | 1 | 3 | | | 2 | 2 | | I want to get the dot product of two column a and b ,the result should be equel to (3*4)+(1*2)+(1*3)+(2*2) which is 21. I don't want use the clumsy formula (B1*B2+C1*C2+D1*D2+E1*E2) because actually I have a large table waiting to calculate. I know emacs's Calc tool has a "vprod" function which can do those sort of things ,but I dont' know how to turn the full column to a vector. Can anybody tell me

How to compute the dot product of two column (think full column as a vector)?

北慕城南 提交于 2021-02-08 19:38:59
问题 gave this table: | a | b | c | |---+---+----+ | 3 | 4 | | | 1 | 2 | | | 1 | 3 | | | 2 | 2 | | I want to get the dot product of two column a and b ,the result should be equel to (3*4)+(1*2)+(1*3)+(2*2) which is 21. I don't want use the clumsy formula (B1*B2+C1*C2+D1*D2+E1*E2) because actually I have a large table waiting to calculate. I know emacs's Calc tool has a "vprod" function which can do those sort of things ,but I dont' know how to turn the full column to a vector. Can anybody tell me

Banish unmatched top-level trees when performing tag search in Emacs Org Mode

守給你的承諾、 提交于 2021-02-07 19:17:10
问题 For the past year and a half, I've maintained a monolithic buffer in Org Mode for my engineering notes with my current employer. Despite containing mostly pointers to other documents, this file has become quite large by human standards (48,290 lines of text), while remaining trivially searchable and editable through programmatic means (read: grep and Org Mode tag search). One thing bothers me, though. When I perform a tag search using Org Mode 6.33x, Org's sparse tree view retains the folded

Banish unmatched top-level trees when performing tag search in Emacs Org Mode

五迷三道 提交于 2021-02-07 19:16:58
问题 For the past year and a half, I've maintained a monolithic buffer in Org Mode for my engineering notes with my current employer. Despite containing mostly pointers to other documents, this file has become quite large by human standards (48,290 lines of text), while remaining trivially searchable and editable through programmatic means (read: grep and Org Mode tag search). One thing bothers me, though. When I perform a tag search using Org Mode 6.33x, Org's sparse tree view retains the folded

I want to try org-mode. What's the shortest path from zero to typing?

主宰稳场 提交于 2021-02-05 13:47:26
问题 I want to give emacs' org-mode a try. What is the shortest path for me to accomplish that? Assume NO previous experience with emacs. (I'm aware that other editors, like vim and textmate, have similar task lists. I'm specifically interested in learning about the emacs org-mode) My laptop runs Win7 Home Premium x64 回答1: I use Emacs (when I'm on Windows) with the official binaries at http://ftp.gnu.org/gnu/emacs/windows/emacs-22.3-barebin-i386.zip Just unzip to a directory and double click

I want to try org-mode. What's the shortest path from zero to typing?

大兔子大兔子 提交于 2021-02-05 13:42:53
问题 I want to give emacs' org-mode a try. What is the shortest path for me to accomplish that? Assume NO previous experience with emacs. (I'm aware that other editors, like vim and textmate, have similar task lists. I'm specifically interested in learning about the emacs org-mode) My laptop runs Win7 Home Premium x64 回答1: I use Emacs (when I'm on Windows) with the official binaries at http://ftp.gnu.org/gnu/emacs/windows/emacs-22.3-barebin-i386.zip Just unzip to a directory and double click

Hide ALL heading stars in org mode in emacs?

不羁岁月 提交于 2021-01-29 18:56:11
问题 Is it possible to visually hide ALL stars in emacs org mode headers? T.g. the text * MY HEADER 1 my text 1 * MY HEADER 2 my text 1 to be displayed as MY HEADER 1 my text 1 MY HEADER2 my text 2 PS I prefer to highlight/fontify all header line and to use org-indent-mode so it's visually headers without start would loook different than common text 来源: https://stackoverflow.com/questions/51318618/hide-all-heading-stars-in-org-mode-in-emacs

How can I get block quotes inside org-mode footnotes?

好久不见. 提交于 2021-01-28 02:41:51
问题 Footnotes in org-mode are annoyingly different from the normal non-footnote environment. One difference is that one has to use "\par" instead of blank lines to separate paragraphs. Annoying, but at least it works. Another difference is that they don't seem to work with block quotes ("#+BEGIN_QUOTE" and "#+END_QUOTE"). Since I am mostly interested in exporting to Latex, I tried just using Latex's "\footnote" command instead of the org-mode "[fn:: ... ]" syntax. But that did not help. I got a

org mode not producing R plots

点点圈 提交于 2020-12-13 11:51:27
问题 I am having problems with showing plots in my html output from org-mode file. Basically I learnt few months ago how to use org mode for this purpose, and I had a code like this: #+begin_src R :file plot1.png :session :results graphics library(lattice) xyplot(1:10 ~ 1:10) #+end_src The code was working perfectly, and the file was created and printed when I exported to html file. Now the exact same code returns code block produced no output. ; the file is created but not shown in the final html