Highlighting and Background Colour for Source Code

2021-05-09 Thread Christopher Dimech
Currently currently handles the highlighting of programming languages through "Code Blocks". Could org-mode have the capability of highlighting a whole buffer with a particular language highlight typeface. I have also seen that within code blocks, the background is uses a colour that is

Re: [bug] archiving creates duplicate entries

2021-05-09 Thread Samuel Wales
i have confirmed that this bug occurs as follows. archiving commands append to a buffer for the archive. they do not save, revert, or kill that buffer. my shell workaround, to allow archiving given completely unusably slow archiving, moved the archive files [so that they would not be slow].

Re: [wip-cite-new] New natbib processor

2021-05-09 Thread Bruce D'Arcus
On Sun, May 9, 2021 at 4:25 PM Nicolas Goaziou wrote: > > Hello, > > "Bruce D'Arcus" writes: > > > To bottom line it, seems the decision comes down to something like > > these three choices: > > > > 1. no change; keep sub-styles as they are ATM > > 2. change sub-styles to a simple string. So

Bug: org-duration-to-minutes: Invalid duration format [9.4.5 (release_9.4.5-530-g981f25 @ /home/dortmann/src/git-org-mode/lisp/)]

2021-05-09 Thread Daniel Ortmann
Hello, I opened my 'plan.org' file today and the C-c a a failed while creating the agenda.  The information is below. Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See

Re: Bug: spurious change in list indent cursor motion [9.4.4 (9.4.4-dist @ /home/powellj/elisp/org-9.4.4/lisp/)]

2021-05-09 Thread Kévin Le Gouguec
James Powell writes: > I open a new file, /tmp/demo.org, and I start a new list > by typing "- a".  It appears: > > - a > > What I expect: my cursor should now be at column 0.  This was the > behavior in 9.3.6 and it makes perfect sense. > > What happens instead: after upgrade to 9.4.4, the

Re: Bug: specifying end time of date as +0:20 [9.4.4 (release_9.4.4 @ /usr/local/share/emacs/28.0.50/lisp/org/)]

2021-05-09 Thread Stephen Eglen
> I solved this part on maint branch. Thank you! > Sure. Patch welcome. diff --git a/doc/org-manual.org b/doc/org-manual.org index ab12fa70a..ea8901f28 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@ -6074,6 +6074,11 @@ separator in the latter case, e.g.: | =11am--1:15pm= |

[bug] archiving creates duplicate entries

