Re: [O] Insert heading above current one

2017-09-29 Thread Kaushal Modi
On Fri, Sep 29, 2017 at 10:41 AM Kaushal Modi <kaushal.m...@gmail.com> wrote: > Looks like this was an intended change: > http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=2b03e945a19701194e510791a96006c5eee9edc6 > > Related discussion: > http://lists.gnu.org/archive/html/

Re: [O] Insert heading above current one

2017-09-29 Thread Kaushal Modi
The commit message includes gmane.org links which are now dead. I think we should reference lists.gnu.org links (like above) for longevity of references. -- Kaushal Modi

Re: [O] Allow more export options to be controlled per-subtree

2017-09-28 Thread Kaushal Modi
> export: > > * Subtree > :PROPERTIES: > :EXPORT_OPTIONS: *:nil > :END: > I didn't know that. This solves all the problems. Thanks. -- Kaushal Modi

Re: [O] Allow more export options to be controlled per-subtree

2017-09-28 Thread Kaushal Modi
hubusercontent.com/kaushalmodi/ox-hugo/master/test/site/content/posts/export-without-emphasize.md [3]: https://ox-hugo.netlify.com/test/posts/export-without-emphasize/ -- Kaushal Modi

Re: [O] Allow more export options to be controlled per-subtree

2017-09-28 Thread Kaushal Modi
On Thu, Sep 28, 2017 at 1:28 PM Kaushal Modi <kaushal.m...@gmail.com> wrote: > .. and so on, and then one can have > > :EXPORT_WITH_EMPHASIZE: t > > or > > :EXPORT_WITH_EMPHASIZE: > > in the subtree property. > > Is there a reason why this support wasn

[O] Allow more export options to be controlled per-subtree

2017-09-28 Thread Kaushal Modi
h-timestamps nil "<" org-export-with-timestamps) (:with-title nil "title" org-export-with-title) (:with-todo-keywords nil "todo" org-export-with-todo-keywords)) I believe that can be fixed by doing: (:with-emphasize "WITH_EMPHASIZE" "*" org-export-with-emphasize) .. and so on, and then one can have :EXPORT_WITH_EMPHASIZE: t or :EXPORT_WITH_EMPHASIZE: in the subtree property. Is there a reason why this support wasn't added in the first place? (Or does a method already exist to allow me to do the above?) I can work on a patch if it's OK to enable this functionality. -- Kaushal Modi

Re: [O] export of formatted date macro fails

