From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Alfonsogonzalez, Ernesto (GE Digital)" Newsgroups: gmane.emacs.bugs Subject: bug#23509: 24.4; initial-buffer-choice bug with zero-argument lambda Date: Tue, 10 May 2016 18:54:40 +0000 Message-ID: <2A734D896A45164C887E476E942BF4F9B601A2@CINMBCNA09.e2k.ad.ge.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1462907785 15584 80.91.229.3 (10 May 2016 19:16:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 May 2016 19:16:25 +0000 (UTC) To: 23509@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 10 21:16:13 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b0D8e-0007ei-Rx for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 May 2016 21:16:13 +0200 Original-Received: from localhost ([::1]:48489 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0D8d-00029q-4D for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 May 2016 15:16:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57093) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0D8Y-00026b-Sj for bug-gnu-emacs@gnu.org; Tue, 10 May 2016 15:16:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0D8U-0006v0-82 for bug-gnu-emacs@gnu.org; Tue, 10 May 2016 15:16:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33905) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0D8U-0006ut-4V for bug-gnu-emacs@gnu.org; Tue, 10 May 2016 15:16:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b0D8T-000695-Tc for bug-gnu-emacs@gnu.org; Tue, 10 May 2016 15:16:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Alfonsogonzalez, Ernesto (GE Digital)" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 May 2016 19:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23509 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.146290774123585 (code B ref -1); Tue, 10 May 2016 19:16:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 May 2016 19:15:41 +0000 Original-Received: from localhost ([127.0.0.1]:46242 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0D89-00068L-1P for submit@debbugs.gnu.org; Tue, 10 May 2016 15:15:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0CoH-0005aE-Hy for submit@debbugs.gnu.org; Tue, 10 May 2016 14:55:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0Co8-0000zn-AF for submit@debbugs.gnu.org; Tue, 10 May 2016 14:55:04 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:40680) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0Co8-0000zi-7L for submit@debbugs.gnu.org; Tue, 10 May 2016 14:55:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49571) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0Co2-000886-RF for bug-gnu-emacs@gnu.org; Tue, 10 May 2016 14:55:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0Cny-0000v1-AP for bug-gnu-emacs@gnu.org; Tue, 10 May 2016 14:54:54 -0400 Original-Received: from mx0b-00176a03.pphosted.com ([67.231.157.48]:35536) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0Cny-0000uJ-3p for bug-gnu-emacs@gnu.org; Tue, 10 May 2016 14:54:50 -0400 Original-Received: from pps.filterd (m0048205.ppops.net [127.0.0.1]) by m0048205.ppops.net-00176a03. (8.16.0.11/8.16.0.11) with SMTP id u4AIrZQ8047947 for ; Tue, 10 May 2016 14:54:47 -0400 Thread-Topic: 24.4; initial-buffer-choice bug with zero-argument lambda Thread-Index: AdGq7WiB0LIu5y4MRC+293iDJMsCog== Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [3.159.17.83] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-05-10_09:, , signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1603290000 definitions=main-1605100257 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Tue, 10 May 2016 15:15:39 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:118079 Archived-At: 1. create file /tmp/emacs-bug.el with contents (setq initial-buffer-choice ;"~/";;works (lambda () '(call-interactively 'org-agenda-list) "*Org Agenda*" "~/");;doesn't work, opens scratch buffer ) 2. emacs -Q -l /tmp/emacs-bug.el 3. scratch buffer opens.=20 According to docs,=20 If the value is nil and `inhibit-startup-screen' is nil, show the startup screen. If the value is a string, switch to a buffer visiting the file or directory that the string specifies. If the value is a function, call it with no arguments and switch to the buffer that it returns. If t, open the `*scratch*' buffer. If the value is nil and `inhibit-startup-screen' is nil, show the startup screen. If the value is a string, switch to a buffer visiting the file or directory that the string specifies. If the value is a function, call it with no arguments and switch to the buffer that it returns. If t, open the `*scratch*' buffer. In GNU Emacs 24.4.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5) of 2015-03-07 on trouble, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11604000 System Description: Debian GNU/Linux 8.4 (jessie) Configured using: `configure --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/lib --localstatedir=3D/var/lib --infodir=3D/usr/share/info --mandir=3D/usr/share/man --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24= .4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-li= sp:/usr/share/emacs/site-lisp --build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib --libexecdir=3D/usr/lib --localstatedir=3D/var/lib --infodir=3D/usr/share/info --mandir=3D/usr/share/man --with-pop=3Dyes --enable-locallisppath=3D/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24= .4/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.4/site-li= sp:/usr/share/emacs/site-lisp --with-x=3Dyes --with-x-toolkit=3Dgtk3 --with-toolkit-scroll-bars 'CFLAGS=3D-g -O2 -fstack-protector-strong -Wformat -Werror=3Dformat-security -Wall' CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2 LDFLAGS=3D-Wl,-z,relro' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-x r e p o r Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. C-v is undefined Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 71134 7300) (symbols 48 17572 0) (miscs 40 36 138) (strings 32 9071 4631) (string-bytes 1 250236) (vectors 16 8912) (vector-slots 8 383117 18328) (floats 8 63 207) (intervals 56 213 4) (buffers 960 11) (heap 1024 49511 878))