Re: Empty headline titles unsupported: Bug?

2021-05-25 Thread Tim Cross
le to parse org files outside of Emacs is not a bad thing, it should not be a primary driver for how org works. Org is an emacs mode and I think we need to be careful when considering limiting what you can do with it based on how easily it can be formally specified for external tools to use. I think few org users would welcome a change which removed a feature or required them to modify their workflow just to support the development of non-emacs tools. -- Tim Cross

Re: bug#48676: Arbitrary code execution in Org export macros

2021-05-26 Thread Tim Cross
g file, nothing is evaluated when you load the file. The user has to actively request for evaluation (via export or tangling). I would agree the org manual should make it very clear that exporting and tangling can result in macro evaluation, which could involve evaluation of arbitrary code and the risks that can introduce. -- Tim Cross

Re: Bug: Priority Of A Task In Emacs 27.2 Cannot Be Removed With Space Key ("SPC to remove")

2021-05-26 Thread Tim Cross
7;ve had to manually delete the priority number as a workaround which is a > bit annoying. > I've used F3 as a on-the-fly macro to quickly do this across multiple todo > list items as well. > However, it does feel a little awkward having to do this, so I'm wondering if > anyone has encountered this as well. > > Thanks, > > Sam -- Tim Cross

Re: Bug: Priority Of A Task In Emacs 27.2 Cannot Be Removed With Space Key ("SPC to remove")

2021-05-26 Thread Tim Cross
g able to just hit a number from 1 to 9 to > set the priority > of a task as well. > > Didn't want to conflate things too much, but it would be great if there was a > config option around this before I would have to make a workaround in Elisp > instead. > > On Th

Re: [BUG] New error: (void-function org-url-p) when exporting to LaTeX [9.4.6 (9.4.6-gc5573b @ /Users/stanton/.emacs.d/straight/build/org/)]

2021-05-27 Thread Tim Cross
-function (file) #)) > org-latex-export-to-pdf(nil nil nil nil) > org-export-dispatch(nil) > funcall-interactively(org-export-dispatch nil) > call-interactively(org-export-dispatch nil nil) > command-execute(org-export-dispatch) > > Thanks for any suggestions. > > Emacs : GNU Emacs 27.2 (build 1, x86_64-apple-darwin20.3.0, Carbon Version > 164 AppKit 2022.3) > of 2021-04-06 > Package: Org mode version 9.4.6 (9.4.6-gc5573b @ > /Users/stanton/.emacs.d/straight/build/org/) Doing a grep for org-url-p in the org-plus-contrib package *.el files finds no reference to org-url-p (no calls, no definition). Could this perhaps be from some add on package rather than part of org? -- Tim Cross

Re: [BUG] New error: (void-function org-url-p) when exporting to LaTeX [9.4.6 (9.4.6-gc5573b @ /Users/stanton/.emacs.d/straight/build/org/)]