2017-09-27 Thread Kaushal Modi
rg macro arguments separator. So that needs to be escaped with a backslash. Try: {{{date(%A\, %B %e\, %Y)}} > -- Kaushal Modi

Re: [O] setting local variables

2017-09-21 Thread Kaushal Modi
. > +1 for :NOTOC: With that it will be very clear what to expect in the exported formats. > I also suggest to classify LaTeX issue as "wontfix". > Any objection? > I don't use LaTeX exporter that heavily. If I do, I keep all headings numbered and also in TOC. So I cannot yet grasp the LaTeX issue. -- Kaushal Modi

Re: [O] setting local variables

2017-09-20 Thread Kaushal Modi
> #+options: num:nil toc:t > @Scott Please see that other thread[1]. I have this exact use case. And if the case 3 discussed in that thread is supported all should be good. [1]: http://lists.gnu.org/archive/html/emacs-orgmode/2017-09/msg00497.html -- Kaushal Modi

Re: [O] Add ability to force-enable TOC

2017-09-20 Thread Kaushal Modi
On Wed, Sep 20, 2017, 4:14 AM Carsten Dominik <domi...@uva.nl> wrote: > > I will go back and take a look at this thread. Can someone tell me what > the subject line of that thread was? > http://lists.gnu.org/archive/html/emacs-orgmode/2017-09/msg00157.html -- Kaushal Modi

Re: [O] Add ability to force-enable TOC

2017-09-20 Thread Kaushal Modi
be, we have num:nil and not num:0? WDYT? @Carsten: Does this satisfy your use case too? > -- Kaushal Modi

Re: [O] Add ability to force-enable TOC

2017-09-19 Thread Kaushal Modi
has: #+OPTIONS: num:nil No TOC will be exported (even though the org-export-with-toc default is t). But if the file has: #+OPTIONS: num:nil toc:4 As the toc value is a number, the TOC will be exported even though num is nil. -- Kaushal Modi

Re: [O] Add ability to force-enable TOC

2017-09-19 Thread Kaushal Modi
that functionality? I don't mind if I need to set extra options/variables for that. -- Kaushal Modi

Re: [O] Add ability to force-enable TOC

2017-09-19 Thread Kaushal Modi
On Tue, Sep 19, 2017 at 10:49 AM Kaushal Modi <kaushal.m...@gmail.com> wrote: > Can we enforce the TOC generation using the "toc:" option. Below does not > work at the moment, but would like that to work. > > #+OPTIONS: num:nil H:4 toc:4 > Above works after the

[O] Add ability to force-enable TOC

2017-09-19 Thread Kaushal Modi
generation using the "toc:" option. Below does not work at the moment, but would like that to work. #+OPTIONS: num:nil H:4 toc:4 Thanks. [1]: http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=bd2378161e76932103c9ef1f8343ffcc0d275007 -- Kaushal Modi

Re: [O] [RFC] New "kbd" macro?

2017-09-15 Thread Kaushal Modi
On Fri, Sep 15, 2017, 8:54 AM Kaushal Modi <kaushal.m...@gmail.com> wrote: > On Thu, Sep 14, 2017 at 6:03 PM Nicolas Goaziou <m...@nicolasgoaziou.fr> > wrote: > >> >> > - HTML, MD :: as Kaushal points out, please use .. >> >> This is (almost) alr

Re: [O] [RFC] New "kbd" macro?

2017-09-15 Thread Kaushal Modi
he same .. export worked for MD exports too.. as ox-md is derived from ox-html, and also as all Markdown renderers allow inline HTML. -- Kaushal Modi

Re: [O] [RFC] New "kbd" macro?

2017-09-13 Thread Kaushal Modi
Oh, and the reference to [1] that I forgot to paste.. [1]: https://github.com/kaushalmodi/ox-hugo/blob/a486141e4e2c3f9f67e799e20af150611d77f850/ox-hugo.el#L535-L542 On Wed, Sep 13, 2017 at 10:03 AM Kaushal Modi <kaushal.m...@gmail.com> wrote: > On Wed, Sep 13, 2017 at 9:23 AM Nicolas G

Re: [O] [RFC] New "kbd" macro?

2017-09-13 Thread Kaushal Modi
ted, this is probably only useful for Texinfo export, but defining > it as a global macro makes Org documents a bit more portable across > export back-ends. > For HTML too! :) If there is any interest in it, I will add tests and documentation. > I attach a proof of concept. > +1 Copying Oleh, as I believe he would also have some interest in this. -- Kaushal Modi

Re: [O] Dynamically narrow table columns

2017-09-12 Thread Kaushal Modi
26.0.50, Org release_9.0.9-573-g09e612 > -- Kaushal Modi

Re: [O] Table aligning and editing in 9.2

2017-09-12 Thread Kaushal Modi
TAB, and edit the field to > your heart's content. > I was initially bummed by the same observation that William made too.. that you now needed to first do C-c ` for editting shrunk cells. So thanks for that C-c TAB tip. That workflow works for me. -- Kaushal Modi

Re: [O] Using orgtbl-mode with markdown: hfmt1

2017-09-12 Thread Kaushal Modi
On Tue, Sep 12, 2017, 10:07 AM Kaushal Modi <kaushal.m...@gmail.com> wrote: > > I use a different approach to do the same thing using ox-gfm > Correcting myself.. that solution has nothing to do with ox-gfm. > -- Kaushal Modi

Re: [O] Using orgtbl-mode with markdown: hfmt1

2017-09-12 Thread Kaushal Modi
to break tables > in org-mode proper?) > I use a different approach to do the same thing using ox-gfm (based on a SO solution). Look for orgtbl-to-gfm function here[1] and also my notes at the end of that file. [1]: https://github.com/kaushalmodi/.emacs.d/blob/master/setup-files/setup-markdown.el > -- Kaushal Modi

Re: [O] org-agenda-skip-function does not find inherited tags

2017-09-11 Thread Kaushal Modi
oint) > "ALLTAGS" > TIL about ALLTAGS and other Special Properties. That org-split-string though needs the separator argument though, right? (org-split-string (org-entry-get (point) "ALLTAGS") ":") -- Kaushal Modi

Re: [O] Name-space prefixes in ox- packages

