From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: doc-view compilation warnings Date: Tue, 23 Oct 2007 11:35:07 -0700 Message-ID: <200710231835.l9NIZ7HB025212@oogie-boogie.ics.uci.edu> References: <87wsth6vk5.fsf@catnip.gol.com> <878x5wrgnv.fsf@baldur.tsdh.de> <87prz6yn1c.fsf@baldur.tsdh.de> <200710231430.l9NEUk8x012690@oogie-boogie.ics.uci.edu> <87ejflzv18.fsf@baldur.tsdh.de> <200710231607.l9NG7EoD016139@oogie-boogie.ics.uci.edu> <87abq9zpnz.fsf@baldur.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1193164657 987 80.91.229.12 (23 Oct 2007 18:37:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Oct 2007 18:37:37 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 23 20:37:36 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IkOdB-00050U-LS for ged-emacs-devel@m.gmane.org; Tue, 23 Oct 2007 20:37:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IkOd3-0003Lu-Su for ged-emacs-devel@m.gmane.org; Tue, 23 Oct 2007 14:37:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IkOcK-0002NE-7Z for emacs-devel@gnu.org; Tue, 23 Oct 2007 14:36:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IkOcI-0002Kf-QI for emacs-devel@gnu.org; Tue, 23 Oct 2007 14:36:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IkOcI-0002KU-M5 for emacs-devel@gnu.org; Tue, 23 Oct 2007 14:36:38 -0400 Original-Received: from oogie-boogie.ics.uci.edu ([128.195.1.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IkOcC-0007Iy-JN; Tue, 23 Oct 2007 14:36:33 -0400 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by oogie-boogie.ics.uci.edu (8.13.6/8.13.6) with ESMTP id l9NIZ7HB025212; Tue, 23 Oct 2007 11:35:07 -0700 (PDT) In-Reply-To: <87abq9zpnz.fsf@baldur.tsdh.de> (Tassilo Horn's message of "Tue\, 23 Oct 2007 19\:50\:08 +0200") Original-Lines: 22 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:81584 Archived-At: Tassilo Horn writes: > Dan Nicolaescu writes: > > > > 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. > > > > I am not sure I get what you are trying to say. Adding autoloads like > > that will result that code to be loaded by default... > > Yes, you're right. So I removed the autoload cookies there and from > `doc-view-mode-maybe'. > > > +(push '("\\.[eE]?[pP][sS]\\'" . doc-view-mode-maybe) auto-mode-alist) > +(push '("\\.[Dd][Vv][Ii]\\'" . doc-view-mode-maybe) auto-mode-alist) > +(push '("\\.[Pp][Dd][Ff]\\'" . doc-view-mode-maybe) auto-mode-alist) In general loading a file should not have side effects like this. IMHO, it is not idea to do things this way...