Re: Headings and Headlines

2021-07-23 Thread Kaushal Modi
On Fri, Jul 23, 2021 at 10:07 AM Marco Wahl wrote: > André A. Gomes writes: > > > The project's documentation refers to headings and headlines as > > synonyms. Relying on a single definition would be beneficial. > > Agreed. E.g. no more thinking waste about the question if it is > headline or

Re: Comments break up a paragraph when writing one-setence-per-line

2021-07-16 Thread Kaushal Modi
Hello, On Fri, Jul 16, 2021 at 12:35 PM Bruce D'Arcus wrote: > On Fri, Jul 16, 2021 at 12:07 PM William Denton wrote: > > > However, I was a bit surprised when I found that a commented line starts > a new > > paragraph. > > I hadn't yet discovered that, but I think it should be considered a >

Re: babel output seems to drop anything before % (in session)

2021-06-08 Thread Kaushal Modi
Hi Nick, On Tue, Jun 8, 2021 at 11:54 PM Kaushal Modi wrote: > > Thanks! I tried out your patch and it does fix the truncation of results > output. Though, it retains the shell prompt in the first eval block and > removes it only from the second eval block onwards. > I have on

Re: babel output seems to drop anything before % (in session)

2021-06-08 Thread Kaushal Modi
On Thu, May 6, 2021 at 7:45 PM Nick Savage wrote: > So I have a patch written that doesn't completely fix the problem, but > maybe makes enough progress that someone else can figure it out. > > The issue is that comint-prompt-regexp is reading the "% " as a prompt, > and taking everyone off

Re: babel output seems to drop anything before % (in session)

2021-06-08 Thread Kaushal Modi
, with detection of shell prompt: '>', '%', etc. when session is enabled. -- Kaushal Modi On Sat, May 15, 2021 at 4:48 PM Bastien wrote: > Hi Nick, > > Nick Savage writes: > > > So I have a patch written that doesn't completely fix the problem, but > > maybe makes enough p

Re: [ORG] Moving the org-mode.git repo to savannah.gnu.org

2021-06-01 Thread Kaushal Modi
ng that the complete switch to Savannah is still pending? -- Kaushal Modi

Re: Regression in table.el detection? [maint]

2021-01-05 Thread Kaushal Modi
On Tue, Jan 5, 2021 at 12:09 PM Nicolas Goaziou wrote: > Oops. Fixed. Thank you. > Thank you! for fixing this so quick :) I confirm that fix you made in https://code.orgmode.org/bzg/org-mode/commit/332da69b3c3ca222943728c20287e4ace6d40e61 . Can you also please add a test for that? [My ox-hugo

Re: Regression in table.el detection? [maint]

2021-01-04 Thread Kaushal Modi
html fails to detect that table.el table because I see this in the exported buffer: = Header 1 Header 2 Header 3 -- = But if I introduce a newline before "* Subtree 2", the table.el table detection works fine. -- Kaushal Modi

Re: Regression in table.el detection? [maint]

2021-01-04 Thread Kaushal Modi
On Tue, Jan 5, 2021 at 1:36 AM Kaushal Modi wrote: > > I'll keep looking.. > OK, when I added the same debug messages to ox-html.el, I see: = (table (:begin 1860 :end 2104 :type table\.el :tblfm nil :contents-begin nil :contents-end nil :value "+--+--+

Re: Regression in table.el detection? [maint]

2021-01-04 Thread Kaushal Modi
On Tue, Jan 5, 2021 at 1:15 AM Kyle Meyer wrote: > > > Exporting that table to html, I see "Before" on release_9.4.4, maint > (273391c97), and master (00b4de329). > > You're able to trigger the issue with a vanilla configuration on maint? > Hi Kyle, Thanks for checking. Indeed ox-html export

Regression in table.el detection? [maint]

2021-01-04 Thread Kaushal Modi
f After: Header1 Header2 Header3 I stumbled across this regression as I was looking into why my weekly cron for ox-hugo tests failed: https://travis-ci.org/github/kaushalmodi/ox-hugo/jobs/752831865 -- Kaushal Modi

Re: pcase failure with Emacs 24 (was Emacs version for Org 9.4?)

2020-09-17 Thread Kaushal Modi
> On 2020-09-15, Kyle Meyer wrote: > > > >> It is pretty tricky to debug, but the failure starts with 4a27b67fd > >> (org-element: Fix property drawers parsing, 2020-04-22). As far as I > >> can see, the pattern introduced there is perfectly valid and should be > >> compatible with Emacs 24.

Re: Debugging at least 2 regressions in org-mode master breaking ox-hugo

2020-09-07 Thread Kaushal Modi
On Sun, Sep 6, 2020, 5:37 PM Bastien wrote: > Hi Kaushal, > > sorry for the late reply, and thanks for the detailed report. > > Kaushal Modi writes: > > > *The regression is that earlier (org-babel--string-to-number "1,3-5") > > used to return nil

