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

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

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

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

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

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

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

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

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] [RFC] Org syntax (draft)

2013-03-08 Thread Nicolas Richard
Nicolas Goaziou n.goaz...@gmail.com 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

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

2013-03-13 Thread Nicolas Richard
f97c00bfbd8a14d0b2953ee0e8b6817a2b9f0306 Mon Sep 17 00:00:00 2001 From: Nicolas Richard theonewiththeevill...@yahoo.fr Date: Mon, 11 Mar 2013 16:25:21 +0100 Subject: [PATCH] dev/org-syntax.org: minor --- dev/org-syntax.org | 34 +++--- 1 file changed, 19 insertions(+), 15

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

2013-03-19 Thread Nicolas Richard
Carsten Dominik carsten.domi...@gmail.com 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

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

2013-03-21 Thread Nicolas Richard
Bastien b...@altern.org 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

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

2013-03-25 Thread Nicolas Richard
Neuwirth Erich erich.neuwi...@univie.ac.at 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

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

2013-04-15 Thread Nicolas Richard
Thorsten Jolitz tjol...@gmail.com writes: - the Emacs Lisp conventions for headlines: ,- | https://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00266.html

Re: [O] Org-mode documentation within Emacs

2013-04-24 Thread Nicolas Richard
Karl Voit devn...@karl-voit.at 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
if you don't have write access to 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 theonewiththeevill...@yahoo.fr Date: Fri, 3 May 2013 14:04:01 +0200 Subject: [PATCH] org

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

2013-05-13 Thread Nicolas Richard
Paul Stansell paulstans...@gmail.com 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

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

2013-05-17 Thread Nicolas Richard
Christopher Allan Webber cweb...@dustycloud.org 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)

Re: [O] lazy command request

2013-06-04 Thread Nicolas Richard
42 147 aeus...@gmail.com 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

[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 theonewiththeevill...@yahoo.fr 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

[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
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 theonewiththeevill...@yahoo.fr Date: Wed, 5 Jun 2013 15:02:37 +0200 --- lisp/org.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions

[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 alexander.will...@t-online.de 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 '(

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 alexander.will...@t-online.de 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)

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

2013-06-25 Thread Nicolas Richard
Bastien b...@altern.org writes: John Hendy jw.he...@gmail.com 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

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

2013-06-26 Thread Nicolas Richard
Nicolas Richard theonewiththeevill...@yahoo.fr 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 87bo7ati0m

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

2013-06-27 Thread Nicolas Richard
chris numbch...@gmail.com 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 :

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

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

2013-07-04 Thread Nicolas Richard
Ian Barton li...@wilkesley.net 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

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

2013-07-10 Thread Nicolas Richard
Julien Cubizolles j.cubizol...@free.fr 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 theonewiththeevill...@yahoo.fr 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

[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 theonewiththeevill...@yahoo.fr Date: Mon, 29 Apr

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

2013-09-23 Thread Nicolas Richard
Carsten Dominik carsten.domi...@gmail.com 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

Re: [O] AUCTeX key bindings within Org documents

2013-09-27 Thread Nicolas Richard
Hello Fabrice, Fabrice Niessen fni-news-TA4HMoP+1wHrZ44/dzw...@public.gmane.org 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

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

2013-09-28 Thread Nicolas Richard
Hello, Suvayu Ali fatkasuvayu+li...@gmail.com 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

Re: [O] AUCTeX key bindings within Org documents

2013-10-02 Thread Nicolas Richard
AW alexander.will...@t-online.de 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 mb...@wmi.amu.edu.pl 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 joseph.vidal.ros...@gmail.com 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.

Re: [O] org-debbugs.el

2013-10-11 Thread Nicolas Richard
Michael Albinus michael.albi...@gmx.de writes: Michael Albinus michael.albi...@gmx.de 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

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

2013-10-17 Thread Nicolas Richard
Carsten Dominik drostekirs...@gmail.com 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

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

2013-10-17 Thread Nicolas Richard
Rick Frankel r...@rickster.com writes: On 2013-10-17 08:43, Nicolas Richard wrote: Carsten Dominik drostekirs...@gmail.com 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

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

2013-10-17 Thread Nicolas Richard
Rick Frankel r...@rickster.com writes: One small problem, should be =(1+ (point))=, as the above leaves a blank newline at the head of the jpg, making it invalid. Oops, yes [Initially I had (search-forward \n\n), which worked fine,... then changed my mind and didn't test. Silly me.] Your code

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

2013-10-18 Thread Nicolas Richard
Oleh ohwoeo...@gmail.com writes: I tried before url-retrieve, but it was giving me some garbage in addition to the image. But if I figure it out, I could add url-retrieve as the third custom method. If the garbage is the HTTP headers, then that problem is solved in Rick Frankel's code. If

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

2013-10-18 Thread Nicolas Richard
Le 18/10/2013 12:04, Oleh a écrit : I've just tested Rick Frankel's code, and I got a broken jpg (it's half green and distorted). It appears so it org-mode inline and in eog, but it displays properly in its own Emacs buffer. Looks like it needs more work. Could you please put the link and

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

2013-10-18 Thread Nicolas Richard
Oleh ohwoeo...@gmail.com writes: I've just tested Rick Frankel's code, and I got a broken jpg (it's half green and distorted). It appears so it org-mode inline and in eog, but it displays properly in its own Emacs buffer. Looks like it needs more work. Perhaps you could test this version

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

2013-10-18 Thread Nicolas Richard
[re-adding emacs-orgmode@gnu.org to cc, I don't know when it got lost] Le 18/10/2013 12:44, Oleh a écrit : I attach the downloaded google logo. Thanks. diffing them, it looks pretty much like an encoding problem. I just tried your code and it works fine for the same image. Did you try the

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

2013-10-18 Thread Nicolas Richard
Rick Frankel r...@rickster.com writes: Le 18/10/2013 12:44, Oleh a écrit : I attach the downloaded google logo. I missed an email here... can you send me the url to the image you are having problems with? I received it by email, here it is : http://cjoint.com/13oc/CJsrG1j2Szg.htm Note that

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

2013-10-18 Thread Nicolas Richard
Rick Frankel r...@rickster.com writes: On 2013-10-18 01:29, Nicolas Richard wrote: Rick Frankel r...@rickster.com writes: One small problem, should be =(1+ (point))=, as the above leaves a blank newline at the head of the jpg, making it invalid. Oops, yes [Initially I had (search-forward

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

2013-10-20 Thread Nicolas Richard
Oleh ohwoeo...@gmail.com writes: This can be fixed with a platform-aware function that checks both the clipboard and the cut-buffer. I suggest to ask for a string with (read-string URL: nil nil default), offering the content of the clipboard/kill ring/selections as the DEFAULT. I think it's

Re: [O] Problem with automatic recursive adding of org-agenda-files

2013-10-23 Thread Nicolas Richard
Eric Abrahamsen e...@ericabrahamsen.net writes: FWIW, I don't even have a `find-lisp-find-files' function in my installation (GNU Emacs 24.3.1). Even if you eval (load-library find-lisp) ? It's built-in for me on GNU Emacs 24.3.1 too. -- Nico.

Re: [O] Problem with automatic recursive adding of org-agenda-files

2013-10-24 Thread Nicolas Richard
Tor Eriksson teriksson2...@gmail.com writes: I have the impression that this behaviour of all files not being correctly added to the org-agenda-files started when I chose the option R[emove] file from org-agenda-files proposed by org. This occured when org tried to build the agenda but

  1   2   >