2017-09-09 Thread Kaushal Modi
for Org variables and > functions. "ox" would be misleading. > Does this have to do with org-export--generate-copy-script (as discussed here[1])? Is the prefix requirement for "org-" more widespread than that? [1]: http://lists.gnu.org/archive/html/emacs-orgmode/2016-05/msg00231.html -- Kaushal Modi

[O] Name-space prefixes in ox- packages

2017-09-09 Thread Kaushal Modi
and functions in a package FOO to have FOO- prefix. Here[2] the discussion on that package's GitHub issue thread. PS: I believe it is the same case with ob- packages. [1]: https://github.com/purcell/package-lint [2]: https://github.com/purcell/package-lint/issues/89 Thanks. -- Kaushal Modi

Re: [O] Old 'C-c tab' binding shadowed

2017-09-07 Thread Kaushal Modi
e-rotate-recalc-marks) ("C-c }" . org-table-toggle-coordinate-overlays) ("C-c {" . org-table-toggle-formula-debugger)) Inspiration: http://endlessparentheses.com/define-context-aware-keys-in-emacs.html -- Kaushal Modi

Re: [O] Bug: Symbol's value as variable is void: org-src-lang-modes

2017-09-07 Thread Kaushal Modi
oad: http://orgmode.org/cgit.cgi/org-mode.git/commit/?h=maint=7a29c82e1100f0e0e5c1c8d8b276139358abb031 -- Kaushal Modi

Re: [O] function for inserting a block

2017-09-02 Thread Kaushal Modi
On Sat, Sep 2, 2017, 10:23 PM Adam Porter wrote: > Hi Eric, > > Thanks for doing this. I've had some similar code in my config for a > while. I'll share some of it here in case you find it useful in doing > this. You especially might find the org-read-structure-template >

Re: [O] Bug: markdown export errors on headers [9.0.9 (9.0.9-82-gb862c2-elpaplus @ /home/fommil/.emacs.d/elpa/org-plus-contrib-20170814/)]

2017-09-01 Thread Kaushal Modi
On Fri, Sep 1, 2017, 10:49 PM Adam Porter <a...@alphapapa.net> wrote: > Kaushal Modi <kaushal.m...@gmail.com> writes: > > > M-x list-load-path-shadows will also help. Pay attention to shadows on > org packages. > > Wow, I did not know about that command. I

Re: [O] keyboard scrolling with inline images

2017-08-31 Thread Kaushal Modi
can even file a bug report with steps to recreate the issue (M-x report-emacs-bug). > -- Kaushal Modi

Re: [O] Release Org 9.1 soon ?

2017-08-26 Thread Kaushal Modi
On Sat, Aug 26, 2017, 9:26 PM Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote: > Hello, > > Kaushal Modi <kaushal.m...@gmail.com> writes: > > > I still have the org-set-tags refactoring[1] pending on my plate. > > Is there anything left to do? Do you need mor

Re: [O] Release Org 9.1 soon ?

2017-08-26 Thread Kaushal Modi
ox-hugo. As adding it wouldn't break other Org functionality, would it be safe to add it before this master cut? About this, would it be OK to start by creating a scratch branch? [1]: http://lists.gnu.org/archive/html/emacs-orgmode/2017-07/msg00292.html -- Kaushal Modi

Re: [O] counter macro in dates?

2017-08-24 Thread Kaushal Modi
On Wed, Aug 23, 2017 at 9:46 PM Adam Porter <a...@alphapapa.net> wrote: > > That's very cool. Do you think Oleh would add it to Tiny? > PR submitted :) https://github.com/abo-abo/tiny/pull/9 -- Kaushal Modi

Re: [O] counter macro in dates?

2017-08-24 Thread Kaushal Modi
On Wed, Aug 23, 2017, 9:46 PM Adam Porter <a...@alphapapa.net> wrote: > > That's very cool. Do you think Oleh would add it to Tiny? > Good question. I'll open an issue on that repo. When I wrote this, I wasn't too good with git, creating branches or submitting PR's. > -- Kaushal Modi

Re: [O] [PATCH] Add TITLE export to ox-md

2017-08-24 Thread Kaushal Modi
md? Maybe we eventually end up with 3 options (something like below): - org-md-title-as-h1 - org-md-subtitle-as-h2 - org-md-heading-offset WDYT? (Side question: Would it be preferred to create a scratch branch on Org for reviewing ox-hugo? Or would the GitHub repo mentioned above be fine?) -- Kaushal Modi

