1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-29 11:02:01 +00:00
Commit Graph

698 Commits

Author SHA1 Message Date
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Dan Nicolaescu
fd95644b93 * emacs.c (main): Print and error and exit when no data is read
from the pipe.

* startup.el (command-line): Do not mention the server name in
case the user has not mentioned it, print a more explicit message.

* emacsclient.c (start_daemon_and_retry_set_socket): Improve error
checking.
2008-12-18 08:48:26 +00:00
Juanma Barranquero
35f372cadf * server.el (server-start): If unable to start the server,
display a warning instead of raising an error.

* startup.el (server-process): Add defvar.
  (command-line): If the daemon is unable to start the server,
  display a message and exit Emacs.
2008-12-16 21:23:03 +00:00
Juri Linkov
85b843194e (initial-buffer-choice): Change an abstract file name
"file.txt" to more reasonable default file name value "~/.emacs".
2008-11-22 20:45:09 +00:00
Chong Yidong
ca2672917a (fancy-startup-text): Give "Emacs tutorial" line the usual
variable-pitch face.
2008-11-16 06:53:06 +00:00
Eli Zaretskii
5463218ceb (command-line): Ignore init-file-user when checking user's home directory
on MS-DOS as well.
2008-11-08 13:16:17 +00:00
Chong Yidong
2eb92184e9 (startup-echo-area-message): Display a different message in daemon
mode.  Suggested by Stephen Turnbull.
2008-11-04 16:54:25 +00:00
Juanma Barranquero
eeaa563e84 * startup.el (inhibit-startup-screen): Reflow docstring.
(user-mail-address, tool-bar-images-pixel-height): Fix docstring typos.
2008-10-28 11:17:05 +00:00
Dan Nicolaescu
4ff029f613 * emacs.c (daemon_name): New variable.
(main): Deal with --daemon=SERVER_NAME.
(Fdaemonp): Return a name if one was passed to --daemon.

* startup.el (server-name): Pacify byte compiler.
(command-line): If --daemon=SERVER_NAME was used, set server-name
before calling server-start.

* cmdargs.texi (Initial Options): Document -daemon=SERVER_NAME.
2008-10-27 07:02:30 +00:00
Dan Nicolaescu
5790ef40ba * startup.el (command-line): Call daemon-initialized after
starting the server.
* emacs.c (daemon_pipe): New variable
(main): Create a pipe before forking, make the parent exit only after
the child has closed its end of the pipe.  Move closing the
descriptors ...
(Fdaemon_initialized): ... here.  New function.
2008-10-26 19:05:47 +00:00
Juanma Barranquero
ea6c930a8d * completion.el (add-completion-to-head, add-completion): Doc fixes.
(completion-search-next, add-completions-from-file):
  Fix typos in docstrings.

* filesets.el (filesets-menu-ensure-use-cached)
  (filesets-ingroup-patterns, filesets-filetype-property):
* tutorial.el (get-lang-string):
* play/gamegrid.el (gamegrid-score-file-length, gamegrid-add-score):
  Fix typos in docstrings.

* image-dired.el (image-dired-dired-after-readin-hook): Doc fix.
  (image-dired-line-up-method, image-dired-thumb-size)
  (image-dired-cmd-write-exif-data-options, image-dired-write-tags)
  (image-dired-track-original-file, image-dired-track-thumbnail)
  (image-dired-dired-next-line, image-dired-dired-previous-line)
  (image-dired-write-comments): Reflow docstrings.
  (image-dired-show-all-from-dir-max-files)
  (image-dired-format-properties-string, image-dired-create-thumbs)
  (image-dired-mark-tagged-files, image-dired-gallery-generate):
  Fix typos in docstrings.

* savehist.el (savehist-save-minibuffer-history, savehist-file)
  (savehist-additional-variables, savehist-ignored-variables)
  (savehist-file-modes, savehist-autosave-interval):
* startup.el (inhibit-startup-echo-area-message, inhibit-default-init)
  (inhibit-startup-buffer-menu, mail-host-address, user-mail-address)
  (fancy-splash-image):
* thumbs.el (thumbs-thumbsdir, thumbs-geometry, thumbs-relief)
  (thumbs-conversion-program, thumbs-margin):
  Remove spurious * in docstrings.
2008-10-25 00:46:25 +00:00
Juanma Barranquero
945a0a0ccc Revert part of last change; it breaks bootstrapping on some systems. 2008-10-24 22:50:13 +00:00
Juanma Barranquero
d6c180c46b New function `locate-user-emacs-file'.
* subr.el (locate-user-emacs-file): New function.
  (user-emacs-directory): Mention it in docstring.

* completion.el (save-completions-file-name):
* filesets.el (filesets-menu-cache-file):
* image-dired.el (image-dired-dir, image-dired-db-file)
  (image-dired-temp-image-file, image-dired-gallery-dir)
  (image-dired-temp-rotate-image-file):
* savehist.el (savehist-file):
* server.el (server-auth-dir):
* startup.el (auto-save-list-file-prefix):
* thumbs.el (thumbs-thumbsdir):
* tutorial.el (tutorial--saved-dir):
* play/gamegrid.el (gamegrid-user-score-file-directory): Use it.

* url.el (url-configuration-directory): Use `locate-user-emacs-file'.

