Re: Patch with small fix for refile target display

2025-07-13 Thread Dan Milstein
Awesome, thanks much. D On Sat, Jul 12, 2025 at 12:21 PM Ihor Radchenko wrote: > Dan Milstein writes: > > > I ran across a small UI issue with org-refile -- if an org refile target > > was a link, the refile interface would show all of: the link, the > > descrip

[PATCH] Small fix for displaying refile targets

2025-07-12 Thread Dan Milstein
on of it seems to have actually been discussed and accepted on the mailing list in 2008 -- but somehow lost from the refile code: Link: https://list.orgmode.org/6cb4f483-0332-4f40-9cdf-99c90a9bd...@uva.nl/ Thanks, -Dan Milstein 0001-lisp-org-refile.el-Replace-links-with-their-descript.

Patch with small fix for refile target display

2025-07-01 Thread Dan Milstein
the attached commit cites, was discussed on the mailing list in 2008, and apparently accepted -- but somehow lost from the refile code: Link: https://list.orgmode.org/6cb4f483-0332-4f40-9cdf-99c90a9bd...@uva.nl/ -Dan Milstein 0001-lisp-org-refile.el-Replace-links-with-their-descript.patch

[BUG] error when trying to create a simple table [9.7.12 (9.7.12-28c83e @ c:/Users/ddrake/AppData/Roaming/.emacs.d/elpa/org-9.7.12/)]

2024-10-23 Thread Dan Drake
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. --

Re: org-cut-subtree should respect org-ctrl-k-protect-subtree

2024-09-17 Thread Dan Drake
I like that idea. It's consistent, uses "prior art", so to speak, and most of all , archiving involves cutting the subtree, so it's a very similar change to the buffer / structure. On Sun, Sep 15, 2024, 07:44 Ihor Radchenko wrote: > Dan Drake writes: > > > &quo

Re: org-cut-subtree should respect org-ctrl-k-protect-subtree

2024-09-01 Thread Dan Drake
"AFAIU, what you are struggling with is that you sometimes press "k" by accident, without aiming to cut the subtree. Is my understanding correct?" Yes, that's correct. Sometimes I'd use the speed key accidentally and cut the subtree. On Sun, Sep 1, 2024 at 11:19 AM

Re: org-cut-subtree should respect org-ctrl-k-protect-subtree

2024-08-28 Thread Dan Drake
e'd want some way of deprecating the old one and so on. On Tue, Aug 27, 2024 at 9:15 AM Rudolf Adamkovič wrote: > > Dan Drake writes: > > > I took at look at the source code, and it seems like a trivial change > > to make these two things act consistently: [...] > &g

org-cut-subtree should respect org-ctrl-k-protect-subtree

2024-08-27 Thread Dan Drake
I customized org-ctrl-k-protect subtree so that when point is on a headline for an entry with some folded content, ctrl-k asks for confirmation first. However, I also have the "k" speed key set up; to me, doing ctrl-K and the "k" speed key are the same, but only ctrl-K respects the "protect subtre

Re: inconsistency links and code line labels

2023-07-08 Thread Dan Drake
eref-label-format is what I was looking for: I set that to just (%s) and now something like the above example works without adding the "ref:" bit. I'll update the emacs.sx post. Thanks! On Fri, Jul 7, 2023 at 4:48 AM Ihor Radchenko wrote: > Dan Drake writes: > > > Hel

inconsistency links and code line labels

2023-07-06 Thread Dan Drake
Hello -- I'm wondering about my question from here: https://emacs.stackexchange.com/questions/77768/why-the-inconsistency-with-org-mode-code-line-labels-and-links Copying my question: in a source code special block, I can add code line labels, which have ref: in the label -- but when I make a lin

inconsistency with :eval yes in orgmode.org and gnu.org manuals for org 9.6, 9.5?

2023-02-26 Thread Dan Drake
ust curious/confused. Thanks! Dan -- Ceci n'est pas une .signature.

Re: emacs + org-mode in virtual machine/docker/...

