[O] Conditionally formatting org-html-postamble-format

2016-01-26 Thread Kaushal Modi
Hi, I have the org-html-postamble-format set to the below: (setq org-html-postamble-format `(("en" ,(concat "Exported using " ;; "%c" is replaced with `org-html-creator-string' ;; Emacs (Org mode )

Re: [O] Conditionally formatting org-html-postamble-format

2016-01-27 Thread Kaushal Modi
ave never used (until today maybe): format-spec, plist-get and a lot of assoc's and assq's :) Kaushal

Re: [O] Conditionally formatting org-html-postamble-format

2016-01-27 Thread Kaushal Modi
Thank you guys. With your help, I came up with this solution and it works great! I tested it with all 4 combinations (author=nil/non-nil and date=nil/non-nil). # #+AUTHOR: #+AUTHOR: Kaushal Modi # #+DATE: #+DATE: {{{time(%b %e %Y\, %a)}}} ;; Customize the HTML postamble (defun modi/org-html

[O] Inconsistent {{{time}}} org macro expansion

2016-01-28 Thread Kaushal Modi
cro did not expand. Why is that? Is it a bug? This is my org version: Org-mode version 8.3.3 (release_8.3.3-509-gc17fcc @ /home/kmodi/usr_local/apps/6/emacs/emacs-25/share/emacs/site-lisp/org/) Thanks. Kaushal Modi

Re: [O] Inconsistent {{{time}}} org macro expansion

2016-01-29 Thread Kaushal Modi
Thank you! I verified that the bug is now fixed.

Re: [O] display org-link url

2016-01-29 Thread Kaushal Modi
Or with the point on the link, you can hit C-c C-l. That will bring up the link for editing in the minibuffer. Hitting C-g will take you out of there without modifying the link.

Re: [O] What happened to org-set-local

2016-02-03 Thread Kaushal Modi
> > Has it been replaced - with what? > > Looks like setq-local can be used directly instead of org-set-local. - http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=bc0588fee4994eda9474e62313eb9925ad65dab1 - http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=07e16c2fc5687de5e1761bbf4ba3cf1777de15

Re: [O] references to arbitrary labels in org and export to latex

2016-02-05 Thread Kaushal Modi
document that you are looking for. -- Kaushal Modi

Re: [O] inline code and minted

2016-02-05 Thread Kaushal Modi
On Fri, Feb 5, 2016 at 10:01 AM Alan Schmitt wrote: > > Yes. Here it is for review, please let me know if I can apply it. > TIL that we can have inline source code highlighting in org exports! For anyone else that just got enlightened about this, check out "C-h i g (org) Structure of code block

Re: [O] references to arbitrary labels in org and export to latex

2016-02-05 Thread Kaushal Modi
On Fri, Feb 5, 2016 at 8:40 AM John Kitchin wrote: > Could you use footnotes for this? > > I had to go with that custom solution on emacs.SE because I wanted the links to be rendered just like [[link][description]], without plain-text links in the footnotes. But I also needed a Footnotes-like con

Re: [O] Bug: Regression in ox-texinfo export

2016-02-08 Thread Kaushal Modi
he section entitled ``GNU Free Documentation License.'' > > (a) The FSF's Back-Cover Text is: ``You have the freedom to copy and > modify this GNU manual.'' > @end quotation > > @c Emacs 25.0.50.4 (Org mode 8.2.10) > > regards, > Oleh > > -- -- Kaushal Modi

Re: [O] #+BEGIN_LaTeX deprecated

2016-02-09 Thread Kaushal Modi
Check out this announcement email about the syntax change: https://lists.gnu.org/archive/html/emacs-orgmode/2015-12/msg00525.html It has a snippet to convert the old syntax files to new syntax. -- Kaushal Modi On Feb 9, 2016 6:45 PM, "Myles English" wrote: > Hello Julien, > >

[O] [BUG] org-return after an empty description list item gives error

2016-02-10 Thread Kaushal Modi
G IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11 = Kaushal Modi

Re: [O] [BUG] org-return after an empty description list item gives error

2016-02-11 Thread Kaushal Modi
Thanks for fixing this quickly. On Thu, Feb 11, 2016 at 3:58 AM Nicolas Goaziou wrote: > Hello, > > Kaushal Modi writes: > > > I get an error from org-element-context if I have set > > org-return-follows-link to t and hit RET after an empty desc list item. > &g

[O] Help understanding what's imported from a #+SETUPFILE file

