Re: Adding custom providers for thingatpt.el (was: [PATCH] Add support for 'thing-at-point' to get URL at point)

2024-05-26 Thread Jim Porter
On 5/26/2024 5:56 AM, Ihor Radchenko wrote: Thanks! Applied, onto main. I moved the NEWS entry to Miscellaneous. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=66cb45658 Thanks for merging!

Re: Adding custom providers for thingatpt.el (was: [PATCH] Add support for 'thing-at-point' to get URL at point)

2024-05-25 Thread Jim Porter
r sections very well either, though...From 17b2bae16a5e07f09599b521563536037daa0f8c Mon Sep 17 00:00:00 2001 From: Jim Porter Date: Mon, 6 Nov 2023 11:39:09 -0800 Subject: [PATCH] Add support for 'thing-at-point' to get URL at point * lisp/org.el (thingatpt): Require. (org--link-at-point, org--boun

Re: Adding custom providers for thingatpt.el

2024-05-21 Thread Jim Porter
On 5/21/2024 3:32 AM, Max Nikulin wrote: On 20/05/2024 09:33, Jim Porter wrote: +++ b/lisp/org.el @@ -81,6 +81,7 @@  (require 'calendar)  (require 'find-func)  (require 'format-spec) +(require 'thingatpt) So it becomes hard dependency. However it seems thingatpt is anyway loaded through some

Re: Adding custom providers for thingatpt.el (was: [PATCH] Add support for 'thing-at-point' to get URL at point)

2024-05-20 Thread Jim Porter
On 5/20/2024 3:41 AM, Ihor Radchenko wrote: Jim Porter writes: + (when (boundp 'forward-thing-provider-alist) +(setq-local forward-thing-provider-alist +(cons '(url . org-next-link) + forward-thing-provider-alist))) According to the docstring

Re: Adding custom providers for thingatpt.el (was: [PATCH] Add support for 'thing-at-point' to get URL at point)

2024-05-19 Thread Jim Porter
On 5/19/2024 6:34 PM, Jim Porter wrote: On 5/18/2024 1:26 AM, Eli Zaretskii wrote: I think you can install this now. Thanks. Merged as ae9045a8bd8. Ihor, I'll update the Org-mode part of this next and post the new patch for that to the Org list once it's ready. ... and here's the Org-mode

Re: Adding custom providers for thingatpt.el (was: [PATCH] Add support for 'thing-at-point' to get URL at point)

2024-05-19 Thread Jim Porter
On 5/18/2024 1:26 AM, Eli Zaretskii wrote: I think you can install this now. Thanks. Merged as ae9045a8bd8. Ihor, I'll update the Org-mode part of this next and post the new patch for that to the Org list once it's ready.

Re: [External] : Re: Adding custom providers for thingatpt.el (was: [PATCH] Add support for 'thing-at-point' to get URL at point)

2024-05-07 Thread Jim Porter
On 5/7/2024 5:20 AM, Eli Zaretskii wrote: I disagree. These functions are nowadays the basis of many interactive features, and users are usually mightily confused by the fine print of what "at point" means technically in Emacs. The current operation is much easier for users to grasp mentally

Re: RE: [External] : Re: Adding custom providers for thingatpt.el (was: [PATCH] Add support for 'thing-at-point' to get URL at point)

2024-05-06 Thread Jim Porter
On 4/30/2024 2:10 PM, Drew Adams wrote: I've also fixed a bug in EWW and bug-reference-mode where it would return nil for (thing-at-point 'url) if point was at the *end* of a URL. By "at the end" I assume you really mean just _after_ a URL, i.e., no longer on/at the URL. FWIW, that's actually

Re: Adding custom providers for thingatpt.el (was: [PATCH] Add support for 'thing-at-point' to get URL at point)

