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 within the file. Indeed,

[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
y don't know if I'm doing it wrong 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 added instead of the > ac

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 used for a release unl

Re: [O] Weird Asymptote mode behaviour in org

2015-08-24 Thread Nicolas Richard
the line), but is shouldn't hurt (i.e. you can C-c ', you 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 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 emacsclient. --

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 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 a

[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 white

[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-01 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 |

Re: [O] bisected

2015-04-30 Thread Nicolas Richard
Gregor Zattler 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 for export with

Re: [O] bisected

2015-04-30 Thread Nicolas Richard
Gregor Zattler 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 bug was fixed

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 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

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

2015-02-24 Thread Nicolas Richard
n, 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, it could fontify according to what the interactive commands will do. Would that be acceptable ? It could be made a minor mode. -- Nicolas Richard.

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

2015-02-20 Thread Nicolas Richard
nsequence, overlay in source buffer can 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 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:

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

2015-01-17 Thread Nicolas Richard
Nicolas Richard writes: > Nicolas Goaziou 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, sorry for its brevity! -- Nicolas Richard

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

2015-01-17 Thread Nicolas Richard
gt;> here is the org file to use: >> >> === bug-isearch.org > > 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 -- Nicolas Richard

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

2015-01-15 Thread Nicolas Richard
length (org-element-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: #, 0, 1

2015-01-13 Thread Nicolas Richard
Sebastien Vauban 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 (at least) 4 grouping constructs, and the 4th mat

Re: [O] Args out of range: #, 0, 1

2015-01-13 Thread Nicolas Richard
Hello, Sebastien Vauban 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 from 0 to 1 in a buffer. That doesn't exist. The

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

2014-09-16 Thread Nicolas Richard
gmode/2012-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 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 other ideas? I'

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.

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

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

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

2014-08-23 Thread Nicolas Richard
Aaron Ecay 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 can’t f

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

2014-08-22 Thread Nicolas Richard
Nicolas Richard 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-uu.el diff --gi

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

2014-08-22 Thread Nicolas Richard
Thorsten Jolitz 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 (but fontificat

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

2014-08-21 Thread Nicolas Richard
Nick Dokos 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
Thorsten Jolitz 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] 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 ca

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

2014-08-14 Thread Nicolas Richard
Joseph Vidal-Rosset writes: > I know that there is 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: https://github.com/fniessen/org-auctex-key-bindings/blob/master/org-auctex-keys.el The function org-auckeys-environm

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

2014-08-14 Thread Nicolas Richard
Marcin Borkowski 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 have one sugges

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

2014-08-05 Thread Nicolas Richard
Nicolas Richard writes: > Samuel Wales 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 -- not with isear

Re: [O] define a new export backend

2014-07-31 Thread Nicolas Richard
Nicolas Goaziou writes: > Good idea, as long as `org-export-define-backend' does the same. Oops, I forgot to remove the verbosity (initially I had wrote it as a (warn ...)). Here's an updated patch. >From 117623cec251cd036b601e2481643296cc4e2c37 Mon Sep 17 00:00:00 2001 From:

Re: [O] define a new export backend

2014-07-31 Thread Nicolas Richard
Thorsten Jolitz writes: > Shiyuan 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 are known. use-package does t

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 writes: > Nicolas Richard 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 libraries

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

2014-07-30 Thread Nicolas Richard
Sharon Kimble 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 the development/unstabl

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 writes: > Nicolas Richard 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] 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 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 modes, whic

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

2014-07-29 Thread Nicolas Richard
Samuel Wales 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] how to use :options-alist in org-export-define-derived-backend ?

2014-07-29 Thread Nicolas Richard
Bastien writes: > Nicolas Goaziou writes: >> The benefit is that it becomes less clumsy to get rid of the title, when >> you don't want any. > > You often want a title, you more rarely want no title. > > AFAIU, using an empty #+TITLE: is the way to go right now, > which seems good enough to me.

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

2014-07-29 Thread Nicolas Richard
Thorsten Jolitz writes: > John Kitchin 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 >> https://github.com/jkitchin/jmax/blob/master/org-show.org you ca

Re: [O] org-envolve?

2014-07-29 Thread Nicolas Richard
David Arroyo Menendez 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 fi

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 writes: > Nicolas Richard 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 mod

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 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 message. The current "Bef

[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
ld 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 Date: Tue, 22 Jul 2014 1

Re: [O] Emacs with Org 8?

2014-07-17 Thread Nicolas Richard
SabreWolfy 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 7.9.3 though :( Th

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 writes: > On Fri, Jun 20, 2014 at 5:13 PM, Nicolas Goaziou > 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 to in-line footnotes. You tried with

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

2014-06-20 Thread Nicolas Richard
"briangpowell ." 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.

[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 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 the problem:

[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 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 out.) Cou

Re: [O] navigation broken in recent maint

2014-06-18 Thread Nicolas Richard
Samuel Wales 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 http://permalink.gmane.org/gmane.emacs.orgmode/87598 here's

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

2014-06-18 Thread Nicolas Richard
Sebastien Vauban > 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 remote PDF file while Emacs is > unable of disp

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

2014-06-18 Thread Nicolas Richard
Sebastien Vauban 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. Unfortunately a video isn't very searchable. Still

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

2014-06-18 Thread Nicolas Richard
Sebastien Vauban 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 file opened normally. Grepping, I see that

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

2014-06-15 Thread Nicolas Richard
Hello Charles, "Charles C. Berry" writes: > On Sun, 15 Jun 2014, Nicolas Richard wrote: > >> Charles Berry writes: >> >>> Start with emacs -q, then load today's org-mode. >> >> A glitch in 30220ff was quickly fixed in feca87b (three hou

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

2014-06-15 Thread Nicolas Richard
Nicolas Richard 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
Charles Berry 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 g23496c in my repo,

[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 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 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 catch cases w

[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 writes: > Nicolas Richard writes: > >> Bastien 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

[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 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 expected. --

[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 writes: >> From: Nicolas Richard >> Date: Mon, 09 Jun 2014 22:53:47 +0200 >> Cc: 17...@debbugs.gnu.org, Gregor Zattler >> >> FWIW, there was a call to recenter which was removed recently (less than >> four weeks ago -- see >> http://per

[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 writes: > Glenn Morris 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 normal w

[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 '((:with-

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 writes: > Nicolas Richard 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.

[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) will

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

2014-05-09 Thread Nicolas Richard
Sharon Kimble 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 non-trunk. See Glenn Morris'

[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 n

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

2014-04-23 Thread Nicolas Richard
Supriya Sawant 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 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 something on one of these

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

2014-04-19 Thread Nicolas Richard
Bastien 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 want to o

Re: [O] The Org Package

2014-04-13 Thread Nicolas Richard
Achim Gratz 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 an Emacs t

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

2014-04-01 Thread Nicolas Richard
Thorsten Jolitz 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 introduces no bug b

Re: [O] Propagating Workflow States

2014-03-31 Thread Nicolas Richard
Esben Stien 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 what you described.

Re: [O] Propagating Workflow States

2014-03-31 Thread Nicolas Richard
Esben Stien 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] 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 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. Nico.

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 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] 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 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 exporter, and ne

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
assume magit may be wrong in creating Changelogs. We should report > 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 cf5246c5f44fe637cb2000cf92b2f47

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 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

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
27;t want to do so without some review (it's 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 Date: Wed, 19 Mar 2014 23:13:39 +0100 Subject: [PATCH] Keep document

Re: [O] Remove redundant tags of headlines

2014-03-14 Thread Nicolas Richard
Sebastien Vauban > 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 using #'). I fixed it on worg. (btw, I noticed t

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] M-: (org-display-outline-path) doesn't work correctly

2014-03-13 Thread Nicolas Richard
Thorsten Jolitz 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 no sit-for shou

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

2014-03-13 Thread Nicolas Richard
Thorsten Jolitz 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 have been ca

[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
. It's already mentionned 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 ? Fr

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 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 suggested approac

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 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 suggested approac

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

2014-03-05 Thread Nicolas Richard
Bastien writes: > Hi Nicolas, > > Nicolas Richard 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 wh

[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 Date: Wed, 5 Mar 2014 16:49:30 +0100 Subject: [PATCH] lisp/ob-tangle.el: &quo

[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
(while (and elt (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, he

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

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

Re: [O] [ANN] Lazy cache synchronization

2014-02-26 Thread Nicolas Richard
Nicolas Goaziou 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 time to do this.

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 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 th

[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 forward-l

Re: [O] for your amusement

2014-02-20 Thread Nicolas Richard
Eric Abrahamsen 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] for your amusement

2014-02-20 Thread Nicolas Richard
[fu2 gmane.emacs.bbdb.user] Eric Abrahamsen 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' calls with something m

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 writes: > (global-set-key (kbd "") (lambda () (interactive) (execute-kbd-macro > (kbd "C-c a v" (global-set-key (kbd "") (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 what a "com

  1   2   >