Re: A few changes to test in master

2020-02-04 Thread Fraga, Eric
On Wednesday, 5 Feb 2020 at 08:08, Bastien wrote: > I just fixed the scroll-bar issue, thanks! Confirmed! Many thanks. -- : Eric S Fraga via Emacs 28.0.50, Org release_9.3.2-198-g06d36e

Re: Bug: org-element-at-point on headline does not contain :parent property [9.3 (release_9.3 @ /home/yantar92/.emacs.d/straight/build/org/)]

2020-02-04 Thread Bastien
Hi Ihor, Ihor Radchenko writes: > According to org-element-at-point docstring, "Properties depend on > element or object type, but always include :begin, :end, :parent and > :post-blank properties.". Probably the docstring needs to be adapted - Nicolas knows this area better than me. Best,

Re: A few changes to test in master

2020-02-04 Thread Bastien
"Fraga, Eric" writes: > Much better. See attached screenshots. One with scroll bar (which I > normally don't have turned on) and one with line numbers (which I do > usually have). I just fixed the scroll-bar issue, thanks! -- Bastien

Re: Bug: org-map-entries infinite loop for org file with tags [9.2.6 (9.2.6-elpa @ /home/ian/.emacs.d/elpa/org-9.2.6/)]

2020-02-04 Thread Bastien
Hi Ian, > Running org-map-entries on an org file with tags results in an infinite > loop. FWIW, I cannot reproduce this. > Example function using org-map-entries: > > (defun org-map-entries-test () > (interactive) > (org-map-entries '(lambda () (message "%s"

Re: sub super script export default

2020-02-04 Thread Fraga, Eric
On Tuesday, 4 Feb 2020 at 15:31, Samuel Wales wrote: did you export your signature? I did! And, yes, org-htmlize interpreted the underscore in the version number. Does it look better now? I don't often use HTML emails, mind you. Thank you! – Eric S Fraga via Emacs 28.0.50, Org

Re: Bug: org-agenda-open-link disallow permanenly changing point position while opening some links (e.g. elisp:) [9.3 (release_9.3 @ /home/yantar92/.emacs.d/straight/build/org/)]

2020-02-04 Thread Bastien
Hi Ihor, thanks for reporting this, this should be fixed now. -- Bastien

Re: Bug: refiling gobbles a newline and absorbs the next heading [9.1.9 (release_9.1.9-65-g5e4542 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)]

2020-02-04 Thread Bastien
Hi Miguel, I made a change in Org maint branch that could somehow impact the issue you reported. Can you test and see if it does? Morin writes: > In the course of fixing this, I found another bug in using the hook > `org-capture-before-finalize-hook`, which adds text at the beginning > and

Re: A few changes to test in master

2020-02-04 Thread Fraga, Eric
On Wednesday, 5 Feb 2020 at 00:21, Bastien wrote: > This should be fixed now, thanks! Much better. See attached screenshots. One with scroll bar (which I normally don't have turned on) and one with line numbers (which I do usually have). >> org-table-header-line-mode: Symbol’s function

Re: Bug: wsl org-open-at-point [9.1.14 (9.1.14-9-g131531-elpa @ /home/boss5/.emacs.d/elpa/org-20181112/)]

2020-02-04 Thread Bastien
Hi Steve, thanks for reporting this issue. Can you or Fabrice suggests what change should be done in Org, if any? Also, perhaps another solution can be found by adapting `org-file-apps'? Thanks, -- Bastien

Re: A few changes to test in master

2020-02-04 Thread Bastien
Hi Jack, Jack Kamm writes: > Bastien writes: > >> - M-x org-table-electric-header-mode RET will display the first row >> of the table at point in the header line when the first row is not >> visible anymore. > > This is great, it's a huge quality-of-life improvement for working with > long

Re: How to set time limit and memory limit for execution of source blocks

2020-02-04 Thread stardiviner
Anoop GR writes: > Dear Emacs hackers, > > Like all of you, I think orgmode is the best way to organise study notes. > > I am solving competitive programming questions from Topcoder.com > There are strict guidelines on memory limit of 256MB and time limit of 2sec > for solutions > > How do I

Re: feature request: modify org-attach to also create new (non-text) attachments

2020-02-04 Thread stardiviner
Bastien writes: > Hi Simon, > > Simon Campese writes: > >> while in orgmode, I frequently create some handwritten notes (using >> a wacom tablet and xournalpp) and attach it to the current >> headline. My ad-hoc solution is the following trivial modification of >> org-attach-new (only the

Re: org-startup-truncated default should be nil [legibility 2/6]

2020-02-04 Thread Samuel Wales
should not have hit send on last email. meant to disengage completely. will do so now. last email was not an invitation to converse.

Re: org-startup-truncated default should be nil [legibility 2/6]

2020-02-04 Thread Samuel Wales
you do not know what every user needs.

Re: Make code elements in prose unobtrusive [legibility 6/6]

2020-02-04 Thread Samuel Wales
On 2/4/20, Matthew Lundin wrote: > and they are best addressed through add-on themes and packages. agreed.

Re: org-startup-truncated default should be nil [legibility 2/6]

2020-02-04 Thread Samuel Wales
i am feeling highly uncomfortable now. On 2/4/20, Texas Cyberthal wrote: >> many users need fully maximized emacs while still having legible paragraph >> width. > > Splitting windows vertically creates narrower columns. Unlike > truncation etc, window management actually is something all noobs

Re: Make code elements in prose unobtrusive [legibility 6/6]

2020-02-04 Thread Matthew Lundin
Adam Porter writes: > There may be improvements to be made, but the defaults shouldn't be set > to match the preferences of any one user. Remember that people have > been using Org for years, and theming and faces are very personal. ;) I strongly agree. All of the changes mentioned in these

Re: org-startup-truncated default should be nil [legibility 2/6]

2020-02-04 Thread Texas Cyberthal
> many users need fully maximized emacs while still having legible paragraph > width. Splitting windows vertically creates narrower columns. Unlike truncation etc, window management actually is something all noobs must learn. Narrower columns can increase reading speed, to a point. But wide

Re: Prose with markup needs more line spacing [legibility 5/6]

2020-02-04 Thread Texas Cyberthal
If a noob is using Emacs for prose, he's using Org, or at least he should be. Those using other modes for prose are probably more advanced. Regardless of how it defines itself, today Emacs is primarily an IDE for programmers. So prose-friendly defaults are specific to Org. Emacs doesn't need to

Re: [BUG] Infinite loop in org-agenda-show-new-time

2020-02-04 Thread Bastien
Hi Andrew, thanks again. Andrew Hyatt writes: > Removing the (beginning-of-line 1) at the end of the time display > code in that function, and substituting (org-agenda-previous-line) > seems to fix it.  I'm not sure if that's the right approach - the > previous code didn't use that function

Re: babel latex headers and image generation commands

2020-02-04 Thread Matt Huszagh
I've thought about this more and the solution I presented above isn't quite sufficient for me. I need something where I get complete control over what goes in the latex source block on a block-by-block basis. In other words, I don't want a user-configurable option like org-format-latex-header plus

Re: Weird face behavior with org-hide-emphasis-markers enabled

2020-02-04 Thread D
> Can you provide an emacs and org version, the value of the variables > at stake and an reproducible example? Hi, naturally, I just wasn't at all sure I just overlooked something obvious and it's actually common knowledge. Naturally, using emacs -Q GNU Emacs 26.3 (build 1,

Re: org-startup-truncated default should be nil [legibility 2/6]

2020-02-04 Thread Samuel Wales
On 2/4/20, Texas Cyberthal wrote: > Prose should wrap at > window's edge many users need fully maximized emacs while still having legible paragraph width.

Re: Weird face behavior with org-hide-emphasis-markers enabled

2020-02-04 Thread Bastien
Hi, D writes: > org-hide-emphasis-markers has a > strange interaction with faces like org-code: when trying to draw a box > around an emphasized expression it does not draw the right border. Can you provide an emacs and org version, the value of the variables at stake and an reproducible

Re: A few changes to test in master

2020-02-04 Thread Bastien
Hi Eric, "Fraga, Eric" writes: > the latest on the table header. With emacs -Q and org from a few > minutes ago, I get the following: > > screendu > > when I open the file, invoke M-x org-table-header-line-mode RET and > scroll down in the attached org file. This should be fixed now, thanks!

Re: Prose with markup needs more line spacing [legibility 5/6]

2020-02-04 Thread Samuel Wales
i get some of your points in these emails. i'd sure like to change physical indentation in org to don't. and i think newcomers and advanced alike might want to have org sub superscript be off by default. one user on this list recently exported a signature that contained a version number that

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

2020-02-04 Thread Bastien
Hi Ingo, Ingo Lohmar writes: > I am confused, I thought this was fixed, but I have a really hard to find > the bug.. > > Some time later: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=38330 Yes, it is fixed, I couldn't find the reference for this bug. -- Bastien

sub super script export default

2020-02-04 Thread Samuel Wales
did you export your signature? take a look at the version number. i'm thinking /this/ could be a default change if so :). On 2/3/20, Fraga, Eric wrote: > PS -signature out of date in this case. org up to date from 5 minutes > ago now. > – > Eric S Fraga via Emacs 28.0.50, Org

Weird face behavior with org-hide-emphasis-markers enabled

2020-02-04 Thread D
Hi all, maybe I overlooked something in the archives, but I can't find this issue having been brought up yet. org-hide-emphasis-markers has a strange interaction with faces like org-code: when trying to draw a box around an emphasized expression it does not draw the right border. Cheers, D.

Re: Prose with markup needs more line spacing [legibility 5/6]

2020-02-04 Thread Texas Cyberthal
If someone is using optional packages that add markup such as underlining to code, and the markup is so prevalent that he needs extra line spacing, he is advanced enough to know how to adjust that. Line spacing preference is idiosyncratic, and spacing varies by face as well. I propose adding an

Re: org-adapt-indentation default should be nil [legibility 3/6]

2020-02-04 Thread Texas Cyberthal
> the default settings do not put blank lines between headings and their entry > text, I don't know what this means. Plain Emacs behaves the same way Spacemacs does in this regard. Insertion of a blank line after a heading is voluntary but standrd. Insertion of a blank line between the current

Re: org-startup-truncated default should be nil [legibility 2/6]

2020-02-04 Thread Texas Cyberthal
> visual-line-mode and toggle-truncate-lines are basic Emacs commands that all > users should learn early. Visual lines, logical lines etc is a complicated mess that Spacemacs avoids entirely. I recall fiddling with it and never being satisfied, until adopting Spacemacs solved it. Now I know

Re: babel latex headers and image generation commands

2020-02-04 Thread Matt Huszagh
Ok, here's an implementation that seems to be working pretty well so far. `org-latex-img-process` is the new customization. Most of the execute function is unaltered, but I've added the condition: ``` ((and (not imagemagick) (assoc extension org-latex-img-process))

Re: Defaults for noobs, dotfiles for vets [legibility 1/6]

2020-02-04 Thread Texas Cyberthal
Making a vet change a default if he decides he doesn't like a change upon upgrading won't drive him away, but Emacs' unfriendly defaults are always driving away noobs. Therefore Org's defaults should be noob-friendly, not vet-friendly. Probably vets should use legible settings as well. I became

Re: Glacial file operation!

2020-02-04 Thread Sharon Kimble
Bastien writes: > Hi Sharon, > > Sharon Kimble writes: > >> So how can I either remove it, or negate its showing its effects in >> every org-mode file please? > > Can you use `org-mode-hook' to deactivate whatever is getting in your way? Thanks for replying. I actually solved it after I'd

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

2020-02-04 Thread Ingo Lohmar
On Tue, Feb 04 2020 11:07 (+0100), Bastien wrote: > Hi Ingo, > > Ingo Lohmar writes: > >> Using this with a current elpa pkg of org-mode, and setting :extend t on >> faces like `org-block`, "often" the cursor vanishes at the EOL of a line >> using such a face. It reliably happens for

Re: [BUG] Infinite loop in org-agenda-show-new-time

2020-02-04 Thread Andrew Hyatt
I've tried the latest version from Feb 2nd, and it still has the same issue. After some more time with the issue, the issue is when the agenda has items A, and next line, invisibily (due to org-agenda-dim-blocked-tasks), B. Trying to set A gets you into an invisible loop because moving to the

Re: org-babel-load-file support elisp

2020-02-04 Thread Berry, Charles
> On Feb 3, 2020, at 10:03 PM, Jack Kamm wrote: > > Tim Cross writes: > >> All other language specifiers comply to the pattern of source block >> languages being the language major mode name without the '-mode', but >> there is no elisp-mode. > > Sorry to be pedantic, but I think shell

Re: Faster version of org-find-olp

2020-02-04 Thread Eric Abrahamsen
Bastien writes: > Hi Adam, > > Adam Porter writes: > >> While working on org-recent-headings, I thought I needed a version of >> org-find-olp that behaved slightly differently, so I wrote a new >> function. > > thanks for working on such improvements. Is there something here we > can integrate

Re: [O] MobileOrg and other tools

2020-02-04 Thread Bob Newell
I'm not going to be critical of either MobileOrg or Orgzly, which are the way to go if you want a dedicated app. But I much prefer going to the trouble of setting up a Termux environment, which allows Emacs to run in a very close to native term mode on any Android device. I combine this with an

[PATCH] ob-sql.el support auto set sql-product in editing sql-mode src block buffer

2020-02-04 Thread stardiviner
I tried to write an alist of all database names. and write an function to used to match name to possible names. But I found this solution is a little kind of complicated. Another simple solution is just add an duplicate code of "postgresql" for alias "postgres". Because I found only one

Re: Bug: org-indent-region doesn't restore cursor position when org-src-tab-acts-natively is t [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/share/emacs/26.3/lisp/org/)]

2020-02-04 Thread Bastien
Hi Sébastien, Sébastien Miquel writes: > Thank you for your reply. > > I can still reproduce with latest Org Mh, yes, I can reproduce this now, and this is fixed in maint. Thanks! -- Bastien

Re: Bug: Scheduling capture with a single line capture template [9.2.4 (9.2.4-10-g3b006f-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20190715/)]

2020-02-04 Thread Bastien
Hi Gustavo, Gustavo Barros writes: > thanks for looking into this. I managed to reproduce this bug, it is fixed in maint now. Thanks! -- Bastien

Re: [PATCH] Fix several issues with python session value blocks

2020-02-04 Thread Jack Kamm
Hi Bastien, Bastien writes: > Thanks a lot! Nitpicking, there is this new warning: > > In toplevel form: > ob-python.el:309:1: Warning: Unused lexical variable ‘last-indent’ > > Can you fix it? Oops, sorry for letting that slip through, and

Re: Glacial file operation!

2020-02-04 Thread Bastien
Hi Sharon, Sharon Kimble writes: > So how can I either remove it, or negate its showing its effects in > every org-mode file please? Can you use `org-mode-hook' to deactivate whatever is getting in your way? -- Bastien

Glacial file operation!

2020-02-04 Thread Sharon Kimble
I'm working with a series of files (its actually a website that I'm converting into a pdf, and exporting it from org-mode), and its becoming positively glacial in operation! And I think that 'wc-mode' is the culprit. And wc-mode is shown as a dependency in the paradox package-manager system.

Re: org-time-stamp keep the month and the year

2020-02-04 Thread Bastien
Hi Uwe, Uwe Brauer writes: > Sometimes I have to insert various dates of a given month/year in a > table. However if this is not an actual date, every time I use > org-time-stamp I have to go back. > > On the other hand if this command is used twice in succession, a time > range is inserted. So

Re: Bug: Scheduling capture with a single line capture template [9.2.4 (9.2.4-10-g3b006f-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20190715/)]

2020-02-04 Thread Gustavo Barros
Hi Bastien, thanks for looking into this. On Tue, Feb 04 2020, Bastien wrote: I cannot reproduce this issue with latest stable Org and emacs -q. Can you check and report if this still needs a fix? Yes, I can still reproduce this as described in the original report with current version

Re: A new, "org-bullets"-like minor mode

2020-02-04 Thread D
> > I would like to take a try too. Hope it is lightweight enough. Don't invoked > lot of time. > I have not yet optimized the package, but experience no issues. The package is currently in the process of being reviewed for MELPA. If you (or anyone else) would like to contribute a large,

Re: [O] MobileOrg and other tools

2020-02-04 Thread Toon Claes
Carsten Dominik writes: > I know that Orgzly is actively supported and in excellent shape. But I > don't know about MobileOrg or Syncorg for that matter, or any other similar > tools. https://beorgapp.com for iOS is actively developed and in a great shape. -- Toon

Re: Bug: python src var error [9.1.9 (release_9.1.9-65-g5e4542 @ /Applications/Emacs.app/Contents/Resources/lisp/org/)]

2020-02-04 Thread Bastien
Hi Claire, Claire Chambers writes: > Hello! this webpage: https://orgmode.org/manual/var.html says that > unordered lists have nested elements ignored, but running the same code > snippet gives "| simple | (unordered (not) (nested)) | > | list ||", not "| simple |

Re: Title in an PlantUML generated file

2020-02-04 Thread Bastien
Hi Cecil, Cecil Westerhof writes: > At the moment I am using PlantUML to generate eps diagrams. When > opening them in Evince it says: noTitle. Is there a way to get a > title so Evince has useful information in its window title? I guess the answer lies in PlantUML documentation. Did you try

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

2020-02-04 Thread Bastien
Hi Ingo, Ingo Lohmar writes: > Using this with a current elpa pkg of org-mode, and setting :extend t on > faces like `org-block`, "often" the cursor vanishes at the EOL of a line > using such a face. It reliably happens for `org-block', only sometimes > for `secondary-selection'. can you keep

Re: Bug: Comments and Hiding of Emphasis Markers [9.2.6 (release_9.2.6-539-g1fd07c @ /home/w/borg/emacs/org/lisp/)]

2020-02-04 Thread Bastien
Hi Sebastian, Sebastian Miele writes: > An Org file like > > # -*- lexical-binding: t; -*- > *bold* > > is dispayed as > > # -- lexical-binding: t; -- > bold > > where 'bold' is bold and '- lexical-binding: t; -' is not. Expected: In > comments emphasis marker characters are no emphasis

Re: [ANN] helm-org-ql command

2020-02-04 Thread Bastien
Hi Adam, Adam Porter writes: > Today I published a Helm command for org-ql, helm-org-ql, which makes it > quick and easy to search Org files. looks nice! If you find a way to advertize this in Worg, please go ahead. If you don't find a way, well, probably you can create a new section or page

Re: Unschedule an item from the date prompt

2020-02-04 Thread Bastien
Hi Nathan, Nathan Neff writes: > I seem to remember a way to unschedule an item > from the date prompt.  I found: > https://orgmode.org/manual/The-date_002ftime-prompt.html I don't remember any such feature, but who knows? If you found it in the meantime, please let us know. Thanks! --

Re: MobileOrg and other tools

2020-02-04 Thread Bastien
Hi Jean, Jean Louis writes: > * Carsten Dominik [2019-08-18 13:41]: >> does anyone know if the MobileOrg apps for both iOS and Android are still >> supported, and by who? > > I prefer that MobileOrg options are removed from Org menu in > Emacs. Just my opinion. It is not necessary. Agreed.

Re: [PATCH] Fix several issues with python session value blocks

2020-02-04 Thread Bastien
Hi Jack, Jack Kamm writes: > Kyle Meyer writes: > >>> I'd like to do the honors of making my first push to the repo :) So >>> please let me know if you're fine with me to proceed. >> All good from my end :> > > Thanks -- I've pushed to master :D Thanks a lot! Nitpicking, there is this new

Re: Faster version of org-find-olp

2020-02-04 Thread Bastien
Hi Adam, Adam Porter writes: > While working on org-recent-headings, I thought I needed a version of > org-find-olp that behaved slightly differently, so I wrote a new > function. thanks for working on such improvements. Is there something here we can integrate in Org (master)? If possible,

Re: org-cell in org-table with a list or a new paragraph

2020-02-04 Thread Bastien
Hi, flow writes: > I was wondering if I can get a new line inside the cell of a table in > Orgmode to be rendered as new paragraph or as a list. Hitting M-RET in a table's cell will open a new cell below and allow you to use "-" for a list item, but this list item won't be recognized as such

Re: [Feature proposal] Add :description function to org-link-parameters

2020-02-04 Thread Bastien
Hi Ihor, Ihor Radchenko writes: > Wondering if anyone is interested in adding a new org-link property to > customise generating the link description. yes, this sounds useful. Can you propose a patch against current Org master branch? See https://orgmode.org/worg/org-contribute.html on how to

Re: feature request: modify org-attach to also create new (non-text) attachments

2020-02-04 Thread Bastien
Hi Simon, Simon Campese writes: > while in orgmode, I frequently create some handwritten notes (using > a wacom tablet and xournalpp) and attach it to the current > headline. My ad-hoc solution is the following trivial modification of > org-attach-new (only the second to last line has changed):

Re: Bug: Scheduling capture with a single line capture template [9.2.4 (9.2.4-10-g3b006f-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20190715/)]

2020-02-04 Thread Bastien
Hi Gustavo, Gustavo Barros writes: > When using a single line capture template for an entry, the indirect buffer > where the capture editing occurs restrains itself to that single line. As a > consequence, scheduling during capture is not visible in the capture > buffer. I cannot reproduce

Re: org-scheduled-time-hour-regexp doesn't capture split repeats used by habit

2020-02-04 Thread Bastien
Hi Damian, > The ':scheduled*' value for org-agenda-entry-types uses > org-scheduled-time-hour-regexp to match related entries. The current > regexp doesn't match entries with split repeats like those used by > habits- for example:  'SCHEDULED: <2019-06-25 Tue 20:30 > .+1d/2d>'. Because