[O] Replace default category displayed in org-agenda with directory name

2018-06-28 Thread Giacomo M
Dear helpful list, I'm experimenting with an org-agenda setup where I have a directory for each project, and a README.org with the project TODOs in each directory. I'm using the elisp below: #+BEGIN_SRC: emacs-lisp   (setq org-agenda-file-regexp "\\`README\\.org\\'")   (setq

Re: [O] Replace macros on tangle

2017-06-27 Thread Giacomo M
hook. How could I take care of those ^M? Thanks a lot, Giacomo Il 6/26/2017 7:06 PM, Charles C. Berry ha scritto: On Mon, 26 Jun 2017, Nicolas Goaziou wrote: Hello, Giacomo M <jackja...@gmail.com> writes: Dear all, how can I add macro replacement support when a source block is

[O] Replace macros on tangle

2017-06-26 Thread Giacomo M
Dear all, how can I add macro replacement support when a source block is being tangled? Thanks, Giacomo

Re: [O] Controlling new line characters during tangle

2017-06-22 Thread Giacomo M
-hook) #+END_SRC Thanks, Giacomo Il 6/21/2017 1:02 PM, Kaushal Modi ha scritto: On Wed, Jun 21, 2017, 5:21 AM Giacomo M <jackja...@gmail.com> wrote: Hi all, I'm using emacs also under W

Re: [O] Controlling new line characters during tangle

2017-06-21 Thread Giacomo M
, 2017 13:02, "Kaushal Modi" <kaushal.m...@gmail.com> wrote: > On Wed, Jun 21, 2017, 5:21 AM Giacomo M <jackja...@gmail.com> wrote: > >> Hi all, >> >> I'm using emacs also under Windows, and would need to tangle >> scripts/config files to be

[O] Controlling new line characters during tangle

2017-06-21 Thread Giacomo M
Hi all, I'm using emacs also under Windows, and would need to tangle scripts/config files to be used under Unix. Is there any header argument to enforce the desired new line characters in the tangled files? Thanks, Giacomo

Re: [O] How do you organize a project and its related sub-tasks

2017-06-20 Thread Giacomo M
Does anybody have thoughts on using a PROJECT todo keyword (in a different sequence set from the TODO NEXT one)? On Jun 20, 2017 4:35 AM, "Samuel Wales" wrote: > i have long thought it would be useful to dim entries in the agenda > that are ancestors of entries in the same

[O] How to use .pdf images on Latex export, and .png images on ODT export

2017-01-31 Thread Giacomo M
Dear all, I was wondering what is the best way to include pdf images on latex export and png images on odt export (assuming same path, only extension changes). A macro like this one: #+MACRO: figext @@latex:.pdfodt:.png@@ doesn't seem to work. Thanks, Giacomo

Re: [O] Orgmode for managing OS configuration

2016-11-03 Thread Giacomo M
). It is working well for my emacs conf (before my .emacs was a mess), but not sure if it's the same scaling up to OS (e.g. chmod when tangling, root user privileges when executing, or other things I'm not aware of). Il 03 Nov 2016 2:55 PM, "Stefan Huchler" <stefan.huch...@mail.de> ha scrit

[O] Orgmode for managing OS configuration

2016-11-03 Thread Giacomo M
would need just emacs and git (or rsync) to start with. Does anybody have experience with this? Is the experience positive or negative? Also, should I just run emacs as root? Or using somehow sudo non interactively for babel blocks execution? Thanks, Giacomo M

[O] Exporting big org file with contents split in other org files

2016-10-07 Thread Giacomo M
Dear all, I know org-mode has an #+INCLUDE directive for header and initialization code. I was wondering whether this works also for creating contents below headlines. E.g. #+BEGIN_SRC org-mode * Chapter 1 #+INCLUDE: chapter-1-with-two-stars-headlines.org * Chapter 2 #+INCLUDE:

[O] Count words under subtrees

2016-09-27 Thread Giacomo M
Dear all, right now I manually =er/expand-region= (from expand-region.el) until I select a subtree, and then =count-words-region= to get number of words for the subtree. I was wondering whether anybody already coded some lisp to programmatically have this count, ideally one count per TOC

Re: [O] Something to watch out for when including files

2016-09-21 Thread Giacomo M
Il 20/09/2016 17:21, Eric S Fraga ha scritto: I had a #+include: directive as the first line of the file which included an org file called preamble.org. In that preamble file, the last headline had the tag :noexport:. It would seem that this tag is not processed until after the include file

[O] org file opened in latex mode when ending file w/ latex emacs signature