Re: [O] counter macro in dates?

2017-08-23 Thread Kaushal Modi
and wrote a helper fn (modi/tiny-helper in here[1]) so that I don't have to remember the tiny syntax. I still use tiny from time to time. [1]: https://github.com/kaushalmodi/.emacs.d/blob/master/setup-files/setup-tiny.el -- Kaushal Modi

Re: [O] merging subtrees (in a syllabus)

2017-08-23 Thread Kaushal Modi
objet > form an initial seed and a session number, that's be fabulous too. > I don't have a good idea on how to implement the date thing, but I see that others have provided some input. -- Kaushal Modi

Re: [O] [RFC] Remove Org Struct mode

2017-08-22 Thread Kaushal Modi
ands t) (setq outshine-org-style-global-cycling-at-bob-p t) Also check outshine-speed-commands-default and outshine-speed-commands-user (setup is similar to that of Org Speed Keys). -- Kaushal Modi

Re: [O] [RFC] Remove Org Struct mode

2017-08-22 Thread Kaushal Modi
workflow. > 5. There are alternatives. E.g., outshine.el, outline-minor-mode, ... > I use one of those alternatives.. outshine.el. > I'm not talking about OrgTbl mode (yet). OrgTbl mode is different: it > doesn't suffer from points 1, 3 end 5. > Thanks. I find orgtbl-mode very useful. -- Kaushal Modi

Re: [O] Bug: markdown export errors on headers [9.0.9 (9.0.9-82-gb862c2-elpaplus @ /home/fommil/.emacs.d/elpa/org-plus-contrib-20170814/)]