Re: ox-* vs org-* naming convention?

2020-06-10 Thread Kaushal Modi
Hello Diego, That's great! Thanks for your PR. On Wed, Jun 10, 2020 at 12:57 PM Diego Zamboni wrote: > Hi everyone, > > Just a quick update: issue > https://github.com/purcell/package-lint/issues/89 submitted by Kaushal > has been closed through the PR I submitted, so now package-lint >

Re: ox-* vs org-* naming convention?

2020-06-07 Thread Kaushal Modi
Hello, This came up when I submitted ox-hugo to Melpa as well[1]. I stayed with the norm.. naming the package ox-hugo, but naming all the functions and variables with org-hugo-* prefix. [1] https://github.com/purcell/package-lint/issues/89

Re: `#+author:' stopped setting the author to empty string

2020-05-20 Thread Kaushal Modi
On Tue, May 19, 2020 at 8:38 PM Kyle Meyer wrote: > Nicolas Goaziou writes: > > > At first glance, it looks harmless. If the test suite passes, we can > > apply it. > > The test suite does pass with the change. Pushed, along with a > regression test (962b8e765). > Thank you for the debug and

Re: `#+author:' stopped setting the author to empty string

2020-05-19 Thread Kaushal Modi
On Mon, May 18, 2020 at 7:30 PM Kyle Meyer wrote: > > It bisects to b4e91b7e9 (New function: org-collect-keywords, > 2020-04-26). I haven't done much digging, but I was able to restore the > behavior with the change below, which may be a bad idea for other > reasons. > Thanks for that bisect!

`#+author:' stopped setting the author to empty string

2020-05-18 Thread Kaushal Modi
= Observed output: = Table of Contents _ Test = I looked through the commits on master in the past month, but I don't see any author-specific change that would affect *all* the exporter backends. Can anyone else reproduce this issue? -- Kaushal Modi

Re: Why not org-tempo insert upcased strings?

2020-04-27 Thread Kaushal Modi
On Mon, Apr 27, 2020, 4:35 AM tsuucat wrote: > > > tsuucat writes: > > > >>> Yes, the convention is now to have downcased keywords. > >> Thanks. Is the convention documented? > >> > >> https://orgmode.org/manual/Structure-Templates.html#Structure-Templates >

Re: Why not org-tempo insert upcased strings?

2020-04-24 Thread Kaushal Modi
On Fri, Apr 24, 2020, 2:52 AM tsuucat wrote: > Hi, > I tried Emacs 27 and found org mode shortcuts such as then I found org-tempo.el. > > However, org-tempo.el’s shortcuts insert downcased blocks (e.g. > #+begin_src). > Is this intended? > Yes, the convention is now to have downcased keywords.

Re: Adding Romanian translation for ox.el

2020-04-21 Thread Kaushal Modi
On Tue, Apr 21, 2020 at 12:43 PM Claudiu Tănăselia wrote: > Yay! My first contribution to org-mode and Emacs! > > Thank you cleaning it up and making it part of the official branch! > > Regards, > Claudiu. > Congrats! Really glad you followed through the whole submission procession. :)

Re: Debugging at least 2 regressions in org-mode master breaking ox-hugo

2020-03-05 Thread Kaushal Modi
On Thu, Mar 5, 2020 at 9:04 AM Bastien wrote: > Hi Kaushal, > > Kaushal Modi writes: > > > I'm just pinging again on this thread to bring it to attention. > > I'm reading the list but I didn't find the time to reply to the > threads yet, I'll get back to this. > &g

Re: Debugging at least 2 regressions in org-mode master breaking ox-hugo

2020-03-05 Thread Kaushal Modi
Hello, I'm just pinging again on this thread to bring it to attention. Thanks. Kaushal

Re: Bug or not a bug? dot expansion in ob-shell

2020-02-27 Thread Kaushal Modi
Hello all, On Wed, Feb 19, 2020 at 7:11 AM Bastien wrote: > Hi Eric, > > note that the previous behavior only _seemed_ right by chance: there > is no notion of getting the exit code of the shell command in > ob-shell.el, and returning "0" is just a hazard here, just because >

Re: Debugging at least 2 regressions in org-mode master breaking ox-hugo

2020-02-27 Thread Kaushal Modi
On Thu, Feb 27, 2020 at 9:13 AM Kaushal Modi wrote: > The regression is caused by > https://code.orgmode.org/bzg/org-mode/commit/6b2a7cb20b357e730de151522fe4204c96615f98 > or the later commit that changes `org-babel--string-to-number'. > > Using this function redefinition with a

Re: Debugging at least 2 regressions in org-mode master breaking ox-hugo

2020-02-27 Thread Kaushal Modi
On Thu, Feb 27, 2020 at 9:00 AM Kaushal Modi wrote: > Failure 2: Change in parsing of org babel header arguments. > > The relevant snippet where I parse the header arguments in ox-hugo.el is > at > https://github.com/kaushalmodi/ox-hugo/blob/f8ec4aa5ad7d92f94bd8dbb814d85f980be6