2024-04-30 Thread Jim Porter
21 Mon Sep 17 00:00:00 2001 From: Jim Porter Date: Sun, 28 Apr 2024 21:19:53 -0700 Subject: [PATCH] Allow defining custom providers for more "thingatpt" functions This also fixes an issue in EWW and bug-reference-mode where (thing-at-point 'url) at the end of a URL would return nil.

Re: Adding custom providers for thingatpt.el (was: [PATCH] Add support for 'thing-at-point' to get URL at point)

2024-04-29 Thread Jim Porter
here could be some bugs lurking in here...From ad8db930907cd760142fd6f035d97ce93ce8d850 Mon Sep 17 00:00:00 2001 From: Jim Porter Date: Sun, 28 Apr 2024 21:19:53 -0700 Subject: [PATCH] Allow defining custom providers for more "thingatpt" functions * lisp/thingatpt.el (forward-thing-pro

Re: Adding custom providers for thingatpt.el (was: [PATCH] Add support for 'thing-at-point' to get URL at point)

2024-04-28 Thread Jim Porter
On 4/12/2024 3:30 PM, Jim Porter wrote: On 4/12/2024 5:41 AM, Ihor Radchenko wrote: Jim Porter writes: That sounds reasonable enough to me; does anyone else have opinions on this? Otherwise, I'll get to work on a patch (though probably not for a couple weeks). It has been a while since

Re: Adding custom providers for thingatpt.el (was: [PATCH] Add support for 'thing-at-point' to get URL at point)

2024-04-12 Thread Jim Porter
On 4/12/2024 5:41 AM, Ihor Radchenko wrote: Jim Porter writes: That sounds reasonable enough to me; does anyone else have opinions on this? Otherwise, I'll get to work on a patch (though probably not for a couple weeks). It has been a while since the last message in this thread. Jim, may I

Re: Adding custom providers for thingatpt.el (was: [PATCH] Add support for 'thing-at-point' to get URL at point)

2024-02-05 Thread Jim Porter
On 2/5/2024 7:07 AM, Ihor Radchenko wrote: It would make sense to add a number of alists: - bounds-of-thing-at-point-provider-alist - same for 'forward-op, 'beginning-op, 'end-op. After Emacs have those, we can add Org mode support. That sounds reasonable enough to me; does anyone else have

Re: Adding custom providers for thingatpt.el (was: [PATCH] Add support for 'thing-at-point' to get URL at point)

2023-11-06 Thread Jim Porter
On 11/6/2023 12:11 PM, Ihor Radchenko wrote: [ Branching to emacs-devel for further input from Emacs devs ] Jim Porter writes: This is similar to Emacs bug#66752[1]. It would be nice if "(thing-at-point 'url)" would return the URL when point is over an Org link. With this, i

Re: [PATCH] Add support for 'thing-at-point' to get URL at point

2023-11-06 Thread Jim Porter
On 11/6/2023 11:45 AM, Jim Porter wrote: This is similar to Emacs bug#66752[1]. It would be nice if "(thing-at-point 'url)" would return the URL when point is over an Org link. With this, it's easier to write a function that copies (or browses to) the URL at point without codi

[PATCH] Add support for 'thing-at-point' to get URL at point

2023-11-06 Thread Jim Porter
is a patch with a regression test for it. Should this also get a NEWS entry? [1] https://lists.gnu.org/archive/html/bug-gnu-emacs/2023-10/msg01628.htmlFrom 6bce84bd28253236eff8ef972ede7daf82f95a71 Mon Sep 17 00:00:00 2001 From: Jim Porter Date: Mon, 6 Nov 2023 11:39:09 -0800 Subject: [PATCH] Add support

Re: [PATCH] ox.el: Customize org-export-dispatch options

2023-05-14 Thread Jim Wisniewski
On Sun, May 14, 2023 at 10:16 AM Ihor Radchenko wrote: > > Bastien Guerry writes: > > > Yes I do, sorry for the delay. > > Thanks for confirming! > Applied, onto main. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=9d06e7bf8 > > and updated our copyright records >

Re: [PATCH] ox.el: Customize org-export-dispatch options

2023-05-02 Thread Jim Wisniewski
On Sat, Apr 22, 2023 at 8:38 AM Ihor Radchenko wrote: > Jim Wisniewski writes: > > > On Thu, Apr 20, 2023 at 4:46 AM Ihor Radchenko wrote: > > > >> Thanks! Let us know when FSF replies with a countersignature. > > > > Just got it back today. > &

Re: [PATCH] ox.el: Customize org-export-dispatch options

2023-04-21 Thread Jim Wisniewski
On Thu, Apr 20, 2023 at 4:46 AM Ihor Radchenko wrote: > Thanks! Let us know when FSF replies with a countersignature. Just got it back today. -- JJW ~ FB/Twitter: @wisnij ~ cell: (203) 722-3931

Re: [PATCH] ox.el: Customize org-export-dispatch options

2023-04-19 Thread Jim Wisniewski
On Sun, Apr 16, 2023 at 8:57 AM Ihor Radchenko wrote: > No further comments from me. > > Now, need to wait until your copyright is in order. Okay, I just emailed back my signed copyright assignment. [sorry for the double mail] -- JJW

Re: [PATCH] ox.el: Customize org-export-dispatch options

2023-04-15 Thread Jim Wisniewski
nts. -- JJW From 1a5f35c6dbea99cfca66ad5c4de098ba02c73306 Mon Sep 17 00:00:00 2001 From: Jim Wisniewski Date: Fri, 14 Apr 2023 02:46:25 -0400 Subject: [PATCH] ox.el: Customize org-export-dispatch options * lisp/ox.el (org-export-dispatch): Add customizable variables `org-export-body-only', `

[PATCH] ox.el: Customize org-export-dispatch options

2023-04-14 Thread Jim Wisniewski
nge adds customizable variables for the "Body only", "Visible only", and "Force publishing" options as well. -- JJW From 563a31988df9fb1b1b2093918e03cd92b7a671a0 Mon Sep 17 00:00:00 2001 From: Jim Wisniewski Date: Fri, 14 Apr 2023 02:46:25 -0400 Subject: [PATCH] ox.el: Cust

Re: Lazy load of org-protocol

2022-02-09 Thread Jim Porter
client, --eval means that *all* subsequent (positional) arguments are Lisp code. In practice though, I don't think fixing this is actually *required* to fix the issue of how org-protocol is handled. It only causes issues for the subset of people who use "--alternate-editor emacs" or something similar. - Jim

Re: Lazy load of org-protocol

2022-02-07 Thread Jim Porter
links work more reliably (if they used `--eval' as proposed, that is). - Jim

Re: Lazy load of org-protocol

2022-02-06 Thread Jim Porter
On 2/6/2022 8:42 AM, Max Nikulin wrote: On 06/02/2022 01:27, Jim Porter wrote: As a result, I think a good first step might be to add support for "--funcall" to emacsclient, just like the regular emacs binary. (The "-f" shorthand won't work though, since emac

Re: Lazy load of org-protocol

2022-02-05 Thread Jim Porter
in the short term, you could try out something like: emacsclient --eval "(org-protocol-capture \\"%u\\")" Of course, that has the quoting issues I mentioned above, but it could be helpful for developing a proof of concept. - Jim

Re: Suggestion: convert dispatchers to use transient

2022-02-03 Thread Jim Porter
of eldoc, xref, project, etc than Emacs 27.2 provides, so package.el automatically installs them when installing Eglot.) - Jim

Re: Suggestion: convert dispatchers to use transient

2022-02-03 Thread Jim Porter
on its package metadata[2], supports Emacs 25.1+, so I don't think there should be any compatibility concerns (at least not with the availability of transient; maybe there are other reasons that dispatchers shouldn't change without an option to go back). - Jim [1] https://elpa.gnu.org

Re: "Orgdown", the new name for the syntax of Org-mode

2021-11-28 Thread Jim Porter
files in `text-mode', and so on. Maybe "Org" isn't distinct enough though. People unfamiliar with Org-Mode might confuse "Org" with "org charts" or some other use of the word. Still, if we look to other tools that can read the same files as Org-Mode, they tend to be called things like "Organice", not "Orgmodeanice". :) - Jim

Re: [PATCH] Improve org-mouse support for checkboxes

2021-09-26 Thread Jim Porter
On 9/25/2021 10:58 PM, Bastien wrote: I applied the patch adding the TINYCHANGE cookie, since the assignment process isn't done yet. Can you check with copyright-cl...@fsf.org if it will be done anytime soon? Hm, it should be done, since I received confirmation from the copyright clerk on

Re: DONE headlines take a different color

2021-09-19 Thread Jim Porter
believe this is the result of `org-fontify-done-headline', which defaults to t as of e360cd8f3a from Feb 2020. - Jim

Re: [PATCH] Improve org-mouse support for checkboxes

2021-09-18 Thread Jim Porter
On 9/18/2021 1:54 PM, Samuel Wales wrote: thanks for this. if tests are written, might be useful to include the case where half-checked are parents. I tested manually, and this behaves how I'd expect; not surprising, since it just calls `org-toggle-checkbox'. Maybe there's an argument that

[PATCH] Improve org-mouse support for checkboxes

2021-09-18 Thread Jim Porter
wasn't sure though, so I went with the simpler solution for now. My FSF copyright assignment should be on file, but let me know if there are any issues there. From b2bd5115a89b9b26107aca4b59e516dc7d64f0cc Mon Sep 17 00:00:00 2001 From: Jim Porter Date: Sat, 18 Sep 2021 12:22:41 -0700 Subject: [PATCH] o

Re: [PATCH] Rename headline to heading

2021-08-15 Thread Jim Porter
lem when the time comes to make this change in my config. - Jim

Re: [PATCH] Rename headline to heading

2021-08-15 Thread Jim Porter
say, users will have to upgrade at *some* point. - Jim

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

2021-05-02 Thread Jim Porter
who disagrees, and I'm not even sure my *goal* is to convince people (so long as I'm still able to configure things the way I like). I just wanted to provide a perspective from someone on the other side of the fence. - Jim [1] This doesn't quite work for links specified like [[url][title]], but I see that as just a minor hiccup.

Re: [O] How to 'undo' filter

2011-07-13 Thread jim
On Wed, Jul 13, 2011 at 3:31 AM, Jim Burton j...@sdf-eu.org wrote: Hi, after filtering an org document, I'd like to be able to go back to the previous visibility. The closest I can get at the moment is to make everything visible with S-TAB, but I'd like whatever was expanded/collapsed before

Re: [O] How to 'undo' filter

2011-07-13 Thread jim
Hi Jim, j...@sdf-eu.org writes: Hi Noorul, I'm talking about constructing a sparse tree, e.g. by a property or tag. Sorry if I used the wrong term. Something like C-c / p MYPROP RET MYVAL RET Then, after looking at the filtered document, go back to previous visibility. You cannot

[Orgmode] non static deadlines

2009-03-19 Thread Jim Barbour
Howdy folks, My name is Jim. I am a blind UNIX engineer currently working at Yahoo. I use org-more quite a bit for planning. I'm curious if there's been any talk of allowing deadlines to be expressed as delta times from either the start of the project or from another deadline? As an example