1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-10 05:30:45 -08:00
Commit graph

661 commits

Author SHA1 Message Date
Daiki Ueno
6f8a419044 * epa-file-hook.el: New file split from epa-file.el.
* epa-file.el: Require 'epa-file-hook.
(epa-file-handler): Add autoload cookie.
* loadup.el: Load epa-file-hook.
* startup.el (command-line): Eval the body of auto-encryption-mode.
2008-05-01 07:17:08 +00:00
Glenn Morris
1d1100d7ac (command-line-1): Rename -internal-script back to -scriptload (reverts
previous change).
2008-03-14 02:38:45 +00:00
Glenn Morris
f71d844b4a (command-line-1): Rename -scriptload to -internal-script. 2008-03-13 03:04:51 +00:00
Juri Linkov
9bc6f805fc (inhibit-startup-screen): Revert incomplete
2008-03-10 merge from emacs--rel--22 that partly reverted
2008-02-28 change that added initial message to *scratch* buffer
regardless of the value of `inhibit-startup-screen'.
Now keep this change in the trunk, but not in the 22 branch.
2008-03-12 21:54:36 +00:00
Miles Bader
56388398e7 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1095
2008-03-10 00:49:47 +00:00
Kim F. Storm
015b0d507d (describe-gnu-project): Rename from describe-project. Change users. 2008-03-06 00:08:01 +00:00
Juri Linkov
1344a1f99e Revert 2008-02-28 change that adds initial message
to *scratch* buffer regardless of the value of `inhibit-startup-screen'.
2008-03-02 16:18:21 +00:00
Kim F. Storm
92b2e7a30e Rename describe-project to describe-gnu-project. 2008-02-29 23:42:52 +00:00
Juri Linkov
79b1c79cc2 (normal-splash-screen): Add argument `concise'.
Remove unused binding `prev-buffer'. Let-bind `splash-buffer'
to the created buffer.  If `concise' is non-nil, call
`display-buffer', otherwise `switch-to-buffer'.  Doc fix.
(display-startup-screen): Add argument `concise' to the call to
`normal-splash-screen'.
2008-02-28 23:32:11 +00:00
Juri Linkov
b36b012158 (normal-splash-screen): Add argument `concise'.
Remove unused binding `prev-buffer'. Let-bind `splash-buffer'
to the created buffer.  If `concise' is non-nil, call
`display-buffer', otherwise `switch-to-buffer'.  Doc fix.
(display-startup-screen): Add argument `concise' to the call to
`normal-splash-screen'.
2008-02-28 23:30:11 +00:00
Juri Linkov
bd8b0ebb99 (startup-echo-area-message): Check for about-emacs. 2008-02-28 22:59:12 +00:00
Juri Linkov
61ce9226fb (startup-echo-area-message): Check for about-emacs. 2008-02-28 22:56:02 +00:00
Juri Linkov
8d86c6da46 Always add initial message to *scratch* buffer if
`initial-scratch-message' is non-nil regardless of the value of
`inhibit-startup-screen'.
(inhibit-startup-screen, initial-scratch-message): Doc fix.
(command-line-1): Move code that inserts `initial-scratch-message'
up before the if-form that checks for `inhibit-startup-screen'.
Suggested by Jonathan Rockway <jon@jrock.us>.
2008-02-28 22:50:26 +00:00
Juri Linkov
22351e44a3 Always add initial message to *scratch* buffer if
`initial-scratch-message' is non-nil regardless of the value of
`inhibit-startup-screen'.
(inhibit-startup-screen, initial-scratch-message): Doc fix.
(command-line-1): Move code that inserts `initial-scratch-message'
up before the if-form that checks for `inhibit-startup-screen'.
Suggested by Jonathan Rockway <jon@jrock.us>.
2008-02-28 22:43:30 +00:00
Dan Nicolaescu
a2b84f35b3 * simple.el (transient-mark-mode): Add an :init-value.
* startup.el (command-line): Use custom-reevaluate-setting for
transient-mark-mode.

