Re: [O] Bug: [Capture] wrongly duplicated date tree outlines [8.2.10]

2014-11-23 Thread kuanyui
So sorry to everyone, I just found this is problem is caused by
`pangu-spacing'.
https://github.com/coldnew/pangu-spacing/issues/5


Re: [O] Bug: [Capture] wrongly duplicated date tree outlines [8.2.10]

2014-11-21 Thread kuanyui
 Eric S Fraga wrote:
 There were problems with the datetree functionality a little while
 ago.  In my case, entries got put in the slot for the day before...  I
 cannot remember which version of org was affected but I use this
 functionality all the time and it has been working fine for a while now.
 
 I suggest you upgrade your version of org.
 -- 
 : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-581-g0e52f0

I just tried to get git development version, adding into load-path,
requiring and M-x org-version to check it.

Org-mode version 8.3beta (release_8.3beta-584-g3953cb-git @ mixed
installation! /usr/local/share/emacs/24.4/lisp/org/ and
/home/kuanyui/.emacs.d/git/org-mode/lisp/)

However, the problem is still leaved unfixed. :(



[O] Bug: [Capture] wrongly duplicated date tree outlines [8.2.10]

2014-11-20 Thread kuanyui

I want to have a `file+datetree` for Org-mode's Capture, so I set like this:

(setq org-capture-templates
  '((D Diary + Timer entry
 (file+datetree (concat org-directory /diary/diary.org))
 * %^{Description: } %^g  \n  %i %?\n :clock-in t :clock-keep t)
(d Diary entry
 (file+datetree (concat org-directory /diary/diary.org))
 * %? %U)
))

And use these captures to add items for `diary.org` several times. I expect the 
file has:

* 2014   
** 2014-11 11 月
*** 2014-11-21 金曜日
 test1 [2014-11-21 金 03:08]
 test2 [2014-11-21 金 03:08]
 test3 [2014-11-21 金 03:08]

But what I get is like this:

* 2014
** 2014-11 11 月
*** 2014-11-21 金曜日
 test1 [2014-11-21 金 03:08]
** 2014-11 11 月
*** 2014-11-21 金曜日
 test2 [2014-11-21 金 03:09]
** 2014-11 11 月
*** 2014-11-21 金曜日
 test3 [2014-11-21 金 03:09]

How to solve this problem...? (I've ever used Org's Capture one year
ago, and at that time it worked just liked I wish; I have no idea why it
becomes this.)

I just asked this problem on StackExchange:
http://emacs.stackexchange.com/questions/3757/orgs-capture-annoying-duplicated-date-tree-outlines
And it seems a bug of Org-mode itself.

Emacs  : GNU Emacs 24.4.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.9)
 of 2014-10-23 on kuanyui-laptop.site
Package: Org-mode version 8.2.10 (release_8.2.10 @ 
/usr/local/share/emacs/24.4/lisp/org/)

current state:
==
(setq
 org-tab-first-hook '(org-hide-block-toggle-maybe 
org-src-native-tab-command-maybe
  org-babel-hide-result-toggle-maybe 
org-babel-header-arg-expand)
 outline-minor-mode-hook '(wikipedia-outline-magic-keys)
 org-latex-classes '((article
  
\n\\documentclass[12pt,a4paper]{article}\n\\usepackage[margin=2cm]{geometry}\n\\usepackage{fontspec}\n\\setromanfont{cwTeXMing}\n\n\\usepackage{etoolbox}
  % 
Quote部份的字型設定\n\\newfontfamily\\quotefont{cwTeXFangSong}\n\\AtBeginEnvironment{quote}{\\quotefont\\small}\n\n\\setmonofont[Scale=0.9]{Courier}
 % 等寬字型 [FIXME] Courier 中文會爛掉!\n\\font\\cwSong=''cwTeXFangSong'' at 
10pt\n%\\font\\cwHei=''cwTeXHeiBold'' at 10p 
%不知為何會爆掉\n\\font\\cwYen=''cwTeXYen'' at 10pt\n\\font\\cwKai=''cwTeXKai'' at 
10pt\n\\font\\cwMing=''cwTeXMing'' at 10pt\n\\font\\wqyHei=''文泉驛正黑'' at 
10pt\n\\font\\wqyHeiMono=''文泉驛等寬正黑'' at 10pt\n\\font\\wqyHeiMicro=''文泉驛微米黑'' at 
10pt\n\\XeTeXlinebreaklocale ``zh''\n\\XeTeXlinebreakskip = 0pt plus 
1pt\n\\linespread{1.36}\n\n\\usepackage{multicol}\n\n% [FIXME] ox-latex 
的設計不良導致hypersetup必須在這裡插入\n\\usepackage{hyperref}\n\\hypersetup{\n  
colorlinks=true, %把紅框框移掉改用字體顏色不同來顯示連結\n  linkcolor=[rgb]{0,0.37,0.53},\n  
citecolor=[rgb]{0,0.47,0.68},\n  filecolor=[rgb]{0,0.37,0.53},\n  
urlcolor=[rgb]{0,0.37,0.53},\n  pagebackref=true,\n  linktoc=all,}\n
  (\\section{%s} . \\section*{%s})
  (\\subsection{%s} . \\subsection*{%s})
  (\\subsubsection{%s} . \\subsubsection*{%s})
  (\\paragraph{%s} . \\paragraph*{%s})
  (\\subparagraph{%s} . \\subparagraph*{%s}))
 (beamer
  
\n\\documentclass[presentation]{beamer}\n\\usepackage{fontspec}\n\\setromanfont{wqyHeiMicro}\n\n\\setmonofont[Scale=0.9]{Courier}
 % 等寬字型 [FIXME] Courier 中文會爛掉!\n\\font\\cwSong=''cwTeXFangSong'' at 
10pt\n%\\font\\cwHei=''cwTeXHeiBold'' at 10p 
%不知為何會爆掉\n\\font\\cwYen=''cwTeXYen'' at 10pt\n\\font\\cwKai=''cwTeXKai'' at 
10pt\n\\font\\cwMing=''cwTeXMing'' at 10pt\n\\font\\wqyHei=''文泉驛正黑'' at 
10pt\n\\font\\wqyHeiMono=''文泉驛等寬正黑'' at 10pt\n\\font\\wqyHeiMicro=''文泉驛微米黑'' at 
10pt\n\\XeTeXlinebreaklocale ``zh''\n\\XeTeXlinebreakskip = 0pt plus 
1pt\n\\linespread{1.36}\n\n
  (\\section{%s} . \\section*{%s})
  (\\subsection{%s} . \\subsection*{%s})
  (\\subsubsection{%s} . \\subsubsection*{%s})
  (\\paragraph{%s} . \\paragraph*{%s})
  (\\subparagraph{%s} . \\subparagraph*{%s}))
 )
 org-latex-default-packages-alist '(( hyperref nil) (AUTO inputenc t)
( fixltx2e nil) ( graphicx t)
( longtable nil) ( float nil) ( 
wrapfig nil)
( rotating nil) (normalem ulem t)
( amsmath t) ( textcomp t) ( 
marvosym t)
( wasysym t) ( amssymb t) 
\\tolerance=1000)
 org-speed-command-hook '(org-speed-command-default-hook 
org-babel-speed-command-hook)
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-html-format-drawer-function '(lambda (name contents) contents)
 org-log-done 'time
 org-latex-format-inlinetask-function 'ignore
 org-confirm-shell-link-function 'yes-or-no-p
 org-image-actual-width

[O] Add a new face for org-verbatim?

2014-06-26 Thread kuanyui
Org-verbatim syntax is '=STRING=' ,but the equal symbol makes it look
not distinguishing ('=' itself looks like it seems to be a part of
STRING).  I misread them often.

So, I think maybe Org-mode can add a new face for equal symbol itself? I
mean, user can dim the face of '=' to avoid confusion.



[O] Bug: Cannot export this file as HTML. [8.2.6 (8.2.6-18-gaaae4a-elpa @ /home/kuanyui/.emacs.d/elpa/org-20140512/)]

2014-05-12 Thread kuanyui
 the client to the 
gaia.cs.umass.edu server. Can you identify where TCP's slowstart phase begins 
and ends, and where congestion avoidance takes over? Comment on ways in which 
the measured data differs from the idealized behavior of TCP that we've studied 
in the text.

** Answer each of two questions above for the trace that you have gathered when 
you transferred a file from your computer to gaia.cs.umass.edu
* Footnotes

[fn:1] 

[fn:2] 

[fn:3] 到底 buffer 是限制封包長度還是數量啊

[fn:4] 隨機的?

[fn:5] 需要扣掉嗎?!

[fn:6] 


kuanyui 20140512 GMT+8 

Emacs  : GNU Emacs 24.3.90.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.10.4)
 of 2014-04-13 on kuanyui-laptop.site
Package: Org-mode version 8.2.6 (8.2.6-18-gaaae4a-elpa @ 
/home/kuanyui/.emacs.d/elpa/org-20140512/)

current state:
==
(setq
 org-tab-first-hook '(org-hide-block-toggle-maybe 
org-src-native-tab-command-maybe org-babel-hide-result-toggle-maybe 
org-babel-header-arg-expand)
 outline-minor-mode-hook '(wikipedia-outline-magic-keys)
 org-latex-classes '((article
  
\n\\documentclass[12pt,a4paper]{article}\n\\usepackage[margin=2cm]{geometry}\n\\usepackage{fontspec}\n\\setromanfont{cwTeXMing}\n\n\\usepackage{etoolbox}
  % 
Quote部份的字型設定\n\\newfontfamily\\quotefont{cwTeXFangSong}\n\\AtBeginEnvironment{quote}{\\quotefont\\small}\n\n\\setmonofont[Scale=0.9]{Courier}
 % 等寬字型 [FIXME] Courier 中文會爛掉!\n\\font\\cwSong=''cwTeXFangSong'' at 
10pt\n%\\font\\cwHei=''cwTeXHeiBold'' at 10p 
%不知為何會爆掉\n\\font\\cwYen=''cwTeXYen'' at 10pt\n\\font\\cwKai=''cwTeXKai'' at 
10pt\n\\font\\cwMing=''cwTeXMing'' at 10pt\n\\font\\wqyHei=''文泉驛正黑'' at 
10pt\n\\font\\wqyHeiMono=''文泉驛等寬正黑'' at 10pt\n\\font\\wqyHeiMicro=''文泉驛微米黑'' at 
10pt\n\\XeTeXlinebreaklocale ``zh''\n\\XeTeXlinebreakskip = 0pt plus 
1pt\n\\linespread{1.36}\n\n\\usepackage{multicol}\n\n% [FIXME] ox-latex 
的設計不良導致hypersetup必須在這裡插入\n\\usepackage{hyperref}\n\\hypersetup{\n  
colorlinks=true, %把紅框框移掉改用字體顏色不同來顯示連結\n  linkcolor=[rgb]{0,0.37,0.53},\n  
citecolor=[rgb]{0,0.47,0.68},\n  filecolor=[rgb]{0,0.37,0.53},\n  
urlcolor=[rgb]{0,0.37,0.53},\n  pagebackref=true,\n  linktoc=all,}\n
  (\\section{%s} . \\section*{%s}) (\\subsection{%s} 
. \\subsection*{%s})
  (\\subsubsection{%s} . \\subsubsection*{%s}) 
(\\paragraph{%s} . \\paragraph*{%s})
  (\\subparagraph{%s} . \\subparagraph*{%s}))
 (beamer
  
\n\\documentclass[presentation]{beamer}\n\\usepackage{fontspec}\n\\setromanfont{wqyHeiMicro}\n\n\\setmonofont[Scale=0.9]{Courier}
 % 等寬字型 [FIXME] Courier 中文會爛掉!\n\\font\\cwSong=''cwTeXFangSong'' at 
10pt\n%\\font\\cwHei=''cwTeXHeiBold'' at 10p 
%不知為何會爆掉\n\\font\\cwYen=''cwTeXYen'' at 10pt\n\\font\\cwKai=''cwTeXKai'' at 
10pt\n\\font\\cwMing=''cwTeXMing'' at 10pt\n\\font\\wqyHei=''文泉驛正黑'' at 
10pt\n\\font\\wqyHeiMono=''文泉驛等寬正黑'' at 10pt\n\\font\\wqyHeiMicro=''文泉驛微米黑'' at 
10pt\n\\XeTeXlinebreaklocale ``zh''\n\\XeTeXlinebreakskip = 0pt plus 
1pt\n\\linespread{1.36}\n\n
  (\\section{%s} . \\section*{%s}) (\\subsection{%s} 
. \\subsection*{%s})
  (\\subsubsection{%s} . \\subsubsection*{%s}) 
(\\paragraph{%s} . \\paragraph*{%s})
  (\\subparagraph{%s} . \\subparagraph*{%s}))
 )
 org-latex-default-packages-alist '(( hyperref nil) (AUTO inputenc t) 
( fixltx2e nil) ( graphicx t) ( longtable nil)
( float nil) ( wrapfig nil) ( 
rotating nil) (normalem ulem t) ( amsmath t)
( textcomp t) ( marvosym t) ( 
wasysym t) ( amssymb t) \\tolerance=1000)
 org-speed-command-hook '(org-speed-command-default-hook 
org-babel-speed-command-hook)
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-html-format-drawer-function '(lambda (name contents) contents)
 org-log-done 'time
 org-latex-format-inlinetask-function 'ignore
 org-confirm-shell-link-function 'yes-or-no-p
 org-image-actual-width '(300)
 org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
 org-latex-pdf-process '(xelatex -interaction nonstopmode -output-directory %o 
%f xelatex -interaction nonstopmode -output-directory %o %f
 xelatex -interaction nonstopmode -output-directory %o 
%f)
 org-file-apps '((auto-mode . emacs) (\\.mm\\' . default) (\\.x?html?\\' . 
xdg-open %s) (\\.pdf\\' . kde-open %s)
 (\\.jpg\\' . kde-open %s))
 org-agenda-custom-commands '((w todo STARTED)
  (D Daily Action List
   ((agenda 
 ((org-agenda-ndays 1) 
(org-agenda-sorting-strategy (quote ((agenda time-up priority-down tag-up
  (org-deadline-warning-days 0))
 )
)
   )
  (P Projects ((tags Project

Re: [O] Bug: Cannot export this file as HTML. [8.2.6 (8.2.6-18-gaaae4a-elpa @ /home/kuanyui/.emacs.d/elpa/org-20140512/)]

2014-05-12 Thread kuanyui
I found the question, take an easy example:

* Title1
*** Title2
Test[fn:6]
* Footnotes
[fn:6]

If there's a footnote is empty (or just following a space or so), the
exporter will just return org-trim: Wrong type argument: stringp, nil
I think this is a bug because the exporter should told user there're some
footnotes are empty instead of an human-unreadable error message.

kuanyui 20140513 0014 GMT+8


[O] Bug: The foreground color of List of stuck projects: in agenda cannot be change seperately. [8.2.3c (8.2.3c-dist @ /home/kuanyui/.emacs.d/lisps/org-8.2.3c/lisp/)]

2013-11-28 Thread kuanyui
The foreground color of List of stuck projects: in agenda cannot be
change separately.

One screenshot to explain:
https://dl.dropboxusercontent.com/u/1776218/org-agenda-column-dateline.png


Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.




Emacs  : GNU Emacs 24.2.1 (x86_64-suse-linux-gnu, GTK+ Version 3.6.4)
 of 2013-02-21 on build16
Package: Org-mode version 8.2.3c (8.2.3c-dist @
/home/kuanyui/.emacs.d/lisps/org-8.2.3c/lisp/)