2016-09-14 Thread Giacomo M
Dear all, I tried to put at the end of an org document * eof :ignore: #+BEGIN_LaTeX %%% Local Variables: %%% mode: latex %%% TeX-master: t %%% End: #+END_LaTeX to have it at the end of the latex export so that if I open the tex (e.g. for debugging) I can compile it directly (w/o the question

[O] Improving debugging experience of latex errors on export

2016-09-07 Thread Giacomo M
Dear all, I'm using latexmk w/ pdflatex for my org2pdf exports. When I get a "PDF file produced with errors.", then I go to "*Org PDF LaTeX Output*" buffer to try to understand what is happening. If I open the generated .tex w/ the default latex mode, I tex-compile it (C-c C-c) w/ latexmk

[O] Use org capture to open browser

2016-08-01 Thread Giacomo M
Dear all, I'm outsourcing my watch & read lists keeping to external websites (mostly for their meta-data). I was wondering whether I could still use the capture interface just for clocking the interruption and opening the respective website in a browser for updating the lists. Thanks,

Re: [O] org-export-latex-final-hook not working

2016-06-24 Thread Giacomo M
Il 24/06/2016 11:33, Nicolas Goaziou ha scritto: Giacomo M <jackja...@gmail.com> writes: I found an example for html by Rasmus on the mailing list. Just adapting it to my case works. #+BEGIN_SRC emacs-lisp (defun jackjackk/org-latex-remove-section-labels (string backend info) &

[O] Search through the archives of this mailing list in emacs

2016-06-24 Thread Giacomo M
Is it possible to do it in a convenient way? Does it make sense? Any suggestions? Thanks, Giacomo

Re: [O] org-export-latex-final-hook not working

2016-06-24 Thread Giacomo M
Il 24/06/2016 11:11, Rasmus ha scritto: Giacomo M <jackja...@gmail.com> writes: Dear all, I am using emacs with this configuration file: #+BEGIN_SRC emacs-lisp (setq load-path (append (file-expand-wildcards "~/.emacs.d/elpa/*") load-path)) (require 'org) (require 'org-r

[O] org-export-latex-final-hook not working

2016-06-24 Thread Giacomo M
Dear all, I am using emacs with this configuration file: #+BEGIN_SRC emacs-lisp (setq load-path (append (file-expand-wildcards "~/.emacs.d/elpa/*") load-path)) (require 'org) (require 'org-ref) (require 'ox-extra) (ox-extras-activate '(ignore-headlines)) (defun remove-orgmode-latex-labels ()

Re: [O] How to export to latex from command line?

2016-06-23 Thread Giacomo M
Il 23/06/2016 18:30, Rasmus ha scritto: hymie! <hy...@lactose.homelinux.net> writes: In our last episode, the evil Dr. Lacto had captured our hero, Giacomo M <jackja...@gmail.com>, who said: Dear all, I would like to export an org file to either tex or pdf from bash. I hav

Re: [O] How to export to latex from command line?

2016-06-23 Thread Giacomo M
Il 23/06/2016 16:48, hymie! ha scritto: In our last episode, the evil Dr. Lacto had captured our hero, Giacomo M <jackja...@gmail.com>, who said: Dear all, I would like to export an org file to either tex or pdf from bash. I have been using this: ${EMACS} $filename -f or

[O] How to export to latex from command line?

2016-06-23 Thread Giacomo M
Dear all, I would like to export an org file to either tex or pdf from bash. Any help on the lisp code to pass to the --eval argument of emacs to achieve this? Thanks, Giacomo

[O] python-shell-prompt-regexp warnings