* callint.c (syms_of_callint): Initialize Vmark_even_if_inactive
with Qt.
2008-02-17 16:57:44 +00:00
Juri Linkov
5ab0e67e80 (after-init-time): New variable.
(command-line): Set `after-init-time' to the current time.
2008-02-16 23:17:51 +00:00
Glenn Morris
5c9fad4128 (emacs-startup-time): Rename to `before-init-time'.
(before-init-time): New name for `emacs-startup-time'.
(command-line): Use before-init-time rather than emacs-startup-time.
2008-02-16 22:20:12 +00:00
Juri Linkov
4222d0a4f3 (fancy-startup-screen, normal-splash-screen):
Set default-directory to command-line-default-directory.
2008-02-12 23:41:08 +00:00
Juri Linkov
5df71560b0 (fancy-startup-screen, normal-splash-screen):
Set default-directory to command-line-default-directory.
2008-02-12 23:29:19 +00:00
Glenn Morris
238cbdf80b (emacs-startup-time): New variable.
(command-line): Set emacs-startup-time.
2008-02-11 00:24:16 +00:00
Jan Djärv
c434f203bf * startup.el (command-line-x-option-alist): Add --parent-id. 2008-02-07 14:05:53 +00:00
Miles Bader
430d2ee291 Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-312
2008-01-09 01:21:15 +00:00
Glenn Morris
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
Glenn Morris
93926b0766 (fancy-about-screen): Remove reference to deleted
`fancy-splash-help-echo' variable.
2008-01-04 03:13:06 +00:00
Miles Bader
43a8b8ca57 Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-308
2008-01-02 04:13:39 +00:00
Miles Bader
b201b9880e Merge from emacs--rel--22, gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-975
2008-01-02 02:20:42 +00:00
Richard M. Stallman
422abbfd22 (fancy-startup-tail, fancy-about-text)
(fancy-startup-text): Regularize format of face property.
2007-12-29 19:04:53 +00:00
Miles Bader
a0c92ed92d Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-306
2007-12-29 02:39:17 +00:00
Miles Bader
b17f53abc2 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-966
2007-12-28 22:26:14 +00:00
Miles Bader
d29ee6b1a1 Merge from emacs--devo--0
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-300
2007-12-16 05:08:49 +00:00
Richard M. Stallman
d4a629de23 (fancy-splash-help-echo): Var deleted.
(fancy-splash-insert): Get help-echo from (startup-echo-area-message).
(fancy-about-screen): Don't display fancy-splash-help-echo.
2007-12-15 22:33:43 +00:00
David Kastrup
274f1353e0 * erc-stamp.el (erc-echo-timestamp):
* erc-lang.el (language):
* erc-backend.el (erc-server-connect): Fix buggy call to `message'.

* gnus-sum.el (gnus-summary-simplify-subject-query):
* ecomplete.el (ecomplete-display-matches): Fix buggy call to
`message'.

* textmodes/reftex.el (reftex-select-with-char):
* textmodes/reftex-toc.el (reftex-toc-do-promote)
(reftex-toc-visit-location, reftex-toc-find-section):
* textmodes/reftex-index.el (reftex-index-show-entry):
* textmodes/org.el (org-cycle-hide-archived-subtrees)
(org-table-rotate-recalc-marks, org-mark-ring-push)
(org-follow-info-link, org-mhe-get-message-folder-from-index)
(org-auto-repeat-maybe, org-store-log-note, org-delete-property)
(org-evaluate-time-range, org-edit-agenda-file-list):
* textmodes/artist.el (artist-select-next-op-in-list)
(artist-select-prev-op-in-list):
* term/mac-win.el (mac-service-insert-text):
* startup.el (fancy-about-screen):
* progmodes/vhdl-mode.el (vhdl-decision-query):
* progmodes/idlwave.el (idlwave-template)
(idlwave-scroll-completions, idlwave-display-completion-list):
* progmodes/ebrowse.el (ebrowse-show-progress):
* progmodes/cperl-mode.el (cperl-find-pods-heres):
* progmodes/antlr-mode.el (antlr-insert-option-do):
* play/mpuz.el (mpuz-close-game):
* net/rcirc.el (rcirc-next-active-buffer):
* mail/reporter.el (reporter-update-status):
* kmacro.el (kmacro-display):
* international/ja-dic-cnv.el (skkdic-set-okuri-nasi):
* emulation/viper-util.el (viper-save-setting):
* emacs-lisp/lisp-mnt.el (lm-verify):
* emacs-lisp/edebug.el (edebug-set-mode):
* emacs-lisp/checkdoc.el (checkdoc-rogue-spaces, checkdoc-defun):
* calendar/calendar.el (calendar-print-day-of-year):
* calc/calcalg3.el (calc-curve-fit):
* calc/calcalg2.el (math-integral):
* calc/calc.el (calc-read-key-sequence, calc-version):
* calc/calc-mode.el (calc-set-simplify-mode):
* calc/calc-ext.el (calc-fancy-prefix): Fix buggy call to
`message'.
2007-12-08 01:02:29 +00:00
Juri Linkov
079fa3cb26 Rename save-buffers-kill-terminal to save-buffers-kill-emacs
to fix previous commit.
2007-11-11 20:23:23 +00:00
Juri Linkov
c7de83fe3d Backport startup screen related changes from the trunk. 2007-11-10 21:18:48 +00:00
Miles Bader
18cd1f1a08 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 902-908)

   - Update from CVS
   - Merge from emacs--rel--22

 * emacs--rel--22  (patch 131-137)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 261-262)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-278
2007-10-27 09:12:07 +00:00
Stefan Monnier
70b8d0a4a3 Make `window-system' into a keyboard-local variable (rather than
frame-local as done originally by multi-tty).

* startup.el (window-system): Remove.  Don't make it frame-local.

* keyboard.h (struct kboard): Add Vwindow_system.
* keyboard.c (init_kboard): Set a default for Vwindow_system.
(mark_kboards): Mark Vwindow_system.

* dispnew.c (syms_of_display) <window-system>: Declare terminal-local.
(init_display): Don't set the obsolete `window-system' frame-param.

* xterm.c (x_term_init):
* w32term.c (w32_create_terminal):
* term.c (init_tty): Set Vwindow_system.
* macterm.c (mac_create_terminal): Set a keyboard (missing piece of the
multi-tty merge maybe?), copied from w32term.c.  Set Vwindow_system.

