bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#2013: Bug in Elisp-Doku


From: Glenn Morris
Subject: bug#2013: Bug in Elisp-Doku
Date: Mon, 26 Jan 2009 19:04:10 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Michael Krause wrote:

> The documentation for the variable compilation-error-regexp-alist
> (in compile.el) says that the FILE parameter can also be a function
> that should return the filename. That is however not possible.

Why do you think it is not possible?

emacs -Q

(setq compilation-error-regexp-alist '(("Error: " foofunc)))

(defun foofunc ()
  (list (expand-file-name "README" data-directory)))

M-x compile echo 'Error: help'

Click on a link in the compilation buffer, warp to README.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]