* NEWS: New function `locate-user-emacs-file'.
2008-10-24 09:39:27 +00:00
Chong Yidong
d2b2930a59 (command-line): If toolbar is disabled but ought to be initialized,
call tool-bar-setup.
2008-10-12 16:59:01 +00:00
Dan Nicolaescu
32f1cc7b8c (command-line): Revert 2008-09-26 change, not
necessary anymore.
2008-10-11 12:56:26 +00:00
Eli Zaretskii
41b3bdd3c4 (command-line): Don't invoke tool-bar-mode if it is not fboundp. 2008-10-10 08:54:08 +00:00
Chong Yidong
008330eada (command-line): Enable tool-bar-mode as long as it is not suppressed
by X resources, regardless of the terminal.
2008-10-09 19:31:51 +00:00
Chong Yidong
f2602864b6 (command-line): Use display-warning to warn about an init file error.
(command-line-1): Remove init file error delay.
2008-10-07 19:47:49 +00:00
Chong Yidong
981c5d1daa (before-init-time, after-init-time): Move into emacs.c.
(command-line): Set after-init-time to nil before initialization.
2008-10-06 16:16:30 +00:00
Romain Francoise
7581ba4099 (command-line): Start the daemon server later. 2008-09-28 09:37:09 +00:00
Dan Nicolaescu
b082f79218 (command-line): Turn on menu-bar-mode and
tool-bar-mode when running as a daemon.
2008-09-26 17:42:20 +00:00
Dan Nicolaescu
9ba6e7d4b6 (command-line): Remove always true test. 2008-09-21 23:32:49 +00:00
Dan Nicolaescu
eab2ee8944 * emacs.c (standard_args): Add --daemon.
(main): Disconnect from the terminal when --daemon is passed.
(is_daemon): New variable.
(Fdaemonp): New function.
(syms_of_emacs): Defsubr it.

* startup.el (command-line): Start the server when in daemon mode.

* cmdargs.texi (Initial Options): Document --daemon.
2008-09-21 23:31:40 +00:00
Eli Zaretskii
a5b5acaf92 (command-line): Don't call tty-register-default-colors if
initial-window-system is `pc'.
2008-08-23 16:59:19 +00:00
Adrian Robert
55e8d9a557 * startup.el (command-line-ns-option-alist): Use ignore instead of ns-ignore-0-arg. * term/ns-win.el (ns-ignore-0-arg, mouse-extend-region) (ns-win-suspend-error, ns-yes-or-no-p, colors): Drop. (ns-alternatives-map): New variable. (x-set-up-function-keys): Use it. (global): Comment out 'put backspace ascii-character...' and friends. Move function-key-map into ns-alternatives-map. Don't call precompute-menubar-bindings. Don't set anything connected with browse-url. (after-make-frame-functions): Clarify comment why a hook is added. 2008-08-07 03:10:08 +00:00
Dan Nicolaescu
7c2fb837ec * bitmaps/README:
* xfns.c:
* termcap.c:
* term.c:
* syswait.h:
* systty.h:
* systime.h:
* syssignal.h:
* sysdep.c:
* process.h:
* process.c:
* print.c:
* ndir.h:
* lread.c:
* keyboard.c:
* getpagesize.h:
* floatfns.c:
* fileio.c:
* emacs.c:
* doc.c:
* dispnew.c:
* dired.c:
* data.c:
* callproc.c:
* buffer.c:
* README:
* Makefile.in:
* s/template.h:
* s/msdos.h:
* m/vax.h: Remove VMS support.
* s/vms.h:
* vlimit.h:
* uaf.h:
* temacs.opt:
* param.h:
* ioctl.h: Remove file.

* descrip.mms:
* compile.com: Remove file.
* Create.c: Remove VMS support.

* message.el (Module):

* gnus-start.el (Module):

* gnus-registry.el (Module):

* textmodes/texinfmt.el:
* nxml/nxml-enc.el:
* mail/feedmail.el:
* international/mule.el:
* international/latexenc.el:
* emulation/viper-util.el:
* emulation/viper-init.el:
* emulation/viper-ex.el:
* emacs-lisp/bytecomp.el:
* version.el:
* subr.el:
* startup.el:
* sort.el:
* shadowfile.el:
* recentf.el:
* printing.el:
* paths.el:
* minibuffer.el:
* ls-lisp.el:
* loadup.el:
* hippie-exp.el:
* finder.el:
* files.el:
* ediff-util.el:
* ediff-ptch.el:
* ediff-init.el:
* ediff-diff.el:
* dired.el:
* dired-aux.el:
* cus-edit.el:
* bindings.el:
* arc-mode.el:
* add-log.el: Remove VMS support.
* obsolete/vmsproc.el:
* obsolete/vms-pmail.el:
* obsolete/vms-patch.el: Remove file.

* etags.c:
* emacsclient.c: Remove VMS support.

* termcap.src: Remove file.
* README:
* PROBLEMS:
* MACHINES: Remove VMS info.