2020-05-22 Thread Dan Pomohaci
Hi, I made a docker image dpom/godevem (https://hub.docker.com/repository/docker/dpom/godevem) for golang development with emacs. It is use by my golang course students and it runs on any platform that has installed docker engine. Best regards, Dan On 22.05.2020 00:28, briangpowell . wrote

Re: specify time of day for org-resolve-clocks, not number of minutes

2020-02-13 Thread Dan Drake
ow to distinguish the two. Would it work to just examine the user input for a colon and branch based on that? I'll see if I can get this working. On Thu, Feb 13, 2020 at 1:16 AM Bastien wrote: > Hi Kyle and Dan, > > Kyle Meyer writes: > > > Thanks, though sad

Re: [RFC PATCH] specify a time, not number of minutes to keep, with org-resolve-clock

2020-02-02 Thread Dan Drake
e FSF, make my contribution public domain, or whatever is most convenient and easiest to get this into org. Regards, Dan On Sat, Feb 1, 2020 at 10:48 AM Nicolas Goaziou wrote: > Bastien writes: > > > Future maintainers may of course interpret the recommendations of > > the FSF

Re: [RFC PATCH] specify a time, not number of minutes to keep, with org-resolve-clock

2020-01-28 Thread Dan Drake
nge seems so simple, and UI-focused. But again, if that's a dealbreaker, I can work on doing that. Further comments welcome. On Fri, Jan 24, 2020 at 5:31 PM Nicolas Goaziou wrote: > Hello, > > Dan Drake writes: > > > I asked about a way to specify a time when us

[RFC PATCH] specify a time, not number of minutes to keep, with org-resolve-clock

2020-01-19 Thread Dan Drake
e: the core logic really isn't more than "ask the user for a time and subtract". I hope this change can be incorporated into the official Org release. Regards, Dan -- Ceci n'est pas une .signature. From 7c369696c2eb9ebcd72ac9e7415d2481c4da7d80 Mon Sep 17 00:00:00 2001

specify time of day for org-resolve-clocks, not number of minutes

2020-01-03 Thread Dan Drake
Hello, I posted a question on emacs.stackexchange: https://emacs.stackexchange.com/questions/54445/specify-time-of-day-for-org-resolve-clocks-not-number-of-minutes ...about using a time of day when using org-resolve clocks, but didn't get an answer. Here's my question; perhaps this more targeted

[O] Bug report

2016-06-01 Thread Dan
Hi, Here is how I reproduce the bug: In org-mode (latest version) write \alpha. Then, put the cursor somewhere in the word. Press C-c C-x \ in order to display nice utf letters (greek, superscript etc). Then move right with the keyboard. Emacs crashes every time. Thank you, Daniel Fleischer

[O] in-text citation ox-bibtex for html export

2016-05-24 Thread Dan Boice
Hello, I am exporting an org document to html with references. The setup with ox-bibtex I have works well to produce the references with a cite link. However, the in-text citations have a square bracket around the reference link and only the first author's last name. I am not able to use othe

Re: [O] org-ellipsis problem

2015-12-09 Thread Dan Griswold
On Tue, Dec 8, 2015 at 10:53 AM, Eric S Fraga wrote: > On Monday, 30 Nov 2015 at 15:10, Dan Griswold wrote: > > Setting org-ellipsis (either via setq or customize) has no effect for me. > > Maybe show us how you actually do it? What version of org? What is > your intend

[O] org-ellipsis problem

2015-12-07 Thread Dan Griswold
Hi all, Setting org-ellipsis (either via setq or customize) has no effect for me. Org buffers still show three dots at the end of folded lines instead of the character I give to org-ellipsis. Even restarting emacs does not give the intended result. Any suggestions? Thanks, Dan

Re: [O] inter-word space in org -> latex

2015-09-16 Thread Dan Griswold
On Mon, Sep 14, 2015 at 12:54 PM, Suvayu Ali wrote: > You can use entities. Maybe something like this: > > (setq org-entities-user ; can also use "\ " > '(("space" "~" nil " " " " " " " "))) > > Then the following: > > Mr.\space{}Henry Higgins. > That's also a nice solution. Thanks.

Re: [O] inter-word space in org -> latex

2015-09-16 Thread Dan Griswold
On Mon, Sep 14, 2015 at 12:50 PM, Rasmus wrote: > > How should I mark in org mode that I want a space following a period > > concluding an abbreviation to be seen by LaTeX as an interword space? > > .@@latex:\ @@ Pretty neat. Thanks.

[O] inter-word space in org -> latex

2015-09-14 Thread Dan Griswold
a literal backslash. How should I mark in org mode that I want a space following a period concluding an abbreviation to be seen by LaTeX as an interword space? Thanks, Dan

[O] CV, org-mode, and pdf

2015-09-14 Thread Dan Griswold
th something like the attached pdf. I really like managing my CV this way. It's very easy to keep track of what's what and to move things around. I hope this helps someone who is still looking for a way to manage CVs in org. Cheers, Dan Griswold Rochester, NY cvdemo.pdf Description: Adobe PDF document

Re: [O] How to call org-agenda with the parameter

2015-01-19 Thread Dan Griswold
Didn't reply from the right account last time, so sending again to make sure. I think the relevant line should be: (org-agenda nil "1" nil) hth, Dan On Mon, Jan 19, 2015 at 4:50 PM, Chao Lu wrote: > Hi all, > > I defined a few org-agenda custom set, where I could M

Re: [O] How to call org-agenda with the parameter

2015-01-19 Thread Dan Griswold
Probably this instead: (org-agenda nil "1" nil) Dan On Mon, Jan 19, 2015 at 4:50 PM, Chao Lu wrote: > Hi all, > > I defined a few org-agenda custom set, where I could M-x org-agenda RET > then press "1" to list all my active TODOs. And I'm trying to wri

Re: [O] CV in orgmode for export to pdf (and html?)

2014-09-19 Thread Dan Griswold
pecialization * Employment * Publications * Awards and Honors and the details below each of these headings are simply unordered lists I really like the easy of editing in org-mode this gives me. Hope this helps, Dan

Re: [O] CV in orgmode for export to pdf (and html?)

2014-09-19 Thread Dan Griswold
Unlike the others, I moved my CV from LaTeX to org-mode and I'm happy with the results. Two things make it work well. First, a "cv" class added to org-latex-classes: (add-to-list '("cv" "\\documentclass[10pt]{article}\n\\usepackage[margin=.75in]{geometry}\n%\\usepackage{palatino}\n\\usepackage{se

[O] problems with displaying links

2014-09-04 Thread Dan Griswold
Hi all, Somehow, org is no longer consistently showing links as descriptive links. I can see no pattern to this: some are shown as descriptive, some as literal. org-descriptive-links: t org-version: 8.2.7c (via ELPA) emacs version: 24.3.1 Any thoughts? Dan Rochester, NY

[O] Navigating from agenda causes incorrect expansion of children

2014-03-18 Thread Dan LaManna
? May be worth mentioning, myself and others in #org-mode have noticed this happening in other contexts, however this was the only reproducible method. - dan lamanna

Re: [O] Need extra text in ODT export of headers

2014-02-03 Thread Dan Griswold
whether this is acceptable. But for now, it seems to work. So thank you! Dan On Mon, Feb 3, 2014 at 11:04 AM, Christian Moe wrote: > > Hi, > > Here's one way to do it in LibreOffice: > > Go to Tools > Outline Numbering > > For each heading level, > > un

[O] Need extra text in ODT export of headers

2014-02-03 Thread Dan Griswold
accomplish this, short of manually supplying that text for every single heading (67) in the several org files that comprise the manuscript? Perhaps there's a way to do this using LO styles. But I can't figure that out, either. Thanks, Dan Griswold Rochester, NY

Re: [O] Using org-diary

2014-01-07 Thread Dan Griswold
Try this: *** Teaching %%(org-class 2014 1 6 2014 3 10 1 1) 07:00-08:30 Teaching That's what I find works for me. Dan On Mon, Jan 6, 2014 at 6:45 PM, Stephen J. Barr wrote: > So, from a broader perspective, perhaps this org-class stuff is not the > right way to go. I am also no

Re: [O] [BUG][ODT] Subtree export fails when link references target on higher level

2013-11-22 Thread Dan Griswold
this describes my typical needs very well. I have a project with a fair number of targets (at least 26) that all will be referred to by page number. Like this: < . . . See above, on p. [[this target]]. I don't know if mine would be the odd or typical use. But it is what I am needing. Gratefully, Dan Griswold Rochester, NY

Re: [O] tricky odt export needs

2013-11-21 Thread Dan Griswold
style file, so I thought that might be the issue. But even when I remove the line #+ODT_STYLES_FILE: "book.ott" from the head of the file, there still seems to be no conversion. Puzzled, Dan On Wed, Nov 20, 2013 at 4:33 PM, Christian Moe wrote: > > I said: > > > You c

Re: [O] tricky odt export needs

2013-11-21 Thread Dan Griswold
ce.) But it seems that the problem occurs only when I have org-odt-preferred-output-format set to "odt" rather than "doc" or nil. Dan

Re: [O] tricky odt export needs

2013-11-21 Thread Dan Griswold
x27;my-odt-filter-pagerefs) > > (Whee! I just wrote my first export filter.) > That sounds pretty neat, Christian. But I get an export failed error, and it doesn't complete creating the odt file. Any suggestions? Thanks, Dan

Re: [O] tricky odt export needs

2013-11-20 Thread Dan Griswold
Thank you! On Wed, Nov 20, 2013 at 4:10 PM, Nicolas Goaziou wrote: > Dan Griswold writes: > > > It seems that my installation of org mode (from orgmode.org/elpa) does > not > > have its info file updated to reflect that change of syntax. > > I updated the manua

Re: [O] tricky odt export needs

2013-11-20 Thread Dan Griswold
Thank you Christian, This is very helpful. I'll do some comparing of the standard way of doing links with the workaround I've stumbled into. Cheers, Dan On Wed, Nov 20, 2013 at 3:34 PM, Christian Moe wrote: > > Hi, > > > @This is a > > highlighted text@.

Re: [O] tricky odt export needs

2013-11-20 Thread Dan Griswold
Thank you, Nicolas! This is just what I need. It seems that my installation of org mode (from orgmode.org/elpa) does not have its info file updated to reflect that change of syntax. Dan On Wed, Nov 20, 2013 at 3:24 PM, Nicolas Goaziou wrote: > Hello, > > Dan Griswold writes: >

Re: [O] \newpage in HTML export

2013-11-20 Thread Dan Griswold
This works well for me: #+HTML:   placed right where you want the page break. The break will not appear in the browser, but it will when you print. Dan On Wed, Nov 20, 2013 at 1:52 PM, Luke Crook wrote: > Both "\newpage" and "#+LATEX: \newpage" generate page bre

[O] tricky odt export needs

2013-11-20 Thread Dan Griswold
ed to create a cross reference to a page or footnote number. Any thoughts? Thanks, Dan Griswold Rochester, NY

[O] can't (require 'org) from .emacs with ELPA-installed org

2013-11-15 Thread Dan
If I (require 'org) in my .emacs, then open a file.org immediately after emacs starts, then press C-c C-e (publish), I get byte-code: Symbol's function definition is void: org-defvaralias (no errors appear prior to attempting to publish in the message buffer, and org-mode functionality appears to

Re: [O] Installing orgmode-8.2.3b as ELPA

2013-11-14 Thread Dan
include mk/$(SERVERMK).mk > --8<---cut here---end--->8--- Thanks, that created an org-plus-contrib-20131114.tar in the build directory. So I guess it worked! Would be nice to document it somewhere. Best, Dan

[O] Installing orgmode-8.2.3b as ELPA

2013-11-14 Thread Dan
why is the cron script not included in the distribution, or documented more clearly). After some digging, I tried to recreate an ELPA-style tar from git: $ make -f mk/server.mk elpa make: *** No rule to make target `info', needed by `elpa'. Stop. OK, getting a little frustrated now... Some help please? Thanks, Dan

[O] Table Formatting Values with Dollar Signs in the Value

2013-06-24 Thread Dan LaManna
I want to use some type of max depth option. Passing the literal flag doesn't help in this case. Here is the original SO question including the example which lead me here: http://stackoverflow.com/q/17263267/520929 -- *Dan LaManna* Mobile: 518.477.3465 dan.lama...@gmail.com http://danlamann

[O] sort strategy within org-agenda-custom-commands

2011-12-14 Thread Dan Griswold
ep) (tags priority-down category-keep) (search category-keep)) ] I need help with this, and I don't know what to do next to diagnose the problem. Is there some variable I've set that has overridden this feature of setting a special sorting strategy in these custom commands? Thanks, Dan -- Dan Griswold Rochester, NY dgris...@rochester.rr.com