2016-02-12 Thread Kaushal Modi
be using some elisp) so that I do not need to manually enter the below in all my org files. #+LaTeX: \BeforeBeginEnvironment{minted}{\begin{mdframed}} #+LaTeX: \AfterEndEnvironment{minted}{\end{mdframed}} -- Kaushal Modi

Re: [O] Help understanding what's imported from a #+SETUPFILE file

2016-02-12 Thread Kaushal Modi
Actually, I just realized that changing those 2 lines to: #+LaTeX_HEADER: \BeforeBeginEnvironment{minted}{\begin{mdframed}} #+LaTeX_HEADER: \AfterEndEnvironment{minted}{\end{mdframed}} in the SETUPFILE works too. I don't recall the reason why I did not have them as LaTeX_HEADER earlier. But the

Re: [O] Help understanding what's imported from a #+SETUPFILE file

2016-02-12 Thread Kaushal Modi
> SETUPFILE exports keywords defined in `org-export-options-alist' and in > back-end specific options (i.e. :options-alist). I tried "C-h v org-export-options-alist" but the result seemed cryptic to me: ((:title "TITLE" nil nil parse) (:date "DATE" nil nil parse) (:author "AUTHOR" nil user-full

[O] org table with auto-incrementing numbers in a column

2016-02-15 Thread Kaushal Modi
calculated in one go. Any help? Thanks! Org-mode version 8.3.3 (release_8.3.3-597-gcaf66e @ /home/kmodi/usr_local/apps/6/emacs/emacs-25/share/emacs/site-lisp/org/) -- Kaushal Modi

Re: [O] org table with auto-incrementing numbers in a column

2016-02-16 Thread Kaushal Modi
Thanks everyone for replying! I made one mistake before posting that question: I should have looked up C-h f org-table-recalculate. And now I did :) I should have done "C-u C-c * " when the point was in the table (I was doing just C-c *, which evaluates only the current row). >> Derek > | N | |

[O] Generate BEGIN_EXAMPLE block dynamically during export

2016-02-16 Thread Kaushal Modi
e a good way to generate the EXAMPLE block on the fly during export with the value of {{{TAR_FILE}}} replaced based on the macro definition? -- Kaushal Modi

Re: [O] Generate BEGIN_EXAMPLE block dynamically during export

2016-02-16 Thread Kaushal Modi
Thanks Tom. Your solution almost gets me there but I still need to manually update the tar-file argument value in the #+CALL lines. What I am looking for is for something like below to work (but it isn't). I have multiple such #+CALL lines and I would like to not manually update the tar-file arg

Re: [O] Generate BEGIN_EXAMPLE block dynamically during export

2016-02-16 Thread Kaushal Modi
That works perfectly! Thank you! Just to add that I had to have "#+HEADER: :exports none" as I did not want the elisp code to be visible in the exported documents. #+PROPERTY: header-args:emacs-lisp :var tar-file="bar.tar.gz" #+NAME: tar-eg #+HEADER: :exports none #+BEGIN_SRC emacs-lisp (format

Re: [O] Generate BEGIN_EXAMPLE block dynamically during export

2016-02-16 Thread Kaushal Modi
OK, now I have just one follow up question. I would like to tangle the result to a separate file. So I am looking for a way to save the result "> tar xvzf bar.tar.gz" to a separate file. I tried adding ":tangle filename" to #+CALL/#+BEGIN_SRC but that did not help. Adding to #+CALL does not do any

Re: [O] Generate BEGIN_EXAMPLE block dynamically during export

2016-02-16 Thread Kaushal Modi
I finally have this working! #+PROPERTY: header-args:emacs-lisp :var tar-file="bar.tar.gz" :exports none :file "results.txt" #+NAME: tar-eg #+BEGIN_SRC emacs-lisp (format "> tar xzvf %s" tar-file) #+END_SRC #+CALL: tar-eg() :wrap example :exports none #+CAPTION: =results.txt= #+NAME: code__resu

Re: [O] Generate BEGIN_EXAMPLE block dynamically during export

2016-02-16 Thread Kaushal Modi
This is turning out to be more complicated than I anticipated .. I need to (1) Export the evaluated emacs-lisp block to a separate file, and (2) also include the result in the same document I can do that but it is a multi-step process: (1) First I need to export the result to the file only. I ca

Re: [O] Generate BEGIN_EXAMPLE block dynamically during export

2016-02-16 Thread Kaushal Modi
This seems to work from my brief testing: #+AUTHOR: #+OPTIONS: toc:nil #+PROPERTY: header-args:emacs-lisp :var tar-file="bar.tar.gz" :exports none #+NAME: tar-eg #+BEGIN_SRC emacs-lisp (let ((contents (format "> tar xzvf %s" tar-file))) (with-temp-buffer (insert contents) (write

Re: [O] How to load org-beautify-theme

2016-02-21 Thread Kaushal Modi
x27;t packaged org-beautify-theme to be loaded using load-theme. PS: Also copying the package author at the email I got from the github page. -- Kaushal Modi

Re: [O] bug#18617: 24.3; loading simple-wiki-mode breaks org-mode

2016-02-21 Thread Kaushal Modi
I can recreate that bug. The "first" alias is defined in the cl library. So you would need to (require 'cl) before requiring simple-wiki. I eval'd simple-wiki from here: http://cvs.savannah.gnu.org/viewvc/*checkout*/http-emacs/http-emacs/simple-wiki.el I haven't yet looked into the internals of

Re: [O] bug#18617: 24.3; loading simple-wiki-mode breaks org-mode

2016-02-21 Thread Kaushal Modi
A quick look at the code shows that it pollutes the namespace with undeclared and un-let-bound variables like "tag" (and there could be more like that). If we investigate further, we might find a culprit like that that's causing this problem. (defun simple-wiki-get-tag () (let (prompt) (if

[O] make test is failing? [ob-fortran stuff]

2016-02-22 Thread Kaushal Modi
's failing just for me? I am running Emacs version: GNU Emacs 25.0.91.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.23) of 2016-02-21, built using commit e19c1c301700430ae428f40c2a364671f5d50dcf. -- Kaushal Modi

[O] [PATCH] Fix the single quote printed in the message printed by org-table-edit-formulas

2016-03-09 Thread Kaushal Modi
5160776 Mon Sep 17 00:00:00 2001 From: Kaushal Modi Date: Wed, 9 Mar 2016 01:18:58 -0500 Subject: [PATCH] Fix the single quote printed in the message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix the quote style when in the "C-c '" k

Re: [O] [PATCH] Fix the single quote printed in the message printed by org-table-edit-formulas

2016-03-10 Thread Kaushal Modi
> > Shouldn't this be handled by `substitute-command-keys' already? The fix > looks like a hack. I don't think this has anything to do with substitute-command-keys. That function simply returns a string. So the below 2 forms display the exact same thing: "C-c ’" (note the curved right quote) by

