Re: org-cycle-internal-local unfold a plain list in parent

2020-10-03 Thread Yasushi SHOJI
Hi, On Sat, Oct 3, 2020 at 7:55 PM Yasushi SHOJI wrote: > Move your cursor to the headline "second" and hit tab to cycle, > then the list "foo" is also unfolded and you now see "bar" > as well as the headline "third". I was expecting

org-cycle-internal-local unfold a plain list in parent

2020-10-03 Thread Yasushi SHOJI
Hi, I see a plain list unfolded when I cycle a sub headline. Say, I have the following org file: #+begin_src org ,* first - foo - bar ,** second ,*** third #+end_src Fold the list "foo" and the second headline, thus what you see on your screen is more like: * first - foo...

Re: Another case which org-insert-todo-heading doesn't work

2020-03-28 Thread Yasushi SHOJI
Hi, On Thu, Mar 26, 2020 at 11:31 AM Kyle Meyer wrote: > > > Does anyone see this? > > No, I tried on master (5b9698870) as well as maint (685b2c441) and > didn't see the behavior you describe. In both cases, an unchecked box > is inserted. > > What Org version are you using? Can you trigger

Another case which org-insert-todo-heading doesn't work

2020-03-25 Thread Yasushi SHOJI
Hi, https://www.mail-archive.com/emacs-orgmode@gnu.org//msg122319.html There seems to be another case where org-insert-todo-heading doesn't work. Let's say we have the following doc. #+begin_src org ,* foo - [ ] a - [ ] b #+end_src If the list is unfolded, org-insert-todo-heading

[O] shift dates in timestamp range

2019-02-22 Thread Yasushi SHOJI
Hi, Is there a way to change both start and end date in timestamp range? Given that the following timestamp range with `|` as the current cursor CLOCK: [2019-02-2|2 Fri 12:00]--[2019-02-22 Fri 21:00] => 9:00 I'd like to `S-Right` and get CLOCK: [2019-02-2|3 Sat 12:00]--[2019-02-23 Sat 21:00]

Re: [O] Clone tree backwards in time

2019-01-21 Thread Yasushi SHOJI
Hi Nicolas, On Sat, Jan 19, 2019 at 2:56 AM Nicolas Goaziou wrote: > Yasushi SHOJI writes: > > > Unfortunately, I don't have write permission to the repo. So we need > > to ask one of the maintainers to merge it. > > Sure. Could you also add an entry in ORG NEWS on that

Re: [O] Clone tree backwards in time

2019-01-16 Thread Yasushi SHOJI
Hi, Unfortunately, I don't have write permission to the repo. So we need to ask one of the maintainers to merge it. I can put it in my personal github repo, if that helps. -- yashi On Wed, Jan 16, 2019 at 4:05 AM Scott Randby wrote: > > On 1/13/19 8:23 PM, Yasushi SHOJI

Re: [O] Clone tree backwards in time

2019-01-13 Thread Yasushi SHOJI
ashi From 5d421e09f80dde295bbd4541059f5d432dce2c59 Mon Sep 17 00:00:00 2001 From: Yasushi SHOJI Date: Mon, 14 Jan 2019 10:19:50 +0900 Subject: [PATCH] clone: Allow time shift in backward Make org-clone-subtree-with-time-shift accept a negative value to shift the timestamp in backward. --- lisp/org.el

Re: [O] Exporting description list without description

2019-01-03 Thread Yasushi SHOJI
Hi, On Thu, Jan 3, 2019, 22:40 Eric S Fraga wrote: > yes, and I get the same as you do, but that whitespace difference should > make no difference in the PDF result? I guess it may make a difference > for other export targets. > Yes. I know some backends don't care. I just couldn't find a

Re: [O] Exporting description list without description

2019-01-03 Thread Yasushi SHOJI
Hi, On Wed, Jan 2, 2019 at 11:52 PM Eric S Fraga wrote: > What export target? I don't see any difference when exporting to LaTeX. Even Latex backed does it differently. Note the space between one and two. Here are both outputs: \begin{description} \item[{one}] \item[{two}] \end{description}

[O] Exporting description list without description

2018-12-29 Thread Yasushi SHOJI
Hi, I'm not sure this is a bug or something else. But the following two list behave differently when exported. The fist one inserts a newline between one and two. Is there any reason to do that? Yes, they are description list items without description. So there isn't much use but stil..

Re: [O] Bug: org export to html add a unnecessary empty line in "example" block [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/local/Cellar/emacs-plus/26.1/share/emacs/26.1/lisp/org/)]

