* Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109160: * lisp/vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
[not found] <E1SrsTu-0003A3-UQ@vcs.savannah.gnu.org>
@ 2012-07-19 22:00 ` Stefan Monnier
2012-07-20 2:09 ` Sam Steingold
0 siblings, 1 reply; 2+ messages in thread
From: Stefan Monnier @ 2012-07-19 22:00 UTC (permalink / raw)
To: Sam Steingold; +Cc: emacs-devel
Could you explain this patch?
I do not understand what it's trying to do. Using compilation-mode on
the output of those tools doesn't sound very useful. What's the use-case?
Stefan
> + (let* ((error-regexp-alist
> + (vc-make-backend-sym backend 'error-regexp-alist))
> + (compilation-error-regexp-alist
> + (and (boundp error-regexp-alist)
> + (symbol-value error-regexp-alist))))
This is clearly wrong: error-regexp-alist seems to be meant to hold
a symbol, but its name implies it should hold an alist.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109160: * lisp/vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
2012-07-19 22:00 ` [Emacs-diffs] /srv/bzr/emacs/trunk r109160: * lisp/vc/vc-dispatcher.el (vc-compilation-mode): Add, based on Stefan Monnier
@ 2012-07-20 2:09 ` Sam Steingold
0 siblings, 0 replies; 2+ messages in thread
From: Sam Steingold @ 2012-07-20 2:09 UTC (permalink / raw)
To: emacs-devel
> * Stefan Monnier <zbaavre@VEB.HZbagerny.PN> [2012-07-19 18:00:44 -0400]:
>
> Could you explain this patch?
it extends the existing vc-bzr functionality to git & hg.
> I do not understand what it's trying to do. Using compilation-mode on
> the output of those tools doesn't sound very useful. What's the
> use-case?
C-x v d emacs/trunk RET
lands you in a *vc-dir* buffer
+
starts vc-pull (running "bzr update") and creates a *vc-bzr* buffer with
the command output.
putting it in the compilation-mode gives us 2 features:
-- one can use 'q' and 'z' to get rid of it
-- one can click on a file listed by bzr as modified and the file is visited.
>> + (let* ((error-regexp-alist
>> + (vc-make-backend-sym backend 'error-regexp-alist))
>> + (compilation-error-regexp-alist
>> + (and (boundp error-regexp-alist)
>> + (symbol-value error-regexp-alist))))
>
> This is clearly wrong: error-regexp-alist seems to be meant to hold a
> symbol, but its name implies it should hold an alist.
it's a symbol whose value is an alist.
yes, you might argue that it should have been named error-regexp-alist-symbol
--
Sam Steingold (http://sds.podval.org/) on Ubuntu 12.04 (precise) X 11.0.11103000
http://www.childpsy.net/ http://think-israel.org http://memri.org
http://palestinefacts.org http://camera.org http://americancensorship.org
Lisp suffers from being twenty or thirty years ahead of time.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-07-20 2:09 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <E1SrsTu-0003A3-UQ@vcs.savannah.gnu.org>
2012-07-19 22:00 ` [Emacs-diffs] /srv/bzr/emacs/trunk r109160: * lisp/vc/vc-dispatcher.el (vc-compilation-mode): Add, based on Stefan Monnier
2012-07-20 2:09 ` Sam Steingold
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.