Re: [O] [PATCH] Fix the single quote printed in the message printed by org-table-edit-formulas

2016-03-10 Thread Kaushal Modi
Good point. I will submit a new patch later today. On Thursday, March 10, 2016, Kyle Meyer wrote: > Kaushal Modi > writes: > > [...] > > > - (message > > + (message "%s" > > (substitute-command-keys "\\\ > > Edit formul

Re: [O] [PATCH] Fix the single quote printed in the message printed by org-table-edit-formulas

2016-03-10 Thread Kaushal Modi
I am unable to figure out how to escape the ` and ' in the help-echo text property. I tried the below: diff --git a/lisp/org-table.el b/lisp/org-table.el index 0a25772..749baca 100644 --- a/lisp/org-table.el +++ b/lisp/org-table.el @@ -794,10 +794,10 @@ When nil, simply write \"#ERROR\" in corrup

Re: [O] [PATCH] Fix the single quote printed in the message printed by org-table-edit-formulas

2016-03-10 Thread Kaushal Modi
Here's the updated patch (MINUS the help-echo fix): >From 238ccdfc8bbdeb53196392a4dff96478a19cb5a5 Mon Sep 17 00:00:00 2001 From: Kaushal Modi Date: Wed, 9 Mar 2016 01:18:58 -0500 Subject: [PATCH] Fix the single quote printed in the message MIME-Version: 1.0 Content-Type: text/plain; cha

Re: [O] [PATCH] Fix the single quote printed in the message printed by org-table-edit-formulas

2016-03-10 Thread Kaushal Modi
(setq ov (make-overlay b e))) > (overlay-put ov 'help-echo echo-str1)) > Thanks Paul. That was very educational. So it turns out that we do not need substitute-command-keys at all for help-echo text. Below is now the latest patch = previous patch + help-echo straight quote fix. >From a897b

Re: [O] [PATCH] Fix the single quote printed in the message printed by org-table-edit-formulas

2016-03-10 Thread Kaushal Modi
IBUTE, different from the one on emacs-25 branch ( http://git.savannah.gnu.org/cgit/emacs.git/tree/CONTRIBUTE ). Can you please review that? Thanks. -- Kaushal Modi

Re: [O] [PATCH] Fix the single quote printed in the message printed by org-table-edit-formulas

2016-03-11 Thread Kaushal Modi
maint branch to the master branch. What git command should I be looking at to do this in future? (because I always use the master branch and if I need to submit a patch in future, I would need to switch to maint branch and port changes from my master. Thanks. -- Kaushal Modi On Fri, Mar 11, 2016

Re: [O] [PATCH] Fix the single quote printed in the message printed by org-table-edit-formulas

2016-03-11 Thread Kaushal Modi
Thanks. -- Kaushal Modi

[O] Help with writing plain list followed by description list [ox-latex]

2016-03-15 Thread Kaushal Modi
itemize} \item Plain list item \end{itemize} \begin{description} \item[{Description}] This looks fine because I have moved the description list out of the plain list. \end{description} #+END_EXPORT - ====== -- Kaushal Modi

Re: [O] Help with writing plain list followed by description list [ox-latex]

2016-03-15 Thread Kaushal Modi
;s the solution: == * Good (with 2 blank lines) - Plain list item - Description :: Description list became part of plain list here! ====== -- Kaushal Modi On Tue, Mar 15, 2016 at 11:15 PM, Kaushal Modi wrote: > Hi,

Re: [O] Problems with M- on Emacs 25.

2016-04-17 Thread Kaushal Modi
I want my bindings to override everything else). -- -- Kaushal Modi

[O] How to hide a table column from exporting

2016-04-22 Thread Kaushal Modi
1/2 | junk | |---+-+--| Org-mode version 8.3.4 (release_8.3.4-748-g7e320e @ /home/kmodi/usr_local/apps/6/emacs/emacs-25/share/emacs/site-lisp/org/) Thanks. Kaushal -- -- Kaushal Modi

[O] Bug in vsum in org-mode table?

2016-04-22 Thread Kaushal Modi
acs/emacs-25/share/emacs/site-lisp/org/) Is anyone else able to recreate this? Thanks. Kaushal -- -- Kaushal Modi

Re: [O] Bug in vsum in org-mode table?

2016-04-22 Thread Kaushal Modi
f1* modifier > (or *f5* to get *2.0* and so on) > > #+TBLFM: @>$1=vsum(@2..@>>)*;f1* > > In the manual the decimal format %.2f, etc. is shown as an example but > apparently the f2 format is not mentioned. > > Is the %.Xf format preferred or is either one OK? > > Regards, > > Charlie Millar > -- -- Kaushal Modi

[O] bug#23365: 25.0.93; org-mode fails on export with include

2016-04-26 Thread Kaushal Modi
/org-mode.git/commit/?id=ef9637030456b153fd834f4c9202a9264d5ef18d So probably the same 44c8cd fix has to be applied to the org.el in emacs-25/master branches too? -- -- Kaushal Modi

Re: [O] Bug: Inconsistency with C-S-a and C-S-e [8.2.10 (release_8.2.10 @ /usr/local/Cellar/emacs-mac/emacs-24.5-z-mac-5.15/share/emacs/24.5/lisp/org/)]

2016-04-28 Thread Kaushal Modi
org-babel-result-hide-spec org-babel-hide-all-hashes) > org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point > org-babel-execute-safely-maybe) > org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers > org-cycle-hide-inline-tasks org-cycle-show-empty-lines > org-optimize-window-after-visibility-change) > org-confirm-elisp-link-function 'yes-or-no-p > org-edit-src-content-indentation 0 > org-metadown-hook '(org-babel-pop-to-session-maybe) > org-startup-truncated nil > org-clock-out-hook '(org-clock-remove-empty-clock-drawer) > org-src-fontify-natively t > ) > > -- -- Kaushal Modi

Re: [O] bug#23365: 25.0.93; org-mode fails on export with include

2016-04-28 Thread Kaushal Modi
ted before 25.1? Copying the org-mode ML for this. -- -- Kaushal Modi

Re: [O] How to hide a table column from exporting

2016-05-03 Thread Kaushal Modi
eginning-of-line))) (add-hook 'org-export-before-processing-hook #'mbrand/org-export-delete-commented-cols) ;; (remove-hook 'org-export-before-processing-hook #'mbrand/org-export-delete-commented-cols) #+END_SRC On Tue, Apr 26, 2016 at 12:29 PM Michael Brand

[O] Request to add support for escaping comments in org blocks

2016-05-03 Thread Kaushal Modi
: ` Can we please add support for comma escaped comments in source blocks? Thanks. Kaushal -- -- Kaushal Modi

Re: [O] Request to add support for escaping comments in org blocks

2016-05-03 Thread Kaushal Modi
> > Try this: > > #+BEGIN_SRC org :exports results :results replace :wrap example > ,#+STARTUP: align > ,* COMMENT Local Variables > ,# Local Variables: > ,# fill-column: 90 > ,# End: > #+END_SRC > > and be sure to (require 'ob-org) > > HTH, > That definitely helped. Thanks! -- -- Kaushal Modi

Re: [O] Capture template using variable

2016-05-05 Thread Kaushal Modi
and comma before my-capture-.. )) My guess is you need to evaluate my-capture-template-next before putting it in org-capture-templates and the backquote/comma above do that. -- -- Kaushal Modi

[O] Evaluate all org tables in file before exporting?

2016-05-06 Thread Kaushal Modi
to ensure that all the calculated values are correct. Or am I missing some org variable, setting which should take care of this? Thanks. -- -- Kaushal Modi

Re: [O] speed keys for plain lists?

2016-05-09 Thread Kaushal Modi
quot;) #'COMMAND) -- -- Kaushal Modi

