emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Feature request: hide target brackets
@ 2010-03-18 16:36 Scott Otterson
  2010-03-19  7:56 ` Peter Frings
  0 siblings, 1 reply; 3+ messages in thread
From: Scott Otterson @ 2010-03-18 16:36 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 716 bytes --]

<<Targets>> and <<<radio targets>>> are great for making sure internal links
go to the right place in your org document.  The problem with them, though,
is that they clutter up the text, making it less readable.

So, here's my feature request:  Hide the target angle brackets in the same
way that square brackets are hidden for hyperlinks.  In other words,
<<targets>> or <<<radio targets>>> should be displayed as "targets and radio
targets", where a unique font tells you that they are targets.  The hidden
angle brackets could be exposed by hitting delete when at the right side of
the target (similar to how hidden hyperlink text is exposed now).

Thanks everybody for all the excellent work on org-mode!

Scott

[-- Attachment #1.2: Type: text/html, Size: 1869 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Feature request: hide target brackets
  2010-03-18 16:36 Scott Otterson
@ 2010-03-19  7:56 ` Peter Frings
  0 siblings, 0 replies; 3+ messages in thread
From: Peter Frings @ 2010-03-19  7:56 UTC (permalink / raw)
  To: org-mode Mailinglist


[-- Attachment #1.1: Type: text/plain, Size: 429 bytes --]


On 18 Mar 2010, at 17:36, Scott Otterson wrote:

> So, here's my feature request:  Hide the target angle brackets in the same way that square brackets are hidden for hyperlinks.

1+

>    The hidden angle brackets could be exposed by hitting delete when at the right side of the target (similar to how hidden hyperlink text is exposed now).

And by using the "literal/descriptive links" menu/command.

Cheers,
Peter.

[-- Attachment #1.2: Type: text/html, Size: 1040 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Feature request: hide target brackets
@ 2011-11-19 18:08 Scott Otterson
  0 siblings, 0 replies; 3+ messages in thread
From: Scott Otterson @ 2011-11-19 18:08 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1861 bytes --]

<<Targets>> and <<<radio targets>>> are great for ensuring that internal
hyperlinks go to the right place in your org document.  The problem with
them, though, is that they clutter up the text, making it less readable.

Attempts to get around this problem cause more problems.  For example, to
avoid the clutter, I often end up making a target below a headline that is
an exact copy of the headline text, like this:

    * Correlation
    * Mutual Information
      <<Mutual Information>>
      *** parametric
      *** non-parametric
    * Correntropy

When the top headlines are collapsed, the above looks like:

    * Correlation
    * Mutual Information
    * Correntropy

This is cleaner than putting the target in the headline, which would look
like this when collapsed:

    * Correlation
    * <<Mutual Information>>
    * Correntropy

However, my redundant headline target is a maintenance mess (if you change
the headline, you need to remember to change the target) and when the
headline is expanded, things are even more cluttered.

So, here's my feature request:  Hide the target angle brackets in the same
way that square brackets are hidden for hyperlinks.  In other words,

    <<targets>> or <<<radio targets>>>

should be displayed as

    targets and radio targets

where a unique font tells you that they are targets.  The hidden angle
brackets could be exposed by hitting delete when at the right side of the
target (similar to how hidden hyperlink text is exposed now).

Code already exists to to do exactly this for [[hyperlinks]], and I thought
that it would be easy to reuse it for hiding <<targets>>.  But after
several hours of digging around, I realized that this is a job for the
experts.  Is anyone interested in taking it on?  I think it would be a big
improvement.

Thanks everybody for all the excellent work on org-mode!

Scott

[-- Attachment #2: Type: text/html, Size: 8580 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-11-19 18:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-19 18:08 Feature request: hide target brackets Scott Otterson
  -- strict thread matches above, loose matches on Subject: below --
2010-03-18 16:36 Scott Otterson
2010-03-19  7:56 ` Peter Frings

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).