Debugging at least 2 regressions in org-mode master breaking ox-hugo

2020-02-27 Thread Kaushal Modi
67aea/ox-hugo.el#L2563 This behavior change in org-babel-parse-header-arguments is also not documented in ORG-NEWS. I will now investigate what cause this regression. ... -- Kaushal Modi [1]: https://github.com/kaushalmodi/ox-hugo

Re: Survey: changing a few default settings for Org 9.4

2020-02-20 Thread Kaushal Modi
> > > However, hiding emphasis and macro markers can make editing text at > > the boundaries of emphasized text non-intuitive, which I can imagine > > might frustrate some new users, so that should probably be carefully > > considered. > +1e6 > Interestingly, hiding emphasis and macro markers

Re: A few changes to test in master

2020-01-31 Thread Kaushal Modi
On Fri, Jan 31, 2020, 9:45 PM Samuel Wales wrote: > org-table-header-line-mode? > +1 >

Re: A few changes to test in master

2020-01-31 Thread Kaushal Modi
On Fri, Jan 31, 2020, 6:28 AM Bastien wrote: > Dear all, > > I would like to highlight three changes from master that need to be > carefully tested before Org 9.4 can be released: > > - M-x org-table-electric-header-mode RET will display the first row > of the table at point in the header line

Re: documenting python module examples in orgmode

2019-12-09 Thread Kaushal Modi
On Mon, Dec 9, 2019, 5:49 AM Divan Santana wrote: > Hi All, > > I'm trying to document python module examples in orgmode. > > I'm sure this is possible, but not quite sure how to do it. > > I'd like to define the python module in one block, and then import it in > another. > Have you looked at

Re: ox-latex: missing :LATEX_HEADER:

2019-12-04 Thread Kaushal Modi
On Wed, Dec 4, 2019 at 1:32 PM Karl Voit wrote: > Hi, > > For LaTeX export, I'd love to use ::LATEX_HEADER: instead of > file-based settings with #+LATEX_HEADER. > Typically all Org export keywords work in properties too, but with an "EXPORT_" prefix. See if the ":EXPORT_LATEX_HEADER:"

Re: Gnus org-mode link problems in org 9.3

2019-12-04 Thread Kaushal Modi
On Wed, Dec 4, 2019 at 11:31 AM Kaushal Modi wrote: > > Not sure if the issue you are seeing is because of the same cause. > It's very much likely that's the case: >From https://orgmode.org/Changes.html : > The old org-link-escape and org-link-unescape functions have been r

Re: Gnus org-mode link problems in org 9.3

2019-12-04 Thread Kaushal Modi
On Wed, Dec 4, 2019 at 11:27 AM Bob Newell wrote: > Aloha, > > Posting to both org-mode and gnus groups. > > Just updated to latest org (9.3 of 3 December) on Emacs 26.3.1 > and my gnus link functions seem to have quit. > > Now, whenever I do C-c C-o on an email link I get something like this: >

Re: [O] Emacs master, faces with :extend t let cursor vanish at EOL?!

2019-10-22 Thread Kaushal Modi
On Tue, Oct 22, 2019 at 3:52 PM Ingo Lohmar wrote: > I am writing to the org-mode list first, because I have only been able > to reproduce this problem in org-mode. > > With a recent Emacs master build, faces can have the :extend t property > to indicated that they should extend after the

Re: [O] Shameless plug: blog series on how to use org mode features (PIM)

2019-09-25 Thread Kaushal Modi
On Wed, Sep 25, 2019, 5:49 AM Karl Voit wrote: > Hi! > > I created a series of my own blog articles on how I am using > features from Org mode. > > It's not related to the manual, it's related to "how to combine misc > features for everyday's work". > > Maybe you find a few tricks here or there:

Re: [O] export outside of emacs

2019-07-28 Thread Kaushal Modi
On Sun, Jul 28, 2019, 6:28 AM Luca Ferrari wrote: > Hi all, > how can I run emacs to export org-mode files from outside of Emacs? You just run with --batch. That starts "emacs -Q" in batch mode. If you need to load some elisp at that point to make your export work, you can pack all that in an

Re: [O] Compile failure

2019-06-24 Thread Kaushal Modi
That issue on Emacs master is fixed now for me. -- Kaushal Modi On Mon, Jun 24, 2019, 11:43 AM William Denton wrote: > On 24 June 2019, Robert Pluim wrote: > > > Thatʼs an emacs issue, not an org-mode issue. If you specify the full > > path to your emacs binary instead of usi

[O] Question about using #+call to insert Org mode snippet with different noweb refs

