Re: [Orgmode] Re: org-link-mode ...

2023-04-28 Thread Samuel Wales
n.b. org-link-minor-mode exists, works, and i find it useful.  i think
it could use updating, but it is indispensible.

btw i have not tried embark yet.  i wonder if it could do something
similar, or maybe it doesn't fontify.

meanwhile, for years now i'm finding that i am wanting a new link-like
anchor-like feature that would also be a minor mode for non-org and
org.  a little similar to org-link-minor-mode in usage.  it is a very
simple feature that is sort of a tiny subset of what id markers can do
[those are extensible syntax thunks that use org ids in org and
non-org].  i want to be able to place ===link thunks=== anywhere, such
as elisp or shell comments, and have features for listing all of them
that exist in my common directories [shell, elisp, org] like a better
lgrep with wgrep, navigating from one to the next, fontification,
completion, etc.  so for example, i could put ===refactor whatever===
on a few things in various files, and navigate among them.  they kind
of indicate a topic or allow gathering together things that are
related.

have to try embark sometime to see if it can do things like that.


On 8/18/09, Bastien  wrote:
> "Eric Schulte"  writes:
>
>> Not sure if this is apropos to this conversation, but I've been thinking
>> for some time that it would be useful to have a minor mode which would
>> activate org-style links in non-org files.  For example if an org link
>> in the comment section of a source-code document could be highlighted
>> and activated so that the C-c C-o keybinding can be used to follow said
>> link. -- Eric
>
> Now I understand.  Maybe someone can grab some code from Org and try to
> write a minimal implementation of this.
>
> --
>  Bastien
>
>
> ___
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>


-- 
The Kafka Pandemic

A blog about science, health, human rights, and misopathy:
https://thekafkapandemic.blogspot.com



Re: [Orgmode] Re: org-link-mode ...

2009-08-18 Thread Bastien
Eric Schulte schulte.e...@gmail.com writes:

 Not sure if this is apropos to this conversation, but I've been thinking
 for some time that it would be useful to have a minor mode which would
 activate org-style links in non-org files.  For example if an org link
 in the comment section of a source-code document could be highlighted
 and activated so that the C-c C-o keybinding can be used to follow said
 link. -- Eric

Now I understand.  Maybe someone can grab some code from Org and try to
write a minimal implementation of this.

-- 
 Bastien


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: org-link-mode ...

2009-08-09 Thread Lennart Borgman
On Sun, Aug 9, 2009 at 7:02 AM, Eric Schulteschulte.e...@gmail.com wrote:
 Bastien bastiengue...@googlemail.com writes:

 Hi Lennart,

 (I'm copying the Orgmode mailing list because it helps to get people's
 opinion on such ideas...)

 Lennart Borgman lennart.borg...@gmail.com writes:

 I am missing the minor mode org-link-mode. I just had a look at
 linkd.el again and decided I wanted to ask you to make a minor mode
 out of the link handling in org instead.

 Org already lets you create links from nearly anywhere in Emacs.

 What would such a minor mode do?


 Not sure if this is apropos to this conversation, but I've been thinking
 for some time that it would be useful to have a minor mode which would
 activate org-style links in non-org files.  For example if an org link
 in the comment section of a source-code document could be highlighted
 and activated so that the C-c C-o keybinding can be used to follow said
 link. -- Eric


That is exactly what I am thinking of.

But the key binding could perhaps be rethought. Beside that I would
want som unification of link handling where it is possible. Things to
uniffy are for example:

- Mouse handling
- Keyboard keys
- Opening in windows/frames
- Opening in external apps
- Moving between links
- Coordination with moving between widget and buttons (like tab
stops in common GUIs)
- Link faces
- Link information


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: org-link-mode ...

2009-08-08 Thread Bastien
Hi Lennart,

(I'm copying the Orgmode mailing list because it helps to get people's
opinion on such ideas...)

Lennart Borgman lennart.borg...@gmail.com writes:

 I am missing the minor mode org-link-mode. I just had a look at
 linkd.el again and decided I wanted to ask you to make a minor mode
 out of the link handling in org instead.

Org already lets you create links from nearly anywhere in Emacs. 

What would such a minor mode do?

 I have a minor mode which I call mlink-mode for link handling. The
 main purpose of that at the moment is creating links in html files and
 for making links out of variables in elisp file so that you quickly
 can jump to definitions. 

`org-store-link' can handle HTML and elisp files okay.

 However there is no insert link. That is
 what I am looking for and then it looks to me like what I want is
 already there in org-mode, but...

You can of course insert links in Org-mode files.  Is your idea about
inserting links outside of Org-mode files?  Can you give an example?

 The purpose of mlinks.el was to try to unifiy links in some way so I
 will probably try to unify it with org links if you break it out.

I think I need more background on what are the main features of
linkd.el and mlinks.el -- and what are the ones you miss in Org...  

Thanks for further clarifications :)

-- 
 Bastien


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: org-link-mode ...

2009-08-08 Thread Eric Schulte
Bastien bastiengue...@googlemail.com writes:

 Hi Lennart,

 (I'm copying the Orgmode mailing list because it helps to get people's
 opinion on such ideas...)

 Lennart Borgman lennart.borg...@gmail.com writes:

 I am missing the minor mode org-link-mode. I just had a look at
 linkd.el again and decided I wanted to ask you to make a minor mode
 out of the link handling in org instead.

 Org already lets you create links from nearly anywhere in Emacs. 

 What would such a minor mode do?


Not sure if this is apropos to this conversation, but I've been thinking
for some time that it would be useful to have a minor mode which would
activate org-style links in non-org files.  For example if an org link
in the comment section of a source-code document could be highlighted
and activated so that the C-c C-o keybinding can be used to follow said
link. -- Eric


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode