[O] An org-attach link type [7.9.1 (7.9.1-elpa @ /home/youngfrog/.emacs.d/elpa/org-20120903/)]

2012-09-19 Thread Nicolas Richard
Hello there, Some people already have suggested and produced some code (see [1,2]) in order to have an "attach" (or "att", as it was called) link type in org-mode. I never found a org--complete-link function for these links on the net, so I tried to write it for myself. In order to do that, I had

Re: [O] An org-attach link type [7.9.1 (7.9.1-elpa @ /home/youngfrog/.emacs.d/elpa/org-20120903/)]

2012-09-22 Thread Nicolas Richard
Hello Viktor, Thanks for your input. > - I have to load the "cl" module, otherwise the "case" function is > void. Sorry about that. I didn't notice it was from cl. > - I had to replace "find-lisp-find-files" with "directory-files" because > the former does not exist on my Emacs installation.

Re: [O] An org-attach link type [7.9.1 (7.9.1-elpa @ /home/youngfrog/.emacs.d/elpa/org-20120903/)]

2012-09-27 Thread Nicolas Richard
Bastien writes: Hello, > If you feel like adding the attach link type to org-attach.el > please go ahead and provide a patch. Ok, so here it is, in two parts. The first patch (included below) modifies org-attach-file-list to try and make it slightly more customizable : - The DIR argument is ma

Re: [O] An org-attach link type [7.9.1 (7.9.1-elpa @ /home/youngfrog/.emacs.d/elpa/org-20120903/)]

2012-09-27 Thread Nicolas Richard
Bastien writes: > If you feel like adding the attach link type to org-attach.el Second part, which is the actual "attach link" part. -- N. -- 8> -- >From 85f5c10d8d448e56458377f166413f7de6458563 Mon Sep 17 00:00:00 2001 From: "nrichard (geodiff-mac3)" Date: Thu, 27 Sep 2012 17:38:43 +0200 Su

Re: [O] how to insert fraction & integration

2012-09-28 Thread Nicolas Richard
> "bzg" == Bastien writes: bzg> Hi Nick, Nick Dokos writes: >> $$...$$ is plain TeX, not LaTeX, and according to Lamport (p. >> 233), "... does not work properly." See also >> >> http://www.tex.ac.uk/cgi-bin/texfaq2html?label=dolldoll bzg> $$...$$ worked for me fo

[O] [patch] Incorrect result of org-babel-edit-distance

2012-12-06 Thread Nicolas Richard
Hello, (org-babel-edit-distance "foo" "ffoo") returns 0, whereas 1 seems appropriate. I don't know much about computing the levenshtein distance, but it seems that part of the algorithm (which i found explained on fr.wikipedia) is missing from the code. Please find a patch below trying to address

[O] Bug: org-edit-special won't let me edit a latex snippet [7.9.2 (release_7.9.2-808-gd8b328 @ /home/youngfrog/sources/org-mode/lisp/)]

2012-12-21 Thread Nicolas Richard
Hello all, I'm at commit 830e231ef1da5c5a1ab760a6a059551841952610, and notice the following unexpected behaviour. Starting from "emacs -Q -L ~/sources/org-mode/lisp/" : M-x org-mode insert " "user-error: No special environment to edit here" This behaviour was introduced by commit 81d5ebc | * org

Re: [O] Bug: with option hidestars to be hidden stars are on white backround on block terminal [7.9.2 (release_7.9.2-882-gf47a71 @ /home/grfz/src/org-mode/lisp/)]

2012-12-28 Thread Nicolas Richard
Achim Gratz writes: > Am 28.12.2012 14:36, schrieb Gregor Zattler: >> I use option `hidestars' and Emacs/org-mode on a terminal with >> black background. Since a few days the superflous stars are not >> hidden any more but shown on a white background. This makes them >> stand out very much. > >

Re: [O] Bug: with option hidestars to be hidden stars are on white backround on block terminal [7.9.2 (release_7.9.2-882-gf47a71 @ /home/grfz/src/org-mode/lisp/)]

2012-12-28 Thread Nicolas Richard
Achim Gratz writes: > Am 28.12.2012 16:59, schrieb Nicolas Richard: >> I noticed the same kind of problem (outside org-mode). It turns out >> that the special color "unspecified-bg" [1] does not work as expected >> when using it as the foreground color : the text i

[O] [PATCH] Change references to "~/.emacs.d" into `user-emacs-directory' ?