Re: [O] speed keys for plain lists?

2016-05-09 Thread Kaushal Modi
. Actually org uses org-defkey instead of define-key for these bindings. But they are not context-aware keys; they apply to org-mode-map: http://orgmode.org/cgit.cgi/org-mode.git/tree/lisp/org.el?id=8127b3c30d8a2217468068a73f23bfa4945573dc#n19895 -- -- Kaushal Modi

Re: [O] Using org-entities to escape symbols

2016-05-10 Thread Kaushal Modi
see "\ast{}" being inserted verbatim? If it's the former, please provide your emacs or org mode versions and the error you see. If it's the latter, the solution is easy :). Simply add below to your config too. (setq org-pretty-entities t) I will update the emacs.SE solution with the same too. -- -- Kaushal Modi

Re: [O] Using org-entities to escape symbols

2016-05-10 Thread Kaushal Modi
he latest build of emacs-25 branch from git and the latest build of org-mode master branch git. -- -- Kaushal Modi

Re: [O] Using org-entities to escape symbols

2016-05-10 Thread Kaushal Modi
ing advised correctly, then can you let me know what you get when you do M-: (modi/org-entity-get-name "*") You should get "ast" in return when you evaluate that. Also I am confused why you cannot recreate what I see in emacs -Q. Are you explicitly using "emacs -Q"? Note that that Q is capital (not emacs -q). -- -- Kaushal Modi

