Re: [O] How to escape [ and ] characters in org-mode links

2015-08-02 Thread Ivanov Dmitry
It works here on a recent Org. Thank you. I have a little outdated version. It started to work after I used the escaped percent as Kyle Meyer suggested.

Re: [O] How to escape [ and ] characters in org-mode links

2015-07-29 Thread Ivanov Dmitry
Hi, Xiha Unfortunately URL encoding the [ and ] doesn't work for me. Try to reproduce it. Create 2 files: file.txt. Content: $form['text1'] $form['text2'] file.org. Content:

[O] How to escape [ and ] characters in org-mode links

2015-07-25 Thread Ivanov Dmitry
org-mode has the following format for links: [[file-name::text-to-search][link text]] What should I do, if text-to-search contains ']' symbol? Like this: $form['input']

[O] How to show/hide the snippet block in org-babel when the cursor is inside the snippet text

2014-12-16 Thread Ivanov Dmitry
I would like to implement the following. Suppose, we have this org file: #+BABEL: :cache yes :tangle yes :noweb yes #+NAME: top_block#+begin_src perl :tangle test.pl :noweb tangle :shebang #!/usr/bin/perl use strict; use warnings; open(my $fh, , test.txt) or die cannot open file

[O] Extra empty line at the top of the page when tangling.

2014-10-21 Thread Ivanov Dmitry
Code: #+BABEL: :cache yes :tangle yes :noweb yes #+NAME: top_block #+begin_src perl :tangle test.pl :noweb tangle #!/usr/bin/perl use strict; use warnings; open(my $fh, , test.txt) or die cannot open file name: $!; output-all close($fh); #+end_src #+NAME: output-all

[O] How to join cells in tables and center content

2013-05-30 Thread Ivanov Dmitry
Suppose, I am writing a database table structure. Is it possible to join the 1-st two cells? And make 'table1' centered? Current view and desired: | table1 | | | table1 | |+---+ |+---+ | id | value |-| id | value | |

[Orgmode] how to stop delete key putting a region into kill ring

2010-08-14 Thread Ivanov Dmitry
When I am editing a text in Emacs - not only in org-mode - when I select a region and press Del to remove it, it's being placed into the clipboard and when I want to paste some text instead I have to get rid of it. Does anybody know, how to stop it and make Del simply kill the region without

[Orgmode] [PATCH] /contrib/lisp/org-collector.el

2010-08-10 Thread Ivanov Dmitry
* org-read-prop ** added a more detailed comment ** changed 2 if stements to 1 cond to make the code more comprehensible. ** added (condition-case nil (read prop) (error prop))) instead of (read prop) so, if any error occurs during the conversion of prop to lisp expression - a

[Orgmode] Re[2]: need detailed instructions for submitting the patch

2010-08-10 Thread Ivanov Dmitry
Carsten, can you kindly add this to http://orgmode.org/worg/org-contribute.php#sec-3 To submit the patch follow the instructions: This command will make a patch between the staging area (in your computer), and the file you modified: git diff -p org-whatever.el org-whatever.el.diff If

Re[2]: [Orgmode] Re[2]: need detailed instructions for submitting the patch

2010-08-10 Thread Ivanov Dmitry
Ivanov, please register at http://repo.or.cz and drop me an email with your username -- then you'll be able to improve this page. My username is usr345 Please reread Bernt's email before doing so, it might help keeping things clear. I was trying to understand, how to create a topic branch

Re[2]: [Orgmode] Re[2]: need detailed instructions for submitting the patch

2010-08-10 Thread Ivanov Dmitry
Yes, Nick, I was asking about the git commands. Thanks. It seems, that creating a topic branch is more complicated, then simply editing the local master copy, creating a diff file and sending it to the mailing list. I think it should be used only in complicated cases. Dmitry

[Orgmode] need detailed instructions for submitting the patch

2010-08-09 Thread Ivanov Dmitry
The http://orgmode.org/worg/org-contribute.php#sec-3 says: Git can be used to make patches and send them via email - this is perfectly fine for minor changes. These patches will be automatically registered at John Wiegley's patchwork server Please, tell me, what commands should I run to create

Re[6]: [Orgmode] programming for org-mode

2010-08-08 Thread Ivanov Dmitry
I modified the scheme and the function. I think, that these 2 if-s just complicate the code for comprehension: we have 3 cases, for each of them we should return the appropriate value. Here is my variant of the function, including the fix, that you suggested: (defun org-read-prop (prop)

Re[4]: [Orgmode] programming for org-mode

2010-08-08 Thread Ivanov Dmitry
Thanks, David. I improved the scheme, added 2 question. Please, take a look. org-collector.pdf Description: Adobe PDF document ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org

Re[4]: [Orgmode] programming for org-mode

2010-08-06 Thread Ivanov Dmitry
Hi, Marcelo. I used Visio. Then saved as Postscript and converted to pdf, using ps2pdf. ___ 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

Re[2]: [Orgmode] programming for org-mode

2010-08-05 Thread Ivanov Dmitry
Hi, Eric. I decided to draw schemes for functions in your module org-collector.el. And started from org-read-prop. Please, check my pdf file - my questions are marked with green. If there are no attachments allowed in the mailing list, you can get it here:

[Orgmode] programming for org-mode

2010-07-15 Thread Ivanov Dmitry
Hi, can anyone give me a tutorial for org-mode programming and it's API. I just read Eric Schultes module org-collector.el, but I can't understand the code: how it is organized and how to write the elisp for org-mode. Can anyone help? ___

[Orgmode] No subscript when exporting

2010-07-02 Thread Ivanov Dmitry
I create a program documentation in org mode. When I export to html names with underscore, the second part is a subscript (like in LaTeX): manufacturer_id - id is a subscript. How can I avoid this? ___ Emacs-orgmode mailing list Please use `Reply

Re[2]: [Orgmode] automatic line wrap

2010-06-05 Thread Ivanov Dmitry
I found the solution: (add-hook 'org-mode-hook (lambda () (toggle-truncate-lines))) ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org

[Orgmode] automatic line wrap

2010-06-04 Thread Ivanov Dmitry
How can I set the org-mode to automatically wrap the long lines, so they would fit the window size, as it is done in the fundamental mode? ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org

Re[2]: [Orgmode] Literate programming

2010-05-11 Thread Ivanov Dmitry
What is this tree buffer you speak of? The tree buffer is a library from CEDET project, widely used in ECB. Look at this screenshot, and you'll see tree buffers at the top of the frame: http://ecb.sourceforge.net/screenshots/12.png Are you telling me that I can already use Org to view the

[Orgmode] Literate programming

2010-05-07 Thread Ivanov Dmitry
Hi. I have been using a literate programming tool: leo editor. Maybe someone used it. A programmer can create a tree with the description of the program with the minuteness he wants. In each node he has a chunk of code and comments, if needed. Is anybody interested in creating an emacs mode,