* ediff.texi: Remove VMS support.

* os.texi:
* intro.texi:
* files.texi: Remove VMS support.

* emacs.texi: Remove VMS support.

* make-dist:
* README: Remove VMS support.
* vms: Remove directory.
2008-07-31 05:33:56 +00:00
Dan Nicolaescu
9e2a264775 Remove support for Mac Carbon.
* mactoolbox.c:
* macterm.h:
* macterm.c:
* macselect.c:
* macmenu.c:
* macgui.h:
* macfns.c:
* mac.c: Remove file.
* s/darwin.h:
* m/intel386.h:
* xfaces.c:
* xdisp.c:
* window.c:
* tparam.c:
* termhooks.h:
* termcap.c:
* term.c:
* syssignal.h:
* sysselect.h:
* sysdep.c:
* process.c:
* lread.c:
* lisp.h:
* keyboard.c:
* image.c:
* fringe.c:
* frame.h:
* frame.c:
* fontset.c:
* font.h:
* font.c:
* fns.c:
* fileio.c:
* emacs.c:
* dispnew.c:
* dispextern.h:
* config.in:
* atimer.c:
* Makefile.in: Remove code for Carbon

* erc.el: Remove code for Carbon.

Remove support for Mac Carbon.
* term/mac-win.el: Remove file
* international/mule-cmds.el:
* version.el:
* startup.el:
* simple.el:
* mwheel.el:
* mouse.el:
* loadup.el:
* isearch.el:
* info.el:
* frame.el:
* faces.el:
* disp-table.el:
* cus-start.el:
* cus-face.el:
* cus-edit.el:
* Makefile.in: Remove code for Carbon.

Remove support for Mac Carbon.
* makefile.w32-in:
* emacsclient.c: Remove code for Carbon.

* PROBLEMS:
* MACHINES: Remove mentions of Mac Carbon.

* ns-emacs.texi:
* faq.texi: Remove mentions of Mac Carbon.

* os.texi:
* frames.texi:
* display.texi: Remove mentions of Mac Carbon.

* xresources.texi: Remove mentions of Mac Carbon.

* make-tarball.txt:
* admin.el:
* FOR-RELEASE:
* CPP-DEFINES: Remove mentions of Mac Carbon.

Remove support for Mac Carbon.
* mac: Remove directory.
* make-dist:
* configure.in:
* README:
* Makefile.in:
* INSTALL:  Remove code for Carbon.
* configure: Regenerate.
2008-07-27 18:24:48 +00:00
Dan Nicolaescu
3000e3f4e4 (command-line-1): Fix indentation. 2008-07-21 17:23:14 +00:00
Juri Linkov
bb39877908 (fancy-startup-text): Move the line "To quit a partially entered command,
type Control-g" a few lines below to be after the line "To start".
Add text "at gnu.org" to "Overview of Emacs features".
2008-07-19 23:55:02 +00:00
Juanma Barranquero
555b0992fd * lisp/startup.el (fancy-splash-head): Fix change of 2008-07-02.
* etc/images/splash8.xpm: Remove.
2008-07-18 14:22:24 +00:00
Adrian Robert
122e9f8f29 various small cleanups detailed in changelogs 2008-07-16 23:24:46 +00:00
Adrian Robert
edfda78355 merging Emacs.app (NeXTstep port) 2008-07-15 18:15:18 +00:00
Juanma Barranquero
68548459a1 Add new SVG and PNG splash images.
* etc/images/splash.png:
* etc/images/splash.svg:
* etc/images/gnus/gnus.png:
* etc/images/gnus/gnus.svg: New files.

* lisp/startup.el (fancy-splash-head):
* lisp/gnus/gnus.el (gnus-group-startup-message):
  Prefer SVG or PNG image, if available.
2008-07-02 01:49:03 +00:00
Chong Yidong
245a769859 (fancy-about-text, fancy-startup-tail): Increase text size for
legibility.
2008-06-21 19:52:27 +00:00
Glenn Morris
aa360da10d Add some compiler declarations, for builds without X. 2008-06-12 03:56:20 +00:00
Stefan Monnier
a1562258dc * window.c (Vwindow_point_insertion_type): New var.
(set_window_buffer): Use it.
(syms_of_window): Init and export it to Lisp.
* progmodes/compile.el (compilation-mode):
Set window-point-insertion-type.
(compilation-filter): Don't use insert-before-markers any more.
* emacs-lisp/trace.el (trace-make-advice):
Set window-point-insertion-type in the trace buffer.
* startup.el (normal-top-level): Set window-point-insertion-type in
*Messages*.
* net/telnet.el (telnet-mode): Set window-point-insertion-type.
(telnet-filter): Don't use insert-before-markers any more.
* comint.el (comint-mode): Set window-point-insertion-type.
(comint-output-filter): Don't use insert-before-markers any more.
* button.el (make-text-button): Allow `start' to be a string.
2008-06-10 16:08:48 +00:00
Glenn Morris
eb3fa2cfcf Switch to recommended form of GPLv3 permissions notice. 2008-05-06 08:06:51 +00:00
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