2018-12-24 Thread Yasushi SHOJI
Hi Nicolas, Sorry to reply this old thread but... Would you mind to apply this fix to the maint branch as well? Thanks in advance. -- yashi On Mon, Jul 2, 2018 at 7:32 AM Nicolas Goaziou wrote: > > Hello, > > 孙振祥 writes: > > > the org file like > > : abc > > : def > > > > and

Re: [O] What's the canonical way to pass information within an Org exporter?

2018-02-08 Thread Yasushi SHOJI
Hi, On Wed, Feb 7, 2018 at 8:35 AM, Kaushal Modi wrote: > I believe the info plist should be used ideally, but I cannot figure out how > to tap in new information or update existing information in the `info' > channel used throughout the exporter. Some exporter does

Re: [O] easy way to open include files

2018-02-07 Thread Yasushi SHOJI
On Thu, Feb 8, 2018 at 3:20 PM, Yasushi SHOJI <yasushi.sh...@gmail.com> wrote: > Is there any function / key bindings to open a included file? I don't know what I was up to. The manual says: C-c ' Visit the include file at point. Sorry for the noise. -- yashi

[O] easy way to open include files

2018-02-07 Thread Yasushi SHOJI
Hi, Is there any function / key bindings to open a included file? Let's say we have a.org which has: * headline #+INCLUDE: |b.org and we are at "|", which indicates a cursor position. How can I easily open "b.org"? -- yashi

Re: [O] [RFC] Moving "manual.org" into core

2018-02-06 Thread Yasushi SHOJI
Hi, On Sun, Feb 4, 2018 at 6:40 PM, Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote: > Yasushi SHOJI <yasushi.sh...@gmail.com> writes: > >> Hmm... I'm using 4b2006db3d04, which includes b4cc12fc32a771 but >> it still inf-loops. `key-binding` returns `fill-paragraph

Re: [O] exporting a big project in multiple files to both pdf and html

2018-02-02 Thread Yasushi SHOJI
Hi, On Fri, Feb 2, 2018 at 4:41 PM, Alan Schmitt wrote: >> What you want is to have multiple pdf files, say a.pdf and b.pdf, and link >> from >> a.pdf to some specific page on the b.pdf, right? > > No, I want multiple html files and a single pdf file generated

Re: [O] org-mode source code repo make error

2018-02-01 Thread Yasushi SHOJI
Hi, On Fri, Feb 2, 2018 at 10:24 AM, numbch...@gmail.com wrote: > When I try to compile with command `make`, but got this output: [...] > make -C lisp compile just do `make compile`. you can't use `-C` in org-mode source tree. In my case with `-C`, I get: $ make -C lisp

Re: [O] [RFC] Moving "manual.org" into core

2018-02-01 Thread Yasushi SHOJI
Hi, On Thu, Feb 1, 2018 at 11:55 PM, Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote: > Yasushi SHOJI <yasushi.sh...@gmail.com> writes: > >> What if _I_, for my own project, want to customize the formatter and like to >> call fill-paragraph, can I still do this? >

Re: [O] exporting a big project in multiple files to both pdf and html

2018-02-01 Thread Yasushi SHOJI
Hi, On Thu, Feb 1, 2018 at 9:29 PM, Alan Schmitt wrote: > Not here. If I try to export the second file (the one with the link to > the first file), I get an error: > > user-error: Unable to resolve link: "*A headline" I now see that I totally misread your

Re: [O] [RFC] Moving "manual.org" into core

2018-02-01 Thread Yasushi SHOJI
On Thu, Feb 1, 2018 at 8:43 PM, Yasushi SHOJI <yasushi.sh...@gmail.com> wrote: > On Mon, Jan 29, 2018 at 11:41 PM, Nicolas Goaziou > <m...@nicolasgoaziou.fr> wrote: >> Yasushi SHOJI <yasushi.sh...@gmail.com> writes: >> >>> Do you see this on your env?

Re: [O] [RFC] Moving "manual.org" into core

2018-02-01 Thread Yasushi SHOJI
Hi, On Mon, Jan 29, 2018 at 11:41 PM, Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote: > Yasushi SHOJI <yasushi.sh...@gmail.com> writes: > >> Do you see this on your env? Or, is it just me? > > I don't see anything like this. Hmm... I don't know how to

Re: [O] exporting a big project in multiple files to both pdf and html