Re: [O] Using org-entities to escape symbols

2016-05-10 Thread Kaushal Modi
x27;s one more try: 1. Download the attached modi-org-entity.el file 2. Run emacs -Q -l /PATH/TO/modi-org-entity.el --eval "(org-mode)" & 3. C-u * should then work as expected. Make sure to replace "/PATH/TO/" above with the actual path where you downloaded modi-org-entity.el. -- -- Kaushal Modi modi-org-entity.el Description: Binary data

Re: [O] Using org-entities to escape symbols

2016-05-10 Thread Kaushal Modi
emacs.git/commit/?h=emacs-25&id=9d2b8e768f2015a89f7609dedf7b28ea5e8123b5 It has been fixed in 25.x. I will see if I can find a workaround for it on 24.5. -- -- Kaushal Modi

Re: [O] Using org-entities to escape symbols

2016-05-10 Thread Kaushal Modi
On Tue, May 10, 2016 at 6:51 PM Kaushal Modi wrote: > I will see if I can find a workaround for it on 24.5. > Here's a final try .. Please replace the advising function with this one: (defun modi/org-insert-org-entity-maybe (orig-fun &rest args) "When the universal prefi

Re: [O] Using org-entities to escape symbols

2016-05-10 Thread Kaushal Modi
I have updated the final version here: http://emacs.stackexchange.com/a/16746/115 (also attached for reference) -- -- Kaushal Modi modi-org-entity.el Description: Binary data

Re: [O] Strange interactions between org-indent-mode and other overlays, including show-paren-mode

2016-05-11 Thread Kaushal Modi
s > it only comes back after point is moved. > > GNU Emacs 24.5.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.20.3) of > 2016-05-06 on arojas > Org-mode version 8.3.4 (8.3.4-50-g83e373-elpaplus @ > ~/.emacs.d/elpa/org-plus-contrib-20160509/) > -- -- Kaushal Modi

[O] Buffer local value lost when exporting? (was Evaluate all org tables in file before exporting)

