[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: doc-view compilation warnings
From: |
Tassilo Horn |
Subject: |
Re: doc-view compilation warnings |
Date: |
Tue, 23 Oct 2007 17:54:11 +0200 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.50 (gnu/linux) |
Dan Nicolaescu <address@hidden> writes:
Hi Dan,
> Please add ChangeLog entries when sending patches.
The patch contains ChangeLog entries. (The last part of it.)
> > The patch is also at http://www.tsdh.de/stuff/doc-view.patch
> >
> > --- lisp/files.el 21 Oct 2007 10:48:28 -0000 1.936
> > +++ lisp/files.el 23 Oct 2007 12:53:00 -0000
> > @@ -2060,7 +2060,8 @@
> > ("\\.\\(diffs?\\|patch\\|rej\\)\\'" . diff-mode)
> > ("\\.\\(dif\\|pat\\)\\'" . diff-mode) ; for MSDOG
> > ("\\.[eE]?[pP][sS]\\'" . ps-mode)
> > - ("\\.\\(?:PDF\\|DVI\\|pdf\\|dvi\\)" . doc-view-mode)
> > + ("\\.[Pp][Dd][Ff]\\'" . ps-mode)
> > + ("\\.[Dd][Vv][Ii]\\'" . fundamental-mode)
> > ("configure\\.\\(ac\\|in\\)\\'" . autoconf-mode)
> > ("BROWSE\\'" . ebrowse-tree-mode)
> > ("\\.ebrowse\\'" . ebrowse-tree-mode)
> > Index: lisp/doc-view.el
> > ===================================================================
> > RCS file: /sources/emacs/emacs/lisp/doc-view.el,v
> > retrieving revision 1.11
> > diff -u -r1.11 doc-view.el
> > --- lisp/doc-view.el 19 Oct 2007 16:03:09 -0000 1.11
> > +++ lisp/doc-view.el 23 Oct 2007 12:53:01 -0000
> > @@ -104,6 +104,10 @@
> > (require 'image-mode)
> > (eval-when-compile (require 'cl))
> >
> > +;;;###autoload (push '("\\.[eE]?[pP][sS]\\'" . doc-view-mode-maybe)
> auto-mode-alist)
> > +;;;###autoload (push '("\\.[Dd][Vv][Ii]\\'" . doc-view-mode-maybe)
> auto-mode-alist)
> > +;;;###autoload (push '("\\.[Pp][Dd][Ff]\\'" . doc-view-mode-maybe)
> auto-mode-alist)
>
> Given that you are changing auto-mode-alist alist directly, why not
> put all the auto-mode-alist manipulation in files.el? It's a bit
> confusing to see this done in 2 places.
This way it only affects users that want to use doc-view (by requiring
it explicitly). If we say that it should be loaded by default, then I
agree with you. But I'm sure there are a lot people that prefer it not
to be loaded by default.
Bye,
Tassilo
- doc-view compilation warnings, Miles Bader, 2007/10/20
- Re: doc-view compilation warnings, Tassilo Horn, 2007/10/21
- Re: doc-view compilation warnings, Richard Stallman, 2007/10/22
- Re: doc-view compilation warnings, Tassilo Horn, 2007/10/23
- Re: doc-view compilation warnings, Dan Nicolaescu, 2007/10/23
- Re: doc-view compilation warnings,
Tassilo Horn <=
- Re: doc-view compilation warnings, Dan Nicolaescu, 2007/10/23
- Re: doc-view compilation warnings, Tassilo Horn, 2007/10/23
- Re: doc-view compilation warnings, Dan Nicolaescu, 2007/10/23
- Re: doc-view compilation warnings, Tassilo Horn, 2007/10/23
- Re: doc-view compilation warnings, Stefan Monnier, 2007/10/23
- Re: doc-view compilation warnings, Tassilo Horn, 2007/10/23
- Re: doc-view compilation warnings, Stefan Monnier, 2007/10/23
- Re: doc-view compilation warnings, Tassilo Horn, 2007/10/24
- Re: doc-view compilation warnings, Tassilo Horn, 2007/10/24
- Re: doc-view compilation warnings, Tassilo Horn, 2007/10/24