From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1459: 23.0.60; Emacs.app can't load an Elisp file from command line? Date: Sun, 30 Nov 2008 14:02:38 +0100 Message-ID: Reply-To: Peter Dyballa , 1459@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=WINDOWS-1252; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1228050630 24550 80.91.229.12 (30 Nov 2008 13:10:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Nov 2008 13:10:30 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 30 14:11:35 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L6m5F-0003ms-UN for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Nov 2008 14:11:34 +0100 Original-Received: from localhost ([127.0.0.1]:45605 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6m45-0000E0-M3 for geb-bug-gnu-emacs@m.gmane.org; Sun, 30 Nov 2008 08:10:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L6m41-0000DA-Nt for bug-gnu-emacs@gnu.org; Sun, 30 Nov 2008 08:10:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L6m3z-0000A4-62 for bug-gnu-emacs@gnu.org; Sun, 30 Nov 2008 08:10:16 -0500 Original-Received: from [199.232.76.173] (port=56295 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L6m3y-00009q-W3 for bug-gnu-emacs@gnu.org; Sun, 30 Nov 2008 08:10:15 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:34446) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L6m3y-0000YZ-GA for bug-gnu-emacs@gnu.org; Sun, 30 Nov 2008 08:10:14 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAUDAChS018271; Sun, 30 Nov 2008 05:10:12 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mAUDA3w7017475; Sun, 30 Nov 2008 05:10:03 -0800 X-Loop: don@donarmstrong.com Resent-From: Peter Dyballa Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 30 Nov 2008 13:10:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1459 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122805018115311 (code B ref -1); Sun, 30 Nov 2008 13:10:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 30 Nov 2008 13:03:01 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mAUD2vPU015304 for ; Sun, 30 Nov 2008 05:02:58 -0800 Original-Received: from mail.gnu.org ([199.232.76.166]:40991 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1L6lwY-0004d8-1H for emacs-pretest-bug@gnu.org; Sun, 30 Nov 2008 08:02:34 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1L6lws-0006UQ-5K for emacs-pretest-bug@gnu.org; Sun, 30 Nov 2008 08:02:56 -0500 Original-Received: from mout3.freenet.de ([195.4.92.93]:47733) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1L6lwr-0006SD-Jb for emacs-pretest-bug@gnu.org; Sun, 30 Nov 2008 08:02:53 -0500 Original-Received: from [195.4.92.23] (helo=13.mx.freenet.de) by mout3.freenet.de with esmtpa (ID peter_dyballa@freenet.de) (port 25) (Exim 4.69 #65) id 1L6lwe-00039V-PM for emacs-pretest-bug@gnu.org; Sun, 30 Nov 2008 14:02:46 +0100 Original-Received: from p5b23dd0b.dip.t-dialin.net ([91.35.221.11]:64498 helo=[192.168.1.2]) by 13.mx.freenet.de with esmtpsa (ID peter_dyballa@freenet.de) (TLSv1:AES128-SHA:128) (port 25) (Exim 4.69 #68) id 1L6lwe-0008VU-Cu for emacs-pretest-bug@gnu.org; Sun, 30 Nov 2008 14:02:40 +0100 X-Mailer: Apple Mail (2.753.1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 30 Nov 2008 08:10:16 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:22788 gmane.emacs.pretest.bugs:23426 Archived-At: Hello! When launching Emacs.app as /Applications/AquaEmacs.app/Contents/MacOS/Emacs -Q -l ~/.emacs-=20= init.el --debug-init & /Applications/AquaEmacs.app/Contents/MacOS/Emacs -Q -l ~/.emacs-=20= init.el & it open the Elisp file ~/.emacs-init.el as some text file in a buffer =20= instead of executing it: . .emacs-init.el 14811 Emacs-Lisp = ~/.emacs-init.el *scratch* 191 Lisp Interaction * *Messages* 244 Fundamental =96 although the *Messages* buffer indicates that the Elisp file was =20= executed (the four lines starting with "Zeile"). When I launch it as: /Applications/AquaEmacs.app/Contents/MacOS/Emacs -l = ~/.emacs-init.el =20 -Q & /Applications/AquaEmacs.app/Contents/MacOS/Emacs -nw -Q -l = ~/.emacs-=20 init.el --debug-init Emacs.app behaves correctly and executes the Elisp file: . *scratch* 191 Lisp Interaction * *Messages* 225 Fundamental In GNU Emacs 23.0.60.1 (powerpc-apple-darwin8.11.0, NS apple-=20 appkit-824.48) of 2008-11-23 on localhost Windowing system distributor `Apple', version =20 97.112.112.108.101.45.97.112.112.107.105.116.45.56.50.52.46.52.56 configured using `configure '--without-sound' '--without-pop' '--=20 with-dbus' '--with-libotf' '--with-ns' '--disable-ns-self-contained' =20 '--enable-locallisppath=3D/Library/Application Support/Emacs/=20 calendar23:/Library/Application Support/Emacs/caml:/Library/=20 Application Support/Emacs:/sw/share/emacs21/site-lisp/elib' =20 'PKG_CONFIG_PATH=3D/sw/lib/xft2/lib/pkgconfig:/sw/lib/fontconfig2/lib/=20= pkgconfig:/sw/lib/freetype219/lib/pkgconfig:/sw/lib/pango-ft219/lib/=20 pkgconfig:/sw/lib/qt4-x11/lib/pkgconfig:/sw/lib/system-openssl/lib/=20 pkgconfig:/sw/lib/pkgconfig:/sw/share/pkgconfig:/usr/X11R6/lib/=20 pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig' 'CFLAGS=3D-Wno-=20= pointer-sign -bind_at_load -H -pipe -fPIC -mcpu=3D7450 -mtune=3D7450 -=20= fast -mpim-altivec -ftree-vectorize -foptimize-register-move -=20 freorder-blocks -freorder-blocks-and-partition -fthread-jumps -=20 fpeephole -fno-crossjumping' 'CPPFLAGS=3D-no-cpp-precomp' 'LDFLAGS=3D-=20= bind_at_load -dead_strip -multiply_defined suppress -L/sw/lib/ncurses'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: de_DE.UTF-8 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: de_DE.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: show-paren-mode: t display-time-mode: t tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-b Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Zeile 59: mWS ist ns Zeile 63: mWS ist nicht nil Zeile 125: vor den *-frame-alists Zeile 179: Ende ~/.emacs-init.el Loading time...done Loading paren...done In the other case, with command line options in different order and =20 when no buffer for the file loaded is opened, *Messages* contains: For information about GNU Emacs and the GNU system, type C-h = C-a. Zeile 59: mWS ist ns Zeile 63: mWS ist nicht nil Zeile 125: vor den *-frame-alists Zeile 179: Ende ~/.emacs-init.el Loading time...done Loading paren...done Remark also that the "Recent messages:" header line is missing! With =20 no windowing system support the *Messages* buffer contains: ("/Applications/AquaEmacs.app/Contents/MacOS/Emacs" "-Q" "-l" "/=20= Users/pete/.emacs-init.el") For information about GNU Emacs and the GNU system, type C-h = C-a. Zeile 59: mWS ist nil Zeile 179: Ende ~/.emacs-init.el Loading time...done Loading paren...done which is OK, i.e., it's the same the X client version shows. -- Greetings Pete Rain is saved up in cloud banks.