emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Martin Carlé" <mc@aiguphonie.com>
To: emacs-orgmode@gnu.org
Subject: [bug] fuzzy link not matching commented headlines
Date: Thu, 26 Mar 2015 16:38:54 +0200	[thread overview]
Message-ID: <m1pp7vbz7l.fsf@on27.dyndns.org> (raw)

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

Guess it's a bug that fuzzy links won't match a commented headline
whereas the other internal link types (custom_id and org ID) do.

Or is there a special purpose for this specific type of link regarding comments?

Just check the following example:

,------------------------------------------------------------------------------------------
| * First headline                                                                         
| 1. fuzzy link to [[Second headline]] -- ok                                               
| 2. fuzzy link to commented [[Third headline]] -- fails                                   
|                                                                                          
| 3. custom_id link to commented [[#Fourth][Fourth headline]] -- ok                        
| 4. id link to commented [[id:D91E1EF3-2918-4F37-98EB-E2C92ACBE372][Fifth headline]] -- ok
|                                                                                          
| * Second headline                                                                        
|                                                                                          
| * COMMENT Third headline                                                                 
|                                                                                          
| * COMMENT Fourth headline                                                                
| :PROPERTIES:                                                                             
| :CUSTOM_ID: Fourth                                                                       
| :END:                                                                                    
|                                                                                          
| * Fifth headline                                                                         
| :PROPERTIES:                                                                             
| :ID:       D91E1EF3-2918-4F37-98EB-E2C92ACBE372                                          
| :END:                                                                                    
|                                                                                          
`------------------------------------------------------------------------------------------

-- 
Fetch my gnupg key:
gpg --keyserver pgp.mit.edu --recv-keys 7E3CA33F

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 805 bytes --]

             reply	other threads:[~2015-03-26 14:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-26 14:38 Martin Carlé [this message]
2015-03-26 20:09 ` [bug] fuzzy link not matching commented headlines Nicolas Goaziou
2015-03-27  9:29   ` Martin Carlé
2015-03-27 10:48     ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m1pp7vbz7l.fsf@on27.dyndns.org \
    --to=mc@aiguphonie.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).