Re: [O] [babel] Producing figures from octave

2011-08-31 Thread Dan Davison
Ethan Ligon writes: > Dan Davison has a brief worg tutorial on using babel with octave at > > http://orgmode.org/worg/org-contrib/babel/languages/ob-doc-octave-matlab.html > Hi Ethan, > Amongst other things, he offers the following example block for > producing a figure: (Act

Re: [O] org-icons package

2011-08-18 Thread Dan Davison
that repo, but, you may as well just fork it as I have no plans to work on it. I don't know how to contact Nicolas. I believe that he is on record as saying he did not plan to develop org-icons further. Good luck, Dan On Thu, Aug 18, 2011 at 1:13 PM, Renzo Been wrote: > Hi Dan, Nico

Re: [O] PATCH: New options for latex src code export

2011-06-11 Thread Dan Davison
Bastien writes: > Hi Dan, > > Dan Davison writes: > >> My questions are >> >> 1. It would be nice if users didn't have to worry about step 4. Can >>anyone suggest a sensible way to have the "-shell-escape" option >>pass

Re: [O] [patch] race condition in org-babel R

2011-05-20 Thread Dan Davison
able for me. Thanks, I agree that the race condition seems plausible, and I've applied a slight modification of your patch (the initial evaluation of the "object" argument looks pointless, but was there to ensure that errors in user code are not smothered by the subsequent exception handling.) Dan > > > > Best, > > Christophe

