* emacs.c (main): Print and error and exit when no data is read
[bpt/emacs.git] / lisp / ChangeLog
index 3239357..0c06b01 100644 (file)
@@ -1,6 +1,236 @@
+2008-12-18  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * startup.el (command-line): Do not mention the server name in
+       case the user has not mentioned it, print a more explicit message.
+
+       * vc-dir.el (vc-dir-at-event): Rename from vc-at-event.  Change
+       all callers.
+
+2008-12-18  Sam Steingold  <sds@gnu.org>
+
+       * vc-dir.el (vc-at-event): Handle (tool-bar) events. Fix bug#1585.
+
+2008-12-18  Juri Linkov  <juri@jurta.org>
+
+       * isearch.el (minibuffer-local-isearch-map): Unbind "C-w" from
+       `isearch-edit-string-set-word'.
+       (isearch-edit-string-set-word): Remove.
+       (isearch-occur): Imitate the C function `wordify' by replacing
+       non-word character with the \\W+ regexp.
+       (isearch-search-fun): Add `isearch-nonincremental' to the
+       condition of using a non-lax version of `word-search-forward'.
+
+2008-12-17  Daiki Ueno  <ueno@unixuser.org>
+
+       * epa-file.el (epa-file-insert-file-contents): Set
+       buffer-file-name before decrypting a file.
+
+2008-12-16  Juanma Barranquero  <lekktu@gmail.com>
+
+       * 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-15  Sam Steingold  <sds@gnu.org>
+
+       * progmodes/cc-cmds.el (c-defun-name): Handle DEFFOO(name,...),
+       mostly for CLISP modules, but could also be useful elsewhere.
+
+2008-12-15  Juanma Barranquero  <lekktu@gmail.com>
+
+       * face-remap.el (text-scale-mode-step, buffer-face-mode-face):
+       * icomplete.el (icomplete-prospects-height):
+       * textmodes/bibtex.el (bibtex-cite-matcher-alist): Add :version tags.
+
+2008-12-15  Juanma Barranquero  <lekktu@gmail.com>
+
+       * international/mule.el (find-auto-coding): Fix typo in docstring.
+
+       * international/mule-cmds.el (select-safe-coding-system):
+       * mail/rmail.el (rmail-require-mime-maybe):
+       Fix arguments of `display-warning'.
+
+       * simple.el (bad-package-check): Fix arguments of `display-warning',
+       using the package name as TYPE.  Use `string-match-p'.
+
+2008-12-14  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
+
+       * proced.el (proced-sort-interactive, proced-sort-pcpu)
+       (proced-sort-pmem, proced-sort-start, proced-sort-time)
+       (proced-sort-user, proced-sort-header): Prefix arg determines
+       sorting order.  Suggested by Dan Nicolaescu.
+       (proced-revert): Doc fix.
+
+2008-12-14  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
+
+       * proced.el (proced-grammar-alist): Allow refiner elements that
+       are cons pairs (function . help-echo) or nil.
+       (proced-refine): Use them.
+       (proced-format-alist): Allow alternatives.
+       (proced-descend): New variable.
+       (proced-sort): New arg descend.
+       (proced-sort-interactive): Repeated calls toggle sort order.
+       (proced-format): Accomodate changes of proced-format-alist.
+       Undefined attributes are displayed as "?".
+       (proced-process-attributes): New optional arg pid-list.
+       Ignore processes with empty attribute list.
+
+2008-12-14  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
+
+       * proced.el (proced-auto-update-interval): Renamed from
+       proced-timer-interval.
+       (proced-auto-update-flag): Renamed from proced-timer-flag.
+       (proced-auto-update-timer): Renamed from proced-timer.
+       (proced-toggle-auto-update): Renamed from
+       proced-toggle-timer-flag.
+       (proced-available): Initialize appropriately.
+
+2008-12-13  Glenn Morris  <rgm@gnu.org>
+
+       * subr.el (declare-function): Doc fix.
+
+       * font-core.el (font-lock-defaults): Doc fix: mention levels;
+       refer to elisp manual.
+
+2008-12-12  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (fit-window-to-buffer): Return non-nil when height
+       was orderly adjusted, nil otherwise.
+
+2008-12-12  Juanma Barranquero  <lekktu@gmail.com>
+           Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * server.el (server-sentinel): Uncomment code to delete connection file.
+       (server-start): Save the connection file in the server property list.
+       Delete it only when we are reasonably convinced that it is not owned by
+       a running server.
+       (server-force-delete): New command to force-delete the connection file,
+       and stop the server if it is running.
+       (server-running-p): Return t also for local TCP servers when we find a
+       process with a matching PID, and :other for undecided cases.
+
+2008-12-11  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (fit-window-to-buffer): Use with-selected-window and
+       condition-case.  Do not delete more windows than necessary in
+       the shrinking (delta < 0) case.  Do not raise an error when the
+       containing frame is too small to show all of buffer.  (Bug#1488)
+       * dired.el (dired-pop-to-buffer): Call fit-window-to-buffer with
+       min-height arg 1 to make sure that small buffers are shown.
+
+2008-12-11  Juanma Barranquero  <lekktu@gmail.com>
+
+       * progmodes/ruby-mode.el (ruby-mode-abbrev-table, ruby-mode-map)
+       (ruby-mode-syntax-table, ruby-indent-tabs-mode, ruby-indent-level)
+       (ruby-mode-variables, ruby-indent-line, ruby-indent-size)
+       (ruby-calculate-indent, ruby-electric-brace, ruby-beginning-of-defun)
+       (ruby-here-doc-beg-syntax, ruby-here-doc-end-syntax)
+       (ruby-font-lock-syntax-table, ruby-font-lock-keywords)
+       (ruby-end-of-defun, ruby-move-to-block, ruby-forward-sexp)
+       (ruby-backward-sexp, ruby-add-log-current-method)
+       (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
+       (ruby-in-here-doc-p, ruby-mode): Fix typos in docstrings.
+       (ruby-deep-indent-paren): Doc fix.
+       (ruby-insert-encoding-magic-comment): Remove * from docstring.
+       (ruby-here-doc-find-end): Reflow docstring.
+
+2008-12-11  Stephen Berman  <Stephen.Berman@rub.de>
+
+       * dired.el (dired-pop-to-buffer): Use fit-window-to-buffer when
+       dired-shrink-to-fit is non-nil.  (Bug#1488)
+
+2008-12-11  Juanma Barranquero  <lekktu@gmail.com>
+
+       * w32-fns.el (w32-list-locales): Revert part of 2008-10-17 change;
+       decoding of long locale info is now done in `w32-get-locale-info'.
+
+2008-12-11  Chong Yidong  <cyd@stupidchicken.com>
+
+       * progmodes/ruby-mode.el: Fix auto-mode-alist entry.
+
+2008-12-10  Chong Yidong  <cyd@stupidchicken.com>
+
+       * Makefile.in (ELCFILES): Add ruby-mode.elc.
+
+       * term/xterm.el (xterm-remove-modify-other-keys): Fix error in
+       terminal variable assignment.
+
+2008-12-10  Yukihiro Matsumoto  <matz@ruby-lang.org>
+           Nobuyoshi Nakada  <nobu@ruby-lang.org>
+
+       * progmodes/ruby-mode.el: New file.
+
+2008-12-10  Juanma Barranquero  <lekktu@gmail.com>
+
+       * net/tramp.el (top): Don't fail if there is no current message.
+       [Ulrich Mueller sent a patch, which I saw too late.]  (Bug#1514)
+
+2008-12-10  Kenichi Handa  <handa@m17n.org>
+
+       * international/fontset.el (setup-default-fontset): Add an entry
+       for characters in the Unicode SIP area.
+
+2008-12-10  Glenn Morris  <rgm@gnu.org>
+
+       * vc-mcvs.el: Move to obsolete/, with warning comment.
+       * Makefile.in (ELCFILES): Update.
+
+2008-12-10  Daiki Ueno  <ueno@unixuser.org>
+
+       * epa-hook.el (epa-file-find-file-hook): Don't mark the current
+       buffer unmodified.  (Bug#1509)
+       * epa-file.el (epa-file-insert-file-contents): Set buffer's
+       modification time if visiting a file and the content is
+       successfully decrypted.
+
+2008-12-09  Chong Yidong  <cyd@stupidchicken.com>
+
+       * files.el (save-some-buffers): At each map-y-or-n-p iteration,
+       check whether the buffer is still alive.
+
+2008-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/rx.el (rx-submatch): Pass : to rx-form.
+
+2008-12-09  Glenn Morris  <rgm@gnu.org>
+
+       * Makefile.in (ELCFILES): Update.
+
+2008-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * autoinsert.el (auto-insert): Use expand-file-name instead of concat.
+       Suggested by Eric Hanchrow <eric.hanchrow@gmail.com>.
+
+2008-12-06  Chong Yidong  <cyd@stupidchicken.com>
+
+       * term/xterm.el (terminal-init-xterm): Discard pending input
+       before reading a reply to the terminal attributes query.
+
+2008-12-05  Andreas Schwab  <schwab@suse.de>
+
+       * dired.el (dired-font-lock-keywords): Fix last change.
+
+2008-12-05  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
+
+       * ps-bdf.el (bdf-directory-list): Transform (defvar ... "*..")
+       into (defcustom ... "..." :type ... :group...).
+
+2008-12-05  Juanma Barranquero  <lekktu@gmail.com>
+
+       * international/mule-diag.el (mule-diag): Display the window
+       system version in a less laconic way.
+
+2008-12-04  Juanma Barranquero  <lekktu@gmail.com>
+
+       * ibuffer.el (ibuffer-sort-bufferlist): Require ibuf-ext
+       if the sorting functions are not loaded.  (Bug#1432)
+
 2008-12-04  Sam Steingold  <sds@gnu.org>
 
-       * progmodes/compile.el (compilation-read-command): Extracted from
+       * progmodes/compile.el (compilation-read-command): Extract from
        compile.
        (compile): Use it.
        (recompile): Accept an optional argument to enable editing the
 
        * net/tramp.el (top): Write a message, when loading Tramp.
 
-       * net/tramp-cache.el (tramp-dump-connection-properties): Polish
-       the check, whether to dump the data.
+       * net/tramp-cache.el (tramp-dump-connection-properties):
+       Polish the check, whether to dump the data.
 
 2008-12-04  Lute Kamstra  <lute@gnu.org>
 
        * wdired.el (wdired-finish-edit): If displaying a single file,
        change dired-directory if that file was renamed.
 
-       * emacs-lisp/byte-run.el (macro-declaration-function): Disallow
-       declare specs with lengths of 3 or more.
+       * emacs-lisp/byte-run.el (macro-declaration-function):
+       Disallow declare specs with lengths of 3 or more.
 
        * dirtrack.el (dirtrack): Fix error message.
 
 
 2008-11-29  Chong Yidong  <cyd@stupidchicken.com>
 
-       * complete.el (PC-do-complete-and-exit): Use
-       minibuffer-confirm-exit-commands.
+       * complete.el (PC-do-complete-and-exit):
+       Use minibuffer-confirm-exit-commands.
 
-       * minibuffer.el (minibuffer-confirm-exit-commands): Add
-       PC-complete and PC-complete-word to the list.
+       * minibuffer.el (minibuffer-confirm-exit-commands):
+       Add PC-complete and PC-complete-word to the list.
 
 2008-11-29  Juanma Barranquero  <lekktu@gmail.com>
 
        * international/characters.el: Set category 'C' to characters
        #x20000..#x2AFFF, #x2F800..#x2FFFF.
 
-       * loadup.el: Set inhibit-load-charset-map to t while preloading
-       files.
+       * loadup.el: Set inhibit-load-charset-map to t while preloading files.
 
 2008-11-27  Chong Yidong  <cyd@stupidchicken.com>
 
        * tool-bar.el (tool-bar-find-image-cache): Var deleted.
        (tool-bar-find-image): Function deleted.
-       (tool-bar-local-item, tool-bar-local-item-from-menu): Use
-       find-image instead of tool-bar-find-image.
+       (tool-bar-local-item, tool-bar-local-item-from-menu):
+       Use find-image instead of tool-bar-find-image.
        (tool-bar-keymap-cache): New hash table.
        (tool-bar-make-keymap): Use it.
        (tool-bar-make-keymap-1): Move body of tool-bar-make-keymap here.
 
 2008-11-24  Ulf Jasper  <ulf@web.de>
 
-       * net/newst-treeview.el (newsticker--treeview-current-feed): Doc
-       string.
-       (newsticker--treeview-item-show): Renamed arg FEED to
-       FEED-NAME-SYMBOL.
-       (newsticker--treeview-tree-update-tag): Removed dead code.
+       * net/newst-treeview.el (newsticker--treeview-current-feed): Docstring.
+       (newsticker--treeview-item-show): Rename arg FEED to FEED-NAME-SYMBOL.
+       (newsticker--treeview-tree-update-tag): Remove dead code.
        (newsticker-treeview-update): Don't update cache.
        (newsticker-treeview-quit): Don't save cache.
        (newsticker-treeview-save): Don't save cache. Use `newsticker-dir'.
        (newsticker-stop): Use `newsticker--cache-save'.
        (newsticker--sentinel-work): Use `newsticker--cache-save-feed'.
        (newsticker--images-dir): New.
-       (newsticker--image-get, newsticker--image-sentinel): Use
-       `newsticker--images-dir'.
-       (newsticker--cache-save-version1): Backuped version of
+       (newsticker--image-get, newsticker--image-sentinel):
+       Use `newsticker--images-dir'.
+       (newsticker--cache-save-version1): Backup version of
        `newsticker--cache-save'.
        (newsticker--cache-update): Create newsticker-dir if necessary.
        (newsticker--cache-dir): New.
        cache data..
        (newsticker--cache-read, newsticker--cache-do-read): New.
 
-       * net/newst-reader.el (newsticker--image-read): Use
-       `newsticker--images-dir'.
+       * net/newst-reader.el (newsticker--image-read):
+       Use `newsticker--images-dir'.
 
 2008-11-24  Chong Yidong  <cyd@stupidchicken.com>
 
-       * files.el (confirm-nonexistent-file-or-buffer): Allow
-       `after-completion' value to request confirm only after TAB.
+       * files.el (confirm-nonexistent-file-or-buffer):
+       Allow `after-completion' value to request confirm only after TAB.
        (confirm-nonexistent-file-or-buffer): New function.
        (read-buffer-to-switch, find-file, find-file-other-window)
        (find-file-other-frame, find-file-read-only)
        (find-file-read-only-other-window)
        (find-file-read-only-other-frame): Use it.
-       (switch-to-buffer-other-window, switch-to-buffer-other-frame): Doc
-       fix.
+       (switch-to-buffer-other-window, switch-to-buffer-other-frame): Doc fix.
        Thanks to Alan Mackenzie for suggesting the new behavior.
 
-       * minibuffer.el (minibuffer-complete-and-exit): Change
-       `confirm-only' value of minibuffer-completion-confirm to
+       * minibuffer.el (minibuffer-complete-and-exit):
+       Change `confirm-only' value of minibuffer-completion-confirm to
        `confirm', and handle a `confirm-after-completion' value.
 
 2008-11-24  Juanma Barranquero  <lekktu@gmail.com>
 
 2008-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
 
-       * viper.el: Date change.
+       * emulation/viper.el: Date change.
 
-       * viper-cmd.el (viper-envelop-ESC-key):
+       * emulation/viper-cmd.el (viper-envelop-ESC-key):
        viper-translate-all-ESC-keysequences is now a function.
 
-       * viper-init (viper-translate-all-ESC-keysequences): Make this variable.
+       * emulation/viper-init.el (viper-translate-all-ESC-keysequences):
+       Make this variable.
 
 2008-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * net/xesam.el (xesam-kill-buffer-function): Wrap code by
        `ignore-errors' (the function must succeed always).
 
-2008-08-28  "Edward O'Connor"  <hober0@gmail.com>
+2008-08-28  Edward O'Connor  <hober0@gmail.com>
 
        * json.el (json-read-number): New arg.  Handle explicitly signed
        numbers.
 
        * calendar/calendar.el (increment-calendar-month): Optionally handle
        systems without 12 months per year.
-
        (calendar-date-is-visible-p): Doc fix.  Simplify.
 
        * calendar/holidays.el (holiday-filter-visible-calendar): Return result