all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Vollmar <vollmar@nf.mpg.de>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: 6234@debbugs.gnu.org, Stefan Vollmar <vollmar@nf.mpg.de>
Subject: bug#6234: 23.2; inhibit-startup-screen does not work in site-start.el
Date: Thu, 20 May 2010 21:20:56 +0200	[thread overview]
Message-ID: <75C414D6-6E00-4761-9FE2-D1C4909435AA@nf.mpg.de> (raw)
In-Reply-To: <874oi275xa.fsf@stupidchicken.com>

[-- Attachment #1: Type: text/plain, Size: 1936 bytes --]

Dear Chong,

On 20.05.2010, at 21:02, Chong Yidong wrote:

[...]

>> We tried to use initial-buffer-choice but this has an unwanted side
>> effet: the splashscreen no longer appears, however, dropping a file on
>> the Emacs icon no longer opens that file.
> 
> I can not reproduce this.  Can you provide a simple reproducible test
> case?  I tried with a .emacs file containing only the line
> 
>  (setq initial-buffer-choice t)
> 
> and dragging a file into the Emacs window (I don't know what you mean by
> "dropping a file on the Emacs icon") opens that file, as expected.
> However, this is on GNU/Linux.  It's possible that there is a bug in the
> Windows port; maybe someone else can check.

my description was not very precise, I am sorry. Here is what we did:

we have a site-start.el file in emacs-23.2/site-lisp which ends with

(find-file "~/untitled")

(1) That works fine if one uses inhibit-startup-screen in a personal .emacs file, or uses the "--no-splash" option with the icon shortcut (but this is not what you want for a ready-to-run distribution). 

(2) Our next attempt was to add

(setq initial-buffer-choice "~/untitled")

as a last line. Emacs, when started by a double-click on the icon shortcut, behaves exactly as requested by our Windows users and if we drop a file onto a running Emacs instance, that file is opened as expected (this is what you tested). 

If one creates an icon shortcut of a program on MS Windows, users expect that program to open files if they are dropped onto that icon shortcut. This works fine if (1) holds, but not for (2).

Warm regards,
 Stefan
-- 
Dr. Stefan Vollmar, Dipl.-Phys.
Head of IT group
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
Email: vollmar@nf.mpg.de   http://www.nf.mpg.de







[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 4409 bytes --]

  reply	other threads:[~2010-05-20 19:20 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-19 15:02 site-start.el: inhibit-startup-screen? Stefan Vollmar
2010-05-19 15:07 ` Drew Adams
2010-05-20 15:09   ` Stefan Vollmar
2010-05-20 15:19     ` Drew Adams
2010-05-20 19:04     ` Joel J. Adamson
2010-05-20 20:01       ` Stefan Vollmar
2010-05-21  1:44         ` Kevin Rodgers
2010-05-21  6:51           ` Stefan Vollmar
2010-05-23 17:52       ` tomas
     [not found]       ` <mailman.3.1274636585.29942.help-gnu-emacs@gnu.org>
2010-05-24  0:12         ` Stefan Monnier
2010-05-20 19:34     ` Johan Bockgård
2010-05-20 20:14       ` Stefan Vollmar
2010-05-20 20:14       ` bug#6234: " Stefan Vollmar
2010-05-21  8:36         ` Štěpán Němec
2010-05-21 15:32           ` Joel J. Adamson
2010-05-21 15:32           ` Joel J. Adamson
2010-05-21 16:09             ` Stefan Vollmar
2011-07-13 21:55             ` Lars Magne Ingebrigtsen
2011-07-13 23:46               ` Glenn Morris
2011-07-13 23:55                 ` Lars Magne Ingebrigtsen
2010-05-20 18:07                   ` bug#6234: 23.2; inhibit-startup-screen does not work in site-start.el Stefan Vollmar
2010-05-20 19:02                     ` Chong Yidong
2010-05-20 19:20                       ` Stefan Vollmar [this message]
2011-07-13 23:59                     ` bug#6234: site-start.el: inhibit-startup-screen? Glenn Morris
2011-07-14  0:09                       ` Lars Magne Ingebrigtsen
2011-07-14  1:48                         ` Chong Yidong
2011-07-14 12:55                           ` Lars Magne Ingebrigtsen
2011-07-14 15:10                       ` Richard Stallman
2010-05-21  8:36         ` Štěpán Němec
2010-05-19 19:30 ` Leo
2010-05-19 21:04 ` Suvayu Ali
2010-05-19 21:50   ` Stefan Vollmar
2010-05-20 10:23     ` Suvayu Ali

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=75C414D6-6E00-4761-9FE2-D1C4909435AA@nf.mpg.de \
    --to=vollmar@nf.mpg.de \
    --cc=6234@debbugs.gnu.org \
    --cc=cyd@stupidchicken.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.