2019-05-10 Thread Kaushal Modi
uot;, wave: 'n...' }, { name: "Nclk", wave: 'N...' }, {}, { name: 'clk0', wave: 'phnlPHNL' }, { name: 'clk1', wave: 'xhlhLHl.' }, { name: 'clk2', wave: 'hpHplnLn' }, { name: 'clk3', wave: 'nhNhplPl' }, { name: 'clk4', wave: 'xlh.L.Hx' }, ]} #+end_export = -- Kaushal Modi

Re: [O] Regression in org-table-recalculate-buffer-tables and #+startup: shrink [devel branch]

2019-04-23 Thread Kaushal Modi
Hello Nicolas, On Tue, Apr 23, 2019 at 4:37 AM Nicolas Goaziou wrote: > > Fixed. Thank you. > Thank you for the quick fix!

[O] Regression in org-table-recalculate-buffer-tables and #+startup: shrink [devel branch]

2019-04-22 Thread Kaushal Modi
oved. I believe that this commit caused this regression: https://code.orgmode.org/bzg/org-mode/commit/222408d70a3674f06ddd6b77e4e1126c602e7361 . Org mode version 9.2.3 (release_9.2.3-336-g09a1a2 @ /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/) Thanks! -- Kaushal Modi

Re: [O] Lowercase keywords in 9.2?

2019-02-12 Thread Kaushal Modi
On Tue, Feb 12, 2019 at 3:59 PM Carlos Pita wrote: > > What do you mean with the "uppercase legacy"? You mean all the current > documents we already have? > > Specifically what motivated this post: collections of snippets that > have been written with the historical convention in mind. It's easy

Re: [O] Key bindings for Org export back-ends?

2019-02-08 Thread Kaushal Modi
On Fri, Feb 8, 2019 at 10:48 AM Thomas S. Dye wrote: > One place for the list of key bindings might be here: > https://orgmode.org/worg/exporters/index.html > That's a great idea! How about creating a single Org table with columns like Name, Description, Binding, Core/Contributed, and then sort

Re: [O] Key bindings for Org export back-ends?

