* flymake doc fix
@ 2007-11-07 20:35 dnz
2007-11-09 22:00 ` Richard Stallman
2007-11-17 4:54 ` Richard Stallman
0 siblings, 2 replies; 4+ messages in thread
From: dnz @ 2007-11-07 20:35 UTC (permalink / raw)
To: emacs-pretest-bug
Update flymake-perl-init example to the latest version
(flymake-build-relative-filename replaced with file-relative-name).
diff --git a/doc/misc/flymake.texi b/doc/misc/flymake.texi
index 491ee63..6ab4c19 100644
--- a/doc/misc/flymake.texi
+++ b/doc/misc/flymake.texi
@@ -413,12 +413,9 @@ First, we write the @code{init-function}:
(defun flymake-perl-init ()
(let* ((temp-file (flymake-init-create-temp-buffer-copy
'flymake-create-temp-inplace))
- (local-file (concat (flymake-build-relative-filename
- (file-name-directory
- (buffer-file-name
- (current-buffer)))
- (file-name-directory temp-file))
- (file-name-nondirectory temp-file))))
+ (local-file (file-relative-name
+ temp-file
+ (file-name-directory buffer-file-name))))
(list "perl" (list "-wc " local-file))))
@end lisp
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: flymake doc fix
2007-11-07 20:35 flymake doc fix dnz
@ 2007-11-09 22:00 ` Richard Stallman
2007-11-17 4:54 ` Richard Stallman
1 sibling, 0 replies; 4+ messages in thread
From: Richard Stallman @ 2007-11-09 22:00 UTC (permalink / raw)
To: Pavel Kobyakov; +Cc: emacs-pretest-bug
Could you please tell us what we should do with this?
From: dnz <dnz@bk.ru>
To: emacs-pretest-bug@gnu.org
Mime-Version: 1.0
Date: Wed, 07 Nov 2007 23:35:32 +0300
Content-Type: text/plain; charset=koi8-r
Cc:
Subject: flymake doc fix
Reply-To: dnz <dnz@bk.ru>
Update flymake-perl-init example to the latest version
(flymake-build-relative-filename replaced with file-relative-name).
diff --git a/doc/misc/flymake.texi b/doc/misc/flymake.texi
index 491ee63..6ab4c19 100644
--- a/doc/misc/flymake.texi
+++ b/doc/misc/flymake.texi
@@ -413,12 +413,9 @@ First, we write the @code{init-function}:
(defun flymake-perl-init ()
(let* ((temp-file (flymake-init-create-temp-buffer-copy
'flymake-create-temp-inplace))
- (local-file (concat (flymake-build-relative-filename
- (file-name-directory
- (buffer-file-name
- (current-buffer)))
- (file-name-directory temp-file))
- (file-name-nondirectory temp-file))))
+ (local-file (file-relative-name
+ temp-file
+ (file-name-directory buffer-file-name))))
(list "perl" (list "-wc " local-file))))
@end lisp
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: flymake doc fix
2007-11-07 20:35 flymake doc fix dnz
2007-11-09 22:00 ` Richard Stallman
@ 2007-11-17 4:54 ` Richard Stallman
2007-11-18 13:01 ` Richard Stallman
1 sibling, 1 reply; 4+ messages in thread
From: Richard Stallman @ 2007-11-17 4:54 UTC (permalink / raw)
To: Pavel Kobyakov; +Cc: emacs-pretest-bug
[I sent this message a week ago but did not get a response.]
Could you please tell us what we should do with this?
From: dnz <dnz@bk.ru>
To: emacs-pretest-bug@gnu.org
Mime-Version: 1.0
Date: Wed, 07 Nov 2007 23:35:32 +0300
Content-Type: text/plain; charset=koi8-r
Cc:
Subject: flymake doc fix
Reply-To: dnz <dnz@bk.ru>
Update flymake-perl-init example to the latest version
(flymake-build-relative-filename replaced with file-relative-name).
diff --git a/doc/misc/flymake.texi b/doc/misc/flymake.texi
index 491ee63..6ab4c19 100644
--- a/doc/misc/flymake.texi
+++ b/doc/misc/flymake.texi
@@ -413,12 +413,9 @@ First, we write the @code{init-function}:
(defun flymake-perl-init ()
(let* ((temp-file (flymake-init-create-temp-buffer-copy
'flymake-create-temp-inplace))
- (local-file (concat (flymake-build-relative-filename
- (file-name-directory
- (buffer-file-name
- (current-buffer)))
- (file-name-directory temp-file))
- (file-name-nondirectory temp-file))))
+ (local-file (file-relative-name
+ temp-file
+ (file-name-directory buffer-file-name))))
(list "perl" (list "-wc " local-file))))
@end lisp
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: flymake doc fix
2007-11-17 4:54 ` Richard Stallman
@ 2007-11-18 13:01 ` Richard Stallman
0 siblings, 0 replies; 4+ messages in thread
From: Richard Stallman @ 2007-11-18 13:01 UTC (permalink / raw)
To: rms; +Cc: emacs-pretest-bug, dnz, pk_at_work
Since nobody else responded, I looked at this
and I see it is correct. I will install it.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-11-18 13:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-07 20:35 flymake doc fix dnz
2007-11-09 22:00 ` Richard Stallman
2007-11-17 4:54 ` Richard Stallman
2007-11-18 13:01 ` Richard Stallman
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).