Re: [O] Bug: various short questions about column view, code blocks and export [8.3.4 (release_8.3.4-759-g9508dc @ /home/youngfrog/sources/org-mode/lisp/)]

2016-04-28 Thread Nicolas Richard
Nicolas Goaziou writes: > This is a feature. Archived subtrees are ignored when calling column > view. As you noticed, in this case, removing the tag is the way to go. ok > There is no #+NAME: mytable in your example. > OK, so I guess there wase a TBLNAME line somewhere

[O] Bug: various short questions about column view, code blocks and export [8.3.4 (release_8.3.4-759-g9508dc @ /home/youngfrog/sources/org-mode/lisp/)]

2016-04-28 Thread Nicolas Richard
or if it's org acting weird. I have Org-mode version 8.3.4 (release_8.3.4-759-g9508dc @ /home/youngfrog/sources/org-mode/lisp/) I have GNU Emacs 24.5.50.1 (i686-pc-linux-gnu, GTK+ Version 3.14.10) of 2015-05-18 on localhost -- Nicolas Richard

Re: [O] Use of deprecated org-log-note-marker variable in outshine

2016-01-31 Thread Nicolas Richard
Nicolas Goaziou writes: > Actually, it was a mistake to remove the variable in the first place. As > a consequence, I re-introduced it in master. > > However, it doesn't store the same location as before, i.e., it merely > points to the entry where the note is going to be

Re: [O] Merge branch 'maint'

2015-09-15 Thread Nicolas Richard
Oleh Krehel writes: > Now, please check my facts again. Is it true that Emacs doesn't have > maint and has instead a bunch of hanging branches for each release that > aren't meant to have master merged into them on release? In emacs, the current emacs24 branch will never be

Re: [O] Weird Asymptote mode behaviour in org

2015-08-24 Thread Nicolas Richard
can C-c C-c, etc.) -- Nicolas Richard

Re: [O] [OFF TOPIC] almost giving up on emacs email..looking for advice?

2015-08-11 Thread Nicolas Richard
Peter Davis p...@pfdstudio.com writes: 2) I need a decent editor for replies. I have not found a browser-based client that has this. Firefox has an extension, https://addons.mozilla.org/fr/firefox/addon/its-all-text/, which allows you to edit any text in your favourite editor (aka emacs) with

[O] Bug: org-columns adds spaces [8.3beta (release_8.3beta-1286-g20795f @ /home/youngfrog/sources/org-mode/lisp/)]

2015-07-13 Thread Nicolas Richard
Here's my test.org file : * Test org :PROPERTIES: :COLUMNS: %15foo %fooo %2f %2fo %2foobar %2foobaz %2fooquw %2fooqux %2fooapp %2foopoj %2fooazf %2fooavp %10foopa %1whatever :END: Here's how I test it : emacs -Q -L ~/sources/org-mode/lisp/ test.org -f whitespace-mode then hit: M-x

Re: [O] Bug: org-columns adds spaces [8.3beta (release_8.3beta-1286-g20795f @ /home/youngfrog/sources/org-mode/lisp/)]

2015-07-13 Thread Nicolas Richard
Nicolas Richard youngf...@members.fsf.org writes: The buffer is still marked unmodified but there are five space characters at the end of the headline. (and this will later confuse org element cache which thus give errors, but I guess that's to be expected.) Meanwhile I had a look and it's

[O] Bug: table example in the manual doesn't export [8.3beta (release_8.3beta-1216-gb856f6 @ /home/youngfrog/sources/org-mode/lisp/)]

2015-07-02 Thread Nicolas Richard
In (info (org) Column groups) There's an example: --8---cut here---start-8--- | N | N^2 | N^3 | N^4 | sqrt(n) | sqrt[4](N) | |---+-+-+-+-+| | / || ||| | | 1 | 1 | 1 | 1 |

Re: [O] bisected

2015-04-30 Thread Nicolas Richard
Gregor Zattler telegr...@gmx.net writes: First bad commit is: bad0409c3b86e09c4559e97d5f394356c6ccbe7f Nice hash for a bad commit :) This results in a startup error: Debugger entered--Lisp error: (void-variable write-back) Is it related to your initial problem ? I think this specific

Re: [O] bisected

2015-04-30 Thread Nicolas Richard
Gregor Zattler telegr...@gmx.net writes: Sorry, no: From Bastien's comment, I wonder : does the following patch helps ? --- /dev/fd/63 2015-04-30 13:44:20.900676564 +0200 +++ /tmp/org-src.el 2015-04-30 13:43:50.924673810 +0200 @@ -539,35 +539,36 @@ - When formatting a source code snippet

Re: [O] FR: Fontify links even when in comments

2015-02-24 Thread Nicolas Richard
mean let the usual (interactive) commands pretend we're not in a comment. If Org is to adopt such a variable, it could fontify according to what the interactive commands will do. Would that be acceptable ? It could be made a minor mode. -- Nicolas Richard.

Re: [O] FR: Fontify links even when in comments

2015-02-24 Thread Nicolas Richard
Le 24/02/2015 15:37, Nicolas Goaziou a écrit : Nicolas Richard theonewiththeevill...@yahoo.fr writes: In AUCTeX, it is mainly about filling and indentation, but in Org it could mean let the usual (interactive) commands pretend we're not in a comment. If Org is to adopt such a variable