2019-02-08 Thread Kaushal Modi
On Fri, Feb 8, 2019, 3:28 AM Jens Lechtenboerger > - org-reveal [3]: R > - org-re-reveal [4]: r (conflict with RSS) > I see that org-re-reveal is based off org-reveal. So do you see a use case where people would `require' both org-reveal and org-re-reveal? If not, then using the same binding as

Re: [O] Manual available?

2019-02-04 Thread Kaushal Modi
On Mon, Feb 4, 2019 at 11:33 AM Lawrence Bottorff wrote: > Is the latest org-mode manual available as an org file? Is there a github > for it somewhere? > > LB > It's here: https://code.orgmode.org/bzg/org-mode/raw/master/doc/org-manual.org

Re: [O] M-S-RET doesn't work anymore?

2019-01-23 Thread Kaushal Modi
On Wed, Jan 23, 2019, 7:45 PM Amin Bandali > Also notice the left over greater sign ‘>’ on the fourth line. > Yeah, that was fixed in a later commit. I was surprised to see that too, but confirmed that the latest master doesn't have that. >

Re: [O] M-S-RET doesn't work anymore?

2019-01-23 Thread Kaushal Modi
On Wed, Jan 23, 2019 at 3:54 PM Marco Wahl wrote: > As a workaround you can evaluate the lines (that were active before the > commit) > > (org-defkey org-mode-map (kbd "S-") #'org-table-copy-down) > (org-defkey org-mode-map (kbd "M-S-") #'org-insert-todo-heading) > (org-defkey org-mode-map (kbd

Re: [O] Shift-RETURN in table doesn't copy the value of the cell above

2019-01-23 Thread Kaushal Modi
Possible a regression caused by https://code.orgmode.org/bzg/org-mode/commit/8a1957d59201940613ee90be9ed0a49e70131f37 ? -- Kaushal Modi On Wed, Jan 23, 2019 at 3:27 PM William Denton wrote: > > |A|B| > > This set of keystrokes makes: > > | A | B | > | | | > |

Re: [O] M-S-RET doesn't work anymore?

2019-01-23 Thread Kaushal Modi
On Wed, Jan 23, 2019 at 3:13 PM Bernt Hansen wrote: > Hi, > > I regularly create checkbox lists on the fly with > > 1. [ ] blah and M-S-RET to create the second entry > > 2. [ ] > > But the checkbox is missing today. Has this functionality changed? > > I am running the latest master from git

Re: [O] How to get ordinal of an element in the subtree when exporting?

2019-01-17 Thread Kaushal Modi
On Thu, Jan 17, 2019 at 8:21 AM mgcyung wrote: > > The function "org-export-get-ordinal" returns the ordinal of an element > in the whole file. How to get ordinal of an element in the subtree when > exporting? > Do you mean you want the ordinal counting to reset when the subtree begins? In that

[O] Org Elpa deployment failing for past 2 weeks

2019-01-15 Thread Kaushal Modi
Hello, The Org Elpa deploys a new release every week on Mondays. But it looks like that release has been failing for past 2 weeks. Here's the log file from yesterday that shows the error during make cleanall: https://orgmode.org/elpa/build-org-pkg.txt -- Kaushal Modi

Re: [O] Displaying inline svg images

2019-01-09 Thread Kaushal Modi
Hello Colin, Eric: First of all, thanks for checking things on your end, and apologize for the noise. I had an experimental setting of image-type-header-regexps lying in my Emacs config and that messed up the SVG inlining. All good now.

Re: [O] Displaying inline svg images

2019-01-09 Thread Kaushal Modi
> > Thanks Eric, Colin. Please see my further questions below. > Eric S Fraga writes: > > > Your example works fine for me but I am using a slightly old > > version of org so maybe something has changed? > > > -- Eric S Fraga via Emacs 27.0.50, Org release_9.1.14-1035-gfeb442 >

[O] Displaying inline svg images

2019-01-08 Thread Kaushal Modi
de version 9.2 (release_9.2-151-g8a5d8f ..) | master branch Emacs version: GNU Emacs 27.0.50 (build 5, x86_64-pc-linux-gnu, GTK+ Version 2.24.23) of 2019-01-08, built using commit 55c5e26307a1e8f1fff74415fc560aa172a421cf | master branch -- Kaushal Modi

Re: [O] Change in order of tag collation from #+filetags plus heading tags [Regression 9.1 -> 9.2]

2019-01-08 Thread Kaushal Modi
On Fri, Jan 4, 2019 at 4:43 PM Kaushal Modi wrote: > I am also copying Matt Lundin as I believe that this commit[1] caused this > regression. > > If above looks good, I will go ahead the commit this patch with test, > proper commit log, etc. > I went ahead and committed

Re: [O] batch failure of first org-num test

2019-01-08 Thread Kaushal Modi
On Mon, Jan 7, 2019, 2:56 PM Kyle Meyer Sorry, I just now spotted an earlier message from Kaushal that reports > the same test failure: > https://lists.gnu.org/archive/html/emacs-orgmode/2019-01/msg00112.html No need to be sorry. You did the debugging and even found a fix for this. :)

[O] Failing org-num-mode test

2019-01-07 Thread Kaushal Modi
m/max-level (0.000511 sec) passed 3/4 test-org-num/skip-numbering (0.003965 sec) passed 4/4 test-org-num/update (0.038399 sec) Ran 4 tests, 3 results as expected, 1 unexpected (2019-01-07 08:32:35-0500, 0.184330 sec) 1 unexpected results: FAILED test-org-num/format-function = Can you confirm? -- Kaushal Modi

Re: [O] Change in order of tag collation from #+filetags plus heading tags [Regression 9.1 -> 9.2]

2019-01-04 Thread Kaushal Modi
On Fri, Jan 4, 2019 at 8:15 AM Nicolas Goaziou wrote: > > The order of tags is unspecified, either in the docstring, in the > manual, or in the syntax. So it doesn't really matter. > This regression was caught by one of the ox-hugo tests. I'd to like to fix it to the former tag order because I

Re: [O] Fix C-u C-c C-q (align all tags in visible buffer)

2019-01-04 Thread Kaushal Modi
Hello Nicolas, On Fri, Jan 4, 2019 at 8:17 AM Nicolas Goaziou wrote: > Hello, > > > > If this looks good, I can commit this to maint and master. > > Sure. Please also provide a regression test for it. > Thank you. Commited to maint, merged to master, with a test.

[O] Change in order of tag collation from #+filetags plus heading tags [Regression 9.1 -> 9.2]

2019-01-03 Thread Kaushal Modi
tags In Org 9.2, the order is: 1. *tags from parent headings in order* 2. *tags from filetags* 3. current heading tags Is this switch of order expected? -- Kaushal Modi

[O] Fix C-u C-c C-q (align all tags in visible buffer)

2019-01-03 Thread Kaushal Modi
d, I can commit this to maint and master. Thanks. -- Kaushal Modi

Re: [O] How to specify block quote language?

2018-12-20 Thread Kaushal Modi
On Thu, Dec 20, 2018 at 3:09 PM Abigaile Johannesburg wrote: > > Is there a way to specify the language for quoted text? For example, > > #+begin_quote :lang=jp > quotes > #+end_quote > You can do this instead which is already supported: #+attr_html: :lang jp #+begin_quote quotes #+end_quote

Re: [O] Meta : what can be sent to this mailing list ?

2018-12-19 Thread Kaushal Modi
I think that emails with attachments exceeding a certain size are blocked. You might want to upload your attachments somewhere else, and simply link to them in your emails sent to this list. -- Kaushal Modi On Wed, Dec 19, 2018, 9:40 AM Emmanuel Charpentier < emanuel.charpent...@gmail.com wr

Re: [O] [PATCH] org-capture: Add a custom to control save target file or not.

2018-12-13 Thread Kaushal Modi
On Thu, Dec 13, 2018 at 11:25 AM Nicolas Goaziou wrote: > > > +(unless (org-capture-get :no-save) > > + ;; Save the target file. > > + (save-buffer)) > > The comment does not look terribly useful. I would put the whole > `unless' in a single line. > > Barring that nitpicking of

