Re: [O] Programmatically construct agenda from list of headline ids

2016-04-26 Thread Herbert Sitz
Alexander Baier mailbox.org> writes: > > Hi! > > As the title mentions I have a list of ids of existing org headlines and > want create an agenda view listing all of these headlines. > > Is there functionality in org-agenda, that allows me to do this? > > Best Regards, Nobody else has offere

Re: [O] Displaying property values in agenda search result

2016-03-15 Thread Herbert Sitz
Markus Heller gmail.com> writes: > > Hello, > > how can I display property values in the agenda, more specifically, in > the results of an agenda search? > I think the straigtforward way would be to use column view, and set up your column view to show, in your case, the PROJECT property. Se

Re: [O] export subtree

2015-12-10 Thread Herbert Sitz
Not a perfect solution, buy I think you can use the #+SELECT_TAGS option to set which tress will be exported by default, then tag your desired export tree with that tag. Then when you export the full buffer (not just a subtree) it will choose the tree with that tag. E.g.,

Re: [O] Problem with org-collector.el in Org v. 8.3

2015-11-25 Thread Herbert Sitz
Whoops, turns out that the org-collector.el file I was grabbing in step 1 was _NOT_ the one from this link: http://orgmode.org/worg/code/elisp/org-collector.el Instead, I was using a copy of the org-collector.el file in most recent org-contrib-plus package. The version in org-contrib-plus a

[O] Problem with org-collector.el in Org v. 8.3

2015-11-25 Thread Herbert Sitz
I seem to be having same problem with org-collector in v.8.3as was reported by Charlie Millar back in April. I checked with him and he was never able to resolve the issue. Here's his original post: http://article.gmane.org/gmane.emacs.orgmode/96966/match=org+collector It was easy to confirm tha

Re: [O] how to get images support in Emacs on Windows?

2015-02-22 Thread Herbert Sitz
Ben gmail.com> writes: > Actually, I use few inline images. Most of my images are large. They should be resized to look pretty on emacs. But to resize them I need to build emacs with ImageMagick. And I haven't tried that yet. > Are you sure you need to rebuild Emacs? On my Linux machine I run

Re: [O] how to get images support in Emacs on Windows?

2015-02-20 Thread Herbert Sitz
Ben gmail.com> writes: > > You can download the corresponding dlls from ezwinports [fn:1] and put them into emacs's `bin` directory. > > There are some instructions in the "Image support" part on page [fn:2]. > > [fn:2] https://ftp.gnu.org/gnu/emacs/windows/ > Strangely, the instructions and

Re: [O] how to get images support in Emacs on Windows?

2015-02-19 Thread Herbert Sitz
Ben gmail.com> writes: > > You can download the corresponding dlls from ezwinports [fn:1] and put them into emacs's `bin` directory. > > There are some instructions in the "Image support" part on page [fn:2]. > > [fn:1] http://sourceforge.net/projects/ezwinports/files/ > > [fn:2] https://ftp.g

[O] how to get images support in Emacs on Windows?

2015-02-19 Thread Herbert Sitz
I'm trying to use inline images on Windows and (I think?) I've gotten to the point where I understand that this is not available with the standard GNU Emacs installation on Windows. My understanding is that I need an "image.dll" that I can put in the bin directory. I think that comes as part of E

Re: [O] adding custom org-keymaps for EVIL Vim emulator

2012-02-28 Thread Herbert Sitz
Herbert Sitz gmail.com> writes: > > (define-minor-mode evil-org-mode > "minor mode to add evil keymappings to Org-mode." > :keymap (make-sparse-keymap) > (evil-local-mode t)) > Whoops, I left out the earlier lines to load and enable Evil. They are below. I

[O] adding custom org-keymaps for EVIL Vim emulator

2012-02-28 Thread Herbert Sitz
I was playing around with Evil and like it quite a bit. It feels better than the previous Viper/Vimpulse package I was using, plus documentation is good, clear, and it seems easy to customize. One problem with Org for me has been keybindings. Even with a Vim emulator that does a decent job of vi

Re: [O] Tags question