[O] bug#19887: 24.4; Cannot kill buffer; Wrong type argument: overlayp, nil

2015-02-20 Thread Nicolas Richard
no longer be found nor deleted. --8---cut here---end---8--- -- Nicolas Richard

Re: [O] org-time-stamp adds repeater where there is none.

2015-02-16 Thread Nicolas Richard
Nicolas Goaziou m...@nicolasgoaziou.fr writes: 2015-02-13 ven. (10h-13h) Hiting C-c . RET with point on the timestamp gives 2015-02-13 ven. -13h (10h-13h) which is not expected. It should now be fixed. Thanks, works great so far (unlike my own patch, which would fail in some situations).

[O] org-time-stamp adds repeater where there is none.

2015-02-13 Thread Nicolas Richard
Consider the following line: 2015-02-13 ven. (10h-13h) Hiting C-c . RET with point on the timestamp gives 2015-02-13 ven. -13h (10h-13h) which is not expected. Please consider the patch below From 688851438f363eaa86dcfe2acfb779d6c22adc16 Mon Sep 17 00:00:00 2001 From: Nicolas Richard

Re: [O] bug: isearch puts ellipses at top of window

2015-01-17 Thread Nicolas Richard
-mode/lisp ~/tmp/bug-isearch.org -- Nicolas Richard

Re: [O] bug: isearch puts ellipses at top of window

2015-01-17 Thread Nicolas Richard
Nicolas Richard theonewiththeevill...@yahoo.fr writes: Nicolas Goaziou m...@nicolasgoaziou.fr writes: FWIW, I cannot reproduce it. I retried and reproduced it with emacs -Q -g 80x24+0+0 -L ~/sourcetrees/org-mode/lisp ~/tmp/bug-isearch.org Oops, my message went gone faster than I expected

Re: [O] Getting beginning postiion of a description list

2015-01-15 Thread Nicolas Richard
-property :bullet element)) (org-element-property :begin element)) Probably one could use the list API directly (from org-list.el) too. -- Nicolas Richard

Re: [O] Args out of range: #buffer test.org, 0, 1

2015-01-13 Thread Nicolas Richard
Hello, Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org writes: I tried to edebug the function `org-babel-demarcate-block' and the error arises quite at the beginning: on the `match-string 0', on the second line of the `let*'. The error means we tried to access portions

Re: [O] Args out of range: #buffer test.org, 0, 1

2015-01-13 Thread Nicolas Richard
Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org writes: This still leaves me with one question: how do we reproduce the problem? What's the trigger for it? Mostly luck. i.e. you need to have called a function that callled string-match on a string, with a regexp containing

Re: [O] spreadsheet: empty field should be an empty field.

2014-09-16 Thread Nicolas Richard
-12/msg00983.html Yes, and I already documented the OP use case in the second example here: http://orgmode.org/manual/Formula-syntax-for-Calc.html This is something I tend to forget (and usually work around with some lisp). Thanks for the reminder. -- Nicolas Richard

Re: [O] How to represent this in Org-mode

2014-08-27 Thread Nicolas Richard
Hi Marcin, Marcin Borkowski mb...@wmi.amu.edu.pl writes: How to represent such a partially ordered set in Org-mode? One idea that comes to my mind is writing a normal outline (tree) with all the modules (possibly nested), and including links to all prerequisites in every such module. Any

[O] invalid property drawer and C-c C-x p

2014-08-25 Thread Nicolas Richard
-mode) (insert * foo\n:PROPERTIES:\n:BAR: \n\n bal) (org-set-property nil nil)) -- Nicolas Richard

Re: [O] [Bulk] Re: invalid property drawer and C-c C-x p

2014-08-25 Thread Nicolas Richard
Le 25/08/2014 15:38, Nicolas Goaziou a écrit : AFAICT, a similar mechanism is already implemented in master. Oh great, sorry for the noise then ! -- Nicolas.

Re: [O] [RFC] [PATCH] ox-latex: support :float no with caption for minted listings

2014-08-24 Thread Nicolas Richard
Aaron Ecay aarone...@gmail.com writes: With your patch, when encountering the combination above, the export back-end will introduce a captionof command, which requires loading caption package with a specific option (i.e., compatibility=false). Why is the compatibility=false option needed? I

Re: [O] org-element-at-point fails in programming-modes

2014-08-22 Thread Nicolas Richard
Thorsten Jolitz tjol...@gmail.com writes: Maybe they switched to the new parser between versions, that parses a src-block with :post-blank's, but does not take them into account when interpreting? I tried an experiment : (defun org-mode (rest _) t) and refresh. The newlines didn't come back

Re: [O] org-element-at-point fails in programming-modes

2014-08-22 Thread Nicolas Richard
Nicolas Richard theonewiththeevill...@yahoo.fr writes: I would like to blame (mm-uu-dissect) but I didn't look into it. I now blame (mm-uu-dissect). The following patch fixes it, but that part of the code must be there for a reason... and I don't know what it is. Modified lisp/gnus/mm

Re: [O] org-element-at-point fails in programming-modes