2013-01-09 Thread Nicolas Richard
:00 2001 From: Nicolas Richard Date: Wed, 9 Jan 2013 16:41:12 +0100 * lisp/org-id.el (org-id-locations-file): * contrib/lisp/org-track.el (org-track-directory): * lisp/org-clock.el (org-clock-persist-file): Fix hardcoded reference to "~/.emacs.d". --- contrib/lisp/org-track.el |

[O] [PATCH] org-attach: exchange the docstrings of org-attach-reveal and org-attach-reveal-in-emacs

2013-01-09 Thread Nicolas Richard
Hi again, This is a small very obvious docstring fix. From: "Nicolas Richard" Date: Wed, 12 Dec 2012 19:09:58 +0100 * lisp/org-attach.el (org-attach-reveal, org-attach-reveal-in-emacs): Fix the docstrings. --- lisp/org-attach.el | 6 +++--- 1 file changed, 3 insertions(+), 3

[O] Compare a timestamp with existing agenda entries.

2013-01-14 Thread Nicolas Richard
Hi there, I mainly use org-mode for planning, and one thing I often do is (i) insert a timestamp, and (ii) open the agenda at the given date and see if I had anything planned already. Would anyone have some experience to share with respect to automating step (ii) ? Atm, I'm thinking of writing a

[O] org-unmodified asks to revert buffer if file was modified outside emacs

2013-01-15 Thread Nicolas Richard
we can leave things as they are, but I think we still need to avoid the error produced by 'g' in the blank agenda buffer. Anyway, here's a patch that modifies org-unmodified as proposed above. I noticed, while writing this, that at multiple places, (buffer-modified-p) is manually saved a

Re: [O] How to deal with small projects which are often changing their status/ person

2013-01-22 Thread Nicolas Richard
Thorsten Jolitz writes: > If you/your fellow workers don't use GIT or another VCS, there is still > dropbox - put your project text files in your dropbox folder and share > them with other, there are automatic backups of older versions by > Dropbox. I use one trick which might be of interest to

Re: [O] Yearly repeats on the agenda

2012-05-09 Thread Nicolas Richard
Le Tue, 08 May 2012 16:10:02 +0200, Bastien a écrit : > Nick Dokos writes: > >> Oh, I agree - the removal is certainly desirable. I meant whether the >> non-removal of not-today's date is intentional :-) > > Thinking about this again, I don't see any reason why we should keep any > timestamp in

Re: [O] Yearly repeats on the agenda

2012-05-10 Thread Nicolas Richard
Le Thu, 10 May 2012 08:38:42 +0200, Bastien a écrit : > ** Lecture ><2012-05-08 mar.> > > ** Lecture ><2012-05-15 mar.> > > ** Lecture ><2012-05-22 mar.> Sure that makes sense, but I forgot to say one thing : as the lectures have not yet been given, they do not have a title; thus my

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

[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

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

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.

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

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

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] 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] 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] 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] 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] 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: [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] 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-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] 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] 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] 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] 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] 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] 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] 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-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-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-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] [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

[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] [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] 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] 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] 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] 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] 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] 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] 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] Compare a timestamp with existing agenda entries.

2013-01-25 Thread Nicolas Richard
Bastien writes: > That way, each time I open the calendar, days with > scheduled/deadlined/timestamped entries in rdv.org > are highlighted. Thanks for the hint. > This is not perfect because it does not tell the time > of these appointments -- so I just added a new binding > in the Org read da

[O] Converting csv (with new lines) to org-mode.

2013-01-31 Thread Nicolas Richard
Hello everyone, A csv table can include newlines in its fields, which confuses the csv parser contained in org-table-convert-region. Since I had no time to patch the current implementation of org-table-convert-region, I decided to use an already existing csv parser found in marmalade. You find bel

Re: [O] [ANN] Merge of new export framework on Wednesday

2013-02-09 Thread Nicolas Richard
Nicolas Goaziou writes: > "Sean O'Halpin" writes: >> You would avoid having to add document level keywords such as >> HTML_STYLE and MAN_CLASS_OPTIONS for new exporters. It would be the >> back-end's responsibility to validate and document these options. My >> suggestion is really not so differen