[O] Re: Problem with agenda and diary

2011-03-17 Thread Dan Griswold
On 17 Mar 2011, nicholas.do...@hp.com wrote: > Can you provide a backtrace? See section 1.4, "Feedback", of the Org > manual on how to produce a backtrace. Sure. But I don't want to include absolutely everything, because of personal calendar entries. Here it is, back to the point where it gets to

[O] Re: Problem with agenda and diary

2011-03-17 Thread Dan Griswold
causing that, but the problem that is the focus for this thread appears to be resolved. Thanks to all, especially Julien. Dan -- Dan Griswold dgris...@rochester.rr.com

[O] Re: Problem with agenda and diary

2011-03-17 Thread Dan Griswold
r still comes up, the backtrace showing the first diary entry it encounters. Dan -- Dan Griswold dgris...@rochester.rr.com

[O] Problem with agenda and diary

2011-03-17 Thread Dan Griswold
ng I feel that I am now just spinning around in circles and wasting time. I really don't know what I'm doing anymore. What do you think is wrong? Thank you, Dan -- Dan Griswold Rochester, NY

[O] Re: [Babel] Handling of errors when using Ledger

2011-03-04 Thread Dan Davison
Hi Eric, Seb and any other ledger users, Is anyone using a version of ledger that does not support reading from stdin with -f - ? Thanks, Dan Eric S Fraga writes: > Dan Davison writes: > > [...] > >> Hi Eric, >> >> I've asked on the ledger list

[O] Re: [PATCH] Re: [BUG] htmlp and latexp

2011-03-01 Thread Dan Davison
Bastien writes: > Hi Dan, > > Dan Davison writes: > >> Incidentally, I would suggest that org-current-export-file and >> org-current-export-dir are renamed so that they are within the >> org-export-* namespace. > > Agreed. Please provide a patch if you h

Re: [O] Let's stick to one list for now

2011-02-28 Thread Dan Davison
ds; that trajectory would be disrupted. - The probability of pure USERs learning DEV skills is reduced, since they have to actively seek the DEV list. I'm another one who came to Org as a USER with no abilities in elisp programming. Dan > already splitted user list in so

[Orgmode] Re: Org Babel and R issue with pdf latex export

2011-02-27 Thread Dan Davison
ment to pdf without any babel stuff? Can you provide an example Org file that you are having trouble exporting to pdf? The problem is probably in your local configuration, so if no-one can jump to the solution then start from a minimal working config and try to find the part of your .emacs which is

[Orgmode] Re: Startup page

2011-02-26 Thread Dan Davison
much more than eshell) Dan > Do you just have it go > to the scratch buffer, the standard page or something else? Maybe a custom > designed page with links or something else? Might be something interesting > to share on worg as well if you have a unique start page for emacs. > &g

[Orgmode] [PATCH] Re: [BUG] htmlp and latexp

2011-02-22 Thread Dan Davison
Bastien writes: > Hi Dan, > > Dan Davison writes: > >> I was thinking that if it were defvard in org.el, say as >> >> (defvar org-export-current-backend nil) >> >> then any code could use (null org-export-current-backend) to test >> whether org is

[Orgmode] Re: Two questions about using a =#+begin_src emacs-lisp= block

2011-02-21 Thread Dan Davison
"Eric Schulte" writes: > Chris Malone writes: > >> Hi, >> >> First off, my =org-mode= is up-to-date - just did a =git pull && make clean >> && make=. Needless to say, the following were an issue before then... >> >> * Question 1: >> Is there a way to force, upon export, an =emacs-lisp= session