2011-12-24 Thread Herbert Sitz
Nick Dokos hp.com> writes: > There is a function that is used for tags completion: > > , > | org-global-tags-completion-table is a Lisp function in `org.el'. > | > | (org-global-tags-completion-table &optional FILES) > | > | Return the list of all tags in all agenda buffer/files. > | Option

Re: [O] update agenda on file modification

2011-12-15 Thread Herbert Sitz
sergio sergio.spb.ru> writes: > > Is it possible to update agenda on .org file modification? > Do you mean whenever a buffer changes? If so then I think the answer is No, and you wouldn't want it to, since you frequently are working in agenda and causing changes to the document buffers. This h

Re: [O] file name prefix in agenda view

2011-12-15 Thread Herbert Sitz
Herbert Sitz gmail.com> writes: > > The first field of agenda lines is actually the 'Category' of the heading, > defaults to the filename. You can get it to blank out the Category field by > including this line in config lines of your documents: > > #+CATEGORY &

Re: [O] file name prefix in agenda view

2011-12-15 Thread Herbert Sitz
sergio sergio.spb.ru> writes: > Is it possible to turn of file prefix (file:) in agenda view? > I use the only one file for agenda and don't plan to use more than one. The first field of agenda lines is actually the 'Category' of the heading, which defaults to the filename. You can get it to bla

Re: [O] The Org->ODT exporter is now in Org's core (latest git)

2011-12-11 Thread Herbert Sitz
Thomas quantentunnel.de> writes: > > There is ODT2ORG > (https://bitbucket.org/josemaria.alkala/odt2org/wiki/Home) > which lets you import odt files in org-mode. > It works quite well and may need > just some minor polishing. > Thomas -- Thanks, I think that's what I was thinking of. Fo

Re: [O] The Org->ODT exporter is now in Org's core (latest git)

2011-12-10 Thread Herbert Sitz
Bastien altern.org> writes: > > Dear all, > > as the subject says. Please all test this heavily and report > any problems. This will be part of Org 7.8 and soon in Emacs. > > Thanks a lot to Jambunathan for all this efforts, let's make > sure everything is smooth before the release! > > Bes

Re: [O] benefit to having org files in one folder

2011-12-10 Thread Herbert Sitz
prad towardsfreedom.com> writes: > > i read somewhere that we should keep orgfiles in an org folder. > i've used org casually that way and otherwise. > > what advantages are there to having them in a single folder? > It can be easier to specify agenda files if you have all of them in a single d

Re: [O] Viewing all entries of a file in Agenda

2011-12-10 Thread Herbert Sitz
Sven Bretfeld gmx.ch> writes: > It is the last line that puzzles me. If I have it like above, every call > of this agenda is interrupted by the question which tag I want to query > for. Hitting RET does what I want, namely displaying all headlines of > the file. How is that possible without Emacs

Re: [O] [feature request] Org as an Excerpt Database (or Multivalue Properties)

2011-12-10 Thread Herbert Sitz
Sven Bretfeld gmx.ch> writes: > > > A property search for "code-writing" should match this citation and all > others with this property. An additional search for "career" should > narrow the matches down. But orgmode understands "money, ... ethics" as > ONE value, not FOUR. That's the problem.

Re: [O] Directional quotes in html

2011-12-06 Thread Herbert Sitz
tycho garen tychoish.com> writes: > > The directional quotes are processed by LaTeX and org have very little > to do with this. Ahh, thanks, I should have known that. > > > What is best way to get directional pairs of open- and close-quotes in html > > export? > > http://daringfireball.net/pr

Re: [O] Directional quotes in html

2011-12-06 Thread Herbert Sitz
Christian Moe christianmoe.com> writes: > > Hi, Herb, > > I keep this in my .emacs: > > (setq org-export-html-special-string-regexps >(cons > '(" \"\\([^\"]+\\)\"" . " “\\1”") > org-export-html-special-string-regexps)) > > There may be a better way to do it altogether,

[O] Directional quotes in html

2011-12-06 Thread Herbert Sitz
In my exports to pdf standard double-quote and single-quote (apostrophe) characters both get translated to corresponding pairs of opening and closing quotes. But in export to html both double- and single-quotes seem to be same in resulting html as they were in the org text, non-paired, non-directi

Re: [O] Generating clock table for arbitrary date range

2011-12-03 Thread Herbert Sitz
A. Ryan Reynolds gmail.com> writes: > > Is there any way to specify a start and end date for the :block property of a clock table? Lately I have often > found myself submitting an invoice based upon my clock report on Friday evening, only to be called > frantically on Saturday and having to put

Re: [O] how to show deadlines in global to-do list?

2011-12-01 Thread Herbert Sitz
James Harkins gmail.com> writes: > I like the out-of-the-box to-do list, except one thing: I would like > to see the items' deadlines. The weekly agenda view shows the > deadlines, but I need a view where I can see *only* to-do items and > their deadlines. > Here is one way: Include this line i

Re: [O] Open Drawer using keys or even better automatically

2011-12-01 Thread Herbert Sitz
Markus Grebenstein mgrebenstein.de> writes: > > Dear List, > > after converting my whole thesis from Scrivener to Orgmode I'm missing > just one feature: > Synopsis > > The method proposed in the list using the VISIBILITY property is not > suitable for me since I want to have the synopsis a

Re: [O] [beamer] Can I just export one frame?

2011-11-21 Thread Herbert Sitz
zwz gmail.com> writes: > It takes long to export the whole file when it contains many babel > stuff. And in many cases, I just want to check if the current frame is > arranged as expected. SO I just want to know if there is some convenient > way to export just one frame without tagging all the ot

Re: [O] Failure exporting with emacs --batch

2011-11-15 Thread Herbert Sitz
Nick Dokos hp.com> writes: > > That doesn't matter here: both of the above should work fine in a bash > (or similar) shell environment. I prefer the single quote style in > general, since it allows me to leave everything else unchanged[fn:1]. > > But shell quoting is a minefield: when you have t

Re: [O] Failure exporting with emacs --batch

2011-11-15 Thread Herbert Sitz
Herbert Sitz gmail.com> writes: > > Not sure, but I do something similar with a single --eval: > > --eval '(progn (find-file "filename") (org-export-as-html-and-open 3) )' > Except my version has double quotes for --eval argument and backslashe

Re: [O] Failure exporting with emacs --batch

2011-11-15 Thread Herbert Sitz
Tom Prince ualberta.net> writes: > With b43c1c621f52f4a51d8d79cb76c226dfed003998 running > > emacs --no-init-file --load min.el --eval '(setq debug-on-error t)' --eval '(find-file "test.org")' > -eval '(org-export-as-html 3)' --batch > Not sure, but I do something similar with a single --eval

Re: [O] regenerating agendas automatically if any .org files change

2011-11-11 Thread Herbert Sitz
Viktor Rosenfeld googlemail.com> writes: > > AFAIK, there can only be one agenda view (an expert correct me, if I'm > wrong). But you can multiple blocks in the agenda. Search for "Office > block agenda" in: > > http://orgmode.org/worg/org-tutorials/org-custom-agenda-commands.html > > Cheers,

Re: [O] Feature suggestion

2011-11-06 Thread Herbert Sitz
Markus Grebenstein mgrebenstein.de> writes: > > since I used Scrivener (Windows Beta) quite a while I'd love to have > more of fletcher penny's multimarkdown (or MMD- like Syntax) integrated > in orgmode to make it more versatile. Sadly I am not a lisp programmer > at all... > Markus -- Wha

Re: [O] Video showing Jambunathan's ODT exporter

2011-11-04 Thread Herbert Sitz
Torsten Wagner gmail.com> writes: > > > It's obviously not for everyone; I'm sure some Org users have no need for > > documents in a word processor and steer as far away as possible. Others may > > love it, though, and it could potentially bring more users to Org community. > > Well it becomes

Re: [O] New version of VimOrganizer, an Org-mode clone in Vim

2011-11-03 Thread Herbert Sitz
Michael Brand gmail.com> writes: > > or at a similar place that there is also the possibility to have the > vi modal editing paradigm and most of the vi key bindings within Emacs > itself by using a vi emulation like Viper mode. (I use Emacs with > Viper mode all the time to have the best of both

[O] Video showing Jambunathan's ODT exporter

2011-11-03 Thread Herbert Sitz
Last week I finally got around to testing the export to ODT that Jambunathan's made available. Here's a 3 minute video showing how it works (calling odt export from a document open in VimOrganizer): http://vimeo.com/31564708 This is some seriously cool functionality for Org that deserves wider ex

[O] New version of VimOrganizer, an Org-mode clone in Vim

2011-11-02 Thread Herbert Sitz
I just formally pushed up a new version of VimOrganizer, an Org clone in Vim. This version is much closer to being a true alternative to using Org-mode in Emacs. I say alternative to "using Org-mode in Emacs", because VimOrganizer in large part operate as a front end to Org-mode by making calls t

Re: [O] Bug in pdf export of tables with latest development version

2011-10-28 Thread Herbert Sitz
Nick Dokos hp.com> writes: > > You probably should try using a long table: section 12.6.4 in the manual > or evaluate > > (info "(org) Tables in LaTeX export") > > Nick > Nick --- Thanks, that did the trick. Sorry to trouble you, upgrading to 7.7 development version and could have sworn

Re: [O] Bug in pdf export of tables with latest development version

2011-10-28 Thread Herbert Sitz
Herbert Sitz gmail.com> writes: > I'm having problems exporting to pdf with a source block that generates a table > result. If the table has enough rows to get to bottom of page, it seems, the > rest of the table output disappears/is discarded and the pdf document skips to

[O] Bug in pdf export of tables with latest development version

2011-10-28 Thread Herbert Sitz
I'm having problems exporting to pdf with a source block that generates a table result. If the table has enough rows to get to bottom of page, it seems, the rest of the table output disappears/is discarded and the pdf document skips to text after the source block output. Everything works fine wit

Re: [O] [odt] Support for annotations/comments

2011-10-28 Thread Herbert Sitz
Jambunathan K gmail.com> writes: > > I needed an excuse for adding support for annotations. Exporting the > below org will produce the attached odt/pdf files. Note that the pdf > file is produced by LibreOffice pdf export. > > Annotations is a ODT only feature right now and will not work with ot

[O] Evaluation on export has stopped working, org-export-blocks hook was culprit?

2011-10-28 Thread Herbert Sitz
I had a system that was working fine, but it seems to have stopped processing babel source blocks on export. I've switched between Org 7.4 and 7.7 on Win32 Emacs 23.1 and both have the problem. As I was writing this up I discovered that the problem was caused by a line I had added to my .emacs.

[O] "Clocktable summary at ..." line not showing up right in export

2011-10-27 Thread Herbert Sitz
I'm exporting a file with a clocktable and the first line of the Clocktable shows up with no date or time info, just: "Clock summary at" [followed by nothing] The rest of the clocktable shows up fine, and has lines that look like: #+begin: clocktable :maxlevel 1 Clock summary at [2011-10-27 Thu

Re: [O] How to include comments on export? org-exp-blocks.el?

2011-10-24 Thread Herbert Sitz
Herbert Sitz gmail.com> writes: > > Can someone give an example of how org-exp-blocks (or anything else) could be > used to export comment blocks as graphic notes in the text? > Just to add a bit. I do have the following line in my .emacs: (require 'org-exp-b

[O] How to include comments on export? org-exp-blocks.el?

2011-10-24 Thread Herbert Sitz
I'm trying to see if there is a way to include comments on export, to show up as something like the comments boxes you see in MS Word. I see Eric Schulte did some work on this and that somehow it ended up (I think) as part of what you could do using the org-exp-blocks addon. But I'm not sure how

Re: [O] Output to shell when calling emacsclient?

2011-10-23 Thread Herbert Sitz
Herbert Sitz gmail.com> writes: > Can't get it to work in Windows, though. In Windows it runs in the gui server > with correct output in Emacs server in the Messages buf and on the minibuf > command line. But not output in the terminal. > In case anyone cares -- I know

Re: [O] Output to shell when calling emacsclient?

2011-10-22 Thread Herbert Sitz
Nick Dokos hp.com> writes: > The message function will cause output to the echo area of emacs as well > as to the > standard output of the emacsclient command: > , > | $ emacsclient --eval '(message "Hi there")' > | "Hi there" > ` Nick -- Thanks, it does indeed work for me in Linux.