2021-05-09 Thread Samuel Wales
when i do a bulk archive, it will sometimes put 2 copies entries into the archive file. it is more likely to occur if i am archiving more tasks. at times, it seems certain entries do this repeatably, but i am not sure. there are times when i think i have reset everything (git is clean, archives

Bug: spurious change in list indent cursor motion [9.4.4 (9.4.4-dist @ /home/powellj/elisp/org-9.4.4/lisp/)]

2021-05-09 Thread James Powell
Remember to cover the basics, that is, what you expected to happen and what in fact did happen.  You don't know how to make a good report?  See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list.

Re: [wip-cite-new] New natbib processor

2021-05-09 Thread Nicolas Goaziou
Hello, "Bruce D'Arcus" writes: > To bottom line it, seems the decision comes down to something like > these three choices: > > 1. no change; keep sub-styles as they are ATM > 2. change sub-styles to a simple string. So [cite/text/caps+full:...], > where sub-style is the string "caps+full";

Re: [PATCH] Wrap LaTeX snippets in $$ with markdown export

2021-05-09 Thread Timothy
Hi, Nicolas Goaziou writes: >> I just thought there may be people who like me are interested in >> s for LaTeX in HTML, but not in Markdown. > > Fair enough. Let's push your last patch, then. Going off this, I've taken this as assent and just pushed my patch in its current form as 981f25031.

Re: Bug: specifying end time of date as +0:20 [9.4.4 (release_9.4.4 @ /usr/local/share/emacs/28.0.50/lisp/org/)]

2021-05-09 Thread Nicolas Goaziou
Hello, Stephen Eglen writes: > I'm trying to understand the syntax (e.g. ‘11am+2:15’) for specifying > the end time of an event, from (info "(org)The date/time prompt") > > It works okay if I do org-deadline with 11am+2:15 > > * test 3 > DEADLINE: <2021-05-09 Sun 11:00-13:15> > > but if I do

Bug: specifying end time of date as +0:20 [9.4.4 (release_9.4.4 @ /usr/local/share/emacs/28.0.50/lisp/org/)]

2021-05-09 Thread Stephen Eglen
Hi, I'm trying to understand the syntax (e.g. ‘11am+2:15’) for specifying the end time of an event, from (info "(org)The date/time prompt") It works okay if I do org-deadline with 11am+2:15 * test 3 DEADLINE: <2021-05-09 Sun 11:00-13:15> but if I do 11pm+2:15 then it gets confused: * test 4

Could habits appear in the correspondent hour in org-agenda?

2021-05-09 Thread Ypo
Hi I am tinkering with the agenda to make it look better. I am quite happy with the results, but I would like habits to go in the time of the day when they are programmed to be done. Is it possible? Best regards, Ypo

Re: bug#48199: 28.0.50; Org mode surprisingly usurps Calendar key binding

2021-05-09 Thread Stephen Berman
[I added emacs-orgmode@gnu.org in the Cc:] On Mon, 03 May 2021 18:07:25 +0200 Stephen Berman wrote: > By default `i' is a prefix key in calendar-mode for commands that insert > diary entries. But if you happen to display a buffer that activates > org-mode machinery, then `i' in calendar-mode

Re: [POLL] Setting `org-adapt-indentation' to nil by default?

2021-05-09 Thread Kévin Le Gouguec
Bastien writes: >> It is now, as of commit 0a651b746. > > ... and I broke some tests. Sorry for that. I will fix this next > week, unless someone does it before me. Here are two patches that set org-adapt-indentation to t for the tests which were implicitly relying on that behavior; that lets

[PATCH 2/2] org-refile.el: Fix test case

2021-05-09 Thread satotake
* lisp/org-refile.el (org-refile-get-targets): Check `buffer-file-name' return value instead of `buffer-base-buffer'. To pass the related tests, we need to check `buffer-file-name'. TINYCHANGE --- lisp/org-refile.el | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff

[PATCH 2/2] org-refile.el: Fix test case

2021-05-09 Thread satotake
* lisp/org-refile.el (org-refile-get-targets): Check `buffer-file-name' return value instead of `buffer-base-buffer'. To pass the related tests, we need to check `buffer-file-name'. TINYCHANGE --- lisp/org-refile.el | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff

[PATCH 2/2] org-refile.el: Fix test case

2021-05-09 Thread satotake
* lisp/org-refile.el (org-refile-get-targets): Check `buffer-file-name' return value instead of `buffer-base-buffer'. To pass the related tests, we need to check `buffer-file-name'. TINYCHANGE --- lisp/org-refile.el | 14 ++ 1 file changed, 6 insertions(+), 8 deletions(-) diff

Re: org-refile.el: Fix the case of emtpy buffer name

2021-05-09 Thread satotake
I am very sorry but related tests failed with my previous patch. I fixed it with this additinal patch. Bests, Takehsi SATO

Re: Bug: org-plot gives Invalid function error

2021-05-09 Thread Timothy
Ihor Radchenko writes: >> plot '/tmp/org-plotiPs0To' using 1:3 with histograms title 'H-index' > > This is not valid gnuplot command to create histograms. One needs to use: > > plot '/tmp/org-plotiPs0To' using 3:tics(1) with histograms title 'H-index' I've had a look at this, and it should be

[PATCH] org-refile.el: Fix the case of emtpy buffer name

2021-05-09 Thread satotake
* lisp/org-refile.el (org-refile-get-targets): Ensure arg of `file-name-non' and `file-truename' is non-nil. If you set `org-refile-use-outline-path' `file' or `full-file-path', and call `org-refile' in the buffer before visiting file, errors are raised at these point. To fix them, check if they

org-refile.el: Fix the case of emtpy buffer name

2021-05-09 Thread satotake
Dear Org maintainers, I often use org-mode for note-taking and so on. Sometimes, I would like to refile the headings in the scratch to other org files while I am writing. When I call `org-refile' in the buffer, Emacs throws errors on `org-refile-get-targets' because, typically, these buffers do

Re: [PATCH] ox-bb.el: Add BBCode exporter

2021-05-09 Thread Bastien
Hi Christian, Christian Garbs writes: >> Instead, you can host your code where you see fit and advertize it >> by contributing to Worg: > > I should have Worg credentials on one my machines – when I find them, > I'll add it. Thanks in advance! I was not able to find your email address among

Re: outline-minor-mode and org-mode capabilities for programming languages

2021-05-09 Thread General discussions about Org-mode.
> I have same elisp code and using outline-minor-mode. The good thing about it > is that > the language highlighting is preserved. But navigating and moving the code > around is > much more difficult than actually being in org-mode (I can use tab ate move > code with > "M-", M-). The

bug#48149: 27.2; Wrong underline width when the line char has a width of 2

2021-05-09 Thread Shingo Tanaka
Hi, > Please note that using char-width cannot solve the problem of a > character whose width depends on the font, because char-width is > oblivious to fonts, it only knows about the character's codepoint. I updated my patch proposal as attached to use window-text-pixel-size based on Eli's

Re: [wip-cite-new] New natbib processor

2021-05-09 Thread Bruce D'Arcus
On Sun, May 9, 2021 at 4:57 AM Nicolas Goaziou wrote: > > Hello, > > "Bruce D'Arcus" writes: > > > On Fri, May 7, 2021 at 7:37 AM Bruce D'Arcus wrote: > >> Also not sure if additional are needed for the other styles; a "caps" > >> default? > > > > I can't figure this bit out though. > > > >

Re: [PATCH] ox-bb.el: Add BBCode exporter

2021-05-09 Thread General discussions about Org-mode.
Hellp Bastien, On Mon, Apr 26, 2021 at 09:49:13AM +0200, Bastien wrote: > Christian Garbs via "General discussions about Org-mode." > writes: > > > after getting an encouraging reply to my initial proposal[1], I went > > forward and finished the patch to include the BBCode exporter in Org. > >

Re: [wip-cite-new] New natbib processor

2021-05-09 Thread Nicolas Goaziou
Hello, "Bruce D'Arcus" writes: > On Fri, May 7, 2021 at 7:37 AM Bruce D'Arcus wrote: > >> Maybe it's fine to drop them (sub-styles_. > ... > >> Also not sure if additional are needed for the other styles; a "caps" >> default? > > I can't figure this bit out though. > > '[cite:/Text@doe]' is

outline-minor-mode and org-mode capabilities for programming languages

2021-05-09 Thread Christopher Dimech
Dear Compeers, I have same elisp code and using outline-minor-mode. The good thing about it is that the language highlighting is preserved. But navigating and moving the code around is much more difficult than actually being in org-mode (I can use tab ate move code with "M-", M-). The

ob-sql is not finding psql when using direnv+guix

2021-05-09 Thread Adolfo De Unanue
Hi I am using Guix with direnv. In an specific folder I am installing and using psql and postgresql using direnv+guix as follows: use guix --manifest=cdpp-manifest.scm export PGUSER=food_user export PGPASSWORD=some_password export PGDATABASE=food layout postgres Where cdpp-manifest.scm

bug#47088: org-w3m: handle w3m-image link information

2021-05-09 Thread Bastien
I'm closing this report as the patch has been applied upstream. -- Bastien