Re: [O] Offer for taking over maintainership

2013-02-14 Thread Nicolas Richard
Jambunathan K writes: > I offer to take over maintainership of Org. What's your point ? Trolling ? If not, why do you ask questions in a way that will upset people ? I think it's ok to focus on the code, and focus on what will make the software better and more efficient for as many people as pos

Re: [O] Reloading uncompiled and testing from several git branches

2013-02-18 Thread Nicolas Richard
François Pinard writes: > Any Makefile which lists dependencies while expecting them to be > satisfied sequentially, one after another, is broken. Make does not > (theoretically) guarantee the order, while in practice, all "make" > programs I know satisfy dependencies from left to right. I can t

[O] bug with timestamp fontification (bisected to b6b509b)

2013-02-27 Thread Nicolas Richard
This is bisected to b6b509b (which 467f7ff claims to fix, and indeed does partially) Reproduce by doing: emacs -q -L /home/youngfrog/sources/org-mode/lisp/ -f org-mode --eval '(insert "<2012-02-27 Wed.>")' => timestamp is not fontified. or instead emacs -q -L /home/youngfrog/sources/org-mode/li

Re: [O] bug with timestamp fontification (bisected to b6b509b)

2013-02-27 Thread Nicolas Richard
Suvayu Ali writes: > On Wed, Feb 27, 2013 at 04:54:54PM +0100, Nicolas Richard wrote: >> emacs -q -L /home/youngfrog/sources/org-mode/lisp/ -f org-mode --eval >> '(insert "<2012-02-27 Wed.>")' > > Are you sure your timestamp has the correct

Re: [O] bug with timestamp fontification (bisected to b6b509b)

2013-02-27 Thread Nicolas Richard
t just once more ? Part of the previous fix was to increase "group number" everywhere, and that has to be reverted. Here is a patch if you prefer : >From 53152a802afe85e856d571867a2c8a36457cf0cd Mon Sep 17 00:00:00 2001 From: Nicolas Richard Date: Wed, 27 Feb 2013 17:55:42 +0100 Subject:

Re: [O] [RFC] Org syntax (draft)

2013-03-08 Thread Nicolas Richard
Nicolas Goaziou writes: > As discussed a few days ago, here is a document describing the complete > Org syntax as read by the parser. I also added some comments. I am going > to put the Org file on Worg, so anyone can update it and fix mistakes. [for the record, the org file mentionned by Nicolas

Re: [O] [RFC] Org syntax (draft)

2013-03-13 Thread Nicolas Richard
words" section (thus rewriting parts of it, because that one goes below the table, unlike other affiliated keywords) or a special section on its own. Thus I'm not changing anything wrt that. >From f97c00bfbd8a14d0b2953ee0e8b6817a2b9f0306 Mon Sep 17 00:00:00 2001 From: Nicolas Richard D

Re: [O] [Out-of-Thread] Re: [RFC] Org syntax (draft)

2013-03-19 Thread Nicolas Richard
Carsten Dominik writes: > Another example is the emphasis stuff. There are no in-buffer > settings for it, and they would be pretty hard to make. An in-buffer way of doing elisp is File Local Variables ; or is that not appropriate ? Maybe the question I'm askign is : why were "#+KEYWORD" lines f

Re: [O] [BUG] ob-sql.el: probably an extra paren

2013-03-21 Thread Nicolas Richard
Bastien writes: > I often have only 10 minutes at hand, make a few trivial changes, and > push. For me, a mandatory pre-push hook running the test suite would > be a useless burden for 50% of my commits. This would irritate me. orgmode.org could run a post-receive hook and report any failure to

Re: [O] Maxima tests fail in devel on OSX

2013-03-25 Thread Nicolas Richard
Neuwirth Erich writes: > I have not changed the configuration of maxima since the last tests I > ran probably a month ago. > > 7 unexpected results: >FAILED ob-maxima/integer-input [...] I have failures too, but I'm not sure if they are related because I *did* update maxima (compiled with EC

Re: [O] Exploring org-element.el with navi-mode

2013-04-15 Thread Nicolas Richard
Thorsten Jolitz writes: > - the Emacs Lisp conventions for headlines: > > ,- > | https://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00266.html > `- Also f

Re: [O] Org-mode documentation within Emacs

2013-04-24 Thread Nicolas Richard
Karl Voit writes: > Is there something wrong with my repos? I don't think so : there should be a file named 'dir' in the doc/ directory which contains a reference to the correct info file (called org, built from org.texi I guess). -- N.

Re: [O] Is it possible to create links to M-x occur results?

2013-05-03 Thread Nicolas Richard
worg... > Go ahead, it is really not that difficult ;). Yeah, let's go ahead indeed. >From db3313e2e88741a4084988bba656530d09ac7356 Mon Sep 17 00:00:00 2001 From: Nicolas Richard Date: Fri, 3 May 2013 14:04:01 +0200 Subject: [PATCH] org-hacks.org: Support for occur: links --- org-hac