2018-02-01 Thread Yasushi SHOJI
Hi, On Thu, Feb 1, 2018 at 5:45 PM, Alan Schmitt <alan.schm...@polytechnique.org> wrote: > On 2018-02-01 11:17, Yasushi SHOJI <yasushi.sh...@gmail.com> writes: >> On Fri, Jan 26, 2018 at 2:37 AM, Alan Schmitt >> <alan.schm...@polytechnique.org> wrote: &g

Re: [O] setting flags in python src blocks?

2018-01-31 Thread Yasushi SHOJI
Hi, On Thu, Feb 1, 2018 at 8:47 AM, John Kitchin wrote: > Is it possible to set command line flags for an executable in src blocks? I > was thinking of something like this > > #+BEGIN_SRC python :flags --some_flag=True :tangle test.py > import app > >

Re: [O] exporting a big project in multiple files to both pdf and html

2018-01-31 Thread Yasushi SHOJI
Hi, On Fri, Jan 26, 2018 at 2:37 AM, Alan Schmitt wrote: > I'm working on a project that is becoming too big to manage as a single > file, so I'm looking at splitting it in several files. This would also > have the benefit of generating several smaller html pages

Re: [O] [RFC] Moving "manual.org" into core

2018-01-28 Thread Yasushi SHOJI
Hi, On Mon, Jan 29, 2018 at 12:17 AM, Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote: > Yasushi SHOJI <yasushi.sh...@gmail.com> writes: > >> A big one seems to be the indentation of description lists. >> The formatter seems to prefer aligning the begging of a

Re: [O] [RFC] Moving "manual.org" into core

2018-01-27 Thread Yasushi SHOJI
Hi Nicolas, On Fri, Jan 26, 2018 at 7:32 PM, Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote: > Yasushi SHOJI <yasushi.sh...@gmail.com> writes: > >> Also, the code converts all lower case "#+title", "+begin_src" and >> other "#+"s to >

Re: [O] [RFC] Moving "manual.org" into core

2018-01-26 Thread Yasushi SHOJI
Hi Nicolas, On Wed, Jan 24, 2018 at 8:28 PM, Nicolas Goaziou wrote: > Org Lint is not a formatter. It detects common mistakes or hypothetical > mistakes in an Org document, e.g., invalid links. In particular, it > doesn't detect stylistic issues like those discussed

Re: [O] [RFC] Moving "manual.org" into core