[O] Output to shell when calling emacsclient?

2011-10-22 Thread Herbert Sitz
I'm running --eval commands from the shell using emacsclient (and on windows emacsclientw). The --batch option does not seem to be an option with emacsclient, although it works fine with plain emacs. However, I would still like to print output to the shell that I'm issuing the emacsclient comma

Re: [O] Org, Diffs, and Version Control

2011-10-16 Thread Herbert Sitz
Eric Schulte gmail.com> writes: > Additionally you could try the --word-diff option to git, i.e., > > git diff --word-diff > > or > > git diff --word-diff=color > > which returns diffs which ignore whitespace changes and which show > changes on the word rather than line level. I believe

Re: [O] How do I automatically run a function whenever an org file is loaded?

2011-08-27 Thread Herbert Sitz
Herbert Sitz nwlink.com> writes: > > I'd like to put a function in my .emacs file to run each time an org file is > loaded. > > I don't see any hook for this among org-mode hooks; I assume this is something > that's accomplished using generic Emacs. >

[O] How do I automatically run a function whenever an org file is loaded?

2011-08-27 Thread Herbert Sitz
I'd like to put a function in my .emacs file to run each time an org file is loaded. I don't see any hook for this among org-mode hooks; I assume this is something that's accomplished using generic Emacs. Can someone tell me how to set this up? Thanks, Herb