Re: [O] [PATCH] org-capture: Add a custom to control save target file or not.

2018-12-13 Thread Kaushal Modi
On Thu, Dec 13, 2018 at 10:24 AM Kaushal Modi wrote: > > I have formatted 2 patches to address this (attached). If they look fine, > I can commit them to master. > I forgot to properly format the commit messages.. locally, I have fixed the commit message of 0002 patch to the below

Re: [O] [PATCH] org-capture: Add a custom to control save target file or not.

2018-12-13 Thread Kaushal Modi
On Thu, Dec 13, 2018 at 10:08 AM Kaushal Modi wrote: > Hello Nicolas, > > While we are planning to cut Org 9.2 release this week, this one > regression in the Org Capture and auto-saving behavior comes to my mind, > that I think should be fixed. > > Summary: > > In Or

Re: [O] [PATCH] org-capture: Add a custom to control save target file or not.

2018-12-13 Thread Kaushal Modi
/msg00204.html - https://lists.gnu.org/r/emacs-orgmode/2018-09/msg00325.html -- Kaushal Modi On Sat, Sep 29, 2018 at 6:36 AM Van L wrote: > > >> Then saving should be the default again, and not saving optional. > > > > I believe this would be the best option. > &

Re: [O] [PATCH] ox.el: Define subtitle macro

2018-12-12 Thread Kaushal Modi
> master branch is meant to be released... at some point. For the record, > I cannot do it myself. +1 It would be great to have Org 9.2 released!

Re: [O] meaning for _ (and perhaps ^) temporalily changed