2017-08-20 Thread Kaushal Modi
> > (require 'package) > (package-initialize) > > It can be tricky to find out what is loading bundled Org too early. > Enjoy the Frankenorg. > :) M-x list-load-path-shadows will also help. Pay attention to shadows on org packages. > -- Kaushal Modi

Re: [O] Table columns not aligning when width set

2017-08-19 Thread Kaushal Modi
On Sat, Aug 19, 2017 at 6:19 AM Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote: > Fixed. Thank you. > Thanks! I confirm the fix. -- Kaushal Modi

Re: [O] org-table.el

2017-08-19 Thread Kaushal Modi
Does it have to be explicitly loaded? > org-table should get auto-loaded. Is there a specific usage that made you wonder if org-table should have been loaded, but is not? -- Kaushal Modi

Re: [O] Bug: Symbol's value as variable is void: org-src-lang-modes

2017-08-15 Thread Kaushal Modi
written about how to install the development version of Org without causing mixed installations: https://scripter.co/building-org-development-version/ .) -- Kaushal Modi

Re: [O] Fill column indicator and org indent mode

2017-08-14 Thread Kaushal Modi
ee that FCI needs one to put such hacks in their config, and whitespace mode (ships with Emacs) is much nicer. Though, there is no package that does the exact same thing as FCI. -- Kaushal Modi

Re: [O] Bug? Setting #+OPTIONS: title:nil Seems to Be Ignored in HTML Export.

2017-08-14 Thread Kaushal Modi
ut the fix for blank titles, I just pushed it to master ( http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=c8ade76ca2d579e9415cb3588605a6c98803f413 ). -- Kaushal Modi

Re: [O] Table columns not aligning when width set

2017-08-14 Thread Kaushal Modi
what's going on ... is anyone else seeing this problem with > tables? > Thanks for doing the bisect. I am also seeing the same problem you stated. Here's what the table in your example looks like after I hit tab in the first cell.. it should have got aligned. [image: image.png] -- Kaushal Modi

Re: [O] verbatim =[[link]]= and code ~[[link]]~ render as links

2017-08-08 Thread Kaushal Modi
gt; Yup. Another reason to believe so is that [[https://www.example.com][=description=]] is equivalent to [`description`](https://www.example.com) in Markdown, and GitHub renders the Markdown version fine. Also, below won't be rendered as a link :) `[description](https://www.example.com)` > -- Kaushal Modi

Re: [O] verbatim =[[link]]= and code ~[[link]]~ render as links

2017-08-08 Thread Kaushal Modi
> rendered as links, because they are. :) > Are you referring to: [[https://www.example.com][=verbatim link descr=]] ? Because I use that all the time to show links to code like .el files. Regarding Wolfram's suggestion.. it makes sense that if someone wants to show the Org link representation verbatim, it should be possible. -- Kaushal Modi

Re: [O] setting local variables

2017-08-02 Thread Kaushal Modi
put this at the bottom of each Org file and it works well: = * Footnotes * COMMENT Local Variables :ARCHIVE: # Local Variables: # fill-column: 70 # eval: (auto-fill-mode 1) # End: = (Pre-adding empty Footnotes section too so that if I add footnotes, the file-end comments don't end up in Footnotes.) > -- Kaushal Modi

Re: [O] Bug? Setting #+OPTIONS: title:nil Seems to Be Ignored in HTML Export.

2017-08-01 Thread Kaushal Modi
strips it out of the request before it reaches us. This is not an error in the referring page! = Being able to set the title to blank is really cool. I have never needed to do that. But if someone (OP? OP's list email bounces back, so assuming they are subscribed to this ML) wants that, we now know how. -- Kaushal Modi

Re: [O] Bug? Setting #+OPTIONS: title:nil Seems to Be Ignored in HTML Export.

2017-08-01 Thread Kaushal Modi
;")) (author (and (plist-get info :with-author) (let ((auth (plist-get info :author))) (and auth Credit: https://stackoverflow.com/questions/23556255/how-can-i-have-a-blank-title-page#comment67991763_23558385 With above, a "blank" title will also result in a valid HTML, correct? -- Kaushal Modi

Re: [O] Help resolving CUSTOM_ID based links that point to outside current subtree scope

2017-08-01 Thread Kaushal Modi
an replacing "[[#link]]" with "[[./current-file.org::#link]]"? (I haven't yet verified if that #+INCLUDE-like syntax works for links too.) Also, I am working on implementing this in an exporter backend. So what would be the canonical way to do that in ox-foo.el? Thanks. > -- Kaushal Modi

Re: [O] Bug? Setting #+OPTIONS: title:nil Seems to Be Ignored in HTML Export.

2017-08-01 Thread Kaushal Modi
t prevents the title from showing up in browser tabs, etc. (In general generating the title block should be moved to something like > ‘org-html-preamble-format’, though it probably shouldn’t depend on the > language of the document...) > -- Kaushal Modi

Re: [O] Bug? Setting #+OPTIONS: title:nil Seems to Be Ignored in HTML Export.

2017-07-31 Thread Kaushal Modi
This patch fixes this: >From e57e9e798dd1a54cae7a633fc67e2f825b967eea Mon Sep 17 00:00:00 2001 From: Kaushal Modi <kaushal.m...@gmail.com> Date: Mon, 31 Jul 2017 14:30:40 -0400 Subject: [PATCH] Respect :with-title in ox-html * lisp/ox-html.el (org-html--build-meta-info): Do not inse

Re: [O] Bug? Setting #+OPTIONS: title:nil Seems to Be Ignored in HTML Export.

2017-07-31 Thread Kaushal Modi
= 1 Heading 1 === Some text. = C-c C-e h H (html export to buffer) gives: = http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;> http://www.w3.org/1999/xhtml; lang="en" xml:lang="en"> This Title Must Not Export == == -- Kaushal Modi

Re: [O] Help resolving CUSTOM_ID based links that point to outside current subtree scope

2017-07-28 Thread Kaushal Modi
dest" subtrees are at the same level. So exporting just "Link source" subtree does not 'see' the "Link dest" subtree.) On Fri, Jul 28, 2017 at 3:17 PM Kaushal Modi <kaushal.m...@gmail.com> wrote: > Hello, > > Is there a way to make org-export-resolve-id-link look

[O] Help resolving CUSTOM_ID based links that point to outside current subtree scope

2017-07-28 Thread Kaushal Modi
nternal link to some other subtree (Hugo post), and I want to retain the link reference. Hugo would then figure out the rest. What function could I advice and with what to make this happen? Thanks. -- Kaushal Modi

Re: [O] How to hide a specific subtree during startup?

2017-07-26 Thread Kaushal Modi
cling. They will also not expand on TAB; you'll need C-TAB instead. > -- Kaushal Modi

Re: [O] why prepend "file://" to abs paths in html output?

2017-07-13 Thread Kaushal Modi
On Thu, Jul 13, 2017 at 8:55 AM Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote: > Kaushal Modi <kaushal.m...@gmail.com> writes: > > > Hmm. Thanks for that hint. Would it be OK to define backend-specific link > > abbreviations? > > I don't think so. >

Re: [O] why prepend "file://" to abs paths in html output?

2017-07-13 Thread Kaushal Modi
/github.com/kaushalmodi/ox-hugo -- Kaushal Modi

Re: [O] [PATCH] Refactor org-set-tags arguments for clarity

2017-07-13 Thread Kaushal Modi
On Thu, Jul 13, 2017 at 8:32 AM Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote: > Kaushal Modi <kaushal.m...@gmail.com> writes: > > > Correct. I was just extrapolating based on that, that people could be > > making similar uses in their configs and p

Re: [O] [PATCH] Refactor org-set-tags arguments for clarity

2017-07-13 Thread Kaushal Modi
On Thu, Jul 13, 2017 at 8:37 AM Kaushal Modi <kaushal.m...@gmail.com> wrote: > (defun org-set-tags ( align-all align-current) >> "... >> ... >> ALIGN-CURRENT is obsolete and should not be used. When non-nil, >> set ALIGN-ALL to `current'.&qu

Re: [O] [PATCH] Refactor org-set-tags arguments for clarity

2017-07-13 Thread Kaushal Modi
t t) in that patch). > WDYT? > The only concern is the one I presented above; doing this will break many personal configs. -- Kaushal Modi

Re: [O] [PATCH] Refactor org-set-tags arguments for clarity

2017-07-13 Thread Kaushal Modi
throwing in some test in > "test-org/set-tags"? ;) > Will do. PS: Also, in addition, was thinking of calling JUST-ALIGN ALIGN-ALL instead. With: (defun org-set-tags ( ALIGN-ALL ALIGN-ONLY-CURRENT) .. it will be more apparent that they are mutually exclusive args. WDYT? -- Kaushal Modi

Re: [O] ob-sh.el removed in master branch source code?

2017-07-12 Thread Kaushal Modi
> recent commits. > Can someone explain this? > -- Kaushal Modi

[O] [PATCH] Refactor org-set-tags arguments for clarity

2017-07-11 Thread Kaushal Modi
functional changes, I have based it off maint. "make test" is still passing with these changes. Can you please review the patch and let me know if it's good for committing? Thanks. -- Kaushal Modi 0001-Clarify-the-purpose-of-org-set-tags-arguments.patch Description: Binary data

Re: [O] [RFC] Shrink columns dynamically

2017-07-11 Thread Kaushal Modi
On Tue, Jul 11, 2017 at 3:09 PM Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote: > Hello, > > Kaushal Modi <kaushal.m...@gmail.com> writes: > > > 1. Need to save the column narrowed state somehow individually for each > > column, specific to a table in

Re: [O] [RFC] Shrink columns dynamically

2017-07-11 Thread Kaushal Modi
pecific to a table in a document. 2. Alternative: Look at the window width and calculate the factor by which all columns should be narrowed so that the whole table fits the window (Sounds very complicated). -- Kaushal Modi

[O] Deleting org table columns during export (Was: [RFC] Shrink columns dynamically)

2017-07-11 Thread Kaushal Modi
2.html I am also interested in this feature. - I liked Nicolas' proposal to have "<#>" as markers for column deletions instead of "/". - If I understand correctly, Michael, you need to send a git formatted patch of your proposal with documentation included? -- Kaushal Modi

Re: [O] [RFC] Shrink columns dynamically

2017-07-10 Thread Kaushal Modi
in a single screen width. - Also heavily missed will be retaining the narrowed/hidden state of the columns. -- Kaushal Modi

Re: [O] why prepend "file://" to abs paths in html output?

2017-07-10 Thread Kaushal Modi
Hello, On Mon, Jul 10, 2017 at 3:54 PM Kaushal Modi <kaushal.m...@gmail.com> wrote: > Hi Nicolas, > > I tried out the patch, and my comments are in the MWE below. > > I have this MWE that explains the "would like to have" vs "what this patch > gives us&

Re: [O] why prepend "file://" to abs paths in html output?

2017-07-10 Thread Kaushal Modi
able to explicitly state the desired URL path > for the HTML like: > > #+html_url_path: /mysiteroot/images/unicorn.jpg > [[../images/unicorn.jpg]] > As I mention in my MWE, I am actually looking for a solution so that we do not need to specify the "mysiteroot" for each link.. may be just one as a "#+LINK_ROOT". -- Kaushal Modi

Re: [O] why prepend "file://" to abs paths in html output?

2017-07-10 Thread Kaushal Modi
– i.e., base directory – is. In > that case, we could replace absolute file names starting with web root > dir as root-relative URL. > In our case, we are delegating that step to Hugo. So Org does the job of content translation from Org to Markdown (plus inline HTML code for figures, etc) "as it is", and Hugo does the job of HTML, RSS, etc. generation, content management (what goes in what directory), link resolution, etc. > -- Kaushal Modi

Re: [O] why prepend "file://" to abs paths in html output?

2017-07-08 Thread Kaushal Modi
probably needed only in org to org exports. > -- Kaushal Modi

Re: [O] Should i upgrade new emacs?

2017-07-06 Thread Kaushal Modi
t;C-h i h" to learn how to use it; it's pretty awesome. -- Kaushal Modi

Re: [O] Parsing property drawers in subtree scope exports

2017-07-06 Thread Kaushal Modi
On Sat, Jul 1, 2017 at 12:08 PM Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote: > Kaushal Modi <kaushal.m...@gmail.com> writes: > > > I didn't follow that. Do you mean that the "EXPORT_" is a special > > prefix? > > I do. See (info "(org)

Re: [O] [PATCH] Fixed bug in custom timestamps for date ranges.

2017-07-06 Thread Kaushal Modi
activate custom time for second date > + (when (match-end 3) > + (org-display-custom-time (match-beginning 3) (match-end 3))) > + ;; Always activate custom time for first matched date > + (org-display-custom-time (match-beginning 1) (match-end 1))) > t)) > > (defvar-local org-target-link-regexp nil > -- > 2.13.0 > -- Kaushal Modi

Re: [O] org-plus-contrib, where is library-of-babel.org?

2017-07-06 Thread Kaushal Modi
I don't know the reasoning behind why that file is no longer part of contrib (Copying Bastien to help with this as he was the commit author). > -- Kaushal Modi

Re: [O] git question

2017-07-06 Thread Kaushal Modi
nd step will result in just a Merge commit in master, with just commit hash updates. But then the merge pointers between master and maint will also be synced. Or is it better to just let it live on master and only be part of > the next major Org version? > -- Kaushal Modi

Re: [O] org-plus-contrib, where is library-of-babel.org?

2017-07-05 Thread Kaushal Modi
got moved in 2013: http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=321f806fafb596b53da7c944267f53f34d05af3e ) -- Kaushal Modi

[O] Emacs master now updated to Org 9.0.9 (Was: org-merger questions)

2017-07-03 Thread Kaushal Modi
here is any concern, let us know. > > > > No concerns here, thanks for the heads up, Bastien. > > Done, thanks! Emacs master now features Org 9.0.9. > -- Kaushal Modi

Re: [O] Parsing property drawers in subtree scope exports

2017-07-01 Thread Kaushal Modi
But the same doesn't work when exporting just one sub-tree. Otherwise, you simply need to retrieve it and store it before calling > `org-export-to-file' or whatever. Hmm, will give this a try.. may be look at the pre export hook? Thank you. -- Kaushal Modi

[O] Parsing property drawers in subtree scope exports

2017-07-01 Thread Kaushal Modi
looked at ox-html.el for hints but that didn't help. In there too, the CUSTOM_ID property drawer (picked one example I knew) is not parsed during subtreep export. How can I do this? Thanks. -- Kaushal Modi

Re: [O] causing work by pasting links

2017-06-30 Thread Kaushal Modi
m > Well, no need to be sorry :) I'm glad I could help. -- Kaushal Modi

Re: [O] causing work by pasting links

2017-06-30 Thread Kaushal Modi
ste and now i want to press [ to write my notes. when i do, > * [[http://link[|]]] i get a completely unexpected reaction. > That also does not happen by default. > you know what i mean, yes? > Yup. It looks like this in emacs -Q: http://i.imgur.com/VEBhMEP.gifv -- Kaushal Modi

Re: [O] Org now failing on HTML export

2017-06-30 Thread Kaushal Modi
ackexchange.com/a/16616/115 [3]: https://www.reddit.com/r/emacs/comments/6jeu74/getting_error_exporting_org_doc_because_it_has/ [4]: https://github.com/syl20bnr/spacemacs/issues/3246 [5]: https://github.com/yjwen/org-reveal/issues/148 -- Kaushal Modi

Re: [O] making work by pasting code and examples

2017-06-30 Thread Kaushal Modi
On Fri, Jun 30, 2017 at 2:28 PM Kaushal Modi <kaushal.m...@gmail.com> wrote: Here's a working link: https://github.com/kaushalmodi/.emacs.d/blob/5acb3a4db737df85d1cd7d70c56232ec8a40e8b4/setup-files/setup-org.el#L1121-L1229 (pasted link to an unpublished commit by mistake earlier) -- K

Re: [O] making work by pasting code and examples

2017-06-30 Thread Kaushal Modi
bol and $ is eol. ;; "bc" is selected and https://github.com/kaushalmodi/.emacs.d/blob/4495b6126ddeb20959d438dbe2ad9de50e5ed336/setup-files/setup-org.el#L684-L1229 -- Kaushal Modi

Re: [O] keybindings again...

2017-06-29 Thread Kaushal Modi
terminal emulator and not emacs. In any case, it might be better to submit an emacs bug report (M-x report-emacs-bug) requesting this mention in the manual. This node already mentions something on this topic: (elisp) Other Char Bits but just not using the "Ctrl + Shift + .." example. [1]: https://emacs.stackexchange.com/a/13957/115 -- Kaushal Modi

Re: [O] keybindings again...

2017-06-29 Thread Kaushal Modi
use for some > reason it is not assigned by default: every time I hit ESC S-RET I get ESC > RET only. > It's the limitation of the terminal. If you do C-h c Esc+Shift+Return, Emacs will detect only Esc+Return. So you will see M-RET in the echo area. You probably just need to use some other binding. -- Kaushal Modi

Re: [O] segfault when org-ellipsis is empty

2017-06-27 Thread Kaushal Modi
> cool compromise; covers my use-cases. tks! > > But that would still allow the user to use setq to set that variable. > > True, but can we always prevent them from shooting themselves in the > foot? > > > > -- Kaushal Modi

Re: [O] segfault when org-ellipsis is empty

2017-06-26 Thread Kaushal Modi
still allow the user to use setq to set that variable. -- Kaushal Modi

Re: [O] segfault when org-ellipsis is empty

2017-06-26 Thread Kaushal Modi
port, you will get a debbugs number. Please post that number in this thread (for people curious about this bug like me). -- Kaushal Modi

Re: [O] [PATCH] noweb documentation update

2017-06-23 Thread Kaushal Modi
On Fri, Jun 23, 2017, 1:56 AM Nicolas Goaziou <m...@nicolasgoaziou.fr> wrote: > > Sure, go ahead. Thank you. > Thanks, done. > -- Kaushal Modi

Re: [O] [PATCH] noweb documentation update

2017-06-22 Thread Kaushal Modi
like Emacs, > Org or MobileOrg. Quotes impedes reading process, IMO. > > WDYT? > > Or would replacing all occurrences of ``noweb'' and noweb with Noweb be better? Exactly! :) OK to push this after that change? Thanks. -- Kaushal Modi

Re: [O] [PATCH] noweb documentation update

2017-06-22 Thread Kaushal Modi
A quick update.. the attached patch has minor formatting fixes over the previous one. Please use this patch for review. Thanks. On Thu, Jun 22, 2017 at 3:01 PM Kaushal Modi <kaushal.m...@gmail.com> wrote: > Hello, > > Thanks. My comments are below, and the updated pa

Re: [O] [PATCH] noweb documentation update

2017-06-22 Thread Kaushal Modi
com/a/6852104/1219634 ) has reference to "<<", but all it says is that "<<" is an operator.. like in many other languages too. > > +Notice the difference in how they get exported: > > +@example > > +In Python 3, with "str='foo'", "print

[O] [PATCH] noweb documentation update (Was: Re: How to use noweb reference with argument..)

2017-06-21 Thread Kaushal Modi
block name for arguments, as shown in this example: = On Wed, Jun 21, 2017 at 12:57 AM, Kaushal Modi <kaushal.m...@gmail.com> > wrote: > >> >> I stand corrected; for the stuff that you are doing, I believe the code >> block name needs to go to #+NAME instead of to :n

Re: [O] Controlling new line characters during tangle

2017-06-21 Thread Kaushal Modi
in the tangled files? > At which point would you like to enforce the new line characters? Can you post a MWE and explain what that it tangles to vs what you'd actually like to see in the tangled file? > -- Kaushal Modi

<    1   2   3   4   5   6   7   8   9   >