2016-05-12 Thread Kaushal Modi
in the buffer will always be recalculated at the time of export even ;; if the buffer local value of that var is nil. (add-hook 'org-export-before-processing-hook #'modi/org-table-recalculate-buffer-tables) = On Fri, May 6, 2016 at 10:58 AM Kaushal Modi wrote: > Hi folks, >

Re: [O] Buffer local value lost when exporting? (was Evaluate all org tables in file before exporting)

2016-05-12 Thread Kaushal Modi
Forgot to mention my emacs and org versions; here they are: GNU Emacs 25.0.93.5 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.23) of 2016-05-05 Org-mode version 8.3.4 (release_8.3.4-778-g8127b3 @ /home/kmodi/usr_local/apps/6/emacs/emacs-25/share/emacs/site-lisp/org/) -- -- Kaushal Modi

Re: [O] Bug: org -> org export ignores latex blocks [8.3.4 (8.3.4-50-g83e373-elpaplus @ /home/andrea/.emacs.d/elpa/org-plus-contrib-20160509/)]

2016-05-12 Thread Kaushal Modi
rg/org-plus-contrib from Org Elpa. -- -- Kaushal Modi

Re: [O] Bug: org -> org export ignores latex blocks [8.3.4 (8.3.4-50-g83e373-elpaplus @ /home/andrea/.emacs.d/elpa/org-plus-contrib-20160509/)]

2016-05-12 Thread Kaushal Modi
f org installed, including the one from org git? -- -- Kaushal Modi

Re: [O] Bug: org -> org export ignores latex blocks [8.3.4 (8.3.4-50-g83e373-elpaplus @ /home/andrea/.emacs.d/elpa/org-plus-contrib-20160509/)]

2016-05-12 Thread Kaushal Modi
us-contrib, and you can use just the org package. But the mystery is still unresolved for me.. why did #+BEGIN_EXPORT syntax work for you .. May be someone else more knowledgeable can answer that. -- -- Kaushal Modi

Re: [O] Buffer local value lost when exporting? (was Evaluate all org tables in file before exporting)

2016-05-13 Thread Kaushal Modi
> Give this a try. I'll dig into this and get back to you. Thanks. -- -- Kaushal Modi

Re: [O] Buffer local value lost when exporting? (was Evaluate all org tables in file before exporting)

2016-05-13 Thread Kaushal Modi
LFM: $1=@#-1 #+BIND: modi/org-table-enable-buffer-wide-recalculation nil # Local Variables: # modi/org-table-enable-buffer-wide-recalculation: nil # End: = -- -- Kaushal Modi

[O] org-table-mark-field

2016-05-13 Thread Kaushal Modi
-p) ("S-SPC" . org-table-mark-field)) = [1]: http://endlessparentheses.com/define-context-aware-keys-in-emacs.html -- -- Kaushal Modi

Re: [O] org-table-mark-field

2016-05-13 Thread Kaushal Modi
(org-table-beginning-of-field bof-arg) (when bof-p (org-table-next-field)) (set-mark-command nil) (goto-char p) (when eof-p (org-table-beginning-of-field 1)) (org-table-end-of-field eof-arg) (exchange-point-and-mark))) -- -- Kaushal Modi

Re: [O] org-table-mark-field

2016-05-14 Thread Kaushal Modi
("b" (lambda (arg) (interactive "p") (when (eq 1 arg) (setq arg 2)) (org-table-beginning-of-field arg))) ("n" next-line) ("p" previous-line) ("q" nil "cancel" :color blue)) (bind-keys :map org-mode-map :filter (org-at-table-p) ("S-SPC" . hydra-org-table-mark-field/body)) -- -- Kaushal Modi

[O] Unique org version for dev builds? (Was: org -> org export ignores latex ..)

2016-05-16 Thread Kaushal Modi
in personal configs. Something like below would then be possible (if (org-mode-dev-p) (progn ;; new style ) (progn ;; old style )) Thanks. On Fri, May 13, 2016 at 11:45 AM Nicolas Goaziou wrote: > Hello, > > Kaushal Modi writes: > > > It would have been n

Re: [O] template for writing Emacs manuals in Org

2016-05-16 Thread Kaushal Modi
Copying Oleh as I believe he uses org to generate Info manual for his ivy package. -- -- Kaushal Modi

Re: [O] Agenda filter by any tag seems to be broken

2016-05-16 Thread Kaushal Modi
problem you are seeing in an emacs -Q session. I do not use tag filtering heavily, so "tags-type agenda" is not clear to me. I tried M-x org-agenda, followed by m, followed by / and then SPC. But I do not see that error. -- -- Kaushal Modi

Re: [O] Agenda filter by any tag seems to be broken