2018-12-12 Thread Kaushal Modi
On Mon, Dec 10, 2018 at 5:34 AM Rudolf Sykora wrote: > > Dear list, > > is there a way to *temporalily* disable the default interpretation > of _ as a subscript? > > I use filenames which include _ , while I have > many other places where I want the default behaviour > (I don't want to rewrite

Re: [O] Noweb blocks duplicate during Org export if part of #+include

2018-12-12 Thread Kaushal Modi
On Sat, Dec 8, 2018 at 4:42 AM Nicolas Goaziou wrote: > Now, onto the second case. When evaluating Babel code, the whole initial > buffer is taken as reference. It allows, for example, to define source > blocks in a dedicated section, and export another one that calls them. > When the INCLUDE

Re: [O] Where is org-mime?

2018-12-10 Thread Kaushal Modi
On Mon, Dec 10, 2018 at 10:44 AM Alexandre Garreau wrote: > > I recently learnt about org elpa repo, including its package with the contrib > directory (I always wondered about what were the canonical way to get it!), > but it seems not to include org-mime (org-plus-contrib-20181210)… where are

[O] Noweb blocks duplicate during Org export if part of #+include

2018-12-06 Thread Kaushal Modi
esult in foo_included.html with the <> block expanded twice! It seems like the Noweb expansion happens first as usual, and then again when parsing #+include (which shouldn't happen?). = #+title: Noweb Duplicating Bug #+author: Kaushal Modi * Reused Sections ** Foo :PROPERTIES: :CUSTO

Re: [O] Ox-html: Replace with and with

2018-10-24 Thread Kaushal Modi
On Wed, Oct 24, 2018 at 2:04 AM Nicolas Goaziou wrote: > > > No objection from me. Thank you! Actually, before making this change, I started reading up on the HTML5 spec on the b, strong, i, em tags, and now I am confused as ever. Facts: - b and i are not deprecated - b and strong are both

[O] Ox-html: Replace with and with

2018-10-23 Thread Kaushal Modi
: - https://developer.mozilla.org/en-US/docs/Web/HTML/Element/b - https://developer.mozilla.org/en-US/docs/Web/HTML/Element/i#Usage_Notes -- Kaushal Modi

Re: [O] Problem in removing the invisible brackets of a link

2018-10-14 Thread Kaushal Modi
On Sun, Oct 14, 2018, 4:08 AM Nicolas Goaziou wrote: > Hello, > > alain.coch...@unistra.fr writes: > > > > =[[xx]]= and ~[[xx]]= are not links; try to export them. > > > > Indeed. Thanks once more. > > For the record, I fixed fontification of verbatim markup. Links within > =...= and ~...~ are

Re: [O] Branch "next" garbled

2018-10-11 Thread Kaushal Modi
On Thu, Oct 11, 2018, 9:46 PM Adrian Bradd wrote: > > Sorry if this is obvious, but what is the next branch > Simply put, the next branch is even more bleeding edge than the master. Bleeding-edgeness: next > master > maint - maint :: gets published to Org Elpa, etc. Right now the version

Re: [O] Order of tangled blocks reversed?

2018-10-10 Thread Kaushal Modi
On Wed, Oct 10, 2018 at 6:05 PM Nicolas Goaziou wrote: > It is. Fixed. Thank you. Awesome! Thank you!

[O] Order of tangled blocks reversed?

2018-10-07 Thread Kaushal Modi
g 1, why is the block3 code appearing above block1? Is this a bug? Org mode version 9.1.14 (release_9.1.14-933-gfe72a0 @ /home/kmodi/usr_local/apps/6/emacs/master/share/emacs/site-lisp/org/) -- Kaushal Modi

Re: [O] [RFC] Replace lambda functions added to org-mode-hook with named funcs

2018-10-06 Thread Kaushal Modi
On Fri, Oct 5, 2018, 6:42 AM Nicolas Goaziou wrote: > > If that's a function added to `org-mode-hook', it is not useful to add > "on major mode change". > Yes, I'll remove that one hook addition. > If there is no objection to this, I can fix this everywhere in maint, > > and then merge that

[O] [RFC] Replace lambda functions added to org-mode-hook with named funcs

2018-10-04 Thread Kaushal Modi
ajor-mode-hook #'org-show-block-all 'append 'local)) +(add-hook 'org-mode-hook #'org--unfold-all-blocks-on-major-mode-change) ;;; Org-goto = If there is no objection to this, I can fix this everywhere in maint, and then merge that into master. Comments? -- Kaushal Modi [0]: https://www

Re: [O] Section on #+include keyword is missing quite some info in the org-manual.org

2018-10-04 Thread Kaushal Modi
On Mon, Oct 1, 2018 at 3:25 PM Kaushal Modi wrote: > I was thinking of adding cindices like the ones you added for header > arguments. > > #+cindex: @samp{minlevel}, include > #+cindex: @samp{lines}, include > .. etc. > > Would that be OK? > I went ahead

Re: [O] ox-hugo-like "DWIM" cope for other exporters?

2018-10-02 Thread Kaushal Modi
On Sat, Sep 29, 2018 at 8:23 PM Thomas S. Dye wrote: > Aloha Matt, > > I've often wished LaTeX export had this capability. I'd certainly be > happy if this were a feature of all the exporters. > Hello Tom, Matt, I can work on a DWIM scope that's generic. For ox-hugo, the criteria for the

Re: [O] Concatenating Org property values from parent subtrees

2018-10-01 Thread Kaushal Modi
On Mon, Oct 1, 2018 at 11:50 AM Ihor Radchenko wrote: > Hi, > > Check out the following code: > > > (defvar org-concatenated-properties '("AA") > "A list of property names (strings), which should be computed via > concatenation with the parent properties.") > > (define-advice

Re: [O] Section on #+include keyword is missing quite some info in the org-manual.org

2018-10-01 Thread Kaushal Modi
On Wed, Sep 26, 2018 at 6:47 AM Nicolas Goaziou wrote: > > This is not intentional. Could you re-introduce the latest revision of > that section? > I was just setting out to fix this in the manual, but I see that you already did this :) I was thinking of adding cindices like the ones you added

Re: [O] Concatenating Org property values from parent subtrees

2018-09-29 Thread Kaushal Modi
On Sat, Sep 29, 2018 at 2:39 PM Michael Welle wrote: > > I asked something similar earlier this year (concatenating compiler > flags given as header-args property, used for linking against different > libs in different sections of the Org file). I ended with a function > that grabs the current

Re: [O] [PATCH] org-capture: Add a custom to control save target file or not.

2018-09-28 Thread Kaushal Modi
On Fri, Sep 28, 2018 at 4:50 PM Nicolas Goaziou wrote: > Hello, > > Kaushal Modi writes: > > > @Nicolas, tumashu: Would love to get your comments. > > I don't remember the initial report. > Sorry. Here's the original thread: https://lists.gnu.org/r/emacs-orgmode/2018

Re: [O] [PATCH] org-capture: Add a custom to control save target file or not.

2018-09-28 Thread Kaushal Modi
On Thu, Sep 27, 2018, 9:33 AM Kaushal Modi wrote: > > Summary: > > - Proposal to revert > https://code.orgmode.org/bzg/org-mode/commit/b4422add3745c26ec3b2e11b8da425844b2e9d3d > - Use the above advice if you don't want to save buffer during org-capture. > @Nicolas, tumas

Re: [O] Feature proposal: Triple square brackets to create a link to a file AND include the file

2018-09-27 Thread Kaushal Modi
On Thu, Sep 27, 2018 at 11:03 AM Nicolas Goaziou wrote: > As I said, link syntax is inadequate here. I still think what Org > provides is enough. > +1. Also the proposed link syntax is too confusing with the existing and also for a very corner use case. And then we need to worry about

Re: [O] [PATCH] org-capture: Add a custom to control save target file or not.

2018-09-27 Thread Kaushal Modi
On Thu, Sep 27, 2018 at 1:47 AM Eric S Fraga wrote: > On Wednesday, 26 Sep 2018 at 13:11, Kaushal Modi wrote: > > I had been wondering for quite some time (about since 5 months :P) why > > my Org captures have stopped auto-saving. > > This has been really annoying me f

[O] Concatenating Org property values from parent subtrees

2018-09-26 Thread Kaushal Modi
ub-section :PROPERTIES :EXPORT_XYZ: b :END: At this point, the value of XYZ property should be "ab". *** Sub-sub-section :PROPERTIES :EXPORT_XYZ: c :END: At this point, the value of XYZ property should be "abc". -- Kaushal Modi

Re: [O] [PATCH] org-capture: Add a custom to control save target file or not.

2018-09-26 Thread Kaushal Modi
> Also that suggestion to use org-capture-after-finalize-hook does not > work.. I am investigating to find the right way. I got the captures to auto-save with the below work-around: (with-eval-after-load 'org-capture (defvar modi/org-capture-base-buffer nil) (defun

Re: [O] [PATCH] org-capture: Add a custom to control save target file or not.

2018-09-26 Thread Kaushal Modi
> On Sat, Apr 14, 2018 at 5:43 AM tumashu wrote: > > > > Agree this idea, If user want to save-buffer when capture finish, they can > > add save-buffer to org-capture-after-finalize-hook or just type C-x C-s Also that suggestion to use org-capture-after-finalize-hook does not work.. I am

Re: [O] [PATCH] org-capture: Add a custom to control save target file or not.

2018-09-26 Thread Kaushal Modi
On Sat, Apr 14, 2018 at 5:43 AM tumashu wrote: > > At 2018-04-14 15:44:00, "Nicolas Goaziou" wrote: > >Hello, > > > >tumashu writes: > > > >> I do not know why must save-buffer, may be for information safe :-) > > > >If there is no objection, I suggest to simply remove this call to >

[O] Section on #+include keyword is missing quite some info in the org-manual.org

2018-09-25 Thread Kaushal Modi
ensure that the org-manual.org is not missing out the useful info from the old org.texi? -- Kaushal Modi

Re: [O] Unable to instrument `org-export-data' using `edebug-defun'

2018-09-22 Thread Kaushal Modi
On Sat, Sep 22, 2018 at 9:00 PM Nicolas Goaziou wrote: > > Hello, > > Adrian Bradd writes: > > > Running `edebug-defun' on `org-export-data' produces the following > > error: > > > > edebug-syntax-error: Invalid read syntax: "Failed matching", ( > > ( name ( arg) cl-declarations-or-string

Re: [O] bug#32722: bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ?

2018-09-21 Thread Kaushal Modi
On Thu, Sep 20, 2018 at 9:55 PM Adam Porter wrote: > 1. Why not? I just git-blamed this line in ox-html.el: > > (declare-function htmlize-region "ext:htmlize" (beg end)) > > It's from February, 2012. That's 6 and a half years, at least, that > that code has been present. Why are we

Re: [O] bug#32722: bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ?

2018-09-20 Thread Kaushal Modi
On Thu, Sep 20, 2018, 7:19 PM Adam Porter wrote: > > Why? What's going on? > I kind of get why the rewrite needs to happen. But I also see that this rewrite is an unfortunate waste of time and resources. The reason is the same why a core Emacs package wouldn't rely on a non-core package, no

[O] bug#32722: bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ?

2018-09-19 Thread Kaushal Modi
On Tue, Sep 18, 2018 at 6:24 PM Amin Bandali wrote: > > I set up a mirror: https://code.orgmode.org/aminb/emacs-htmlize > > Assuming code.orgmode.org uses Gogs' default mirror settings, the > repo should be automatically synchronized with upstream roughly > every 8 hours or so. > > This way, we'd

Re: [O] bug#32722: bug#32722: bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ?

2018-09-18 Thread Kaushal Modi
Hello all, I heard back from htmlize.el author Hrvoje Nikšić in his repo's issue thread[0]. So here's the summary: - Hrvoje Nikšić does not want to assign the copyright of htmlize to FSF. So it cannot be part of Emacs, Org mode or even GNU Elpa. - The package will keep living in its GitHub

[O] bug#32722: bug#32722: bug#32722: bug#32722: 26.1; Org-publish depend on non-free platform ?

2018-09-18 Thread Kaushal Modi
On Tue, Sep 18, 2018 at 2:53 PM Robert Klein wrote: > When the original poster doesn't want to use htmlize, he probably > should try to export without fontifying source code (I think there's a > switch, but I'm not sure). Setting org-html-htmlize-output-type to nil will not prompt the user to

  1   2   3   4   5   6   7   8   >