* xfns.c (Fx_create_frame, x_create_tip_frame):
* w32fns.c (Fx_create_frame, x_create_tip_frame):
* macfns.c (Fx_create_frame):
Don't set the obsolete `window-system' frame-param.

* frame.h (Qwindow_system): Remove.
* frame.c (Qwindow_system): Remove.  In `syms_of_frame' as well.
(Fmake_terminal_frame): Don't set obsolete `window-system' frame-param.
2007-10-25 02:38:41 +00:00
Miles Bader
63655c8314 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 887-889)

   - Update from CVS
   - Merge from emacs--rel--22

 * emacs--rel--22  (patch 116-121)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-268
2007-10-15 05:03:21 +00:00
Juri Linkov
0972361583 (fancy-startup-tail): Say exactly what does the button
dismiss ("Dismiss this startup screen").  Use text "Never show
it again" for the checkbox after this button.
(fancy-startup-screen, fancy-about-screen): Put point before the
first link, so the user can quickly select links with the keyboard.
(normal-mouse-startup-screen): Add more useful text describing how
to follow a link.
2007-10-14 20:42:05 +00:00
Miles Bader
2b42d458a4 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 880-885)

   - Remove RCS keywords from doc/misc/cc-mode.texi
   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-264
2007-10-13 05:53:03 +00:00
Chong Yidong
04ef26186e (command-line-1): Comment out unused code for coping with the old
sit-for behavior.
2007-10-12 19:00:30 +00:00
Chong Yidong
3d9d55e6fd (fancy-startup-screen): Remove an unnecessary newline and some
leftover logic regarding dedicated frames.  If showing concise startup
screen, fit window to buffer.
(command-line-1): If we will be using the splash screen, use find-file
instead of find-file-other-window to find additional files.
2007-10-12 18:56:00 +00:00
Glenn Morris
d5bd255857 (command-line): Do not read abbrev file in batch mode. 2007-10-12 06:28:54 +00:00
Glenn Morris
5f14478455 Comment. 2007-10-12 02:50:38 +00:00
Glenn Morris
dbffff5b06 Comment. 2007-10-12 02:49:58 +00:00
Miles Bader
ecb21060d5 Merge from emacs--devo--0
Patches applied:

 * emacs--devo--0  (patch 866-879)

   - Merge multi-tty branch
   - Update from CVS
   - Merge from emacs--rel--22

Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-257
2007-10-11 16:14:00 +00:00
David Kastrup
aa5310e43a (argv): Alias for `command-line-args-left' to use as
`(pop argv)' inside of --eval command sequences.  Allows for
passing shell commands into Emacs verbatim without need for Lisp
quoting.
2007-09-30 20:43:14 +00:00
Juanma Barranquero
e18c18e870 (command-line): Use mapc' rather than mapcar'. 2007-09-25 11:14:28 +00:00
Juri Linkov
6e0cfad326 (fancy-startup-text, fancy-about-text, fancy-startup-tail):
Add help-echo to external links and to links without description.
(fancy-splash-insert): Use help-echo from the 3rd element of the
link specification list, or "Follow this link" if it's nil.  Doc fix.
2007-09-22 22:14:51 +00:00
Juri Linkov
1cff9ad172 (command-line): Rename `inhibit-startup-message' to
`inhibit-startup-screen'.
(fancy-about-text): Use shorter label for "Ordering Manuals".
(fancy-startup-tail): Add optional arg `concise'.  When `concise'
is nil, display a line with "To start..." and 3 links to useful
tasks.  Display the "Dismiss" button and "Don't show this message
again" only when concise is non-nil.
(fancy-startup-screen): Call `fancy-startup-tail' with optional
arg `concise'.  If CONCISE is non-nil, display a concise version
of the splash screen in another window.  Otherwise, switch to the
startup buffer in the same window.
(startup-echo-area-message): Change displayed binding from
C-h C-p (describe-project) to C-h C-a (about-emacs), and change
text "about the GNU system and GNU/Linux" to "about GNU Emacs and
the GNU system".
(display-startup-screen): Fix buffer name from "*About GNU Emacs*"
to "*GNU Emacs*".
(display-about-screen): Don't check the existence of the buffer
"*About GNU Emacs*".
(display-splash-screen): Make alias to `display-startup-screen'.
(command-line-1): Rename `inhibit-startup-message' to
`inhibit-startup-screen'.  Inhibit startup screen when Emacs is
started with command line options "-f", "-funcall", "-e", "-eval",
"-execute", "-insert", "-find-file", "-file", "-visit".
Inhibit startup screen when Emacs is started with a file name only
on tty (i.e. don't inhibit it when started with a file name like
"emacs FILE..." on a window system).
(command-line-1): Simplify logic of displaying the startup screen:
if file-count > 0, then display the concise version in another
window, otherwise display full version in the same window.
2007-09-22 14:02:38 +00:00
Stefan Monnier
351e3a03f9 (normal-top-level): Remove left over debug message. 2007-09-21 07:24:41 +00:00