[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New start up splash screen annoyance...
From: |
Juri Linkov |
Subject: |
Re: New start up splash screen annoyance... |
Date: |
Sun, 23 Sep 2007 01:54:10 +0300 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) |
While trying to use the command line option `--no-splash' I noticed one bug:
using it with some other options (for instance, "emacs -debug-init --no-splash")
causes Emacs to fail with the following error message:
command-line-1: Unknown option `-debug-init'
That's because `--no-splash' has a higher priority that options processed
in `command-line', but it is processed later in `command-line-1', thus
preventing options with lower priorities from processing in `command-line'.
The following patch should fix this bug if I understand the priority
system correctly. It decreases the priority of `--no-splash' to the low
priority 3, but which is higher than the priority 1 of the action options
("-f", "-file", etc) processed in the same function `command-line-1'.
It also adds `--no-desktop' with the same low priority.
Index: src/emacs.c
===================================================================
RCS file: /sources/emacs/emacs/src/emacs.c,v
retrieving revision 1.407
diff -u -r1.407 emacs.c
--- src/emacs.c 29 Aug 2007 05:27:54 -0000 1.407
+++ src/emacs.c 22 Sep 2007 22:52:18 -0000
@@ -1822,7 +1822,6 @@
{ "-q", "--no-init-file", 50, 0 },
{ "-no-init-file", 0, 50, 0 },
{ "-no-site-file", "--no-site-file", 40, 0 },
- { "-no-splash", "--no-splash", 40, 0 },
{ "-u", "--user", 30, 1 },
{ "-user", 0, 30, 1 },
{ "-debug-init", "--debug-init", 20, 0 },
@@ -1857,6 +1856,8 @@
{ "-hb", "--horizontal-scroll-bars", 5, 0 },
{ "-vb", "--vertical-scroll-bars", 5, 0 },
{ "-color", "--color", 5, 0},
+ { "-no-splash", "--no-splash", 3, 0 },
+ { "-no-desktop", "--no-desktop", 3, 0 },
/* These have the same priority as ordinary file name args,
so they are not reordered with respect to those. */
{ "-L", "--directory", 0, 1 },
--
Juri Linkov
http://www.jurta.org/emacs/
- Re: New start up splash screen annoyance..., (continued)
- Re: New start up splash screen annoyance..., David Kastrup, 2007/09/23
- Re: New start up splash screen annoyance..., Juri Linkov, 2007/09/23
- Re: New start up splash screen annoyance..., Kim F. Storm, 2007/09/23
- Re: New start up splash screen annoyance..., David Kastrup, 2007/09/24
- Re: New start up splash screen annoyance..., Richard Stallman, 2007/09/24
- Re: New start up splash screen annoyance..., Richard Stallman, 2007/09/23
- Re: New start up splash screen annoyance..., Eli Zaretskii, 2007/09/23
- Re: New start up splash screen annoyance..., Eli Zaretskii, 2007/09/22
- Re: New start up splash screen annoyance..., Juri Linkov, 2007/09/22
- Re: New start up splash screen annoyance..., Juri Linkov, 2007/09/22
- Re: New start up splash screen annoyance...,
Juri Linkov <=
- Re: New start up splash screen annoyance..., Juri Linkov, 2007/09/22
- Re: New start up splash screen annoyance..., Richard Stallman, 2007/09/23
- Re: New start up splash screen annoyance..., Juri Linkov, 2007/09/23
- Re: New start up splash screen annoyance..., Richard Stallman, 2007/09/24
- Re: New start up splash screen annoyance..., Richard Stallman, 2007/09/23
- Re: New start up splash screen annoyance..., Sean O'Rourke, 2007/09/20
- Re: New start up splash screen annoyance..., Manoj Srivastava, 2007/09/20
- Re: New start up splash screen annoyance..., Richard Stallman, 2007/09/21
- Re: New start up splash screen annoyance..., Juri Linkov, 2007/09/22
- Re: New start up splash screen annoyance..., Richard Stallman, 2007/09/23