[Orgmode] Re: A mail client that is org-mode compatible

2011-02-16 Thread Dan Davison
p you want to search in the Group buffer and > hit: > > , > | GG > ` Yes, that's what I meant. Dan > > Charles ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode

[Orgmode] Re: [BUG] htmlp and latexp

2011-02-16 Thread Dan Davison
Bastien writes: > Hi Dan, > > Dan Davison writes: > >> I was about to make a temporary fix but I see Bastien's just fixed >> it. Bastien -- should we give that `backend' variable a name within the >> org-* namespace (and maybe defvar it in org.el?) so

[Orgmode] Re: A mail client that is org-mode compatible

2011-02-16 Thread Dan Davison
Schulte? They work very nicely; I'm looking forward to finding some spare time to work out how best to fit them into my day-to-day emailing. Dan > > > > > Regards, > Mohamed > P.S. any configuration stuff is welcome > > > > > >

[Orgmode] Re: [BUG] htmlp and latexp

2011-02-16 Thread Dan Davison
Christian Moe writes: > On 2/15/11 11:23 PM, Dan Davison wrote: >> Commit ed6d6760268 removed variables htmlp and latexp from >> `org-export-preprocess-string'. Nothing wrong with that, but I think it >> has broken export for those using org-special-blocks > > Co

[Orgmode] Re: Context-sensitive word count in org mode (elisp)

2011-02-16 Thread Dan Davison
Hi Paul, Sounds useful to me. Is it appropriate to use the existing org function `org-in-regexps-block-p'? Or `org-context'? (Not speaking from any experience of using these functions I just noticed them.) Dan Christian Moe writes: > Hi, > > This would be really neat to ha

[Orgmode] Re: org-babel: Bugs with inline src_* blocks

2011-02-15 Thread Dan Davison
you. I've had to manually delete unwanted inline src output a few times in the last few days. I think we did have the behaviour we want before -- replacement during export but no modification of the buffer in interactive use. Could we make the default behave so that it does "replace" duri

[Orgmode] [BUG] htmlp and latexp

2011-02-15 Thread Dan Davison
ctually defined, i.e. they're not equivalent to (defvar htmlp nil). IIuc htmlp and latexp occur occasionally in org code as somewhat unofficial ways to test "am I in the middle of export?". They also occur in org-exp-blocks, but in deprecated code,

[Orgmode] Re: [Feature request] org-backup

2011-02-14 Thread Dan Davison
Marcelo de Moraes Serpa writes: > Hi Dan, > > I don't think I understood -- AFAIK, git repos are per directory and I > can't add something from another directory to it ? Hi Marcelo, Let's say the "base directory" of a git repo is the one in which you i

[Orgmode] Re: Nice python listings colors, or solution to beamer + minted brokenness?

2011-02-14 Thread Dan Davison
Christopher Allan Webber writes: > Dan Davison writes: > >> Hi Christopher, >> >> I believe I have just fixed the problem with minted and beamer. Please >> pull latex org from git and restart emacs, or ^^^ Oops, I meant to write "latest" org

[Orgmode] Re: [Feature request] org-backup

2011-02-14 Thread Dan Davison
Marcelo de Moraes Serpa writes: > Hi Dan! > > I already do this, but sometimes the files are spread around *many* > directories. I.e, the model of having everything in a > version-controlled directory is unpractical, so that's why I think it > would be useful. A couple o

[Orgmode] Re: Nice python listings colors, or solution to beamer + minted brokenness?

2011-02-14 Thread Dan Davison
> http://article.gmane.org/gmane.emacs.orgmode/32147/match=minted Hi Christopher, I believe I have just fixed the problem with minted and beamer. Please pull latex org from git and restart emacs, or (setq org-beamer-fragile-re "^[ \t]*begin{\\(verbatim\\|lstlisting\\|minted\\)}&quo

[Orgmode] Re: Help with Babel and using SQL

2011-02-13 Thread Dan Davison
point on the block and issue C-c C-v C-v (org-babel-expand-src-block), then I see select * from tablename; but if I get rid of the :var then I see select * from $table; demonstrating that the :var substitution has been performed What do you get when you expand the block? Dan > > #+srcna

[Orgmode] Re: [Feature request] org-backup

2011-02-13 Thread Dan Davison
g a version control tool such as git for this. Dan > > Cheers, > > Marcelo. > > ___ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailm

[Orgmode] Re: [BABEL] "unset" :var definitions for subtree

2011-02-13 Thread Dan Davison
ches back and forth? This is in branch ob-inherit at https://github.com/dandavison/org-devel. I've given you write access to the repo. The branch isn't ready to go yet, just a first pass. Currently, with this file ----- #+property: var a=1 #+property: var b=2

[Orgmode] Re: Something like SETUPFILE, but in .emacs?

2011-02-13 Thread Dan Davison
e trouble finding the appropriate variable for something, or if setting the variables isn't behaving the way you want. Dan > But most of the comments on this list seem to say I should > modify my .org files (at least to include #+SETUPFILE), so I guess > I'll consider that as s

[Orgmode] [Babel] Interpreting results as tables and (eval)'uation of them

2011-02-13 Thread Dan Amlund Thomsen
I've encountered some weird, possible buggy, behavior when interpreting results as tables (tested with python, scheme and lisp). * Item 1: Interpreting result as table With ":results value" the result is interpreted as a table if possible, but with ":results output" it isn't. This happens with pyt

[Orgmode] Re: [BABEL] "unset" :var definitions for subtree

2011-02-12 Thread Dan Davison
unset the variable for that one code block. Agreed. It's not clean, but currently in this situation one could just set the offending variable to some other value. > 2. say you want the same session for /nearly/ every code block in a >file. > 3. same for :dir, :file, or :shebang...

[Orgmode] Re: [BABEL] "unset" :var definitions for subtree

2011-02-12 Thread Dan Davison
ader args. Whereas normal property inheritance searches up the tree until the specified property is encountered, my patch searches up the tree to the root, collecting all the :var assignments encountered. So perhaps we should go for a solution involving both the new ":var a=1 b=2" syntax (to

[Orgmode] Re: [Babel][R] buffer-wide and code block specific use of :session

2011-02-12 Thread Dan Davison
#+BABEL entirely, so please consider it deprecated and use this form instead. After evaluating the first block, an ESS R buffer named *R* should exist, in which the variable cormat should be defined. Let me know if your problem persists. Dan > > #---

[Orgmode] Re: [PATCH] Allow property retrieval before first heading?

2011-02-12 Thread Dan Davison
Dan Davison writes: > Currently (org-entry-get) throws an error if point is before the first > heading. Is there a reason that this must be so? Org is too essential > for headings to be obligatory! > > An example of when it would be useful to get properties is in a buffer > con

[Orgmode] [PATCH] Allow property retrieval before first heading?

2011-02-12 Thread Dan Davison
header args from Org properties). I make heavy use of such buffers as a scratch pad. I'm not sure to what extent speed is essential in these functions, and therefore unsure whether the calls to `org-before-first-heading-p' are acceptable. Dan Allow properties to be retrieved before fir

[Orgmode] Re: [BABEL] "unset" :var definitions for subtree

2011-02-11 Thread Dan Davison
"Eric Schulte" writes: > Hi Dan, > > Many interesting suggestions, but I don't see how any of them are > simpler (either conceptually or in terms of implementation) than > defining a way to "unset" a variable previously set at a higher level of > gen

[Orgmode] Re: [BABEL] "unset" :var definitions for subtree