2018-01-24 Thread Yasushi SHOJI
Hi, On Mon, Jan 22, 2018 at 10:54 PM, Rasmus wrote: > Bastien Guerry writes: > >> I'm all for editing manual.org instead of org.texi in the long run. >> >> Before moving manual.org into doc/, I'd suggest we agree on editing >> variables like `fill-column' and the

Re: [O] [RFC] Dog food, anyone?

2017-12-24 Thread Yasushi SHOJI
Hi, On Sat, Dec 23, 2017 at 11:12 PM, Kaushal Modi wrote: > The only minor issue is that it loads the whole manual as a single HTML > page, so it takes a while to load. Do you know if there's a way to set it up > so that it shows a single page per node as orgmode.org

Re: [O] [RFC] Dog food, anyone?

2017-12-22 Thread Yasushi SHOJI
Hi Nicolas, On Sun, Dec 17, 2017 at 7:34 PM, Nicolas Goaziou wrote: > The task started by Thomas S. Dye a couple years ago is now complete. > The "manual.org" file in "contrib/" directory is an up-to-date, > sometimes enhanced, version of the Org manual. Org can now eat

Re: [O] possible to store a link to a specific entry in the *texinfo* file?

2017-12-22 Thread Yasushi SHOJI
Hi, On Wed, Dec 20, 2017 at 11:57 PM, Shiyao MA wrote: > Is it possible to specify an exact match? > > [[info:elisp#define-minor-mode]] gives two potential matches. Not that I know of. The behavior is of Info-index and I don't think it can do that. Unless, of cause, you change

Re: [O] possible to store a link to a specific entry in the *texinfo* file?

2017-12-19 Thread Yasushi SHOJI
Hi, I'm sorry that I miss read your question. No, org-store-link, or org-info-store-link to be precise, doesn't support storing the index you just used or you are on. I'm not sure how to figure out what a user is trying to store is either the current node or the index. You can, however, write

Re: [O] possible to store a link to a specific entry in the *texinfo* file?

2017-12-19 Thread Yasushi SHOJI
Hi, On Tue, Dec 19, 2017 at 9:57 AM, Shiyao MA wrote: > However, org-store-link stores to the node : Stored: > info:elisp#Defining Minor Modes > Instead of the exact entry. I'm not sure what version of Org mode you are using but at least Org 8.3 supports info index as well as

Re: [O] How to generate clock report for hours worked each day?

2017-10-02 Thread Yasushi SHOJI
Hi, On Wed, Sep 27, 2017 at 3:27 AM, ConcreteVitamin wrote: > Following up on this: is there a way to configure such that non-clocked in > files (0:00) are not shown in this table? :fileskip0 t ? -- yashi

Re: [O] mimetype for orgmode files

2017-09-04 Thread Yasushi SHOJI
Hi, There is RFC 6648, which "deprecating the "X-" Prefix". So, it might be better to use "text/org". https://tools.ietf.org/html/rfc6648 -- yashi

Re: [O] Scatter-gather idea

2017-04-04 Thread Yasushi SHOJI
Hi Bob, On Mon, Apr 3, 2017 at 1:34 PM, Bob Newell wrote: > > A simple use case: you're brainstorming, making org-mode headline > entries as fast as you can think or type. After a while you notice that > a number of entries seem to be related and might actually be better

Re: [O] Bug: Updating clocktable hides other content [9.0.5 (9.0.5-elpa @ /home/christof/.emacs.d/elpa/org-20170210/)]

2017-03-27 Thread Yasushi SHOJI
Hi Christof, On Sun, Mar 26, 2017 at 7:37 AM, Christof Musik wrote: > > I have noticed some problems on updating a clocktable in a dynamic block. > If you update this table with org-dblock-update, then all content besides that table > is hidden. I have not found a way

[O] [PATCH] org-clock: Align formula column in clock tables

2017-03-18 Thread Yasushi SHOJI
* lisp/org-clock.el (org-clocktable-write-default): Align formula column in clock tables. Here is an ECM: * foo ** sub :LOGBOOK: CLOCK: [2017-03-18 Sat 15:00]--[2017-03-18 Sat 15:15] => 0:15 :END: ** sub2 :LOGBOOK: CLOCK: [2017-03-18 Sat 15:15]--[2017-03-18

Re: [O] limitation for macro expansion

2017-03-06 Thread Yasushi SHOJI
Hi Nicolas, Thank you for your time. I really appreciate it. On Tue, 07 Mar 2017 01:41:34 +0900, Nicolas Goaziou wrote: > > Yasushi SHOJI <ya...@atmark-techno.com> writes: > > > I assume that the key phrase is "anywhere Org markup is recognized". > > Link f

Re: [O] limitation for macro expansion

2017-03-06 Thread Yasushi SHOJI
Hi Nicolas, On Mon, Mar 6, 2017 at 5:22 PM, Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote: > Yasushi SHOJI <ya...@atmark-techno.com> writes: > there are two ways to interpret it: the one you expect and > > a_{CONTENTS} where CONTENTS is {{something}}. > > Since

Re: [O] limitation for macro expansion

2017-03-05 Thread Yasushi SHOJI
Hi Nicolas, On Sun, 05 Mar 2017 19:58:43 +0900, Nicolas Goaziou wrote: > > Yasushi SHOJI <ya...@atmark-techno.com> writes: > > * test > > - It works with chars around like this: Aa{{{author}}}bB. > > - It works with numbers around like this: 12{{{author}}}34. >

[O] limitation for macro expansion

2017-03-04 Thread Yasushi SHOJI
Hi, I'm can't expand macro with prefix. Is there any limitation for macro expansion listed in the doc? * test - It works with chars around like this: Aa{{{author}}}bB. - It works with numbers around like this: 12{{{author}}}34. - It works with _ around like this: _{{{author}}}_. - It works with

Re: [O] DEADLINE: position in entry

2016-11-28 Thread Yasushi SHOJI
Hi Nicolas, On Fri, 25 Nov 2016 20:24:31 +0900, Nicolas Goaziou wrote: > > I cannot reproduce your problem? Could you try with -Q (and a minimal > Org configuration)? Hmm... That's what I did and got the following: Week-agenda (W48): Monday 28 November 2016 W48 a: DONE org

Re: [O] DEADLINE: position in entry

2016-11-23 Thread Yasushi SHOJI
Hi, On Tue, Nov 22, 2016 at 3:08 AM, Sebastien Vauban <sva-n...@mygooglest.com> wrote: > > Yasushi SHOJI <ya...@atmark-techno.com> writes: > > >8 cut >8 > > * DONE org > > DEADLINE: [2016-01-07 Thu 17:39] > > > > SCH

Re: [O] DEADLINE: position in entry

2016-11-20 Thread Yasushi SHOJI
On Wed, 09 Nov 2016 18:37:00 +0900, Alan Tyree wrote: > > Is this the way it should be? The first DEADLINE: shows up both as a > warning and on the due date in the agenda, but the second one does > not. It only works for me if the DEADLINE: is the first line after the > heading. Version 9, emacs

Re: [O] org: Fix tag width calculation for multi-column chars

2016-06-02 Thread Yasushi SHOJI
On Wed, 01 Jun 2016 14:57:04 +0900, Georgiy Tugai wrote: > > I'm not sure if this is the right place to ask, but would it be possible > to implement, for lack of better terms, "virtual" tag positioning? In > other words, the tags in the actual file are placed as usual > (org-tags-column), but if

Re: [O] [PATCH] org: Fix tag width calculation for multi-column chars

2016-06-02 Thread Yasushi SHOJI
nning 1)) (insert " ") (delete-region (point) (1+ (match-beginning 2))) -- 2.8.1 From 4cbd72931e7982878334c92abb08272f11ae0f32 Mon Sep 17 00:00:00 2001 From: Yasushi SHOJI <ya...@atmark-techno.com> Date: Tue, 31 May 2016 16:25:42 +0900 Subject: [PATCH 2/2] org

Re: [O] [PATCH] org: Fix tag width calculation for multi-column chars

2016-06-01 Thread Yasushi SHOJI
Hi Samuel, On Wed, 01 Jun 2016 06:06:02 +0900, Samuel Wales wrote: > > i wonder if this also fixes tags for variable pitch (proportional) > fonts. i have been having great success with variable pitch fonts and > it would be great if this fixes tags for them too. This fix is nothing to do with

Re: [O] [PATCH] org: Fix tag width calculation for multi-column chars

2016-06-01 Thread Yasushi SHOJI
Hi Nicolas, On Wed, 01 Jun 2016 05:02:58 +0900, Nicolas Goaziou wrote: > Yasushi SHOJI <ya...@atmark-techno.com> writes: > > Let me know if I miss something. > > Could you send it again with an appropriate commit message and using git > format-patch? Oops. Sorry

[O] [PATCH] org: Fix tag width calculation for multi-column chars

2016-05-31 Thread Yasushi SHOJI
Some characters have multiple column width. Calculating string width with points gives a wrong value than actual display width. Use `string-width' instead. Here is an ECM for this problem. `M-x org-update-statistics-cookies` or `C-c #` on bar moves the tag on the headline. * foo [0/0]