2016-05-17 Thread Kaushal Modi
(message "ret val: %S" ret)) Then when I do M-x org-agenda t / SPC, I get: arg tags: ("+") arg op: 43 in let, tag: "" in let, f: (not tags) ret val: ((not tags)) -- -- Kaushal Modi

[O] org-table bindings available outside org tables too?

2016-05-23 Thread Kaushal Modi
1]: http://orgmode.org/cgit.cgi/org-mode.git/tree/lisp/org.el?id=58f5def6256ebef9cde9485daf7f57c45cd4402a#n20025 [2]: http://emacs.stackexchange.com/a/22457/115 [3]: http://endlessparentheses.com/define-context-aware-keys-in-emacs.html [4]: https://github.com/jwiegley/use-package/blob/master/bind-key.el -- -- Kaushal Modi

Re: [O] org-table bindings available outside org tables too?

2016-05-24 Thread Kaushal Modi
so they just do table specific stuff. > Thanks for the reply. In that case, I think that the bind-keys approach is clean enough if a user wants to prevent the org-table-* fn bindings from shadowing their global map bindings when the point is not in a table. -- -- Kaushal Modi

Re: [O] assign tags via helm/avy?

2016-05-30 Thread Kaushal Modi
> If you use the ivy-family of list completion, check out the counsel package, and the cousel-org-tag function in there. > -- -- Kaushal Modi

[O] Preventing RESULTS from being formatted as org table [ob-awk]

2016-06-11 Thread Kaushal Modi
| org-mode | version | is | 8.3.4 | . | So how can I generate the result as one would normally see by running awk in the terminal, without the additional org-table pipe characters? -- -- Kaushal Modi

Re: [O] Preventing RESULTS from being formatted as org table [ob-awk]

2016-06-12 Thread Kaushal Modi
Bummer, found it; needed " :results raw" header arg On Sun, Jun 12, 2016 at 2:46 AM Kaushal Modi wrote: > Hi, > > I am running the latest builds of emacs-25 branch and org master branch. > > I used ob-awk for the first time today and was surprised to see that the >

Re: [O] Preventing RESULTS from being formatted as org table [ob-awk]

2016-06-12 Thread Kaushal Modi
Correction: ":results verbatim" On Sun, Jun 12, 2016 at 2:59 AM Kaushal Modi wrote: > Bummer, found it; needed " :results raw" header arg > > On Sun, Jun 12, 2016 at 2:46 AM Kaushal Modi > wrote: > >> Hi, >> >> I am running the latest bui

Re: [O] Preventing RESULTS from being formatted as org table [ob-awk]

2016-06-12 Thread Kaushal Modi
Hi all, I learnt that I need to have ":results verbatim" as a header argument for awk source blocks. But I don't understand why I need that in the first place. The default value of :results is replace. Then why is it converting the awk results to org tables? Thanks. Kaushal &g

Re: [O] Preventing RESULTS from being formatted as org table [ob-awk]

2016-06-12 Thread Kaushal Modi
On Sun, Jun 12, 2016 at 2:22 PM Thomas S. Dye wrote: > Aloha Kaushal, > > There are four classes of :results header arguments. :results replace > refers to how the results are handled. :results verbatim refers to the > type of result returned. > Hi Thomas, Yes, I learned

Re: [O] Preventing RESULTS from being formatted as org table [ob-awk]

2016-06-13 Thread Kaushal Modi
post. For now, ":results verbatim" does the job for me for awk source blocks. But :post looks like a very powerful generic solution. With your reply, I at least tried it out and I will keep that in mind for when I might need to use it in future. Kaushal On Sun, Jun 12, 2016 at 5:02 PM Char

Re: [O] org-install?

2016-06-14 Thread Kaushal Modi
; It is provided here so that (require 'org-install) does not > ;; trigger an error for users with obsolete Emacs configuration. > ;; You can safely remove (require 'org-install) from your config." > > > And contains nothing else!! > > So what exactly is the case? > What is the setup procedure recommended for git-installed org? > -- -- Kaushal Modi

Re: [O] Upper or lower case in BEGIN_SRC and other keywords

2016-06-16 Thread Kaushal Modi
#x27;t a problem ... I'm just curious. > > Bill > > [1] http://orgmode.org/org.html#Conventions > [2] http://orgmode.org/org.html#fn-3 > > -- > William Denton :: Toronto, Canada :: https://www.miskatonic.org/ > Caveat lector. > > -- -- Kaushal Modi

Re: [O] Need to update documentation to reflect export block syntax