2011-02-11 Thread Dan Davison
i-line (if (and source-block (> (length source-block) 0)) (let ((params (eval `(org-babel-parse-header-arguments @@ -116,7 +115,7 @@ example above." ")")

[Orgmode] Re: [BABEL] "unset" :var definitions for subtree

2011-02-11 Thread Dan Davison
Rainer M Krug writes: > On 02/11/2011 01:19 PM, Dan Davison wrote: >> "Eric Schulte" writes: >> >>> Rainer M Krug writes: >>> >>>> On 02/10/2011 02:27 AM, Eric Schulte wrote: >>>>> Rainer M Krug writes: >>>>>

[Orgmode] Re: [BABEL] "unset" :var definitions for subtree

2011-02-11 Thread Dan Davison
tangling could honour BIND by enclosing their execution in the appropriate let binding? Variables bound by BIND in enclosing subtrees should be shadowed by those bound in more local subtrees, of course. On a related note, I wonder whether the #+BABEL line should be re-implemented so that it works

[Orgmode] Re: [BABEL] "unset" :var definitions for subtree

2011-02-11 Thread Dan Davison
Rainer M Krug writes: > On 02/11/2011 10:32 AM, Dan Davison wrote: >> Rainer M Krug writes: >> >>> On 02/10/2011 05:48 PM, Eric Schulte wrote: >>>> Rainer M Krug writes: >>>> >>>>> On 02/10/2011 02:27 AM, Eric Schulte wrote: >

[Orgmode] Re: [BABEL] "unset" :var definitions for subtree

2011-02-11 Thread Dan Davison
; > Or does that look too funky? > > No - I like it. I'm concerned that all this is looking rather complex. And I'm a bit dubious about the :xxx syntax -- those should correspond to keys in an association list. Could we step back a moment -- would someone mind giving me a c

[Orgmode] Re: Something like SETUPFILE, but in .emacs?

2011-02-10 Thread Dan Davison
think some of the answers may be in C-h v org-export-plist-vars. Dan org-export-plist-vars is a variable defined in `org-exp.el'. Its value is shown below. This variable is potentially risky when used as a file local variable. Documentation: List of properties that represent export/publishi

[Orgmode] Re: python :session and org_babel_python_eoe

2011-02-10 Thread Dan Davison
but so far R is the only babel language where we've hidden it. So the solution in terms of babel development could be 1. Test for the existence of _ before attempting to write it. Perhaps using locals().get('_') is None and 2. Don't echo that stuff to the python session

[Orgmode] Re: Announcing org-contacts, a bbdb-like contact manager for Org

2011-02-10 Thread Dan Davison
Julien Danjou writes: > On Thu, Feb 10 2011, Dan Davison wrote: > >> Hi Julien, >> >> I'm using it (with gnus). Looks great and seems to work very nicely so >> far. >> >> One little thing: I don't seem to be getting case-insensitive >>

[Orgmode] Re: Announcing org-contacts, a bbdb-like contact manager for Org

2011-02-10 Thread Dan Davison
ce for editing our org-contacts file. Can someone tell me if there is a way to instruct a file (or subtree) to start up in columns view, rather than having to issue C-c C-x C-c manually? (Like #+startup: columns or something)? Thanks very much, Dan ___ E

[Orgmode] Re: Announcing org-contacts, a bbdb-like contact manager for Org

2011-02-10 Thread Dan Griswold
/gnus-split-method, that is, an org-contacts function that would hook into nnimap-split-rule so incoming messages could be deposited into folders based on a specific property, for example, "gnus-private". Thank you for your great work. I really think there is huge potentia

[Orgmode] Re: [babel] Problem using noweb

2011-02-09 Thread Dan Davison
u were basically doing nothing wrong. Except... #+srcname has no underscore in it! > I believe that you need to specify noweb on every source block, > including the one you wish to include. Nope. :) Only bar needs :noweb above. Dan > That&#

[Orgmode] Re: [BABEL] Editing dot blocks with org-exp-blocks

2011-02-09 Thread Dan Davison
7;s the idiomatic org way of doing that? This #+begin_src emacs-lisp (setq org-src-lang-modes (append '(("dot" . graphviz-dot)) (delq (assoc "dot" org-src-lang-modes) org-src-lang-modes))) #+end_src doesn't work if there's alr

[Orgmode] Re: [babel] Execute checks before trying to load Babel languages

2011-02-09 Thread Dan Davison
'org-babel-load-languages >'( > (C . t) > (R . t) > (calc . t) > (ditaa . t) [...] > (sqlite . t))) > #+end_src > A couple of ideas: 1. I use this, which loads all languages supported in the current

[Orgmode] Re: [BABEL] Editing dot blocks with org-exp-blocks

2011-02-09 Thread Dan Davison
Eric S Fraga writes: > Chris Maier writes: > >> The begin_dot is part of org-exp-blocks, as I understand it, and >> appears required to make it evaluate the Dot code, create the image >> file, and then incorporate that into the exported document (LaTeX, >> HTML, etc.) >> >> Thanks, >> Chris >> >

[Orgmode] Re: [babel] After Tangle Change File Permission

2011-02-09 Thread Dan Davison
en the file will be made executable. E.g. :shebang #!/bin/bash. However, to use the hook function, does something like this not work? #+begin_src emacs-lisp (defun dan/make-tangled-shell-files-executable () (shell-command "chmod +x *.sh")) (add-hook 'org-babel-post-tangle-hook &

  1   2   3   4   5   6   7   >