2021-05-27 Thread Tim Cross
> org-export-to-file(latex "mfe230i.tex" nil nil nil nil nil > #f(compiled-function (file) #)) > org-latex-export-to-pdf(nil nil nil nil) > org-export-dispatch(nil) > funcall-interactively(org-export-dispatch nil) > call-interactively(org-export-dispatch nil nil) > command-execute(org-export-dispatch) > > Thanks for any suggestions. > > Emacs : GNU Emacs 27.2 (build 1, x86_64-apple-darwin20.3.0, Carbon Version > 164 AppKit 2022.3) > of 2021-04-06 > Package: Org mode version 9.4.6 (9.4.6-gc5573b @ > /Users/stanton/.emacs.d/straight/build/org/) -- Tim Cross

Re: bug#48676: Arbitrary code execution in Org export macros

2021-05-27 Thread Tim Cross
Rafael Ramirez Morales writes: > Just a couple of questions: > who is the owner of the HELLO file? > OR > who is the owner of the "touch" process? > > Is the owner the unprivileged user or the "emacs" system? > > Thanks. > Not clear exactly what your asking. The process which will execute the

Re: Bug: Priority Of A Task In Emacs 27.2 Cannot Be Removed With Space Key ("SPC to remove")

2021-05-27 Thread Tim Cross
nately, but thanks for this potential > workaround in that case. > > Clearing priorities with a space and enter doesn't work though, and I believe > this is a bug. > > On Thu, May 27, 2021, at 1:26 AM, Tim Cross wrote: > > Not sure how easy it would be to restore the previous

Re: [BUG] New error: (void-function org-url-p) when exporting to LaTeX [9.4.6 (9.4.6-gc5573b @ /Users/stanton/.emacs.d/straight/build/org/)]

2021-05-27 Thread Tim Cross
)) > ; :ensure org-plus-contrib > :config > (org-babel-do-load-languages >'org-babel-load-languages >'((jupyter . t))) > :bind > ("C-c l" . org-store-link) > ("C-c a" . org-agenda) > :init > (add-hook '

Re: HTML export uses anchor ids which change on every export

2021-05-29 Thread Tim Cross
in going back to that thread > about IDs generated based on the headings? IIRC it petered out more that > reached a conclusion. I thought the conclusion was that if you wanted link stability, use publish rather than export? -- Tim Cross

Re: HTML export uses anchor ids which change on every export

2021-05-30 Thread Tim Cross
Timothy writes: > Tim Cross writes: > >> Timothy writes: >> >>> On this, would you have any interested in going back to that thread >>> about IDs generated based on the headings? IIRC it petered out more that >>> reached a conclusion. >>

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-01 Thread Tim Cross
pdate any docs to add details about the additional dependncy and how to resolve it (for all supported platforms). -- Tim Cross

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-01 Thread Tim Cross
is the situation with installation of latexmk on non GNU Linux based platforms. For example, how easy is it to install latexmk on a windows system? If installation of latexmk is trivial on all supported platforms, there is a higher chance of being able to make it the defualt. On the other hand, if you need to jump through a lot of hoops to get it running, making it the default is less likely. -- Tim Cross

Re: colored src blocks question

2021-06-01 Thread Tim Cross
> Thanks, > > John > I find this is affected a lot by the colour theme the user has installed. I've noticed that with some themes, the full block has a different background while other themes have no distinct background for source blocks at all and others only have it for the begin/end lines. -- Tim Cross

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-02 Thread Tim Cross
Stefan Nobis writes: > Tim Cross writes: > >> One reason is that latexmk is not installed on some systems. > > Just after starting to write that this is false nowadays I realized > you are right. :) > > See: https://mg.readthedocs.io/latexmk.html > > For macO

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-02 Thread Tim Cross
Colin Baxter writes: >>>>>> Bruce D'Arcus writes: > > > On Wed, Jun 2, 2021 at 4:28 AM Tim Cross wrote: > >> The more I think about it, I think the best solution would be to > >> update the code which sets the default and have it

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-02 Thread Tim Cross
Scott Randby writes: > On 6/2/21 8:07 AM, Bruce D'Arcus wrote: >> On Wed, Jun 2, 2021 at 4:28 AM Tim Cross wrote: >> >>> The more I think about it, I think the best solution would be to update >>> the code which sets the default and have it check for

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-02 Thread Tim Cross
"Dr. Arne Babenhauserheide" writes: > [[PGP Signed Part:Undecided]] > > Scott Randby writes: > >> On 6/2/21 8:07 AM, Bruce D'Arcus wrote: >>> On Wed, Jun 2, 2021 at 4:28 AM Tim Cross wrote: >>> >>>> The more I think about it, I

Re: suggestion to change default org-latex-pdf-process to latexmk

2021-06-02 Thread Tim Cross
t would have no impact on anyone who already sets a preference for org-latex-pdf-process 2. Would provide the advantages of latexmk for those who already have it installed or once they install it (assuming no preference has been set by the user) 3. Maintain the status quo for existing users who don't have latexmk installed, avoiding breakage of their current setup. Note that this is assuming that latexmk has no other 'side effects' not raised in this thread. I don't use latexmk, so don't know precisely what impact it would have, but based on posts from others, it would appear to be fine. -- Tim Cross

Re: Org Trademark [was: A formal grammar for Org]

2021-06-03 Thread Tim Cross
o see it and ensuring the indexing and searching of the archives can be done more efficiently/accurately. IMO there is no trademark issue here. Neither Emacs or org-mode have any trademark ownership over the term 'Org' or any word which has 'org' in it, like beorg. -- Tim Cross

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

2021-06-05 Thread Tim Cross
t critical. > > > I am assuming that the complete switch to Savannah is still pending? > > Yes. I plan to make the switch early July. > > Thanks, > > -- > Bastien -- Tim Cross

Re: ox-taskjuggler scenarios

2021-06-12 Thread Tim Cross
h with "effort", but again it is > ignored. > > I currently have a hack to get what I want. I add the scenario info as > a comment with a marker and then run a sed script on the resulting tjp > file to replace the comment-markers with \n, like this: > > *** Task > :PROPERTIES: > :start: 2007-05-29 #@actual:start 2007-06-03 #@test:start 2007-06-07 > :END: > > Is there a better way to do this? > > David -- Tim Cross

