From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Ted" Newsgroups: gmane.emacs.help Subject: Re: configuring emacs as a programmer's editor Date: 3 Jul 2006 13:15:48 -0700 Organization: http://groups.google.com Message-ID: <1151957748.309174.266320@p79g2000cwp.googlegroups.com> References: <1151627894.208462.326680@m73g2000cwd.googlegroups.com> <1151653044.648242.11230@h44g2000cwa.googlegroups.com> <1151684092.236583.270470@b68g2000cwa.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1151959288 10336 80.91.229.2 (3 Jul 2006 20:41:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 Jul 2006 20:41:28 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 03 22:41:27 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FxVES-0006gm-Ao for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Jul 2006 22:41:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FxVER-00068Z-Pp for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Jul 2006 16:41:23 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!p79g2000cwp.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 38 Original-NNTP-Posting-Host: 69.198.217.178 Original-X-Trace: posting.google.com 1151957752 12253 127.0.0.1 (3 Jul 2006 20:15:52 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Mon, 3 Jul 2006 20:15:52 +0000 (UTC) In-Reply-To: <1151684092.236583.270470@b68g2000cwa.googlegroups.com> User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.2; Win64; x64; SV1; .NET CLR 2.0.50727),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: p79g2000cwp.googlegroups.com; posting-host=69.198.217.178; posting-account=m2jOVg0AAABhOi546jDXstV6XBpf3YTy Original-Xref: shelby.stanford.edu gnu.emacs.help:140176 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:35801 Archived-At: Ted wrote: > [snip] > Compiling file c:/emacs-21.3/mode-compile.el at Fri Jun 30 11:54:37 > 2006 > !! End of file during parsing > > This looks like an error message, but it doesn't make sense given that > the last line in the file is: > > ;;; mode-compile.el ends here > > This tells me that the file I'm working with has not been truncated. > > Why does byte-compiling this file fail? Is the file on the above site > defective? Is the file available elsewhere? > I found out why. When I go to the website and save the file directly from within Internet Explorer, I invariably get the end of file nonsense. I also have to delete some HTML tags both at the beginning and end of the file, along with the ^L characters. If, instead, I right-click the web page and select "view source", I get a window in which there are no HTML tags, but I still have to delete the ^L characters. But in doing this, the file compiles properly, with only the warnings you mentioned. Now emacs behaves as I wish, at least for Perl programming. Now, all I need is to find out how to slightly alter how SQL is handled. I'd like to be able to use Emacs as a client for MySQL and for PostgreSQL. Can Emacs be set up to ease submitting SQL statements to either MySQL or PostgreSQL as I wish? If so, how? I have done a number of searches on this, but the signal to noise ratio is extremely low. Thanks, Ted