* bug#2013: Bug in Elisp-Doku
@ 2009-01-24 9:32 Michael Krause
2009-01-27 0:04 ` Glenn Morris
0 siblings, 1 reply; 2+ messages in thread
From: Michael Krause @ 2009-01-24 9:32 UTC (permalink / raw
To: bug-gnu-emacs
[-- Attachment #1: Type: text/plain, Size: 2970 bytes --]
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. Instead, the variable
compilation-parse-errors-filename-function can be set to a function that
yields the desired effect. It would be nice to have this documented in the
description of the first variable.
In GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600)
of 2008-03-26 on RELEASE
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: DEU
locale-coding-system: cp1252
default-enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
show-paren-mode: t
iswitchb-mode: t
encoded-kbd-mode: t
tooltip-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
M-x i e l m <return> ( + SPC 3 SPC 3 ) <return> C-h
v c o m p i l e r <tab> <backspace> <tab> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <tab>
<tab> <tab> . - e r r <tab> <tab> <tab> <backspace>
<backspace> <backspace> <backspace> <backspace> e <tab>
<tab> <tab> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <backspace> <backspace>
<backspace> C-g <help-echo> C-x C-f p l s o <tab> <backspace>
q <tab> - k <tab> <return> C-s r e g e x p - a l <help-echo>
<help-echo> C-n C-h v c e m <backspace> <backspace>
o m p i l a t i o n - e r r <tab> <tab> <tab> <tab>
<tab> <tab> <tab> <tab> <tab> <tab> <tab> <tab> <tab>
<tab> <tab> M-x C-g C-h b s c <return> M-x c o m p
i l e <tab> - <tab> <backspace> <backspace> <backspace>
<backspace> <backspace> m o <tab> <return> <backspace>
<backspace> <tab> <backspace> <backspace> <backspace>
<backspace> <backspace> <backspace> <return> C-g M-x
c o m p u <backspace> i <tab> <tab> <tab> C-g C-h m
C-h v c o m p <tab> i l a t i o n - e r r o <tab> -
e r <backspace> <backspace> r e g <tab> <return> <help-echo>
X 5 2 <backspace> <backspace> <backspace> C-x 5 2 <switch-frame>
M-x r e b p <backspace> <backspace> g o r t <backspace>
<backspace> <backspace> <backspace> p o r t - b u <tab>
<backspace> <tab> <backspace> <tab> <return>
Recent messages:
Quit
Mark saved where search started
Quit [2 times]
Loading compile...done
Quit
Making completion list...
Quit
Type C-x 1 to remove help window.
Making completion list...
Loading emacsbug...done
[-- Attachment #2: Type: text/html, Size: 4126 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#2013: Bug in Elisp-Doku
2009-01-24 9:32 bug#2013: Bug in Elisp-Doku Michael Krause
@ 2009-01-27 0:04 ` Glenn Morris
0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2009-01-27 0:04 UTC (permalink / raw
To: Michael Krause; +Cc: 2013
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-01-27 0:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-24 9:32 bug#2013: Bug in Elisp-Doku Michael Krause
2009-01-27 0:04 ` Glenn Morris
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.