unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* info-xref.el :tag support
@ 2006-04-17 22:38 Kevin Ryde
  2006-05-18  0:27 ` Kevin Ryde
  0 siblings, 1 reply; 2+ messages in thread
From: Kevin Ryde @ 2006-04-17 22:38 UTC (permalink / raw)


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

A small addition to my info-xref.el to get rid of a couple of false
reports,

2006-04-17  Kevin Ryde  <user42@zip.com.au>

	* info-xref.el (info-xref-check-all-custom): Cope with :tag in
	custom-manual, as for instance used in the `font-lock' group.


[-- Attachment #2: info-xref.el.tag.diff --]
[-- Type: text/plain, Size: 604 bytes --]

*** info-xref.el.~1.11.~	2006-02-13 07:38:01.000000000 +1100
--- info-xref.el	2006-04-17 16:47:02.000000000 +1000
***************
*** 301,306 ****
--- 301,309 ----
         (lambda (symbol)
           (dolist (link (get symbol 'custom-links))
             (when (memq (car link) '(custom-manual info-link))
+              ;; skip :tag part of eg. (custom-manual :tag "Foo" "(foo)Node")
+              (if (eq :tag (cadr link))
+                  (setq link (cddr link)))
               (if (info-xref-goto-node-p (cadr link))
                   (setq good (1+ good))
                 (setq bad (1+ bad))

[-- Attachment #3: Type: text/plain, Size: 142 bytes --]

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

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

* Re: info-xref.el :tag support
  2006-04-17 22:38 info-xref.el :tag support Kevin Ryde
@ 2006-05-18  0:27 ` Kevin Ryde
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Ryde @ 2006-05-18  0:27 UTC (permalink / raw)


I wrote:
>
> *** info-xref.el.~1.11.~	2006-02-13 07:38:01.000000000 +1100
> --- info-xref.el	2006-04-17 16:47:02.000000000 +1000
> ***************
> *** 301,306 ****
> --- 301,309 ----
>          (lambda (symbol)
>            (dolist (link (get symbol 'custom-links))
>              (when (memq (car link) '(custom-manual info-link))
> +              ;; skip :tag part of eg. (custom-manual :tag "Foo" "(foo)Node")
> +              (if (eq :tag (cadr link))
> +                  (setq link (cddr link)))

Could I have this applied please.

You can run M-x info-xref-check-all-custom to see the recently arisen
false positives that result without it.  (The report is clean apart
from them, which is good :-)

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

end of thread, other threads:[~2006-05-18  0:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-17 22:38 info-xref.el :tag support Kevin Ryde
2006-05-18  0:27 ` Kevin Ryde

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

	https://git.savannah.gnu.org/cgit/emacs.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).