Re: [O] problem with find-file in --eval from command line

2011-08-24 Thread Herbert Sitz
Viktor Rosenfeld googlemail.com> writes: > > This works on Bash (tested on 4.2.10) and should be easy to remember: > > emacs --eval "(find-file \"/home/somefile.org\" )" > > Cheers, > Viktor I thought I had tried already that but I hadn't. Thanks Viktor. -- Herb

Re: [O] problem with find-file in --eval from command line

2011-08-24 Thread Herbert Sitz
Achim Gratz nexgo.de> writes: > > Bash needs this instead > > emacs --eval "( find-file "'"'"/home/somefile.org"'"'" ) " > > THere may be other solutions for bash, but I never really got the hang > of their quoting rules. > > Regards, > Achim. Achim -- Thanks a lot, that Bash version work

[O] problem with find-file in --eval from command line

2011-08-24 Thread Herbert Sitz
I'm trying to start emacs from the command line and using an --eval section to open a file and do some operations. I'm having a problem with the Linux version. Here's how I do it without error using the strange quoting in Windows: ---> emacs --eval ^"( find-file c:/users/myname/somefile.org\^

Re: [O] How to add entry in the Agenda view

2011-08-03 Thread Herbert Sitz
Xin Shi gmail.com> writes: > I usually have a dedicated window (frame) for Org Agenda view. I found it would be very convient to be able to add item directly from the Agenda buffer, however, I don't see that command in the manual. (A closer one is the refill, which moves the entry to another categ