2014-08-21 Thread Nicolas Richard
Nick Dokos ndo...@gmail.com writes: One machine is running Gnus v. 5.13: that one smooshes the code blocks together. The other is running Ma Gnus v. 0.12: that one leaves empty lines between blocks. Do they both fontify blocks ? -- Nico.

Re: [O] org-element-at-point fails in programming-modes

2014-08-20 Thread Nicolas Richard
Although Org functions are of course made only for working in org-mode and its a bit hard to see at first sight how this could be useful, I wonder if the regexps could be made a bit more general to make `org-element-at-point' work in programming modes too (most likely this behaviour is caused

Re: [O] org-element-at-point fails in programming-modes

2014-08-20 Thread Nicolas Richard
Thorsten Jolitz tjol...@gmail.com writes: Am I the only one seeing this? Bug in gnus/message mode? I also see the problem. I suspect that it happens when Gnus fontifies the blocks. Doing C-u g shows that the source of the message is correct (i.e. has the newlines). -- Nico.

Re: [O] How to represent this in Org-mode

2014-08-14 Thread Nicolas Richard
Marcin Borkowski mb...@wmi.amu.edu.pl writes: Hello, now that I learned how to use a hammer, everything looks like a nail. So I want to use Org-mode for this; my question is, did anyone do anything similar and has some suggestions how to structure this material? I did not do it, but still

Re: [O] shorcut for #+BEGIN_xxx ... #+END_xxx

2014-08-14 Thread Nicolas Richard
Joseph Vidal-Rosset joseph.vidal.ros...@gmail.com writes: I know that there is s TAB for source , l TAB for latex and so on, but it would maybe be useful to choice the environment, like with C-e in LateX + auctex, or like with C { with CD latex. See:

Re: [O] bug: isearch puts ellipses at top of window

2014-08-05 Thread Nicolas Richard
Nicolas Richard theonewiththeevill...@yahoo.fr writes: Samuel Wales samolog...@gmail.com writes: in maint, isearch very often puts ... at the top of the window. is this related to recent ellipsis bugs? If you have a reproducible recipe, it would be very nice ! I think I have something

Re: [O] Bug: [PATCH] Make org-narrow-to-subtree usable out of Org mode [8.2.7b (release_8.2.7b-6-g07d470 @ /home/youngfrog/sourcetrees/org-mode/lisp/)]

2014-07-31 Thread Nicolas Richard
Thorsten Jolitz tjol...@gmail.com writes: Nicolas Richard theonewiththeevill...@yahoo.fr writes: Thanks for the URL. The description looks great but why not patch outline.el instead of making it an external library ? Is there an incompatibility ? Well, outshine merges quite old extension

Re: [O] define a new export backend

2014-07-31 Thread Nicolas Richard
Thorsten Jolitz tjol...@gmail.com writes: Shiyuan gshy2...@gmail.com writes: (org-export-define-derived-backend 'my-html-enlish 'html :traslate-alist '((bold . my-org-html-english-bold)) :translate-alist ? Perhaps org-export-define-derived-backend could do a sanity check that all keywords

Re: [O] define a new export backend

2014-07-31 Thread Nicolas Richard
: Nicolas Richard theonewiththeevill...@yahoo.fr Date: Thu, 31 Jul 2014 10:48:54 +0200 Subject: [PATCH] Signal an error if keyword is unknown while defining backends * lisp/ox.el (org-export-define-backend): (org-export-define-derived-backend): Signal an error if keyword is unknown --- lisp/ox.el

Re: [O] Bug: [PATCH] Make org-narrow-to-subtree usable out of Org mode [8.2.7b (release_8.2.7b-6-g07d470 @ /home/youngfrog/sourcetrees/org-mode/lisp/)]

2014-07-30 Thread Nicolas Richard
Hello Bastien, Bastien b...@gnu.org writes: I think it's fine to bind `org-narrow-to-subtree' in narrow-map. It's basically to enjoy the `C-x n prefix', which is natural here. I agree, but it is not compatible with keeping it only for org-mode buffers while using something else for some other

Re: [O] Bug: [PATCH] Make org-narrow-to-subtree usable out of Org mode [8.2.7b (release_8.2.7b-6-g07d470 @ /home/youngfrog/sourcetrees/org-mode/lisp/)]

2014-07-30 Thread Nicolas Richard
Thorsten Jolitz tjol...@gmail.com writes: Nicolas Richard theonewiththeevill...@yahoo.fr writes: I think backporting narrow-to-subtree to outline is a very good move. (Other things would be cool in outline, e.g. why does it not have outline-cycle ? But that's a longer story, I guess

Re: [O] Where is the git master branch?

2014-07-30 Thread Nicolas Richard
Sharon Kimble boudic...@skimble.plus.com writes: If git clone git://orgmode.org/org-mode.git gets the development branch of org-mode, what is the git command to get the master branch please? I've been looking on http://orgmode.org/ but can't see any reference for it. The 'master' branch is

Re: [O] org-envolve?

2014-07-29 Thread Nicolas Richard
David Arroyo Menendez davi...@gnu.org writes: Yes, I have some ítems mapcar defun apply cons Then I mark the region of this ítems, apply the function and obtain: + [ ] mapcar + [ ] defun + [ ] apply + [ ] cons FWIW, I use rectangular insertion for this : 1. select region (mark on the

Re: [O] What is the best in-Emacs presentation mode for org-files today?

2014-07-29 Thread Nicolas Richard
Thorsten Jolitz tjol...@gmail.com writes: John Kitchin jkitc...@andrew.cmu.edu writes: Hi John, I agree with org-mode. Check out https://www.youtube.com/watch?v=JZ8RK-R9O_g, which is an illustration of some code I adapted from Sacha Chua. At the top of

Re: [O] bug: isearch puts ellipses at top of window

2014-07-29 Thread Nicolas Richard
Samuel Wales samolog...@gmail.com writes: in maint, isearch very often puts ... at the top of the window. is this related to recent ellipsis bugs? If you have a reproducible recipe, it would be very nice ! TIA, -- Nico.

Re: [O] Bug: [PATCH] Make org-narrow-to-subtree usable out of Org mode [8.2.7b (release_8.2.7b-6-g07d470 @ /home/youngfrog/sourcetrees/org-mode/lisp/)]

2014-07-24 Thread Nicolas Richard
Nicolas Goaziou m...@nicolasgoaziou.fr writes: `org-narrow-to-subtree' is an Org function. I don't think it should bother about non Org mode buffers. It's an Org function that grafts itself to narrow-map, which is globally available. I think it should try to have at least a sensible error