Re: [O] unexpected appearance of x^2 in pdf file

2013-05-13 Thread Nicolas Richard
Paul Stansell writes: > Yes, I tried that, but as I understand it I need to > \usepackage{amsmath} to access the latex equation* environment. Usually amsmath is good to have (and Nicolas answered on how to include it), but if you wish to avoid it for some reason, the {displaymath} environment do

Re: [O] How to set C-o back to open-line?

2013-05-17 Thread Nicolas Richard
Andreas Röhler writes: > (defun org-open-line (n) > "Insert a new row in tables, call `open-line' elsewhere. > With \C-u NUMBER `open-line' is called the common way also in table context" > (interactive "*P") > (cond (n > (open-line (prefix-numeric-value n))) > ((org-at-tabl

Re: [O] How to set C-o back to open-line?

2013-05-17 Thread Nicolas Richard
Christopher Allan Webber writes: > Hm, alright. Sadly there seems to be no way to change the key (very > un-emacs like?) That was answered by Nick Dokos ; use : (define-key org-mode-map [remap open-line] nil) (btw, why does org use remap here is a mystery to me) > (setq org-open-line '

Re: [O] lazy command request

2013-06-04 Thread Nicolas Richard
42 147 writes: > So I see precisely where my headline is in the hierarchy. What is the > key combination to produce this information? Very useful, because I hide > stars. My guess is that you have speedkeys enabled, and you hit SPC at beginning of a headline. See (info "(org) Speed keys") -- Ni

[O] Bug: font locking breaks by saying "#+SETUPFILE" in the middle of a line [8.0.3 (release_8.0.3-165-g60ca9e @ /home/youngfrog/sources/org-mode/lisp/)]

2013-06-12 Thread Nicolas Richard
Hi all, Consider the following testing.el #+BEGIN_SRC emacs-lisp (setq inhibit-splash-screen t) (add-to-list 'load-path "~/sources/org-mode/lisp/") (let ((org-agenda-files '("testing.org"))) (org-agenda-list)) #+END_SRC and the following testing.org #+begin_src org ,* Heading On

Re: [O] Bug: [bisected] font locking breaks by saying "#+SETUPFILE" [8.0.3 (release_8.0.3-165-g60ca9e @ /home/youngfrog/sources/org-mode/lisp/)]

2013-06-13 Thread Nicolas Richard
Hi all, First I mention that I forgot to say this was reproducible from -Q. Nicolas Richard writes: > I've had such a line in one of my org file for one year now, and it used > to work fine, but I have to catch my train right now so can't debug > further atm. Maybe this r

[O] [PATCH] * lisp/org.el (org-scan-tags): do not impose a value of case-fold-search on the user

2013-06-21 Thread Nicolas Richard
"eva luator"))) doesn't list Eva Luator in the Contacts buffer, although case-fold-search is set to t for me. I think it's an org-mode bug in fact ; I suggest the following : From: Nicolas Richard Date: Wed, 5 Jun 2013 15:02:37 +0200 --- lisp/org.el | 4 ++-- 1 file changed,

Re: [O] Upgrade to org 8.0

2013-06-21 Thread Nicolas Richard
John Hendy writes: > On Fri, Jun 21, 2013 at 9:38 AM, Suvayu Ali > wrote: >> On Fri, Jun 21, 2013 at 03:43:33AM -0400, Chao Lu wrote: >>> *Before I was using (require 'org-install) to get org code evaluated. Seems >>> org-install is obsolete now, then what should I put in my .emacs to get >>>

[O] Bug: (bisected) org-meta-return makes an error at end of a buffer [8.0.3 (release_8.0.3-239-g269c5f @ /home/youngfrog/sources/org-mode/lisp/)]

2013-06-25 Thread Nicolas Richard
Hello, Evalling (progn (switch-to-buffer "org-test.org") (org-mode) (insert "* good day\n") ; no "\n" implies no error. (setq debug-on-error t) (org-meta-return)) makes an error git bisect says: , | 3c933adaf627bc8a58cfefb62ff0f2d5df640673 is the first bad commit ` That commit

Re: [O] minor mode recentf: show only *.tex and *.org files?!

2013-06-25 Thread Nicolas Richard
AW writes: > I'm using the minor mode recentf to get a list of recently opened files. But > the list is cluttered with files like *.out, *.log and whatever. Variable recentf-exclude is the answer. I have this : (setq recentf-exclude '( "/.emacs.bmk$"

Re: [O] minor mode recentf: show only *.tex and *.org files?!

2013-06-25 Thread Nicolas Richard
Le 25/06/2013 14:30, AW a écrit : > (setq recentf-exclude '( >"/diary[0-9]\{4\}[a-zA-Z]\{2,4\}$" > )) You have to double the backslashes. Reason is that when lisp reads the string, it translates it into /diary[0-9]{4}[a-zA-Z]{2,4}$ which is not the regexp you want. -- Nico.

Re: [O] minor mode recentf: show only *.tex and *.org files?!

2013-06-25 Thread Nicolas Richard
AW writes: > I get lots of lines like "c:/Users/aw/AppData/Local/Temp/diary1234ABc" , > despite duplication of backlashes. As you noticed in your next mesasge, you should activate recentf only after setting this variable. Alternatively, you can call (recentf-cleanup) after you set the variable.

Re: [O] Starting emacs followed directly by org-agenda search and visiting file removes color formatting

2013-06-25 Thread Nicolas Richard
Bastien writes: > John Hendy writes: >> Just wanted to follow up on this. I haven't been using =C-a s= a ton >> so it drifted off my radar, but recently needed to use it a lot and >> noticed this was still persisting. > > ... it's still on my radar too, I've just been overwhelmed by work > and ot

Re: [O] Starting emacs followed directly by org-agenda search and visiting file removes color formatting

2013-06-26 Thread Nicolas Richard
Nicolas Richard writes: > I just noticed this thread, which i think reports exactly the issue I > reported here [this thread was before, but the title didn't catch my > eyes -- sorry about that] <87zjuv2r79@yahoo.fr> and more or less > "fixed" here <87b

Re: [O] How to let Org Agenda search all files in a directory *recursively* ?

2013-06-27 Thread Nicolas Richard
chris writes: > How to Let [C-c a] to search over all files in a directory *recursively* ? AFAIK, there's no built in way. Applying the following patch to the function org-agenda-files gets you there, but it's not clean at all, and certainly very unefficient : Modified lisp/org.el di

Re: [O] How to let Org Agenda search all files in a directory *recursively* ?

2013-06-27 Thread Nicolas Richard
da...@adboyd.com (J. David Boyd) writes: > Huh, when I set my org-agenda-files to ~/org/, and have TODO files in > ~/org/home and ~/org/work, and press C-c a a, it loads all the todo file, > recursed down to all the subdirectories. > > However, and this is strange, after it loads them all up, it ch

Re: [O] advice needed: how do you guys sync org files between devices?

2013-07-04 Thread Nicolas Richard
Ian Barton writes: > I used to use Dropbox and git. However, as you have found I often got > "Conflicted Files". This is a particular problem if it happens in your > .git folder, because it can lead to a corrupt git repo. Even though I > have a remote git repo, this still lead to lots of wasted ti

Re: [O] Loading several latex classes for ox-latex

2013-07-10 Thread Nicolas Richard
Julien Cubizolles writes: > I tried the following: > --8<---cut here---start->8--- > (eval-after-load 'ox-latex > (progn '(add-to-list 'org-latex-classes > '("mpsi_beamer" "\\documentclass{mpsi_beamer}\n > [NO-DEFAULT-PACKAGES]" >

Re: [O] Bug: [bisected] font locking breaks by saying "#+SETUPFILE" [8.0.3 (release_8.0.3-165-g60ca9e @ /home/youngfrog/sources/org-mode/lisp/)]

2013-09-03 Thread Nicolas Richard
Le 03/09/2013 15:38, Bastien a écrit : > Nicolas Richard writes: >> First I mention that I forgot to say this was reproducible from -Q. > > Can anyone double-check if there are still problems in this area? > > See Nicolas original bug report here: > http://article.gmane

[O] C-u C-u C-c ! inserts an active timestamp.

2013-09-16 Thread Nicolas Richard
I suggest the following change so that C-u C-u C-c ! inserts an inactive timestamp. I also document the INACTIVE argument of org-time-stamp. -- Nicolas. >From 5cdb18297d92f2d99334d98aa2f3b8a40e44702f Mon Sep 17 00:00:00 2001 From: Nicolas Richard Date: Mon, 29 Apr 2013 09:02:21 +0200 Subj

Re: [O] C-u C-u C-c ! inserts an active timestamp.

2013-09-23 Thread Nicolas Richard
Carsten Dominik writes: > Applied I noticed that the whole mail went into the commit msg (commit 12de6223dcd736c0958eca874def052b407ff5d1) ; did I send the patch incorrectly ? I used git format-patch then inserted the result at the end of the email I wrote. The page http://orgmode.org/worg/org-

Re: [O] AUCTeX key bindings within Org documents

2013-09-27 Thread Nicolas Richard
Hello Fabrice, "Fabrice Niessen" writes: > Due to a friend's request, I've tried to offer AUCTeX key bindings within Org > documents via a minor mode, called "org-auctex-keys". I checked that out because I often find myself doing C-c C-e while in org-mode, but I expected it would insert #+BEGI

Re: [O] Feature request: info-org-manual

2013-09-28 Thread Nicolas Richard
Hello, Suvayu Ali writes: > On Sat, Sep 28, 2013 at 11:53:30AM +0200, Marcin Borkowski wrote: >> there is the info-emacs-manual, bound to C-h r. Why not introduce >> info-org-manual, like this: > > I'll play the Devil's advocate, there are many emacs packages with info > pages of their own. AFA

Re: [O] AUCTeX key bindings within Org documents

2013-10-02 Thread Nicolas Richard
AW writes: > How can I get it switched on in every org-buffer automagically? You can do this : (add-hook 'org-mode-hook 'org-auctex-keys-minor-mode) -- Nico.

Re: [O] AUCTeX key bindings within Org documents

2013-10-02 Thread Nicolas Richard
Marcin Borkowski writes: > C-c C-c was my idea - but now I've read this, I agree, this might be > not a brilliant one. OTOH, C-c C-e got rebound to > org-auckeys-environment... Dunno. Could trigger export in org-ctrl-c-ctrl-c-final-hook, i.e. if nothing else worked. -- Nico.

Re: [O] AUCTeX key bindings within Org documents

2013-10-05 Thread Nicolas Richard
Hello Joseph, Joseph Vidal-Rosset writes: > #+begin_equation > \label{ECQ} > \neg A , A \vdash B > \tag{ECQ} > #+end_equation IIUC, auckeys mode is not meant to insert latex constructs in org mode, but to get an "org equivalent" or org-like effect for a given key chord. The aim is to produce a

Re: [O] org-debbugs.el

2013-10-11 Thread Nicolas Richard
Michael Albinus writes: > Michael Albinus writes: > > Hi, > >> If the org-mode maintainers find this package useful, it could be added >> to the contrib directory. > > Still no response from the maintainers. Before I continue to invest into > this package, I would like to know whether it is a

Re: [O] Drag images from Firefox to org-mode

2013-10-17 Thread Nicolas Richard
Carsten Dominik writes: > does anyone know how general this code is? Does it works on different > operating systems? > We might want to include this into the Org core. Since it is based on dnd, and since the documentation of dnd reads: ;; This file provides the generic handling of the drop part

Re: [O] Drag images from Firefox to org-mode

2013-10-17 Thread Nicolas Richard
Rick Frankel writes: > On 2013-10-17 08:43, Nicolas Richard wrote: >> Carsten Dominik writes: >> does anyone know how general this code is? Does it works on >> different operating systems? >> We might want to include this into the Org core. >> >>

  1   2   >