2016-06-30 Thread Kaushal Modi
@Mark The online documentation corresponds to the stable releases of org-mode only. The master branch is the dev branch. The only way to access the latest documentation is via the Info manual (M-x info in emacs to access that is the best way IMO). -- -- Kaushal Modi

Re: [O] [BUG] outshine and emacs 25.0.5.1 - Was: [error] orgmode git on emacs 25 - HEAD - org-global-cycle

2015-09-10 Thread Kaushal Modi
The author just merged my PR. So it should be in Melpa shortly, in its next build cycle. On Sep 10, 2015 6:50 AM, "Rainer M Krug" wrote: > Andreas Leha writes: > > > Hi Rainer, > > > > Rainer M Krug writes: > >> Kyle Meyer writes: > >> > >>> Hi, > >>> > >>> Rainer M Krug writes: > >>> >

[O] Show presence of zero width spaces using overlay

2015-09-18 Thread Kaushal Modi
Hi all, The suggestion to use zero width spaces to sort of "escape" stuff in org mode has come up many times. I have started using it a lot and suggest that to other people now. Here is one such recent QnA on emacs.SE: http://emacs.stackexchange.com/a/16702/115 The OP of that question made a val

Re: [O] Show presence of zero width spaces using overlay

2015-09-18 Thread Kaushal Modi
. There are few other cases where this has been useful, but I can't recall right now. In any case, what would be the recommended way to escape " and = in the above 2 examples? On Fri, Sep 18, 2015 at 5:09 PM Nicolas Goaziou wrote: > Hello, > > Kaushal Modi writes: > > >

Re: [O] Show presence of zero width spaces using overlay

2015-09-18 Thread Kaushal Modi
es/. =​"This is inbetween double quotes"​=. * And here's to escapes asterisks This is *bold*. But this is \ast{}not bold\ast{}. This works! = Here's what it looks like when exported: https://dl.dropboxusercontent.com/u/10985/escape-chars.pdf On Fri, Sep 18, 2015 at 9:48 PM Eric

Re: [O] Show presence of zero width spaces using overlay

2015-09-18 Thread Kaushal Modi
is \ast{}not bold\ast{}. This works! = On Sat, Sep 19, 2015 at 12:07 AM Kaushal Modi wrote: > Thanks for letting me know about org-entities. That is awesome. I now know > how to escape various characters in general, but unfortunately this does > not work within verbatim forma

Re: [O] Show presence of zero width spaces using overlay

2015-09-18 Thread Kaushal Modi
confusion. The advised portion gets executed only if the below 2 conditions match: - User used C-u prefix (not M-4 or C-u C-u or anything else) - The entered character has a match in the org entities lists. Question to the list is: Does this advise mask any useful functionality of org-self-insert-c

[O] Escape mechanism in code and verbatim blocks

2015-09-19 Thread Kaushal Modi
@Nicolas I am with you on not using non-ascii characters to escape stuff. I like your proposal about escaping in code and verbatim blocks. -- Kaushal Modi On Sep 19, 2015 7:35 AM, "Nicolas Goaziou" wrote: > Kaushal Modi writes: > > > My most common uses are escaping

Re: [O] Show presence of zero width spaces using overlay

2015-09-19 Thread Kaushal Modi
d org entities for nonascii chars, I can associate them to plain letters like `a`, `b`, `c`... in org-entities-user. For example, `C-u c` can be used to enter copyright symbol org entity. I haven't yet used `sgml-name-char`, thanks for the tip. -- Kaushal Modi On Sep 19, 2015 3:26 AM, "

[O] bug#23917: Please consider making Bug #23917 a blocker for 25.1 (was Re: org-capture: Capture template ‘g’: Match data clobbered by buffer modification hooks)

2016-07-18 Thread Kaushal Modi
) is that this bug is seen only after 25.0.94 pretest. @Eric Would it be possible for you to provide a recipe to recreate this issue from an emacs -Q session? -- Kaushal Modi

Re: [O] Will there be an updated Org Mode in Emacs 25?

2016-07-18 Thread Kaushal Modi
has org version 8.2.10. Shouldn't the 8.3.4 version have been merged a long time before the pretests were even started? -- Kaushal Modi

Re: [O] Will there be an updated Org Mode in Emacs 25?

2016-07-18 Thread Kaushal Modi
year ago. > There's miscommunication between the emacs-devel and emacs-orgmode mailing lists. I would suggest that you push the latest maint branch org version to the master branch of emacs now, so that it would be fairly tested by the time the next to next emacs release happens (25.2?). -- Kaushal Modi

<    1   2   3   4   5   6   7   8   9   >