Re: [O] Bug: [PATCH] Make org-narrow-to-subtree usable out of Org mode [8.2.7b (release_8.2.7b-6-g07d470 @ /home/youngfrog/sourcetrees/org-mode/lisp/)]

2014-07-24 Thread Nicolas Richard
Nicolas Goaziou m...@nicolasgoaziou.fr writes: Nicolas Richard theonewiththeevill...@yahoo.fr writes: I think it should try to have at least a sensible error message. The current Before first headline isn't quite clear (my patch doesn't address this, btw). Not in an Org mode buffer could

[O] Bug: [PATCH] Make org-narrow-to-subtree usable out of Org mode [8.2.7b (release_8.2.7b-6-g07d470 @ /home/youngfrog/sourcetrees/org-mode/lisp/)]

2014-07-22 Thread Nicolas Richard
be rather harmless since it only affects non-Org buffers (and might have the nice side effect of allowing other commands to run in those buffers -- but I haven't checked.) From 70ccd90f98d07762d7ae228d67c387d674a69cee Mon Sep 17 00:00:00 2001 From: Nicolas Richard theonewiththeevill...@yahoo.fr Date: Tue

Re: [O] Emacs with Org 8?

2014-07-17 Thread Nicolas Richard
SabreWolfy sabrewo...@gmail.com writes: The latest stable release of Emacs is 24.3.1, which does not contain Org version 8? Therefore, using Org 8 requires (manual) installation? I am using a modified version of Emacs on Mac, with ESS and other packages pre-installed. This version has Org

Re: [O] Should C-c C-c always jump between a footnote and its definition? C-c C-x f, too?

2014-06-21 Thread Nicolas Richard
Grant Rettke g...@wisdomandwonder.com writes: On Fri, Jun 20, 2014 at 5:13 PM, Nicolas Goaziou m...@nicolasgoaziou.fr wrote: I cannot reproduce it, neither on maint nor on master. Each time, cursor ends up on line 3898. Understood. Thank you much for trying. I will convert the document

Re: [O] [OT] OrgMode Webpage has broken link:

2014-06-20 Thread Nicolas Richard
briangpowell . briangpowel...@gmail.com writes: http://orgmode.org/ - http://orgmode.org/worg/org-papers.html - http://orgmode.org/org-mode-documentation.html - 404 Not Found And Bastien fixed it within 5 mins of the report. Impressive. -- Nico.

Re: [O] navigation broken in recent maint

2014-06-19 Thread Nicolas Richard
Samuel Wales samolog...@gmail.com writes: quick and dirty bug report. recent org maint. I use the following patch to fix most navigation problems I encountered. I think it will fix yours too. more details on what the problem actually is can be found at

[O] bug#17724: 24.4.50; regression: error `recenter'ing a window that does not display current-buffer. when opening org-mode file

2014-06-19 Thread Nicolas Richard
Gregor Zattler g...@gmx.de writes: like so: $ cd ~/src/emacs/; rm -rf * ; git co -f emacs-24 Checking out files: 100% (3525/3525), done. Previous HEAD position was 0f0917d... Regenerate AUTHORS and ldefs-boot.el Switched to branch 'emacs-24' (Here I am assuming emacs-24 is still checked

[O] bug#17724: 24.4.50; regression: error `recenter'ing a window that does not display current-buffer. when opening org-mode file

2014-06-19 Thread Nicolas Richard
Gregor Zattler telegr...@gmx.net writes: s$ git branch -a --contains HEAD * emacs-24 master remotes/origin/HEAD - origin/master remotes/origin/master remotes/origin/trunk So indeed your local emacs-24 branch points in fact to a commit from trunk. I think running those commands should fix

Re: [O] [bug?] Tramp tries to open remote file links

2014-06-18 Thread Nicolas Richard
Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org writes: Hello, When I just open an Org file that has a link to a remote file, Tramp tries to open it, leading to errors and timeouts when offline, at least. It doesn't happen to me. I tried emacs -Q path/to/test.org and the

Re: [O] [bug?] Tramp tries to open remote file links

2014-06-18 Thread Nicolas Richard
Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org writes: ... lots of contents... org-mode() This means that org-mode calls things which in the end calls tramp-maybe-open-connection. But what something is is in the lots of contents part that you didn't show.

Re: [O] [bug?] Tramp tries to open remote file links

2014-06-18 Thread Nicolas Richard
Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org With it, the problem occurs; without, it does not. Also note that this is a problem in master only ; maint has an older version of org-display-inline-images which doesn't use org-element. Though, is it normal to try to open a

Re: [O] navigation broken - occur, org-babel-goto-named-src-block, etc fail

2014-06-15 Thread Nicolas Richard
Charles Berry ccbe...@ucsd.edu writes: Start with emacs -q, then load today's org-mode. A glitch in 30220ff was quickly fixed in feca87b (three hours ago). Maybe that's what you see ? Org-mode version 8.2.7 (release_8.2.7-1096-g23496c [...] GNU Emacs 24.3.1 [...] I don't have a commit

Re: [O] navigation broken - occur, org-babel-goto-named-src-block, etc fail

2014-06-15 Thread Nicolas Richard
Nicolas Richard theonewiththeevill...@yahoo.fr writes: A glitch in 30220ff was quickly fixed in feca87b (three hours ago). I meant three hours later. -- Nico.

Re: [O] navigation broken - occur, org-babel-goto-named-src-block, etc fail

2014-06-15 Thread Nicolas Richard
Hello Charles, Charles C. Berry ccbe...@ucsd.edu writes: On Sun, 15 Jun 2014, Nicolas Richard wrote: Charles Berry ccbe...@ucsd.edu writes: Start with emacs -q, then load today's org-mode. A glitch in 30220ff was quickly fixed in feca87b (three hours ago). Maybe that's what you see

[O] bug#17746: bug#17746: 24.4.50; byte-code: `recenter'ing a window that does not display current-buffer. when composing a message

2014-06-13 Thread Nicolas Richard
Bastien b...@gnu.org writes: I've now fixed this in the maint and master branch of Org's repository. Thanks for looking into it. Perhaps this isn't the right place to ask, but I wonder how (save-excursion (set-window-start (selected-window) (window-start))) isn't a noop. -- Nico.

[O] bug#17746: bug#17746: 24.4.50; byte-code: `recenter'ing a window that does not display current-buffer. when composing a message

2014-06-12 Thread Nicolas Richard
Daimrod daim...@gmail.com writes: PS: The change about throwing an error when recentering a window that does not display the current buffer breaks ~37 tests in Org master branch, even with this fix. I need to digg this further. Err, what's the rational behind this change? It is meant to

[O] bug#17746: 24.4.50; byte-code: `recenter'ing a window that does not display current-buffer. when composing a message

2014-06-11 Thread Nicolas Richard
Bastien b...@altern.org writes: PS: The change about throwing an error when recentering a window that does not display the current buffer breaks ~37 tests in Org master branch, even with this fix. I need to digg this further. For me, fixing also org-fix-ellipsis-at-bol made all tests run as

[O] bug#17746: 24.4.50; byte-code: `recenter'ing a window that does not display current-buffer. when composing a message

2014-06-11 Thread Nicolas Richard
Bastien b...@altern.org writes: Nicolas Richard theonewiththeevill...@yahoo.fr writes: Bastien b...@altern.org writes: PS: The change about throwing an error when recentering a window that does not display the current buffer breaks ~37 tests in Org master branch, even with this fix. I need

[O] bug#17724: 24.4.50; regression: error `recenter'ing a window that does not display current-buffer. when opening org-mode file

2014-06-10 Thread Nicolas Richard
Eli Zaretskii e...@gnu.org writes: From: Nicolas Richard theonewiththeevill...@yahoo.fr Date: Mon, 09 Jun 2014 22:53:47 +0200 Cc: 17...@debbugs.gnu.org, Gregor Zattler g...@gmx.de FWIW, there was a call to recenter which was removed recently (less than four weeks ago -- see http

[O] bug#17724: 24.4.50; regression: error `recenter'ing a window that does not display current-buffer. when opening org-mode file

2014-06-09 Thread Nicolas Richard
Bastien b...@altern.org writes: Glenn Morris r...@gnu.org writes: Eli Zaretskii wrote: Bastien, could you please look into this? This is like forwarding every Emacs bug to Stefan. I suggest instead reassigning the bug to org-mode (or emacs,org-mode), then simply posting a reply in the

[O] how to use :options-alist in org-export-define-derived-backend ?

2014-06-02 Thread Nicolas Richard
Hello, I'm trying to play with the exporter but I'd like my back-end to have no toc by default. I tried (org-export-define-derived-backend 'mytest 'html :translate-alist ;; don't use the template, concentrate on the toc. (list (cons 'template (lambda (a _) a))) :options-alist

Re: [O] Bug: TAB cycling and narrowing to subtree [8.2.6 (release_8.2.6-903-ga1b4d9 @ /home/youngfrog/sources/org-mode/lisp/)]

2014-05-23 Thread Nicolas Richard
Hello Bastien, Bastien b...@gnu.org writes: Nicolas Richard theonewiththeevill...@yahoo.fr writes: If, instead, you first hit TAB (to open the subtree), then narrow to subtree and hit TAB again to fold, you get * love is followed by org-ellipsis followed by 'd' on the same line. The 'd

[O] Bug: Activating org-mode in any buffer recenters (unrelated) selected window. [8.2.6 (release_8.2.6-6-gfc37d1 @ /home/youngfrog/sourcetrees/org-mode/lisp/)]

2014-05-14 Thread Nicolas Richard
The function `org-overview' calls `recenter' without checking if the current buffer is actually in the currently selected window. Moreover, turning on org-mode calls `org-overview' (I guess depending on the configuration). IOW, turning on org-mode programmatically (e.g. via find-file-noselect)

Re: [O] [BUG] Symbol's function definition is void: function-put

2014-05-09 Thread Nicolas Richard
Sharon Kimble boudic...@skimble.plus.com writes: I eventually tracked it down to lines 2248 and 2284 of org-loaddefs.el this is line 2248 ╭ │(function-put 'org-export-to-buffer 'lisp-indent-function '2) ╰ It apparently comes from making Org with trunk and then using it with

[O] Bug: TAB cycling and narrowing to subtree [8.2.6 (release_8.2.6-903-ga1b4d9 @ /home/youngfrog/sources/org-mode/lisp/)]

2014-04-30 Thread Nicolas Richard
Hi, With the following file named /tmp/test.org #+BEGIN_SRC org ,* love is all you need ,* in the air #+END_SRC Run : emacs -q -L /path/to/org/lisp/ -l org /tmp/test.org -f org-version I get: : Org-mode version 8.2.6 (release_8.2.6-6-gfc37d1 @ /path/to/org/lisp/) then narrow to subtree C-x

Re: [O] how to get org-version using emacs batch mode.

2014-04-23 Thread Nicolas Richard
Supriya Sawant sp.sawan...@gmail.com writes: Is it possible to redirect or get the output of batch mode command in variable. Assuming you use bash : $ MYOUTPUT=$(emacs --batch --eval '(princ (org-version))') $ echo $MYOUTPUT 8.2.5c -- Nico.

Re: [O] org-open-file with xdg-open not working?

2014-04-22 Thread Nicolas Richard
Eric Abrahamsen e...@ericabrahamsen.net writes: Presumably that's because the gnus version (eventually `mm-display-external') calls xdg-open with `call-process' and org does it with `start-process-shell-command'. The first is synchronous, the second asynchronous, and I do remember seeing

Re: [O] [RFC] Sloppy `org-element-context'?

2014-04-19 Thread Nicolas Richard
Bastien b...@gnu.org writes: I don't think `org-element-context' should be sloppy *at all*. Hope this all makes sense -- let me know what you think. It makes sense to me, and I agree with you : org element should not parse the syntax differently just because e.g. we put a link in a comment and

Re: [O] The Org Package

2014-04-13 Thread Nicolas Richard
Achim Gratz strom...@nexgo.de writes: 1. Most modern Emacs have Org pre-installed. 2. Unfortunately, that Org is not up-to-date (24.3 has 7.9.3f). 3. Therefore, installing the latest Org package seems natural. The pitfall here is that you _must_ do the first install of the Org package from

Re: [O] Possible regexp bug in org.el

2014-04-01 Thread Nicolas Richard
Thorsten Jolitz tjol...@gmail.com writes: here is a possible regexp bug in org.el I discovered by accident: ,- | 7734: (and (not (looking-back ^\*+)) `- It's almost certainly a typo, but it

Re: [O] Propagating Workflow States

2014-03-31 Thread Nicolas Richard
Esben Stien b...@esben-stien.name writes: Any way to disable this?; it should start with TODO. If I'm reading the docstring correctly, try C-u C-S-RET HTH, -- Nico.

Re: [O] Propagating Workflow States

2014-03-31 Thread Nicolas Richard
Esben Stien b...@esben-stien.name writes: C-S-RET returns: C-j runs the command org-return-indent, which is an interactive compiled Lisp function in `org.el'. Ah you're using non-GUI emacs. That's ok, just use C-u (that is called a prefix argument) before whatever key chord you hit to do

Re: [O] preview and default class [8.2.5h (release_8.2.5h-677-g55b0a3 @ /home/youngfrog/sourcetrees/org-mode/lisp/)]

2014-03-23 Thread Nicolas Richard
Bastien b...@gnu.org writes: It worked from the diff. I applied your patch with git apply, then went to the modified file, then C-x v =, then hit `n' to go to the next change and `C-x 4 a' to create the Changelog. Thanks, I'll try again and hopefully find out what's wrong with what I did.

Re: [O] preview and default class [8.2.5h (release_8.2.5h-677-g55b0a3 @ /home/youngfrog/sourcetrees/org-mode/lisp/)]

2014-03-22 Thread Nicolas Richard
this to magit maintainers if this is true. In this case it seems that nothing was better than doing what C-x 4 a did, so I didn't check further. Here's the new patch : From cf5246c5f44fe637cb2000cf92b2f47499d7b8d2 Mon Sep 17 00:00:00 2001 From: Nicolas Richard theonewiththeevill...@yahoo.fr Date: Thu

Re: [O] Bug: \uline produced inside \section in latex export [8.2.5h (8.2.5h-30-gdd810b-elpa @ /home/user/.emacs.d/elpa/org-20140303/)]

2014-03-22 Thread Nicolas Richard
Nicolas Goaziou n.goaz...@gmail.com writes: It is technically possible to use \underline (hard-coded) in sections and \uline (or whatever is defined in`org-latex-text-markup-alist') everywhere else. Is there any downside to this proposal? Disclaimer : While I do use LaTeX, I rarely use the

Re: [O] preview and default class [8.2.5h (release_8.2.5h-677-g55b0a3 @ /home/youngfrog/sourcetrees/org-mode/lisp/)]

2014-03-22 Thread Nicolas Richard
Bastien b...@gnu.org writes: Thanks, applied on master, with a slight change in the Changelog entry. Ok thanks. For my information, did C-x 4 a work for you in adding the section name or did you add it manually ? -- Nico.

Re: [O] preview and default class [8.2.5h (release_8.2.5h-677-g55b0a3 @ /home/youngfrog/sourcetrees/org-mode/lisp/)]

2014-03-20 Thread Nicolas Richard
Le 20/03/2014 11:55, Bastien a écrit : Hi Nicolas, Nicolas Richard theonewiththeevill...@yahoo.fr writes: Here's a patch. I can commit it if you like, but I don't want to do so without some review (it's not as trivial a change as moving the corresponding footnote to the other section

Re: [O] preview and default class [8.2.5h (release_8.2.5h-677-g55b0a3 @ /home/youngfrog/sourcetrees/org-mode/lisp/)]

2014-03-19 Thread Nicolas Richard
not as trivial a change as moving the corresponding footnote to the other section). From 4b431a0fc2a4df7cecd8b6649227415ed86e7f7c Mon Sep 17 00:00:00 2001 From: Nicolas Richard theonewiththeevill...@yahoo.fr Date: Wed, 19 Mar 2014 23:13:39 +0100 Subject: [PATCH] Keep documentation on Previewing

Re: [O] Bug: org-element-parse-buffer doesn't work in 8.2.5h [8.2.5h (8.2.5h-30-gdd810b-elpa @ /home/sindikat/.emacs.d/elpa/org-20140303/)]

2014-03-14 Thread Nicolas Richard
sindi...@mail36.net (sindi...@mail36.net) writes: It was reproduced on clean Emacs by running `emacs -Q' and issuing: (let ((package-load-list '((org t (package-initialize)) Could you show us the output of M-x org-version in that emacs -Q session ? Could you also try M-x org-reload

Re: [O] Remove redundant tags of headlines

2014-03-14 Thread Nicolas Richard
Sebastien Vauban sva-news-D0wtAvR13HarG/idocf...@public.gmane.org I tried Edebugging it, but Edebug does not jump into the execution of the anonymous function... edebug can only jump to the anonymous function if it knows that it is a function, which means : don't quote the lambda (or quote

Re: [O] M-: (org-display-outline-path) doesn't work correctly

2014-03-13 Thread Nicolas Richard
Thorsten Jolitz tjol...@gmail.com writes: Ok, I see ... that seems to be a common pattern in Org-mode to make functions behave differently if called (non-)interactively, that sometimes causes confusion when using M-: instead of M-x. Note that using M-: will always hide any (message foo) might

Re: [O] M-: (org-display-outline-path) doesn't work correctly

2014-03-13 Thread Nicolas Richard
Thorsten Jolitz tjol...@gmail.com writes: only that promptly another message is shown (I can't use sit-for in the program): sit-for was just to demonstrate the problem introduced solely by M-:. That problem is not present when using interactive commands (i.e. those a user can actually use), and

[O] preview and default class [8.2.5h (release_8.2.5h-677-g55b0a3 @ /home/youngfrog/sourcetrees/org-mode/lisp/)]

2014-03-06 Thread Nicolas Richard
in (info (org) LaTeX fragments) in a footnote, but I think the variable must be found in the Previewing section too. Here's a patch to do it, but maybe the whole footnote should be moved to the Previewing section instead ? From: Nicolas Richard theonewiththeevill...@yahoo.fr Date: Thu, 6 Mar 2014 13

Re: [O] org-element-context doesn't parse consistently link with spaces

2014-03-05 Thread Nicolas Richard
its arguments, and has an interactive spec which sets the argument. If you're interested I can do that. From: Nicolas Richard theonewiththeevill...@yahoo.fr Date: Wed, 5 Mar 2014 16:38:58 +0100 Subject: [PATCH] org.el (org-version): mention that HERE is ignored in non-interactive uses. --- lisp

[O] Bug: [patch] also tangle headlines that begin with lower case string comment [8.2.5h (release_8.2.5h-680-g12df70 @ /home/youngfrog/sources/org-mode/lisp/)]

2014-03-05 Thread Nicolas Richard
(not (org-element-property :commentedp elt))) (setq elt (and (org-up-heading-safe) (org-element-at-point elt #+end_src byt I'm not sure it is very pretty. Opinions ? Anyway, here's the quicker fix : From: Nicolas Richard

[O] Bug: add elisp to org-babel-tangle-lang-exts to support elisp source blocks [8.2.5h (release_8.2.5h-680-g12df70 @ /home/youngfrog/sources/org-mode/lisp/)]

2014-03-05 Thread Nicolas Richard
Hello, elisp (vs emacs-lisp) code blocks are supported via an entry org-src-lang-modes but not in org-babel-tangle-lang-exts. The patch below is to fix that. From: Nicolas Richard theonewiththeevill...@yahoo.fr Date: Wed, 5 Mar 2014 16:49:30 +0100 Subject: [PATCH] lisp/ob-tangle.el: elisp

Re: [O] org-element-context doesn't parse consistently link with spaces

2014-03-05 Thread Nicolas Richard
Bastien b...@gnu.org writes: Hi Nicolas, Nicolas Richard theonewiththeevill...@yahoo.fr writes: OTOH, I find it a bad idea that some arguments are ignored in non-interactive uses, it'd be better to have a function which fully obeys its arguments, and has an interactive spec which sets

Re: [O] Bug: [patch] also tangle headlines that begin with lower case string comment [8.2.5h (release_8.2.5h-680-g12df70 @ /home/youngfrog/sources/org-mode/lisp/)]

2014-03-05 Thread Nicolas Richard
Hi Nicolas, Nicolas Goaziou n.goaz...@gmail.com writes: Of course, `org-element-at-point' can parse headlines, but if speed is a factor, since headline syntax is not context-dependent, it is often worth considering using regexps. I don't know if speed is terribly important here, but since my

Re: [O] Bug: [patch] also tangle headlines that begin with lower case string comment [8.2.5h (release_8.2.5h-680-g12df70 @ /home/youngfrog/sources/org-mode/lisp/)]

2014-03-05 Thread Nicolas Richard
Hi Nicolas, Nicolas Goaziou n.goaz...@gmail.com writes: Of course, `org-element-at-point' can parse headlines, but if speed is a factor, since headline syntax is not context-dependent, it is often worth considering using regexps. I don't know if speed is terribly important here, but since my

Re: [O] Bug: open date in SCHEDULED: lines [8.2.5h (release_8.2.5h-662-ge4a955 @ /home/youngfrog/sourcetrees/org-mode/lisp/)]

2014-02-26 Thread Nicolas Richard
Le 25/02/2014 17:52, Nicolas Goaziou a écrit : Nicolas Richard theonewiththeevill...@yahoo.fr writes: Starting with fc9ce86cfc1ecf7e86028027a12875a26500e774, hitting C-c C-o on a timestamp in a SCHEDULED: line doesn't work anymore (No link found). I expected it to open the agenda like it does

Re: [O] [ANN] Lazy cache synchronization

2014-02-26 Thread Nicolas Richard
Nicolas Goaziou n.goaz...@gmail.com writes: Now, synchronization happens lazily, which means the cache is only updated when and where needed, or during idle time. Therefore the cache mechanism scales a lot better. This seems to be an awesome news ! I can hardly believe you manage to find the

[O] Bug: open date in SCHEDULED: lines [8.2.5h (release_8.2.5h-662-ge4a955 @ /home/youngfrog/sourcetrees/org-mode/lisp/)]

2014-02-25 Thread Nicolas Richard
Hiya, Starting with fc9ce86cfc1ecf7e86028027a12875a26500e774, hitting C-c C-o on a timestamp in a SCHEDULED: line doesn't work anymore (No link found). I expected it to open the agenda like it does on other links. Here's a test case: emacs -Q -L lisp/ ~/tmp/test.org -f forward-line -f

Re: [O] for your amusement

2014-02-20 Thread Nicolas Richard
[fu2 gmane.emacs.bbdb.user] Eric Abrahamsen e...@ericabrahamsen.net writes: Incidentally, I'm using `ido-everywhere', and would like to write this function so that it didn't _rely_ on ido, but made use of ido when `ido-everywhere' was true. Ie, I'd like to replace the `ido-completing-read'

Re: [O] for your amusement

2014-02-20 Thread Nicolas Richard
Eric Abrahamsen e...@ericabrahamsen.net writes: Gosh, where did you guys dig this thread up from? :) Oops, I didn't notice the date of your original message. I answered because of Kevin's answer. -- Nico.

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

2014-02-17 Thread Nicolas Richard
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)) might be a little easier to read and type. Explanation is : global-set-key can take any command as argument, and the definition of

[O] renaming of ob-sh to ob-shell

2014-02-01 Thread Nicolas Richard
in org-test (the one mentionned in 87a9et6mzz@gmail.com I guess). From 8351ad5f1b94ba0ca7768a1d765df1248645fbf4 Mon Sep 17 00:00:00 2001 From: Nicolas Richard theonewiththeevill...@yahoo.fr Date: Fri, 31 Jan 2014 17:02:03 +0100 Subject: [PATCH] Renaming of ob-sh to ob-shell: various fixes

  1   2   >