Re: literate programming, development log -- ideas?

2021-06-12 Thread Tim Cross
sion of the document will have the code and results > that match the text. > > YMMV, of course. > > Footnotes: > [1] https://gitlab.com/esr/src I do something very similar. I will use org's archive facility as well, but git with good commit logs seems to meet most of my needs. The current 'master' HEAD is the current 'state' of the code, documentation, notes etc. -- Tim Cross

Re: literate programming, development log -- ideas? (ominbus reply)

2021-06-12 Thread Tim Cross
each major project which has lots of ideas, random thoughts and even small experiments (with source blokcs) and I tend ot have a large 'reference' file which contains notes and links to external references and then a 'main' org file, which reflects the current state. -- Tim Cross

Re: literate programming, development log -- ideas? (ominbus reply)

2021-06-12 Thread Tim Cross
"Samuel Banya" writes: > Not sure if it counts as off-topic for this thread, but does everyone use Git > to manage their Org docs and notes? > > I ask because of Greg's previous post. > > I've noticed that some times after git merge events across a few machines > (ex: I forgot I had already p

Re: literate programming, development log -- ideas? (ominbus reply)

2021-06-13 Thread Tim Cross
anguage 'logbook' projects where I experiment and learn different languages, frameworks etc. I tend not to use babel/literate programming with full on coding projects. I will use org for documentation, issue tracking, notes etc. However, for 'real' code projects, I tend to keep the code in 'normal' language dependent files rather than adopt a full literate/noweb style of development. I do often use org to document and manage deployment scripts and some 'devops' type stuff though. -- Tim Cross

Re: literate programming, development log -- ideas? (ominbus reply)

2021-06-13 Thread Tim Cross
"Samuel Banya" writes: > Hey Tim, > > Wow that's an awesome idea too aka to create local branches on each machine, > and then switch over the master branch to pull them in. > > Do you have any video references for this kind of thing? > > I like videos first, and then documentation. > > It woul

Re: Failure to resolve internal links on ox-html export?

2021-06-18 Thread Tim Cross
g-export-filter-link-function that will tranform links into just the title text from the original link. -- Tim Cross

Re: algorithm capabilities for org-mode

2021-06-18 Thread Tim Cross
ts. I'm not sure if the additional code and maintenance it introduces can be justified. However, if someone has a sufficient itch to implement this functionality as an add-on/contrib package, it could be an interesting project and if it turned out to be popular/useful for a wider audience, it could then be brought into org mode or Emacs later. -- Tim Cross

Re: example paper written in org completely

2021-06-18 Thread Tim Cross
>> And? I'm not sure of the relevance. I use many LaTeX packages when >> writing. Whether they are GPL or not is rather secondary, in my view. >> >> -- >> : Eric S Fraga via Emacs 28.0.50, Org release_9.4.6-551-gf70e36 >> : Latest paper written in org: https://arxiv.org/abs/2106.05096 >> -- Tim Cross

Re: example paper written in org completely

2021-06-18 Thread Tim Cross
s much as they might if MS Office had been the only source for inspiration! As the Beta v VHS war demonstrated, great technology is not enough, you also need to factor in marketing and advertising budgets of the competition! -- Tim Cross

Re: table: problem with nan and if

2021-06-21 Thread Tim Cross
i.e. once you have a nan as a form anywhere in your calculation, the result will always be a nan. Many languages actually have a special function to test for a nan because it isn't actually a 'value'. Don't know if this is the case with calc. Perhaps an alternative strategy might help. Could you address what is generating the nan and change that so that it generates something else, possibly even a blank string and avoid the nan altogether? -- Tim Cross

Re: Large source block causes org-mode to be unusable

2021-06-21 Thread Tim Cross
dle given existing facilities. There are no quick and easy fixes, but there are some tweaks, such as turning off native fontification or using include files which can make the system usable. While not ideal, we have ot work within the limits of the current architecture while we wait for improvements, which can be expected to be incremental and slow. -- Tim Cross

Re: extra space at the end of lines in source

2021-06-22 Thread Tim Cross
.el or diffs and VCS etc. It may also make source blocks 'ugly' if you have your Emacs configured to show additional whitespace at eol. -- Tim Cross

Re: extra space at the end of lines in source

2021-06-22 Thread Tim Cross
source buffer or with C-c '. Editing source in a source block without using C-c ' is ok for simple edits, but for anything more complex or requiring language specific formatting etc, C-c ' should be used. -- Tim Cross

Re: [SOLVED] (kinda) Calendar vs. org-agenda exit

2021-06-24 Thread Tim Cross
this, then this is a bug. Org should not interfere with the key bindings of any mode unless asked to. Some people still like to use traditional Emacs diary rather than org agenda for scheduling meetings/appointments, but like to use (load) org for other things (like document authoring and TODO lists). Org should only override the calendar bindings if requested. If your patch fixes this, I vote to apply it to master. -- Tim Cross

Re: Specifying shells for remote ob-shell sessions?

2021-06-24 Thread Tim Cross
h/rc file on the remote host. If you cannot find a way to configure tramp, perhaps try working out how to just execute commands over ssh in a specific shell, like zsh. I suspect once you work out how to do this with plain ssh, you may see a way to configure tramp to do the same. A final solution would be to just add a call to zsh in your source block before the rest of what you want to run. -- Tim Cross

Re: appearance of list as results from evaluating code blocks

2021-06-26 Thread Tim Cross
apidly and things kept breaking. I actually had better success using the 'inf-clojure' interface, but that had issues too (for example, with the :session switch). Someone did send in a patch some months back which had a first go at implementing support for clj-tools. I was too busy to review it at the time., I later went to have a look at it and a message was sent to the patch author for a copy of the most recent version of the patch, but there was no response. -- Tim Cross

Re: Export Org mode files to (gag, barf) MS Office?

2021-06-26 Thread Tim Cross
ast longer because they are not based on some version of a proprietary format which may arbitrarily change in the future. -- Tim Cross

Re: Export Org mode files to (gag, barf) MS Office?

2021-06-26 Thread Tim Cross
figuration/customisation to do to get it working. I never use Windows, so cannot provide much help of any real substance. I do wonder if it might be easier if you use WSL? -- Tim Cross

Re: Export Org mode files to (gag, barf) MS Office?

2021-06-27 Thread Tim Cross
c:/Users/donni/OneDrive/Do..." :odt-styles-file > nil :description nil :keywords nil :subtitle nil :odt-content-template-file > nil > :odt-display-outline-level 2 :odt-fontify-srcblocks t ...)) > org-export-as(odt nil nil nil nil) > org-odt-export-to-odt(nil nil nil nil)

Re: export org table to other formats (gnumeric or scalc or xlsx)

2021-07-04 Thread Tim Cross
ff an old excel spreadsheet with the wrong data. If you raise this concern, the likely outcome is a decision to use MS Project, then your really stuffed! -- Tim Cross

Re: export org table to other formats (gnumeric or scalc or xlsx)

2021-07-05 Thread Tim Cross
ng on the data in the spreadsheets themselves. > > One of the problems I face is the fact that org-table formulas are > column based and show as such, while excel and friends only reveal the > formula for a cell and so one is forced to take care of this difference, > manually. Exactly and there is way too much scope for human error! -- Tim Cross

Re: [PATCH] make org-notify support for macOS desktop notification

2021-07-05 Thread Tim Cross
documented somewhere. However, I'm not sure what the situation is wrt adding code which depends on an external package which is not available in either elpa or nongnuELPA? As org mode is a part of GNU Emacs, I suspect that any code which 'encourages' the use of melpa packages will not be acceptable. -- Tim Cross

Re: convert subtree or nested list to table

2021-07-05 Thread Tim Cross
nction that generates a latex block which formats your subtree using that package. You probably want something which will format a table with minipage or similar environments in the cells. -- Tim Cross

Re: convert subtree or nested list to table

2021-07-05 Thread Tim Cross
uploaded, so I will probably need a > real table. > > I odn't think I could really handle doing this in latex. I am a terrible > latex user! > > On Mon, Jul 5, 2021 at 9:27 PM Tim Cross wrote: > > Matt Price writes: > > > I have to write a number of text-h

Re: [PATCH] Allow tangling to a list of files

2021-07-06 Thread Tim Cross
ional tests which check either the hostname or platform type and set things accordingly. This way, I only ever have one .zshrc and one init.el file for all systems, but they behave differently based on the system they are running on. When the config does not support conditional tests, then I'll have different source blocks included in the tangle. Currently, I just turn off blocks I don't want (:tangle no), but I guess I could do something more sophisticated using noweb or tags, but the manual setting has worked fine so far as I don't have many files requiring this. -- Tim Cross

Re: [PATCH] make org-notify support for macOS desktop notification

2021-07-06 Thread Tim Cross
stardiviner writes: >> On Jul 6, 2021, at 8:06 AM, Tim Cross wrote: >> >> >> stardiviner writes: >> >>>> On Jul 5, 2021, at 7:55 PM, Maxim Nikulin wrote: >>>> >>>> On 05/07/2021 10:50, stardiviner wrote: >>

Re: convert subtree or nested list to table

2021-07-06 Thread Tim Cross
Eric S Fraga writes: > On Tuesday, 6 Jul 2021 at 15:10, Tim Cross wrote: >> One advantage working with HTML has over latex is >> that you don't have to worry about lines and line breaks and can have >> really long cell lines which will get wrapped in HTML rendering.

Re: Emacs-orgmode Digest, Vol 185, Issue 7

2021-07-06 Thread Tim Cross
duce your issue and provide assistance. If you use Emacs for your email, you should be able to update this buffer with specifics about the issue you have or copy and pase the contents of the buffer into your normal email program. See the section on reporting bugs in the org manual for full details. -- Tim Cross

Re: [PATCH] Allow tangling to a list of files

2021-07-06 Thread Tim Cross
s of configuration which are as far as possible completely independent of each other. For example, a while ago, I had problems with one of the magit add on packages I use after it was updated. I changed the header to :tangle no, generated a new init file and waited until a new version of the package was released. This happened a few days later and I just changed the header back to :tangle init.el and generated the new config and all was back to normal. -- Tim Cross

Re: [PATCH] Allow tangling to a list of files

2021-07-07 Thread Tim Cross
this type of functionality on the list recently? Such functionality seems like a useful addition. -- Tim Cross

Re: [WDYT] org-attach-sync better remove an empty attachment directory?

2021-07-07 Thread Tim Cross
ne. Likely this is something which should be controllable via a custom setting? -- Tim Cross

Re: [WDYT] org-attach-sync better remove an empty attachment directory?

2021-07-08 Thread Tim Cross
irs-on-sync. Appreciate the problem with far too many customization options, but when it comes to software 'automatically' doing something, like removal of an empty directory, especially when it might not have been responsible for creation of the directory, it is better to provide some way to allow the user to turn off the behaviour. I would default to having it enabled though. -- Tim Cross

Re: [WDYT] org-attach-sync better remove an empty attachment directory?

2021-07-08 Thread Tim Cross
ssibilities to choose from. >> >> 1. Ask in case of an empty directory if it should be deleted. >> 2. Don't ask. Don't touch an empty directory. (The state now.) >> 3. Don't ask. Delete empty directory. >> >> We could also make 3. the default setting. > > I made a mistake here. > > If we do this I vote for option 1. (not 3.) as default (following the > suggestion by Colin) since it is the most interactive variant. If the > question gets annoying the user can switch to one of the other options. > That seems quite resonable to me. -- Tim Cross

Re: A requires/provides approach to linking source code blocks

2021-07-08 Thread Tim Cross
just focusing on bug fixes and code base improvements or re-factoring. It might also be worthwhile providing some guidelines or criteria/procedures for assessing proposed new features to avoid a perception of new features being accepted/rejected based on personality, loudness of voice or some other real or perceived and irrelevant basis. -- Tim Cross

Re: Citations merged!

2021-07-09 Thread Tim Cross
Definitely a non-trivial addition and one which I think many will find very useful. -- Tim Cross

Re: [PATCH] Allow tangling to a list of files

2021-07-09 Thread Tim Cross
our where you have multiple source blocks in an org file and you use the :tangle FILENAME option to send the tangled output to different files. The fact there is a test case for this behaviour further confirms this is expected behaviour. The only undocumented behaviour is the use of a function instead of a filename to specify the destination for tangled output. I was not aware that this functionality is uspported and have not yet tried it. If this does indeed work, it does need to be added to the manual. -- Tim Cross

Re: org-mode export to (latex) PDF

2021-07-10 Thread Tim Cross
Juan Manuel Macías writes: > Hi Jean-Christophe, > > Jean-Christophe Helary writes: > >> I had given up on Latex because mixing languages sounded like a huge >> pain in the butt but I see that without some org-level infrastructure >> it is not possible to achieve much when exporting to Latex/PD

Re: Enhancement: M-x (+lag+) command

2021-07-11 Thread Tim Cross
nt slowdown in command input if not correctly configured. My suspicion is that one of these packages is likely the cause. -- Tim Cross

Re: org-mode export to (latex) PDF

2021-07-11 Thread Tim Cross
Juan Manuel Macías writes: > Tim Cross writes: > >> Just FYI for those who don't know, you can use the org-latex-classes >> variable to define your own pseudo document classes, possibly using the >> DEFAULT_PACKAGES, PACKAGES, EXTRA_PACKAGES macros and other late

Re: HELM: M-x (+lag+) command

2021-07-12 Thread Tim Cross
inue with helm development. This was partially because of performance issues, but mainly because of some fundamental design choices that are making it hard to maintain. The community was unhappy at this and I believe have stepped up to help maintain the package. -- Tim Cross

Re: A requires/provides approach to linking source code blocks

2021-07-13 Thread Tim Cross
at least two types of code blocks (library code, executable/driver code) and at least two types of languages (compiled/interpreted) may help identify base code block permutation and required options, keywords etc. However, we are unlikely to find a definitive set which supports all use cases/workflows and the ability to easily extend/customise behaviours would be very useful. -- Tim Cross

Re: org-mode export to (latex) PDF

2021-07-14 Thread Tim Cross
ngle script. > > But maybe we could assemble a list of good (enough) fonts for > different languages/scripts and provide a default setup in Org for > LaTeX export, that sets a proper font for the chosen document > language? I think such a list would be a really good addition to worg. -- Tim Cross

Re: [BUG] Async pdf export broken with native-comp

2021-07-15 Thread Tim Cross
to address any bugs which it may introduce/discover. While it is good to have information like this posted to the list for anyone who wants to experiment with native comp, it would be premature to apply any fixes to the org code base. -- Tim Cross

Re: [BUG] Async pdf export broken with native-comp

2021-07-15 Thread Tim Cross
tually be addressed as things mature. However, for now, I don't see any real benefit in enabling native compilation other than on an academic level. -- Tim Cross

Re: Bug: Unable to resolve link when exporting subtree [9.4.6 (9.4.6-10-gee652a-elpaplus @ /home/kun/.emacs.d/elpa/org-plus-contrib-20210712/)]

2021-07-17 Thread Tim Cross
out of curiosity, what did you expect would happen? To me, this seems like correct/expected behaviour as there is no way to resolve that link. (I'm wondering if there is something wrong or missing in the manual which has given a different expectation?) Regards, -- *Tim Cross* /For gor

Re: Org not exporting blocks?

2021-07-17 Thread Tim Cross
If you do emacs -Q, can you reproduce the issue? If not, then it is likely something in your init which is causing this. Also, what type of export are you attempting (i.e. PDF, ASCII, HTML etc) Devin Prater writes: > Okay, so I’ve got a strange problem. Whenever I have blocks, like > > #+beg

Re: what would cause failure in template for org capture?

2021-07-23 Thread Tim Cross
Eric S Fraga writes: > On Wednesday, 21 Jul 2021 at 18:23, to...@tuxteam.de wrote: >> So edebug fixed it? Good :-) > > Well, it fixed it until I started Emacs again (which I don't do often, > luckily, as it's my window manager). So, to get org-capture to work > again, I need to instrument the

Re: Cascading cookie counts

2021-07-23 Thread Tim Cross
George Mauer writes: > * Cascading Checkbox Cookie Counts > I would like checkbox cookies to show the total of all cookies beneath them > regardless of hierarchy nesting. > The code for ~org-update-checkbox-count~ is more complex than I expected so > before spending time digging into this

Re: Headings and Headlines

2021-07-23 Thread Tim Cross
André A. Gomes writes: > Hi, > > The project's documentation refers to headings and headlines as > synonyms. Relying on a single definition would be beneficial. If I had > to choose between the two, I'd go with heading. > > If the community finds this valuable, I could prepare a patch. > I t

Re: what would cause failure in template for org capture?

2021-07-23 Thread Tim Cross
No Wayman writes: >> from an earlier thread, I recall you mentioned you were using native >> compilation? This is almost certainly the cause of your problem. > > This does smell like a byte-compilation problem. > Seems to be a failure with any interactive, single-character %-escaped > patterns

Re: Helo for defun/macro arguments list in minibuffer when in org-babel src blocks?

2021-07-24 Thread Tim Cross
mething, or is it bit more coplicated than so? Sorry for the long writing, but basically what I ask is, can we get more of usualy elisp stuff hanpening in babel src blocks? Regards, Tim -- *Tim Cross* /For gor sake stop laughing, this is serious!/

Re: Helo for defun/macro arguments list in minibuffer when in org-babel src blocks?

2021-07-25 Thread Tim Cross
Arthur Miller writes: > Tim Cross writes: > >> Hi, >> >> when you are editing source blocks are you using org-edit-special, normally >> bound to C-c ') or are you just editing the source blocks directly within the >> org buffer? > No I don't

Re: bug processing non emacs-lisp blocks

2021-07-28 Thread Tim Cross
for editing etc and have correct syntax highlighting etc. Regards, Tim -- *Tim Cross* /For gor sake stop laughing, this is serious!/

Re: Bug: org-agenda-highlight-todo: Symbol’s function definition is void: string-empty-p [9.4.6 (9.4.6-11-g1ee52c-elpa @ /home/vmg/.emacs.d/elpa/org-20210726/)]

2021-08-03 Thread Tim Cross
Вячеслав Гришин writes: > 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: [PATCH] org-agenda.el: Avoid dependency on subr-x

2021-08-04 Thread Tim Cross
Note that compatibility with 24.3 was not the cause of the OP original issue (they were running 26.3). Do we really want to maintain compatibility with Emacs 24.3? That version was released over 8 years ago and I suspect there are other areas of org which are not compatible with that version. No

Re: Deleting (not archiving) TODO items when done

2021-08-04 Thread Tim Cross
William Denton writes: > When I've marked a TODO item as DONE and want to get it out of my projects > list, > I've always used C-c C-x C-a (org-archive-subtree-default) to get it out of > the > way. > > Today I had to go through the archive file to find an old note about > something, > and t

Re: Help requested: Support for basic Org mode support in tools outside of Emacs

2021-08-04 Thread Tim Cross
M. ‘quintus’ Gülker writes: > Am 04. August 2021 um 12:57 Uhr +0200 schrieb Karl Voit: >> My focus is on Emacs-independent tools, emphasizing the argument >> that Org mode is not Emacs-only and its syntax does have >> applications outside of Emacs as well because it is a well-defined >> syntax

[ANN] icsorg - node script to import events into org

2021-08-06 Thread Tim Cross
Hi All, I've written a simple node script which imports events from an .ics file into org, allowing them to show up in your agenda. This is based on ideas discussed in https://orgmode.org/worg/org-tutorials/org-google-sync.html. It is effectively a Javascript version of the ics2org Awk script, b

Re: [ANN] icsorg - node script to import events into org

2021-08-08 Thread Tim Cross
Eric S Fraga writes: > This looks very nice. It would be good if a link and short description > (e.g. your email contents) were added to the page you cite on Worg. I don't have access to worg, but if anyone would like to update that page and add my email (which they are free to edit) I would

Re: [BUG] Fill-paragraph issue with hidden emphasis markers and composed characters

2021-08-09 Thread Tim Cross
I was able to reproduce this using Emacs 28.0.50 and emacs -Q. It is important to ensure both of the below paragraphs are completely 'unwrapped' i.e. all on one line and then wrap them with M-q. The result seems counter-intuitive to me - the second paragraph with an extra character is wrapped

Re: bug: Error handling in source blocks.

2021-08-10 Thread Tim Cross
James Powell writes: >   Error handling is important and hard to get right.  Me, I prefer to >   treat every warning as an error (-Werror in gcc, "options(warn=2)" in >   R, etc).  I want the system to grind to a halt at the least sign of >   trouble. > >   When I write some nonsense into a cod

Re: [Concept talk] Org-connector

2021-08-10 Thread Tim Cross
Sébastien Gendre writes: > Hello everyone, > > I wanted to talk about a concept for Org-mode. For now it's just a > concept, but maybe it already exist a package that do it. > > The concept is called org-connector: It's a package that let you connect > an Org-mode file with an external tickets

Re: archiving speed [was Re: Tips on maintaining history in Org Mode]

2021-08-11 Thread Tim Cross
> Org file is large, re-calculations make things extremely slow. > > > > Best, > > Ihor > > > > > -- > The Kafka Pandemic > > Please learn what misopathy is. > > https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html > > -- regards, Tim -- Tim Cross

Re: archiving speed [was Re: Tips on maintaining history in Org Mode]

2021-08-11 Thread Tim Cross
hived entry. Tim Samuel Wales writes: > what is the current status of hierarchy in archive files? surely they > don't deal with updating categories and updating hierarchy structure > [sounds brittle and syncy]? i'm thinking it isn't hierarchical at > present, except whe

Re: Org + git branches for derived files

2021-08-13 Thread Tim Cross
Ken Mankoff writes: > Hello, > > I think this might be more of a git question than an Org question, but I > imagine > I might find the answer here and that it might be useful to others, so I ask > here. > > I'd like to keep derivative products (the LaTeX output, the final PDF, etc.) > availabl

Re: [PATCH] Rename headline to heading

2021-08-14 Thread Tim Cross
Maxim Nikulin writes: > On 05/08/2021 19:12, André A. Gomes wrote: >> @@ -963,7 +963,7 @@ Store them in the capture property list." >> (org-capture-put-target-region-and-position) >> (goto-char position)) >> (_ (error "Cannot find target ID \"%s\"" id >> -(`(fi

Re: [PATCH] Rename headline to heading

2021-08-14 Thread Tim Cross
this patch looks pretty good to me. My only suggestion is that the need to update capture templates be made more explicit in the NEWS.org file. I'm assuming this patch would only be applied to the next release and not maint branch. Probably important to try and apply this before the main branch

Re: [PATCH] minor typo fix in org-tutorials/org-protocol-custom-handler.org

2021-08-14 Thread Tim Cross
this is a trivial fix and should be applied. Atlas Cove writes: > From: Atlas48 > > As it says, this is a minor fix to worg. > > --- > org-tutorials/org-protocol-custom-handler.org | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/org-tutorials/org-protocol-custom-hand

Re: Bug: `org-fill-paragraph' relies on M-q being bound to `fill-paragraph' [9.4.6 (9.4.6-12-gdcc3a8-elpa @ /home/mwj/.emacs.d/elpa/org-20210809/)]

2021-08-15 Thread Tim Cross
This seems not only wrong, but also dangerous. I don't think org should make any assumptions about what is bound to a key, especially when talking about a key binding which is not an org binding. Consider what might occur if the user had rebound that key to something destructive. "Marvin J." w

Re: [PATCH] Rename headline to heading

2021-08-15 Thread Tim Cross
Jim Porter writes: > On 8/14/2021 3:54 PM, Tim Cross wrote: >> I'm not convinced a transition period will help in this case. At some >> point, users will need to update their capture templates regardless. >> Provided this impact is clearly outlined in the NEWS.org fil

Re: [PATCH] Rename headline to heading

2021-08-15 Thread Tim Cross
Jim Porter writes: > > In any case, if Org were to add an informative message about this change, > `org-capture-upgrade-templates' seems to me a reasonable place to do it since > it's already doing this for other obsolete types. In fact, looking at the > commit > history, that function was add

Re: Build agenda asynchronously

2021-08-16 Thread Tim Cross
Emacs' support for asynchronous operations is at best primitive. There is built-in support for calling processes asynchonously and there is some other development work to set the stage for adding threads, but I think general asynchronous processing inside Emacs is a long way off. A lot of how Ema

Re: Bug: :session results in unfriendly error reporting

2021-08-16 Thread Tim Cross
Greg Minshall writes: > Charles, > > being sympathetic with the idea of better error reporting, i'm curious > about the following. > >> Right. But there is no error as far as babel is concerned. R has >> handled the condition. So there is nothing for babel to see/do. > ... >> Running R in this

Re: Build agenda asynchronously

2021-08-17 Thread Tim Cross
"Dr. Arne Babenhauserheide" writes: > [[PGP Signed Part:Undecided]] > > Tim Cross writes: > >> Emacs' support for asynchronous operations is at best primitive. There >> is built-in support for calling processes asynchonously and >> there is som

Re: Build agenda asynchronously

2021-08-17 Thread Tim Cross
Milan Zamazal writes: >>>>>> "TC" == Tim Cross writes: > > TC> Personally, I took a different route. I keep the number of files > TC> which contribute to my agenda to a minimum and have an easy way > TC> to update/change that li

Re: Bug: campany-capf throwing an error in org-mode, while entering header args [9.4.6 (9.4.6-12-gdcc3a8-elpaplus @ /home/mypc/.emacs.d/elpa/org-plus-contrib-20210809/)]

2021-08-19 Thread Tim Cross
Is this something which should really be reported to the company-capf maintainers? C K writes: > 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#F

Re: forms and org-mode

2021-08-20 Thread Tim Cross
So you are asking about using Emacs forms for data input into an org table? Just not clear on what exactly your asking about. Jude DaShiell writes: > A table with a time stamp column, a text column for notes and an interval > column rounded to nearest hour. Any statistics to be calculated on

Re: forms and org-mode

2021-08-21 Thread Tim Cross
es: > My reason for using forms to do data input into org tables is to minimize > errors in the data input to the org tables. > > On Sat, 21 Aug 2021, Tim Cross wrote: > >> >> So you are asking about using Emacs forms for data input into an org >> table? >> >

<    3   4   5   6   7   8   9   >