[O] org-habit: "++" render wrong color

2016-01-29 Thread Yasushi SHOJI
Hi all, Since 5d19c2c6891acd55dae36fccc07defe359a7283e, the habit consistency graph renders intervals in wrong color if you use `++'. http://ibin.co/2V80yaYqOT1O The above graph in the pic is from 5d19c2c68~1, the below is the tip of master. Note that red region from the left most `*' to `!'

[O] http://orgmode.org/org.html: toc links broken

2016-01-25 Thread Yasushi SHOJI
Hi, Not sure since when, but the TOC links of "Short Contents" at the top of org.html are broken. links pointing to the same section in the menu at top right corner or in the toc under the "Org Mode Manual" are fine. I see "toc_" prefix in the bad links but not sure how to fix them. Best, --

[O] ox: html: Wrong type argument: stringp, (latex-fragment

2015-12-11 Thread Yasushi SHOJI
Hi all, With Org-mode version 8.3.2 (release_8.3.2-380-g64aee4), org-html-export-to-html does not work with this ECM if org-export-with-sub-superscripts is set to nil. #+BEGIN_SRC org \_\A #+END_SRC Does anyone have seen this? -- yashi

Re: [O] inserting new heading

2014-05-18 Thread Yasushi SHOJI
At Thu, 15 May 2014 10:01:11 -0400, Ralph Bacolod wrote: I recently found the joy of using Emacs and Org-mode. I'm using it to organize a lot of stuff and just now I notice something that bothers me a lot. Whenever I am inserting a new heading, via Ctrl-return or alt-return , the new

Re: [O] [PATCH] org-plot: Handle explicit date/time index

2014-03-24 Thread Yasushi SHOJI
Hi Bastien, At Sun, 23 Mar 2014 19:41:45 +0100, Bastien wrote: Yasushi SHOJI ya...@atmark-techno.com writes: * lisp/org-plot.el (org-plot-quote-tsv-field): Dump data as is when `timeind' is set. This change produces a compiler warning: In org-plot-quote-tsv-field: org-plot.el

Re: [O] [PATCH] org-plot: Handle explicit date/time index

2014-03-13 Thread Yasushi SHOJI
Hi Bastien, At Thu, 13 Mar 2014 12:58:00 +0100, Bastien wrote: I applied the patch. Thanks for it. I slightly modified the commit message, please review it: http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=e2b6c506 No problem at all. Thanks, -- yashi

Re: [O] advice on ways to quicken refiling..perhaps a hotkey to refile to specific org file/header?

2014-03-11 Thread Yasushi SHOJI
Hi, At Tue, 4 Mar 2014 17:43:41 +0200, Xebar Saram wrote: i find the normal C-c w then manually choosing a file to allocate each 'capture' pretty slow. i am looking for any advice on workflows you guys have to make this quicker. one thing i was thinking of was maybe assigning a hotkey to

[O] [PATCH] org-plot: Handle explicit date/time index

2014-03-10 Thread Yasushi SHOJI
* lisp/org-plot.el (org-plot-quote-tsv-field): Dump data as is when `timeind' is set. * lisp/org-plot.el (org-plot/gnuplot): By-pass type checking when either `textind' or `timeind' is set. The current org-plot relies on `org-table-number-regexp' and `org-ts-regexp3' to check the index type.

Re: [O] link interfering with brackets when abbreviated

2014-03-01 Thread Yasushi SHOJI
Hi Nicolas, At Fri, 28 Feb 2014 00:43:19 +0100, Nicolas Goaziou wrote: Bastien b...@altern.org writes: If it is not, I suggest to discuss the change before implementing it. Nobody ever complained about the previous behavior, and both Michael and me are suppporting it. I didn't

Re: [O] link interfering with brackets when abbreviated

2014-03-01 Thread Yasushi SHOJI
Hi Nicolas, At Fri, 28 Feb 2014 00:43:19 +0100, Nicolas Goaziou wrote: Bastien b...@altern.org writes: If it is not, I suggest to discuss the change before implementing it. Nobody ever complained about the previous behavior, and both Michael and me are suppporting it. I didn't

Re: [O] link interfering with brackets when abbreviated

2014-03-01 Thread Yasushi SHOJI
Hi Nicolas, Thanks for your time. At Sat, 01 Mar 2014 21:20:18 +0100, Nicolas Goaziou wrote: Anyway, I don't understand why there is so much fuss about this. That's because a) the commands have been working This is not a sufficient reason. We are discussing a minor feature. Removing