Re: [O] problem with command-line call to emacsclient

2011-07-02 Thread Herbert Sitz
> (defun test-kill-buffer (fname exp-function) > (let ((buf (find-file fname))) > (funcall exp-function) > (kill-buffer buf))) > > (test-kill-buffer "/tmp/abc.txt" 'some-function-to-call) > > will do the trick. > > Regards, Olaf Olaf -- Beauteous, thank you, that did indeed do the

[O] problem with command-line call to emacsclient

2011-07-01 Thread Herbert Sitz
I'm making a call to an emacsclient and trying to figure out how to get the buffer to unload at the end of the function I'm calling. I know kill-buffer isn't supposed to unload the buffer but I can't figure out what will. I've tried server-edit and server-kill-buffer in place of kill-buffer below

Re: [O] tangle paths

2011-06-27 Thread Herbert Sitz
skip gmail.com> writes: > > Is there a way I can produce output of tangle blocks to specific file paths? > I haven't tested, but one way might be to use the org-babel-post-tangle-hook to write a function to move files wherever you want: http://orgmode.org/manual/Extracting-source-code.html#ind

Re: [O] tangle paths

2011-06-27 Thread Herbert Sitz
Eric Schulte gmail.com> writes: > skip gmail.com> writes: > > > Is there a way I can produce output of tangle blocks to specific file paths? > > > > The manual is useful: http://orgmode.org/manual/tangle.html > Eric -- I was wondering similar thing, but manual wasn't clearing things up for m

Re: [O] org-babel -- Improper syntax error in session mode?

2011-06-27 Thread Herbert Sitz
Eric Schulte gmail.com> writes: > You are suggesting that code to be run "interactively" should be written > to an external file then loaded into the interactive session. Generally, yes, because babel's definition of "interactive" (execute an arbitrary collection of code lines all at once) is

Re: [O] org-babel -- Improper syntax error in session mode?

2011-06-27 Thread Herbert Sitz
Eric Schulte gmail.com> writes: > There are times when I explicitly do not want a session to start fresh. > Generally this is related to caching, for example if I have some value > which is expensive (say a couple of minutes of computation) to compute, > and it is currently alive in the session, t

Re: [O] org-babel -- Improper syntax error in session mode?

2011-06-21 Thread Herbert Sitz
Thomas S. Dye tsdye.com> writes: > > Aloha Herb, > > [ . . . ] > > Is it the case that the Ruby and Perl interpreters won't run code that > does run in non-session mode? > > All the best, > Tom > Tom -- I don't know about Ruby and Perl, have only done some basic testing in Ruby and it work

Re: [O] org-babel -- Improper syntax error in session mode?

2011-06-21 Thread Herbert Sitz
Thomas S. Dye tsdye.com> writes: > > Aloha Herbert, > > I think you're right about the potential to improve the documentation. > That's an on-going process. Could you suggest some specific changes? > > All the best, > Tom Tom -- I would suggest just adding specific warnings that session-bas

Re: [O] org-babel -- Improper syntax error in session mode?

2011-06-21 Thread Herbert Sitz
On Mon, Jun 20, 2011 at 5:08 PM, Nick Dokos wrote: > Herbert Sitz wrote: > >> ... (and, it turns out, _avoid_ blank lines in other cases) > > What are those cases? > > Nick > _Every_ spot where a blank line occurs that is followed by "unindented" line o

Re: [O] org-babel -- Improper syntax error in session mode?

2011-06-20 Thread Herbert Sitz
Eric Schulte gmail.com> writes: > > Babel sessions explicitly are thin wrappers around the interactive mode > of the language in question (whatever that may be). That is why Babel > happily doesn't implement sessions for all languages, the contract > simply is that if a language supports intera

Re: [O] org-babel -- Improper syntax error in session mode?

2011-06-20 Thread Herbert Sitz
On Mon, Jun 20, 2011 at 2:15 PM, Eric Schulte wrote: > > As far as I can tell the problem with the block below (missing the > space) is due to problems with the Python interpreter. It's not due to any problem with the interpreter itself, it's due to a purposeful design decision about the way the

Re: [O] org-babel -- Improper syntax error in session mode?

2011-06-20 Thread Herbert Sitz
Eric Schulte gmail.com> writes: > I've changed the python session evaluation so that it explicitly sends a > RET to the inferior Python process after every line of input. The > attached patch makes this change. > I can confirm that this fixes the > problem in your example (when an empty line i

Re: [O] org-babel -- Improper syntax error in session mode?

2011-06-19 Thread Herbert Sitz
Nick Dokos hp.com> writes: > Having said that, however, I think there *is* a problem: > > If you just start the python interpreter and start typing into it: > > --8<---cut here---start->8--- > x = 1 > for i in range(1,5): > x = x + i > print x > print "Did

Re: [O] org-babel -- Improper syntax error in session mode?

2011-06-19 Thread Herbert Sitz
Eric Schulte gmail.com> writes: > I can confirm that I see the same behavior. Also, if I manually type > the body of the code block into the session I get the same error output > from Python, so I don't believe this is due to a problem with Babel. > It appears the problem is that the python ses

Re: [O] org-babel -- Improper syntax error in session mode?

2011-06-19 Thread Herbert Sitz
Eric Schulte gmail.com> writes: > > Hi Herbert, > > I can confirm that I see the same behavior. Also, if I manually type > the body of the code block into the session I get the same error output > from Python, so I don't believe this is due to a problem with Babel. > Eric -- Thanks. Surely t

[O] org-babel -- Improper syntax error in session mode?

2011-06-19 Thread Herbert Sitz
I have a code block that evaluates fine in non-session mode but which gives syntax error in session mode. Since it works fine in non-session mode I assume this is a bug?: #+begin_src python :results output :session mypy x = 1 for i in range(1,5): x = x + i print

Re: [O] Batch mode evaluation of source code?

2011-06-17 Thread Herbert Sitz
Eric Schulte gmail.com> writes: > > By connecting to a persistent Emacs instance much of the .el script I > attached could be removed assuming Babel has already been configured in > the running Emacs server. > > Hope this helps -- Eric > Eric, Nick: Thanks, yes it does. Using also Nick's tip

Re: [O] Batch mode evaluation of source code?

2011-06-17 Thread Herbert Sitz
Nick Dokos hp.com> writes: > > > You do M-x server-start on the running emacs to start the server > part. Then you invoke emacsclient from the command line to connect to > it - check the manpage of emacsclient for details: you might be able to > arrange something with the --eval argument. > > N

Re: [O] Batch mode evaluation of source code?

2011-06-17 Thread Herbert Sitz
Herbert Sitz nwlink.com> writes: > I'm working on Windows7 and have an Emacs client running when I issue the > batch command, which I assumed also means there is a running emacs server. > Is the > call getting made to the running emacs server? If so, is there some way to

Re: [O] Batch mode evaluation of source code?

2011-06-17 Thread Herbert Sitz
Eric Schulte gmail.com> writes: > > The following org-mode file and minimal elisp file can be used > to print > the results of evaluating a code block from a batch Emacs > session > (note > this is using Emacs24, so Org-mode/Babel do not need to be > explicitly > loaded). > > I used the fo

[O] Batch mode evaluation of source code?

2011-06-17 Thread Herbert Sitz
The Org manual gives an example of a batch mode --eval that runs code to tangle code from Org files. I assume there's also a way to simply run a source code block and get its output in the terminal but I can't see how to do it. To give a concrete example, the Org manual uses this Python source bl

Re: [O] Problem with ditaa when doing export from command line

2011-06-10 Thread Herbert Sitz
Nick Dokos hp.com> writes: >That's a quoting problem (you are on Windoze, right?) The command line >on Windoze sucks raw eggs (well, not just the command line, but I'm biased . You are correct, sir! Thanks, it is indeed a quoting problem. > > On Linux, I used two kinds of quotes in order to pr

Re: [O] Problem with ditaa when doing export from command line

2011-06-10 Thread Herbert Sitz
Nick Dokos hp.com> writes: > Works fine for me here, so there is probably a syntax error in the lisp > file(s) you load or the lisp code you eval - try using a minimal setup > file as shown below: > > > I do > >emacs -batch --visit=foo.org -l export.el --funcall org-export-as-html > > wit

Re: [O] Problem with ditaa when doing export from command line

2011-06-10 Thread Herbert Sitz
Herbert Sitz nwlink.com> writes: > > Thanks for those tips, had forgotten about loading of settings, though .emacs > was still getting loaded. . . > That was a typo, meant to say, "I thought .emacs was still getting loaded."

Re: [O] Problem with ditaa when doing export from command line

2011-06-10 Thread Herbert Sitz
Carsten Dominik gmail.com> writes: > On Jun 10, 2011, at 9:33 AM, Herbert Sitz wrote: > > > I'm trying to do an export by calling emacs from the command line like so: > > > > emacs -batch --visit=myfilename --funcall org-export-as-html > > maybe yo

[O] Problem with ditaa when doing export from command line

2011-06-10 Thread Herbert Sitz
I'm trying to do an export by calling emacs from the command line like so: emacs -batch --visit=myfilename --funcall org-export-as-html The export works fine except the ditaa png from ditaa source block doesn't get created. I've run the export from within emacs and the ditaa png does get created

[Orgmode] Re: Does Effort support hours only?

2011-02-18 Thread Herbert Sitz
Lawrence Mitchell gmx.li> writes: > >>> Is it possible to specify estimated effort in something other than hours > >>> (0.5, or 0:30)? > > > Being able to specify suffixes like `d' for days or `w' for weeks would be > > awesome. But I guess it's very, very complex, though. > > Turns out probably

[Orgmode] Are Org manual and/or the compact guide themselves org files?

2011-02-17 Thread Herbert Sitz
I'm wondering if the online manual or compact guide are generated from org files. Seems like they could be, but I haven't been able to find mention of it anywhere, and I haven't seen anywhere where they could be downloaded in .org format. Am I missing something? Thanks, Herb Sitz

[Orgmode] Re: calling to Emacs server to export to PDF

2010-12-07 Thread Herbert Sitz
Nick Dokos hp.com> writes: > Yes, --batch implies -q, so you have to load your .emacs explicitly (or > perhaps > strip it down to its essentials and create a minimal .emacs for such a use). > > Probably not: try > > emacs --batch --load $HOME/minimal.emacs --visit --funcall org-export-as-pd

[Orgmode] calling to Emacs server to export to PDF

2010-12-07 Thread Herbert Sitz
I'm trying to call a function in an Emacs server to export a file to PDF using the following command: "c:\program files (x86)\emacs\emacs\bin\emacs.exe" -batch --visit=[myfile] --funcall org-export-as-pdf It works okay but it doesn't seem to use the default latex class that I've defined in my .em

[Orgmode] Re: Update on Org-mode clone in Vim

2010-11-25 Thread Herbert Sitz
Matt Lundin imapmail.org> writes: > > I'm curious to see how hyperlinks and capture might work in a vim > environment. Being able to call org-capture from anywhere in my Emacs > ecosystem (or should I say operating system) has spoiled me. :) > > Best, > Matt > Matt -- Regarding the hyperlinks

[Orgmode] Re: Update on Org-mode clone in Vim

2010-11-25 Thread Herbert Sitz
Carsten Dominik gmail.com> writes: > > > All this stuff is very similar to how Emacs Org-mode works, so the > > videos won't > > be too interesting to most of you. But I think they'll be quite > > helpful to > > people coming from Vim, some of whom have never even heard of Org- > > mode (if

[Orgmode] Re: Update on Org-mode clone in Vim

2010-11-25 Thread Herbert Sitz
Matt Lundin imapmail.org> writes: > > I'm curious to see how hyperlinks and capture might work in a vim > environment. Being able to call org-capture from anywhere in my Emacs > ecosystem (or should I say operating system) has spoiled me. :) > > Best, > Matt > > Matt -- There's some basic ca

[Orgmode] Update on Org-mode clone in Vim

2010-11-25 Thread Herbert Sitz
Just wanted to update anybody interested that I'm still making progress on my Vim org-mode clone. Agenda view and flexible agenda searches on dates, todos, and tags all work pretty well now. I've got basic clocking and clock table generation done, and some other things. All is available at githu

[Orgmode] Couple more videos of Org-mode clone in Vim

2010-11-09 Thread Herbert Sitz
For anybody interested I've posted a couple more videos of features in the would-be Org-mode clone. First is showing basics of sparse-tree-search: http://vimeo.com/16646716 And second is on tags: http://vimeo.com/16650450 I'll try to put something together showing the agenda date views and custo

[Orgmode] Re: An Org-mode clone for Vim

2010-11-05 Thread Herbert Sitz
John Hendy gmail.com> writes: > > > Wow! This is pretty neat. You've done some really cool things. >   John -- Thanks for the kind words. I've responded to some of your comments below to clarify just what my project is and what it isn't. > > I started learning emacs only for org-mode and ha

[Orgmode] An Org-mode clone for Vim

2010-11-05 Thread Herbert Sitz
I've been working on a Vim plugin that is file-compatible with Org-mode and that clones a good subset of features. It's gotten to the point where I'd like to put it up on Github and see if anyone wants to use it and/or help develop it with me. So far I've implemented a good subset of Org's functi

Re: [Orgmode] Re: suggestion: simplify depth stepping of document structure (outline) visibility

2010-09-03 Thread Herbert Sitz
On Thu, Sep 2, 2010 at 6:26 PM, Bastien wrote: > > Now I did a rewrite for some improvements, mainly to support dive in > > and out of headings also in a variant that leaves the visibility of > > siblings. The code is at the end. > > Michael Brand writes: > It tested the code, works nicely - tha

[Orgmode] Re: tab visibility cycling doesn't work over putty/ssh with viper-mode enabled

2010-05-21 Thread Herbert Sitz
Herbert Sitz nwlink.com> writes: > First, regarding C-c a not working to bring up > agenda-view, this problem exists on my > emacs instance in Ubuntu even when > using it directly, not through ssh. > Pressing C-c a gives error message > 'C-c a is undefined', de

[Orgmode] Re: tab visibility cycling doesn't work over putty/ssh with viper-mode enabled

2010-05-21 Thread Herbert Sitz
Jan Böcker jboecker.de> writes: > >Visibility cycling with TAB works both in command and insert mode. > I can also access the agenda using C-c a a. > >Looks like putty is misconfigured. While quickly >scanning through >putty's configuration menu, the only setting I >noticed was "Connection >->

[Orgmode] Re: tab visibility cycling doesn't work over putty/ssh with viper-mode enabled

2010-05-19 Thread Herbert Sitz
Herbert Sitz nwlink.com> writes: > > With viper-mode enabled all I get is a bell when I click on tab to cycle the > visibility of a heading in viper's normal mode. > > Shift-tab works okay, as does a tab key if I am in viper's insert mode (but of > course it

[Orgmode] tab visibility cycling doesn't work over putty/ssh with viper-mode enabled

2010-05-19 Thread Herbert Sitz
I'm trying to run orgmode/emacs over an ssh connection with PuTTY. Win7 client and Ubuntu host. With viper-mode enabled all I get is a bell when I click on tab to cycle the visibility of a heading in viper's normal mode. Shift-tab works okay, as does a tab key if I am in viper's insert mode