2016-06-20 Thread Giacomo M
Dear all, whenever I have python source in an org a file, I get this warning: Warning (emacs): Python shell prompts cannot be detected. If your emacs session hangs when starting python shells recover with `keyboard-quit' and then try fixing the interactive flag for your interpreter by adjusting

[O] Symbol's function definition is void: org-beamer-insert-options-template

2016-06-10 Thread Giacomo M
Dear all, I would find useful to have a template for beamer presentations. I was wandering in the menus and under Org -> Latex I found a "Template for BEAMER", which sounded good for what I was looking for. But if I press it I get: menu-function-46: Symbol's function definition is void:

Re: [O] Expansion of macros conditional on export type

2016-05-27 Thread Giacomo M
Il 27/05/2016 12:17, Eric S Fraga ha scritto: I know one way would be to use @@latex: ... @@ w/ ascii counterpart each time, but I would rather envision a single macro, which then gets defined in different way depending on the export, in order to reduce redundancy. You can put all the different

[O] Expansion of macros conditional on export type

2016-05-27 Thread Giacomo M
best practices? Thanks, Giacomo M

[O] task management integration with web-hosted git repos

2016-03-26 Thread Giacomo M
Dear all, while struggling to get a working gtd orgmode-based workflow, I realized I may just limit myself to a github/gitlab/gogs environment. Specifically, I'm thinking about this parallelism: each project is a repo, each subproject is a milestone, each task is an issue w/ milestone, and

[O] Latex code inbetween beamer frames

2016-03-11 Thread Giacomo M
Dear all, I would like to set a background image for some slides. AFAIK, the way to achieve this in beamer is by using sth like: \usebackgroundtemplate{\tikz\node {\includegraphics[width=\textwidth]{mybackpic}};} before the \begin{frame} of the slide of interest (and after the \end{frame}). I

Re: [O] streamlined capture on iphone

2016-02-25 Thread Giacomo M
On 2/24/2016 11:59 PM, Skip Collins wrote: If anyone is interested in the Drafts action, Gmail filter, Google script, and org-feed configuration that make this work, I would be happy to share. This setup can easily be adapted for Android phones. Android user here, and I would be very

[O] org-cdlatex subscripts

2016-02-03 Thread Giacomo M
Dear all, I'm experimenting with org-cdlatex subscripting facilities. As far as I understood from the manual, if I type: $t_disp I should get $t_{disp} with the cursor placed after the last brace. Instead I get: $t_{d}isp with the cursor after the

[O] missing fancy character when using org-bullets

2016-02-02 Thread Giacomo M
Dear all, at work I have Windows 7, at home Windows 10. I use the same emacs configuration, and Consolas as the default font face. I indulge myself using org-bullets. At work it works. At home the pretty symbol for 3-rd level outlines is missing. An empty rectangle is showing instead. Other

Re: [O] Personal notes in org/beamer presentation

2015-09-14 Thread Giacomo M
Thanks a lot for the C-c C-b tip! One more question: is there a way to setup two pdf export profiles, one for the pdf w/ notes and one for that w/o notes? On Sep 13, 2015 12:13 PM, "Rasmus" <ras...@gmx.us> wrote: > Giacomo M <jackja...@gmail.com> writes: > > >

Re: [O] Personal notes in org/beamer presentation

2015-09-13 Thread Giacomo M
but I'm surely using it wrongly. Thanks a lot, Giacomo On Sun, Sep 13, 2015 at 12:23 PM, Rasmus <ras...@gmx.us> wrote: > Hi, > > Giacomo M <jackja...@gmail.com> writes: > > > where would you write personal (not to be exported) notes in an > > org/beamer presentation?

[O] Personal notes in org/beamer presentation

2015-09-13 Thread Giacomo M
Hi all, where would you write personal (not to be exported) notes in an org/beamer presentation? In a :noexport: subtree? How would you conveniently review them? Thanks, Giacomo

[O] Help with alternative ipython session workflow

2015-04-11 Thread Giacomo M
I have never been able to make org sessions getting along properly with ipython, so at the moment I'm using a sort of handmade hybrid between org and an ipython notebook, doing the following: 1. Enter the first source block in a .org file 2. Start an ipython instance with C-c C-c 3. Keep the

[O] Emacs unresponsive while executing Sh code block

2015-03-05 Thread Giacomo M
Dear all, when I C-c C-c in: #+BEGIN_SRC sh gnome-terminal #+END_SRC a gnome-terminal window appears, but Emacs hangs until I close it. In the *Messages* I get: executing Sh code block... Wrote /tmp/babel-2307H-J/ob-input-2307i3c (here Emacs hangs... then I close gnome-terminal) Error

Re: [O] Key-binding to a command with prefix argument

2015-02-24 Thread Giacomo M
On Tue, Feb 24, 2015 at 4:15 PM, Marcin Borkowski mb...@wmi.amu.edu.pl wrote: On 2015-02-25, at 00:24, Giacomo M jackja...@gmail.com wrote: Dear all, I started using more frequently C-u C-c C-x tab, which offers a list of recently clocked tasks to clock into. I already assigned f11

[O] Key-binding to a command with prefix argument

2015-02-24 Thread Giacomo M
Dear all, I started using more frequently C-u C-c C-x tab, which offers a list of recently clocked tasks to clock into. I already assigned f11 to org-clock-in, but how can I assign (let say) C-f11 to org-clock-in with a prefix argument? Thanks, Giacomo

[O] Parent path for links

2015-02-18 Thread Giacomo M
Dear all, I'm experimenting the following path structure: 1. ~/org/ is where I keep all my org files for organization purposes (e.g. project.org contains all TODOs, notes, events, and links related to project) and is sync'd with a GIT server. 2. ~/working/project/ is where I keep all the

[O] Get to next NEXT headline with one key

2014-03-07 Thread Giacomo M
Dear all, I would like, by pressing the speed command N, to be brought to the next NEXT headline. I can see that somehow the functions involved could be org-match-sparse-tree and next-error, but I don't know how to code a programmatic execution of the two (unfortunately I don't speak elisp very

Re: [O] Get to next NEXT headline with one key

2014-03-07 Thread Giacomo M
://kitchingroup.cheme.cmu.edu On Fri, Mar 7, 2014 at 7:13 AM, Giacomo M jackja...@gmail.com wrote: Dear all, I would like, by pressing the speed command N, to be brought to the next NEXT headline. I can see that somehow the functions involved could be org-match-sparse-tree and next-error, but I don't know how

Re: [O] Get to next NEXT headline with one key

2014-03-07 Thread Giacomo M
m...@imapmail.org wrote: On Fri, Mar 7, 2014 at 7:13 AM, Giacomo M jackja...@gmail.com wrote: Dear all, I would like, by pressing the speed command N, to be brought to the next NEXT headline. I can see that somehow the functions involved could

Re: [O] Get to next NEXT headline with one key

2014-03-07 Thread Giacomo M
(typo in my previous email: s/to Matt/to John/) Il 07/03/2014 15:44, Oleh ha scritto: If you're feeling adventurous, you can try my new minor mode: https://github.com/abo-abo/worf. Thank you, Oleh! Just tried it, and I think it has several convenient features. And commands work from start

[O] Table disaligned with some pretty entities

2014-03-05 Thread Giacomo M
Dear all, nothing of crucial importance for the sake of humanity, but when I realign (C-c C-c) the following table: | entry1 | \check | | entry2 | X | with pretty-entities toggled (C-c C-x \), columns are not perfectly aligned. My setup: Emacs 24.3.1 (i386-mingw-nt6.1.7601) Org-mode 8.2.5h

Re: [O] Table disaligned with some pretty entities

2014-03-05 Thread Giacomo M
Very interesting... thank you, Rasmus! Indeed Consolas, the font I was using, doesn't have the check mark unicode character (U+2713). Switching to DejaVu Sans Mono solved the problem. Giacomo On Wed, Mar 5, 2014 at 1:01 PM, Rasmus ras...@gmx.us wrote: Giacomo M jackja...@gmail.com writes

[O] Quickly fold/unfold a node

2012-09-12 Thread Giacomo M
Dear Emacs Orgmode users, I would like to quickly go from FOLDED to CHILDREN to FOLDED skipping the SUBTREE step in the visibility cycle (especially for the cases when CHILDREN and SUBTREE are the same). Any suggestion on how to do it would be very appreciated, thanks Giacomo Marangoni

[O] my emacs hangs when using matplotlib with sessions

2012-07-03 Thread Giacomo M
that #+BEGIN_SRC python :session none import matplotlib.pyplot as plt a=[1,2,3] plt.plot(a) plt.savefig('dummy.png') #+END_SRC works perfectly. It would be wonderful for me to be able to use sessions matplotlib... So, thanks a lot for any suggestions! Giacomo M Python 2.7.2 win32 matplotlib 1.1.0 Emacs

Re: [O] local-set-key: Key sequence C-c SPC a starts with non-prefix key C-c SPC

2012-06-30 Thread Giacomo M
@Nick thanks, that's a good question! I using orgmode started a short time ago with the configuration lines I randomly found in the internet, and since I'm also using smex http://www.emacswiki.org/Smex, I hadn't matured the need for a quicker access to the agenda. but it definitely makes more

Re: [O] local-set-key: Key sequence C-c SPC a starts with non-prefix key C-c SPC

2012-06-29 Thread Giacomo M
Actually it was just the space sorry for the noise On Fri, Jun 29, 2012 at 4:23 PM, Giacomo M jackja...@gmail.com wrote: apparently these lines in my emacs init file were causing the export error: (add-hook 'org-mode-hook (lambda () (local-set-key \C-c a 'org-agenda

[O] local-set-key: Key sequence C-c SPC a starts with non-prefix key C-c SPC

2012-06-27 Thread Giacomo M
Dear all, I'm getting the error in the subject when trying to export an .org file, e.g. to HTML or LATEX. who would be so kind to explain me what's happening? Thanks, Giacomo

Re: [O] Outline structure and LaTeX

2012-05-29 Thread Giacomo M
I'm still new to emacs-orgmode, but I couldn't avoid getting fascinated and inspired by the reproducible research examples mentioned here. Thanks! Giacomo M