Re: [O] simple way to call `C-c a v' or a way to bind it to a key?

2014-02-17 Thread Yasushi SHOJI
At Mon, 17 Feb 2014 10:43:48 +0100, Nicolas Richard wrote: Marc Ihm m...@ihm.name writes: (global-set-key (kbd f12) (lambda () (interactive) (execute-kbd-macro (kbd C-c a v (global-set-key (kbd f12) (kbd C-c a v)) Ah, these are nice to know. Thanks, guys. -- yashi

Re: [O] parser: verbatim or code?

2014-02-17 Thread Yasushi SHOJI
Hi Nicolas, At Sun, 16 Feb 2014 10:20:55 +0100, Nicolas Goaziou wrote: If we do change them, it should only happen in org-element.el. I don't think that would break existing documents, as code and verbatim are really close to each other. I don't care either way. Though, I lean towards the

Re: [O] simple way to call `C-c a v' or a way to bind it to a key?

2014-02-16 Thread Yasushi SHOJI
Hi Thorsten, At Sat, 15 Feb 2014 18:34:07 +0100, Thorsten Jolitz wrote: so instead of binding the dispatcher function to a global key you can bind one or more of the specific functions, e.g. , | (global-set-key (kbd f12) 'org-agenda-list)

Re: [O] parser: verbatim or code?

2014-02-16 Thread Yasushi SHOJI
Hi, At Sat, 15 Feb 2014 09:23:41 -0500, Nick Dokos wrote: I think it's a code bug: ~verbatim~ is the precedent-setting latex convention. However fixing it might break existing documents (although in many instances code and verbatim are treated equivalently, so that might not be much of a

Re: [O] Best way to generate textile from orgmode ?

2014-02-16 Thread Yasushi SHOJI
Hi Marc, # way too late to reply but... At Thu, 11 Apr 2013 22:11:49 +0200, Marc-Oliver Ihm wrote: i would like to convert orgmode to textile (which is used within confluence wiki). I was hoping that someone's gonna beat me to it. but hey, it's much fun to write elisp than textile (it's

[O] simple way to call `C-c a v' or a way to bind it to a key?

2014-02-15 Thread Yasushi SHOJI
Hello, These days I hit `C-c a v' many many times a day, and now feel that the three key combination is too much. I'd like to improve the situation by binding the same functionality to a key, say, F12, if possible. Looking at the `org-agenda' dispatch code, there are quite a few lines before

[O] parser: verbatim or code?

2014-02-15 Thread Yasushi SHOJI
Hello, While writing a new exporter I've noticed that `=' is actually for verbatim and `~' is for code emphasis despite the fact that the current org manual says: You can make words *bold*, /italic/, _underlined_, =code= and ~verbatim~ Is this documentation bug? regards, --

Re: [O] simple way to call `C-c a v' or a way to bind it to a key?

2014-02-15 Thread Yasushi SHOJI
Hi, On Feb 15, 2014 11:38 PM, Thorsten Jolitz tjol...@gmail.com wrote: ,--- | (global-set-key (kbd f12) 'org-agenda) `--- Thanks, but that's still two keys away. I want a single key to call the function.

[O] org-update-statistics-cookies does not update stats

2014-01-28 Thread Yasushi SHOJI
Bastien, It seems to me that the commit 80fc5ad breaks `org-update-statistics-cookies' on my setup. Here is an ECM: * foo [1/2] ** DONE bar ** TODO baz Calling `org-update-statistics-cookies' on `foo' changes `[1/2]' to `[0/2]'. This doesn't affect the maint branch as

Re: [O] [RFC] ox-ascii.el: fixing variable width character handling

2014-01-04 Thread Yasushi SHOJI
Hi, At Fri, 03 Jan 2014 10:34:08 +0100, Nicolas Goaziou wrote: Thank you. It looks mostly good, but I cannot apply it on top of master branch. Could you rebase and send an updated version? Opps. Rebased version attached. The usual format is (org-ascii--build-title,

Re: [O] [PATCH] Table continuation strings

2014-01-02 Thread Yasushi SHOJI
Hi, At Mon, 23 Dec 2013 10:09:44 +0100, Nicolas Goaziou wrote: There's a limitation: if you use Latin1 characters (e.g. when you write in French), you cannot export to text/ascii anymore. So, if, for some reason, you really need to export to ascii only, but still need to write in french,

Re: [O] [PATCH] Table continuation strings

2014-01-02 Thread Yasushi SHOJI
Hi, At Thu, 02 Jan 2014 17:15:17 +0900, Yasushi SHOJI wrote: At Mon, 23 Dec 2013 10:09:44 +0100, Nicolas Goaziou wrote: There's a limitation: if you use Latin1 characters (e.g. when you write in French), you cannot export to text/ascii anymore. So, if, for some reason, you really

Re: [O] [RFC] ox-ascii.el: fixing variable width character handling

2014-01-02 Thread Yasushi SHOJI
Hi Nicolas, Took me a while to get back to this. At Sun, 10 Nov 2013 14:09:48 +0100, Nicolas Goaziou wrote: While I came up with the following experimental patch, I have a few questions: - What is the lisp idiom to handle type error? In the following patch, I've created a new

Re: [O] [PATCH] Table continuation strings

2013-12-22 Thread Yasushi SHOJI
Hi Nicolas, At Sun, 22 Dec 2013 09:20:57 +0100, Nicolas Goaziou wrote: Yasushi SHOJI ya...@atmark-techno.com writes: Ah, OK. Those coding keys are for the back-ends to select proper strings, not for the string encoding. This is also related to string encoding. You will get garbage

Re: [O] [PATCH] Table continuation strings

2013-12-21 Thread Yasushi SHOJI
HI, At Sat, 21 Dec 2013 10:05:35 +0100, Nicolas Goaziou wrote: Yasushi SHOJI ya...@atmark-techno.com writes: The thing I don't understand is the reason all Japanese entries have `:utf-8'. Would you kindly enlighten me the relationship among the followings: - transtion coding key

Re: [O] [PATCH] Table continuation strings

2013-12-20 Thread Yasushi SHOJI
Hi, At Wed, 30 Oct 2013 11:15:36 +0100, Nicolas Goaziou wrote: t...@tsdye.com (Thomas S. Dye) writes: Patch includes table continuation strings for several languages. Translations all from the internet. Caveat emptor. Applied. Thank you. + (ja :utf-8 前ページから続く) [...] +

Re: [O] Insert a heading in every sibling

2013-12-20 Thread Yasushi SHOJI
Hi, At Mon, 28 Oct 2013 06:13:21 +0500, Scot Becker wrote: I'm using org-mode to keep track of student grades. How can I easily add a bunch of identical headings at a certain level in my tree? Specifically,I have a L2 heading for each student, and I want to put a node (heading, with some

Re: [O] [bug] [babel] repeated exports w/ inline src blocks yield different results

2013-11-26 Thread Yasushi SHOJI
At Sun, 24 Nov 2013 04:18:38 + (UTC), Charles Berry wrote: [...] and you see the extra '#+END_SRC' line. And if you keep repeating those keystrokes, the second result again appears. However, sometimes a minor change and then an erasure (perhaps 'a a C-x u') followed by the export

[O] [RFC] ox-ascii.el: fixing variable width character handling

2013-11-10 Thread Yasushi SHOJI
Hi, I've been trying to fix ASCII export back-end for variable width chars. It is basically replacing `length' with `string-width', but the behavior of those two functions differ when you give nil as an argument; `length' returns 0, `string-width' yields a type error: eval: Wrong type argument:

[O] [PATCH] lisp/org.el (org-set-tags): Calculate width of tags with string-width

2013-10-12 Thread Yasushi SHOJI
* lisp/org.el (org-set-tags): Width of strings presenting on a buffer should be calculated with `string-width' instead of `length'. This fixes unaligned tags for the languages with multi-width characters. --- Hi, I just noticed that tags are not aligned when I use Japanese chars for tags. This

[O] Bug: org-meta-return in narrowed buffer makes the last line invisible

2013-05-25 Thread Yasushi SHOJI
Hi, In my current environment, org-meta-return seems to make the last line of a buffer invisible if the buffer is narrowed. At first I thought the lines are gone but that was false. All text are there but you can't see it. First, here is my environment: - Org-mode version 8.0.3

Re: [O] New Exporter: plain list depth

2013-04-23 Thread Yasushi SHOJI
Hi, At Mon, 22 Apr 2013 00:10:25 +0200, Nicolas Goaziou wrote: Yasushi SHOJI ya...@atmark-techno.com writes: To generate -- at the list 2.1, I'd like to find out the list 2.1 is at depth 2, so that I can use (make-string 2 ?-) for my bullet. Something like the following should work

[O] New Exporter: plain list depth

2013-04-21 Thread Yasushi SHOJI
Hi, What is the best way to know the depth of list entries when I writing an exporter back-end? let's say I have: #+BEGIN_SRC org * headline 1 - list 1 - list 2 - list 2.1 #+END_SRC I'd like to convert it to: #+BEGIN_EXAMPLE * headline 1 - list 1 - list 2 -- list 2.1

[O] testing/README: need to enable sh and org for the current test

2013-01-27 Thread Yasushi SHOJI
Hello, With the current HEAD(release_7.9.3d-894-gfe805ed), it seems we need to load sh and org for babel language to run the test sucessfully. #+BEGIN_SRC elisp (org-babel-do-load-languages 'org-babel-load-languages '((emacs-lisp . t) (sh . t) (org . t))) (setq

Re: [O] org bingo

2013-01-06 Thread Yasushi SHOJI
Hi Tony, At Thu, 20 Dec 2012 16:43:37 +1100, Tony Day wrote: org-random-entry: select and goto a random todo entry. Prefix allows you to select which todo keyword. https://gist.github.com/4343164 love that idea! However, I accidentally tried org-random-entry after org-agenda-exit and got

Re: [O] [PATCH] Introduce a new variable for x11idle

2012-12-25 Thread Yasushi SHOJI
Hi Bastien, At Sun, 23 Dec 2012 21:03:57 +0100, Bastien wrote: Since the patch is substantial, we need you sign the FSF copyright assignment in order to apply it. If that's okay with you, please fill the form here and follow the instructions here:

[O] [PATCH] Introduce a new variable for x11idle

2012-12-23 Thread Yasushi SHOJI
Debian and other OSes already have a program called 'xprintidle', which does the same thing as x11idle. It also handles the DPMS bug[1] some version of X servers have. In order to use an alternative, introduce a customizable variable 'org-clock-x11idle-program-name' to hold the actual command