Adapt and fix the MS-DOS port due to gnulib imports.
authorEli Zaretskii <eliz@gnu.org>
Sat, 19 Feb 2011 19:56:29 +0000 (21:56 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 19 Feb 2011 19:56:29 +0000 (21:56 +0200)
 msdos/depfiles.bat: New file.
 msdos/sedlibmk.inp: New file.
 msdos/sedlibcf.inp: New file.
 msdos/sedleim.inp (RUN_EMACS): Rename from RUN-EMACS.
 (BUILT_EMACS): Rename from BUILT-EMACS.
 msdos/sed6.inp (MAKEINFO): Edit to "makeinfo".
 (ENVADD): Adjust to MAKEINFO_OPTS.
 (texinputdir): Don't edit.
 msdos/sed3v2.inp (-DVERSION): Edit out.
 (LOADLIBES): Don't edit to empty.
 msdos/sed2v2.inp: Remove workaround for the "#if ! HAVE_MKTIME ||
 BROKEN_MKTIME" stuff -- it's no longer in src/config.in.
 (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
 (HAVE__BOOL): Edit to 1.
 (VERSION, inline, restrict): Edit for DJGPP.
 (my_strftime): Edit to nstrftime.
 msdos/sed1v2.inp (NS_OBJC_OBJ): Edit to empty.
 (@true): Edit to "@rem".
 (move-if-change): Edit to "update".
 (echo): Edit to "djecho".
 (cd $(lib) && ...): Edit to "$(MAKE) -C ...".
 (LIBOBJS): Edit to empty.
 ($(libsrc)/make-docfile): Two new edits, one each for every
 invocation of make-docfile.
 (move-if-change): Fix edit.
 Remove some unused switches from $(ALL_CFLAGS), to make the GCC
 command line shorter.
 msdos/mainmake.v2 (version): Remove, no longer needed (config.in
 defines VERSION).
 (all): Add lib.
 (lib): New target and recipe.
 (lib-src): Depend on lib.
 (src): Depend on lib and lib-src.
 (clean, mostlyclean, distclean, maintainer-clean, extraclean)
 (bootstrap-clean): Recurse into lib.
 (lib, lib-src, src): Specify "all" as an explicit target.
 .bzrignore: Ignore cxxdefs.h and lib/*.in-h files.
 Add lib/deps/.
 config.bat: Configure in `lib'.
 Generate *.Po files in lib/deps.
 src/termcap.c (tputs): Don't declare baud_rate.
 src/s/msdos.h (strtold): Define to _strtold.

71 files changed:
doc/emacs/ChangeLog
doc/emacs/dired.texi
doc/lispintro/ChangeLog
doc/lispintro/emacs-lisp-intro.texi
doc/lispref/ChangeLog
doc/lispref/elisp.texi
doc/lispref/files.texi
doc/lispref/keymaps.texi
doc/lispref/variables.texi
doc/misc/ChangeLog
doc/misc/ada-mode.texi
doc/misc/auth.texi
doc/misc/autotype.texi
doc/misc/calc.texi
doc/misc/cc-mode.texi
doc/misc/cl.texi
doc/misc/dbus.texi
doc/misc/dired-x.texi
doc/misc/ebrowse.texi
doc/misc/ede.texi
doc/misc/ediff.texi
doc/misc/edt.texi
doc/misc/eieio.texi
doc/misc/emacs-mime.texi
doc/misc/epa.texi
doc/misc/erc.texi
doc/misc/eshell.texi
doc/misc/eudc.texi
doc/misc/flymake.texi
doc/misc/forms.texi
doc/misc/gnus.texi
doc/misc/idlwave.texi
doc/misc/mairix-el.texi
doc/misc/message.texi
doc/misc/mh-e.texi
doc/misc/newsticker.texi
doc/misc/nxml-mode.texi
doc/misc/org.texi
doc/misc/pcl-cvs.texi
doc/misc/pgg.texi
doc/misc/rcirc.texi
doc/misc/reftex.texi
doc/misc/remember.texi
doc/misc/sasl.texi
doc/misc/sc.texi
doc/misc/semantic.texi
doc/misc/ses.texi
doc/misc/sieve.texi
doc/misc/smtpmail.texi
doc/misc/speedbar.texi
doc/misc/tramp.texi
doc/misc/trampver.texi
doc/misc/url.texi
doc/misc/vip.texi
doc/misc/viper.texi
doc/misc/widget.texi
doc/misc/woman.texi
lisp/ChangeLog
lisp/dired-aux.el
lisp/dired-x.el
lisp/dired.el
lisp/files.el
lisp/gnus/ChangeLog
lisp/gnus/gnus.el
lisp/gnus/nnfolder.el
lisp/international/mule-cmds.el
lisp/mail/rmail.el
lisp/mail/rmailmm.el
lisp/simple.el
lisp/vc/log-edit.el
msdos/ChangeLog

index ec57887..f113a79 100644 (file)
@@ -1,3 +1,7 @@
+2011-02-19  Glenn Morris  <rgm@gnu.org>
+
+       * dired.texi (Dired): Dired-X version number was dropped.
+
 2011-02-14  Jan Djärv  <jan.h.d@swipnet.se>
 
        * xresources.texi (X Resources): Remove *faceName and replace it with
index 914c998..2f274d7 100644 (file)
@@ -23,7 +23,7 @@ files.  You first mark certain files in order to operate on all of
 them with one command.
 
   The Dired-X package provides various extra features for Dired mode.
-@xref{Top, Dired-X,,dired-x, Dired Extra Version 2 User's Manual}.
+@xref{Top, Dired-X,,dired-x, Dired Extra User's Manual}.
 
   You can also view a list of files in a directory with @kbd{C-x C-d}
 (@code{list-directory}).  Unlike Dired, this command does not allow
index a6897fc..d2e6954 100644 (file)
@@ -1,3 +1,7 @@
+2011-02-19  Eli Zaretskii  <eliz@gnu.org>
+
+       * emacs-lisp-intro.texi: Sync @dircategory with ../../info/dir.
+
 2011-01-23  Werner Lemberg  <wl@gnu.org>
 
        * Makefile.in (MAKEINFO): Now controlled by `configure'.
index 7b9ec75..11ceea1 100644 (file)
 
 @c ----------------------------------------------------
 
-@dircategory Emacs
+@dircategory GNU Emacs Lisp
 @direntry
 * Emacs Lisp Intro: (eintr).
                           A simple introduction to Emacs Lisp programming.
index 0f1f042..90eed00 100644 (file)
@@ -1,3 +1,23 @@
+2011-02-19  Eli Zaretskii  <eliz@gnu.org>
+
+       * elisp.texi: Sync @dircategory with ../../info/dir.
+
+       * files.texi (Visiting Functions): Document find-file-literally,
+       both the command and the variable.
+
+       * variables.texi (Creating Buffer-Local): Explain the meaning of
+       permanent local variables.
+
+       * files.texi (Visiting Functions): Document find-file-literally,
+       both the command and the variable.
+
+       * variables.texi (Creating Buffer-Local): Explain the meaning of
+       permanent local variables.
+
+2011-02-19  Glenn Morris  <rgm@gnu.org>
+
+       * keymaps.texi (Remapping Commands): Mention how to undo it.
+
 2011-02-09  Reuben Thomas  <rrt@sc3d.org>
 
        * loading.texi (Hooks for Loading): Remove unnecessary advice
index ad7931d..cc3ceb8 100644 (file)
@@ -62,7 +62,7 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory GNU Emacs Lisp
 @direntry
 * Elisp: (elisp).       The Emacs Lisp Reference Manual.
 @end direntry
index 46ebced..3697f18 100644 (file)
@@ -113,6 +113,26 @@ When @code{find-file} is called interactively, it prompts for
 @var{filename} in the minibuffer.
 @end deffn
 
+@deffn Command find-file-literally filename
+This command visits @var{filename}, like @code{find-file} does, but it
+does not perform any format conversions (@pxref{Format Conversion}),
+character code conversions (@pxref{Coding Systems}), or end-of-line
+conversions (@pxref{Coding System Basics, End of line conversion}).
+The buffer visiting the file is made unibyte, and its major mode is
+Fundamental mode, regardless of the file name.  File local variable
+specifications  in the file (@pxref{File Local Variables}) are
+ignored, and automatic decompression and adding a newline at the end
+of the file due to @code{require-final-newline} (@pxref{Saving
+Buffers, require-final-newline}) are also disabled.
+
+Note that if Emacs already has a buffer visiting the same file
+non-literally, it will not visit the same file literally, but instead
+just switch to the existing buffer.  If you want to be sure of
+accessing a file's contents literally, you should create a temporary
+buffer and then read the file contents into it using
+@code{insert-file-contents-literally} (@pxref{Reading from Files}).
+@end deffn
+
 @defun find-file-noselect filename &optional nowarn rawfile wildcards
 This function is the guts of all the file-visiting functions.  It
 returns a buffer visiting the file @var{filename}.  You may make the
@@ -224,6 +244,16 @@ This is not a normal hook because the values of the functions are
 used, and in many cases only some of the functions are called.
 @end defvar
 
+@defvar find-file-literally
+This buffer-local variable, if set to a non-@code{nil} value, makes
+@code{save-buffer} behave as if the buffer were visiting its file
+literally, i.e. without conversions of any kind.  The command
+@code{find-file-literally} sets this variable's local value, but other
+equivalent functions and commands can do that as well, e.g.@: to avoid
+automatic addition of a newline at the end of the file.  This variable
+us permanent local, so it is unaffected by changes of major modes.
+@end defvar
+
 @node Subroutines of Visiting
 @comment  node-name,  next,  previous,  up
 @subsection Subroutines of Visiting
index 4a2964b..af24ff5 100644 (file)
@@ -1508,6 +1508,12 @@ does not have the effect of remapping @code{kill-line} into
 if an ordinary binding specifies @code{my-kill-line}, this keymap will
 remap it to @code{my-other-kill-line}.
 
+To undo the remapping of a command, remap it to @code{nil}; e.g.
+
+@smallexample
+(define-key my-mode-map [remap kill-line] nil)
+@end smallexample
+
 @defun command-remapping command &optional position keymaps
 This function returns the remapping for @var{command} (a symbol),
 given the current active keymaps.  If @var{command} is not remapped
index 5b5f336..0cdcaa8 100644 (file)
@@ -1407,6 +1407,8 @@ subsequent major mode.  @xref{Hooks}.
 @cindex permanent local variable
 A buffer-local variable is @dfn{permanent} if the variable name (a
 symbol) has a @code{permanent-local} property that is non-@code{nil}.
+Such variables are unaffected by @code{kill-all-local-variables}, and
+their local bindings are therefore not cleared by changing major modes.
 Permanent locals are appropriate for data pertaining to where the file
 came from or how to save it, rather than with how to edit the contents.
 
index 882eec3..164fdc4 100644 (file)
@@ -1,7 +1,58 @@
+2011-02-19  Eli Zaretskii  <eliz@gnu.org>
+
+       * ada-mode.texi: Sync @dircategory with ../../info/dir.
+       * auth.texi: Sync @dircategory with ../../info/dir.
+       * autotype.texi: Sync @dircategory with ../../info/dir.
+       * calc.texi: Sync @dircategory with ../../info/dir.
+       * cc-mode.texi: Sync @dircategory with ../../info/dir.
+       * cl.texi: Sync @dircategory with ../../info/dir.
+       * dbus.texi: Sync @dircategory with ../../info/dir.
+       * dired-x.texi: Sync @dircategory with ../../info/dir.
+       * ebrowse.texi: Sync @dircategory with ../../info/dir.
+       * ede.texi: Sync @dircategory with ../../info/dir.
+       * ediff.texi: Sync @dircategory with ../../info/dir.
+       * edt.texi: Sync @dircategory with ../../info/dir.
+       * eieio.texi: Sync @dircategory with ../../info/dir.
+       * emacs-mime.texi: Sync @dircategory with ../../info/dir.
+       * epa.texi: Sync @dircategory with ../../info/dir.
+       * erc.texi: Sync @dircategory with ../../info/dir.
+       * eshell.texi: Sync @dircategory with ../../info/dir.
+       * eudc.texi: Sync @dircategory with ../../info/dir.
+       * flymake.texi: Sync @dircategory with ../../info/dir.
+       * forms.texi: Sync @dircategory with ../../info/dir.
+       * gnus.texi: Sync @dircategory with ../../info/dir.
+       * idlwave.texi: Sync @dircategory with ../../info/dir.
+       * mairix-el.texi: Sync @dircategory with ../../info/dir.
+       * message.texi: Sync @dircategory with ../../info/dir.
+       * mh-e.texi: Sync @dircategory with ../../info/dir.
+       * newsticker.texi: Sync @dircategory with ../../info/dir.
+       * nxml-mode.texi: Sync @dircategory with ../../info/dir.
+       * org.texi: Sync @dircategory with ../../info/dir.
+       * pcl-cvs.texi: Sync @dircategory with ../../info/dir.
+       * pgg.texi: Sync @dircategory with ../../info/dir.
+       * rcirc.texi: Sync @dircategory with ../../info/dir.
+       * reftex.texi: Sync @dircategory with ../../info/dir.
+       * remember.texi: Sync @dircategory with ../../info/dir.
+       * sasl.texi: Sync @dircategory with ../../info/dir.
+       * sc.texi: Sync @dircategory with ../../info/dir.
+       * semantic.texi: Sync @dircategory with ../../info/dir.
+       * ses.texi: Sync @dircategory with ../../info/dir.
+       * sieve.texi: Sync @dircategory with ../../info/dir.
+       * smtpmail.texi: Sync @dircategory with ../../info/dir.
+       * speedbar.texi: Sync @dircategory with ../../info/dir.
+       * trampver.texi [emacs]: Set emacsname to "Emacs".
+       * tramp.texi: Sync @dircategory with ../../info/dir.
+       * url.texi: Sync @dircategory with ../../info/dir.
+       * vip.texi: Sync @dircategory with ../../info/dir.
+       * viper.texi: Sync @dircategory with ../../info/dir.
+       * widget.texi: Sync @dircategory with ../../info/dir.
+       * woman.texi: Sync @dircategory with ../../info/dir.
+
 2011-02-19  Glenn Morris  <rgm@gnu.org>
 
        * dired-x.texi (Technical Details): No longer redefines dired-add-entry,
-       or dired-initial-position.
+       dired-initial-position, dired-clean-up-after-deletion, or
+       dired-read-shell-command.
 
 2011-02-18  Glenn Morris  <rgm@gnu.org>
 
index 4be88b4..66cdb20 100644 (file)
@@ -19,7 +19,7 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs editing modes
 @direntry
 * Ada mode: (ada-mode).         Emacs mode for editing and compiling Ada code.
 @end direntry
index 67f5b52..27c6691 100644 (file)
@@ -32,7 +32,7 @@ license to the document, as described in section 6 of the license.
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs lisp libraries
 @direntry
 * Auth-source: (auth).          The Emacs auth-source library.
 @end direntry
index bdf9ae7..2e66c78 100644 (file)
@@ -26,7 +26,7 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs misc features
 @direntry
 * Autotype: (autotype).         Convenient features for text that you
                                   enter frequently in Emacs.
index e98ea80..b9d4f8c 100644 (file)
@@ -111,7 +111,7 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs misc features
 @direntry
 * Calc: (calc).                 Advanced desk calculator and mathematical tool.
 @end direntry
index d4a8703..9ae9abd 100644 (file)
@@ -177,7 +177,7 @@ developing GNU and promoting software freedom.''
 
 @comment Info directory entry for use by install-info. The indentation
 @comment here is by request from the FSF folks.
-@dircategory Emacs
+@dircategory Emacs editing modes
 @direntry
 * CC Mode: (ccmode).            Emacs mode for editing C, C++, Objective-C,
                                 Java, Pike, AWK, and CORBA IDL code.
index 13fe9b5..afe7c94 100644 (file)
@@ -21,7 +21,7 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs lisp libraries
 @direntry
 * CL: (cl).                     Partial Common Lisp support for Emacs Lisp.
 @end direntry
index 64d577f..ad202f9 100644 (file)
@@ -25,7 +25,7 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs lisp libraries
 @direntry
 * D-Bus: (dbus).                Using D-Bus in Emacs.
 @end direntry
index 9f7b40c..c4e474f 100644 (file)
@@ -36,7 +36,7 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs misc features
 @direntry
 * Dired-X: (dired-x).           Dired Extra Features.
 @end direntry
@@ -177,22 +177,16 @@ Point}).
 @cindex Redefined functions
 @cindex @file{dired-aux.el}
 
-When loaded this code @emph{redefines} the following functions of GNU Emacs
-from @file{dired.el}
-
-@itemize @bullet
-@item
-@code{dired-clean-up-after-deletion}
-@item
-@code{dired-find-buffer-nocreate}
-@end itemize
-
-@noindent
-and from @file{dired-aux.el} the function @code{dired-read-shell-command}.
-In addition, once @file{dired.el} is loaded, @code{dired-add-entry}
-obeys Dired Omit mode (@pxref{Omitting Files in Dired}), if it is active.
-Similarly, @code{dired-initial-position} obeys @code{dired-find-subdir}
-(@pxref{Miscellaneous Commands}).
+When loaded this code @emph{redefines} the standard @file{dired.el}
+function @code{dired-find-buffer-nocreate}.  In addition, once
+@file{dired-x.el} is loaded, the following Dired functions offer
+additional features.  @code{dired-add-entry} obeys Dired Omit mode
+(@pxref{Omitting Files in Dired}), if it is active.
+@code{dired-initial-position} obeys @code{dired-find-subdir}
+(@pxref{Miscellaneous Commands}).  @code{dired-clean-up-after-deletion}
+respects the value of @code{dired-clean-up-buffers-too}.
+@code{dired-read-shell-command} uses @code{dired-guess-shell-command}
+(@pxref{Shell Command Guessing}) to offer a smarter default command.
 
 @node Installation, Omitting Files in Dired, Introduction, Top
 @chapter Installation
index 81a1ab0..19ee970 100644 (file)
@@ -26,7 +26,7 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs misc features
 @direntry
 * Ebrowse: (ebrowse).           A C++ class browser for Emacs.
 @end direntry
index 86228a2..bc097a8 100644 (file)
@@ -21,9 +21,9 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs misc features
 @direntry
-* ede: (ede).                   Project management for Emacs.
+* EDE: (ede).                   The Emacs Development Environment.
 @end direntry
 
 @titlepage
index 743a346..3ba0796 100644 (file)
@@ -41,7 +41,7 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs misc features
 @direntry
 * Ediff: (ediff).       A visual interface for comparing and merging programs.
 @end direntry
index e3117d6..377bb6e 100644 (file)
@@ -22,7 +22,7 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs misc features
 @direntry
 * EDT: (edt).                   An Emacs emulation of the EDT editor.
 @end direntry
index 1a22a15..8ee4028 100644 (file)
@@ -27,9 +27,9 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs misc features
 @direntry
-* eieio: (eieio).               Objects for Emacs.
+* EIEIO: (eieio).               An objects system for Emacs Lisp.
 @end direntry
 
 @titlepage
index ef6db1c..a9d80d8 100644 (file)
@@ -30,7 +30,7 @@ developing GNU and promoting software freedom.''
 @c Node ``Interface Functions'' uses Latin-1 characters
 @documentencoding ISO-8859-1
 
-@dircategory Emacs
+@dircategory Emacs lisp libraries
 @direntry
 * Emacs MIME: (emacs-mime).     Emacs MIME de/composition library.
 @end direntry
index ae19435..b4137a7 100644 (file)
@@ -31,7 +31,7 @@ license to the document, as described in section 6 of the license.
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs misc features
 @direntry
 * EasyPG Assistant: (epa).      An Emacs user interface to GNU Privacy Guard.
 @end direntry
index 1ce6e94..463a14f 100644 (file)
@@ -28,7 +28,7 @@ and modified without restriction.
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs network features
 @direntry
 * ERC: (erc).                   Powerful and extensible IRC client for Emacs.
 @end direntry
index 51031e2..0ae6a0e 100644 (file)
@@ -24,7 +24,7 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs misc features
 @direntry
 * Eshell: (eshell).             A command shell implemented in Emacs Lisp.
 @end direntry
index e21abcd..a68eda5 100644 (file)
@@ -28,7 +28,7 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs network features
 @direntry
 * EUDC: (eudc).                 Emacs client for directory servers (LDAP, PH).
 @end direntry
index 7f0cd77..74cf3d6 100644 (file)
@@ -28,7 +28,7 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs misc features
 @direntry
 * Flymake: (flymake).           A universal on-the-fly syntax checker.
 @end direntry
index f58e8d8..17c1d7f 100644 (file)
@@ -34,7 +34,7 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs misc features
 @direntry
 * Forms: (forms).               Emacs package for editing data bases
                                   by filling in forms.
index 16273d2..5aa66de 100644 (file)
@@ -321,7 +321,7 @@ developing GNU and promoting software freedom.''
 @end iflatex
 @end iftex
 
-@dircategory Emacs
+@dircategory Emacs network features
 @direntry
 * Gnus: (gnus).                 The newsreader Gnus.
 @end direntry
index 98da237..94aeb61 100644 (file)
@@ -38,7 +38,7 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs editing modes
 @direntry
 * IDLWAVE: (idlwave).           Major mode and shell for IDL files.
 @end direntry
index 4235e82..d64f316 100644 (file)
@@ -22,7 +22,7 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs network features
 @direntry
 * Mairix: (mairix-el).          Emacs interface to the Mairix mail indexer.
 @end direntry
index 4f0c09f..b286399 100644 (file)
@@ -26,7 +26,7 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs network features
 @direntry
 * Message: (message).           Mail and news composition mode that
                                   goes with Gnus.
index 546f9e6..59da631 100644 (file)
@@ -55,7 +55,7 @@ Public License.''
 @end copying
 
 @c Info Directory Entry
-@dircategory Emacs
+@dircategory Emacs network features
 @direntry
 * MH-E: (mh-e).                 Emacs interface to the MH mail system.
 @end direntry
index fadcf1e..c7d8224 100644 (file)
@@ -30,7 +30,7 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs network features
 @direntry
 * Newsticker: (newsticker).     A Newsticker for Emacs.
 @end direntry
index b2003a1..2760344 100644 (file)
@@ -31,7 +31,7 @@ license to the document, as described in section 6 of the license.
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs editing modes
 @direntry
 * nXML Mode: (nxml-mode).       XML editing mode with RELAX NG support.
 @end direntry
index 7618bad..a0ec20c 100644 (file)
@@ -286,7 +286,7 @@ license to the document, as described in section 6 of the license.
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs editing modes
 @direntry
 * Org Mode: (org).      Outline-based notes management and organizer
 @end direntry
index 7301bf3..f12942d 100644 (file)
@@ -23,7 +23,7 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs misc features
 @direntry
 * PCL-CVS: (pcl-cvs).           Emacs front-end to CVS.
 @end direntry
index 6efa3e6..9cb7a63 100644 (file)
@@ -27,7 +27,7 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs network features
 @direntry
 * PGG: (pgg).                   Emacs interface to various PGP implementations.
 @end direntry
index 6402c91..c2b6867 100644 (file)
@@ -22,7 +22,7 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs network features
 @direntry
 * Rcirc: (rcirc).               Internet Relay Chat (IRC) client.
 @end direntry
index 8c1ab92..3944b71 100644 (file)
@@ -43,7 +43,7 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs misc features
 @direntry
 * RefTeX: (reftex).             Emacs support for LaTeX cross-references
                                   and citations.
index cdb4514..e67d615 100644 (file)
@@ -25,7 +25,7 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs misc features
 @direntry
 * Remember: (remember).         Simple information manager for Emacs.
 @end direntry
index ec33f05..a75b237 100644 (file)
@@ -33,7 +33,7 @@ license to the document, as described in section 6 of the license.
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs network features
 @direntry
 * SASL: (sasl).                 The Emacs SASL library.
 @end direntry
index fbeadb6..8853192 100644 (file)
@@ -32,7 +32,7 @@ developing GNU and promoting software freedom.''
 
 @c      @smallbook
 
-@dircategory Emacs
+@dircategory Emacs network features
 @direntry
 * SC: (sc).                     Supercite lets you cite parts of messages
                                   you're replying to, in flexible ways.
index 89e83df..52434f4 100644 (file)
@@ -40,7 +40,7 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs misc features
 @direntry
 * Semantic: (semantic).         Source code parser library and utilities.
 @end direntry
index 45e5e9e..d9739b9 100644 (file)
@@ -27,7 +27,7 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs misc features
 @direntry
 * SES: (ses).                   Simple Emacs Spreadsheet.
 @end direntry
index 754ee15..64fd92f 100644 (file)
@@ -27,7 +27,7 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs network features
 @direntry
 * Sieve: (sieve).               Managing Sieve scripts in Emacs.
 @end direntry
index abd7d89..1d4bbbf 100644 (file)
@@ -20,7 +20,7 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs lisp libraries
 @direntry
 * SMTP: (smtpmail).             Emacs library for sending mail via SMTP.
 @end direntry
index 2804381..9dc47e4 100644 (file)
@@ -20,7 +20,7 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs misc features
 @direntry
 * Speedbar: (speedbar).         File/Tag summarizing utility.
 @end direntry
index 994a8f9..346354b 100644 (file)
@@ -54,7 +54,7 @@ supports it in developing GNU and promoting software freedom.''
 @end copying
 
 @c Entries for @command{install-info} to use
-@dircategory @value{emacsname}
+@dircategory @value{emacsname} network features
 @direntry
 * TRAMP: (tramp).               Transparent Remote Access, Multiple Protocol
                                 @value{emacsname} remote file access via rsh and rcp.
index 2968642..ff5641f 100644 (file)
@@ -38,7 +38,7 @@
 
 @c Emacs values.
 @ifset emacs
-@set emacsname          GNU Emacs
+@set emacsname          Emacs
 @set emacsdir           emacs
 @set ftppackagename     Ange-FTP
 @set prefix             /
index d337c82..2bde54a 100644 (file)
@@ -12,7 +12,7 @@
 \overfullrule=0pt
 %\global\baselineskip 30pt      % for printing in double space
 @end tex
-@dircategory Emacs
+@dircategory Emacs lisp libraries
 @direntry
 * URL: (url).                   URL loading package.
 @end direntry
index fe1098c..03ca658 100644 (file)
@@ -35,7 +35,7 @@ developing GNU and promoting software freedom.''
 @finalout
 @contents
 
-@dircategory Emacs
+@dircategory Emacs misc features
 @direntry
 * VIP: (vip).                   An older VI-emulation for Emacs.
 @end direntry
index 9e55e08..1f0dffe 100644 (file)
@@ -23,7 +23,7 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs misc features
 @direntry
 * VIPER: (viper).               The newest Emacs VI-emulation mode.
                                   (also, A VI Plan for Emacs Rescue
index 667dab5..c4f5317 100644 (file)
@@ -24,7 +24,7 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs lisp libraries
 @direntry
 * Widget: (widget).             The "widget" package used by the Emacs
                                   Customization facility.
index 9f77a07..c869d1a 100644 (file)
@@ -34,7 +34,7 @@ developing GNU and promoting software freedom.''
 @end quotation
 @end copying
 
-@dircategory Emacs
+@dircategory Emacs misc features
 @direntry
 * WoMan: (woman).               Browse UN*X Manual Pages "W.O. (without) Man".
 @end direntry
index 824f5f2..840f96b 100644 (file)
@@ -1,5 +1,34 @@
+2011-02-19  Kenichi Handa  <handa@m17n.org>
+
+       * mail/rmailmm.el (rmail-mime-find-header-encoding): Be sure to
+       get the header copy into the temporary buffer.
+       (rmail-mime-insert-decoded-text): Ignore us-ascii.
+       (rmail-show-mime): When rmail-mime-coding-system is nil, set
+       buffer-file-coding-system to undecided.
+
+2011-02-19  Eli Zaretskii  <eliz@gnu.org>
+
+       * international/mule-cmds.el (read-char-by-name, ucs-insert):
+       Document completion with asterisk and a substring.
+
 2011-02-19  Glenn Morris  <rgm@gnu.org>
 
+       * files.el (find-file-literally): Doc fix.
+
+       * simple.el (rfc822-goto-eoh): Give it a doc-string.
+
+       * log-edit.el (log-edit-insert-changelog):
+       Fix `log-edit-strip-single-file-name' functionality.  (Bug#8057)
+
+2011-02-19  Glenn Morris  <rgm@gnu.org>
+
+       * dired-x.el (dired-read-shell-command): Merge into dired-aux's version.
+       * dired-aux.el (dired-read-shell-command): Merge dired-x's version.
+
+       * dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.
+       * dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
+       (dired-clean-up-buffers-too): Declare.
+
        * dired-x.el (dired-initial-position): Merge into dired.el's version.
        * dired.el (dired-initial-position): Merge dired-x's version here.
        (dired-find-subdir): Declare.
index bf70262..986c9ed 100644 (file)
@@ -509,18 +509,22 @@ to the end of the list of defaults just after the default value."
 
 ;; This is an extra function so that you can redefine it, e.g., to use gmhist.
 (defun dired-read-shell-command (prompt arg files)
-  "Read a dired shell command prompting with PROMPT (using `read-shell-command').
-ARG is the prefix arg and may be used to indicate in the prompt which
-FILES are affected."
+  "Read a dired shell command prompting with PROMPT.
+Passes the prefix argument ARG to `dired-mark-prompt', so that it
+can be used in the prompt to indicate which FILES are affected.
+Normally reads the command with `read-shell-command', but if the
+`dired-x' packages is loaded, uses `dired-guess-shell-command' to offer
+a smarter default choice of shell command."
   (minibuffer-with-setup-hook
       (lambda ()
        (set (make-local-variable 'minibuffer-default-add-function)
             'minibuffer-default-add-dired-shell-commands))
-    (dired-mark-pop-up
-     nil 'shell files
-     #'read-shell-command
-     (format prompt (dired-mark-prompt arg files))
-     nil nil)))
+    (setq prompt (format prompt (dired-mark-prompt arg files)))
+    (if (featurep 'dired-x)
+       (dired-mark-pop-up nil 'shell files
+                          #'dired-guess-shell-command prompt files)
+      (dired-mark-pop-up nil 'shell files
+                        #'read-shell-command prompt nil nil))))
 
 ;;;###autoload
 (defun dired-do-async-shell-command (command &optional arg file-list)
index 901614e..042fbe0 100644 (file)
@@ -47,9 +47,7 @@
 
 ;; User customization: M-x customize-group RET dired-x RET.
 
-;; When loaded this code redefines the following functions of GNU Emacs:
-;; From dired.el: dired-clean-up-after-deletion, dired-find-buffer-nocreate.
-;; From dired-aux.el: dired-read-shell-command.
+;; When loaded this code redefines dired.el's dired-find-buffer-nocreate.
 
 ;; *Please* see the `dired-x' info pages for more details.
 
@@ -323,32 +321,6 @@ See also the functions:
   (dired-omit-startup))
 
 \f
-;;; BUFFER CLEANING.
-
-;; REDEFINE.
-(defun dired-clean-up-after-deletion (fn)
-  "Clean up after a deleted file or directory FN.
-Remove expanded subdir of deleted dir, if any."
-  (save-excursion (and (cdr dired-subdir-alist)
-                       (dired-goto-subdir fn)
-                       (dired-kill-subdir)))
-  ;; Offer to kill buffer of deleted file FN.
-  (when dired-clean-up-buffers-too
-    (let ((buf (get-file-buffer fn)))
-      (and buf
-           (funcall #'y-or-n-p
-                    (format "Kill buffer of %s, too? "
-                            (file-name-nondirectory fn)))
-           (kill-buffer buf)))
-    (let ((buf-list (dired-buffers-for-dir (expand-file-name fn))))
-      (and buf-list
-           (y-or-n-p (format "Kill dired buffer%s of %s, too? "
-                             (dired-plural-s (length buf-list))
-                             (file-name-nondirectory fn)))
-           (dolist (buf buf-list)
-             (kill-buffer buf))))))
-
-\f
 ;;; EXTENSION MARKING FUNCTIONS.
 
 ;; Mark files with some extension.
@@ -830,10 +802,10 @@ dired."
 
 ;; Brief Description:
 ;;;
-;; `dired-do-shell-command' is bound to `!' by dired.el.
+;; `dired-do-shell-command' is bound to `!' by dired.el.
 ;;;
-;; * Redefine `dired-read-shell-command' so it calls
-;;;   `dired-guess-shell-command'.
+;; * `dired-guess-shell-command' provides smarter defaults for
+;;;    dired-aux.el's `dired-read-shell-command'.
 ;;;
 ;; * `dired-guess-shell-command' calls `dired-guess-default' with list of
 ;;;    marked files.
@@ -1120,23 +1092,6 @@ See `dired-guess-shell-alist-user'."
       ;; If we got a return, then return default.
       (if (equal val "") default val))))
 
-;; REDEFINE.
-;; Redefine dired-aux.el's version:
-(defun dired-read-shell-command (prompt arg files)
-  "Read a dired shell command prompting with PROMPT (using `read-shell-command').
-ARG is the prefix arg and may be used to indicate in the prompt which
-FILES are affected.
-This is an extra function so that you can redefine it."
-  (minibuffer-with-setup-hook
-      (lambda ()
-        (set (make-local-variable 'minibuffer-default-add-function)
-             'minibuffer-default-add-dired-shell-commands))
-    (dired-mark-pop-up
-     nil 'shell files
-     'dired-guess-shell-command
-     (format prompt (dired-mark-prompt arg files)) ; PROMPT
-     files)))                                      ; FILES
-
 \f
 ;;; RELATIVE SYMBOLIC LINKS.
 
index 101ee78..c517456 100644 (file)
@@ -2749,12 +2749,32 @@ non-empty directories is allowed."
                          (save-excursion (forward-line 1) (point))))))
   (dired-clean-up-after-deletion file))
 
-;; This is a separate function for the sake of dired-x.el.
+(defvar dired-clean-up-buffers-too)
+
 (defun dired-clean-up-after-deletion (fn)
-  ;; Clean up after a deleted file or directory FN.
+  "Clean up after a deleted file or directory FN.
+Removes any expanded subdirectory of deleted directory.
+If `dired-x' is loaded and `dired-clean-up-buffers-too' is non-nil,
+also offers to kill buffers visiting deleted files and directories."
   (save-excursion (and (cdr dired-subdir-alist)
                       (dired-goto-subdir fn)
-                      (dired-kill-subdir))))
+                      (dired-kill-subdir)))
+  ;; Offer to kill buffer of deleted file FN.
+  (when (and (featurep 'dired-x) dired-clean-up-buffers-too)
+    (let ((buf (get-file-buffer fn)))
+      (and buf
+           (funcall #'y-or-n-p
+                    (format "Kill buffer of %s, too? "
+                            (file-name-nondirectory fn)))
+           (kill-buffer buf)))
+    (let ((buf-list (dired-buffers-for-dir (expand-file-name fn))))
+      (and buf-list
+           (y-or-n-p (format "Kill dired buffer%s of %s, too? "
+                             (dired-plural-s (length buf-list))
+                             (file-name-nondirectory fn)))
+           (dolist (buf buf-list)
+             (kill-buffer buf))))))
+
 \f
 ;; Confirmation
 
index fdbfe13..014469e 100644 (file)
@@ -2072,7 +2072,8 @@ Don't call it from programs!  Use `insert-file-contents-literally' instead.
 
 (defvar find-file-literally nil
   "Non-nil if this buffer was made by `find-file-literally' or equivalent.
-This is a permanent local.")
+This has the `permanent-local' property, which takes effect if you
+make the variable buffer-local.")
 (put 'find-file-literally 'permanent-local t)
 
 (defun find-file-literally (filename)
index 576cec2..52c72ec 100644 (file)
@@ -1,3 +1,12 @@
+2011-02-19  Glenn Morris  <rgm@gnu.org>
+
+       * gnus.el (gnus-meta): Doc fix.
+
+2011-02-19  Chong Yidong  <cyd@stupidchicken.com>
+
+       * nnfolder.el (nnfolder-save-buffer): Don't let-bind copyright-update,
+       in case it's not yet loaded.
+
 2011-02-19  Lars Ingebrigtsen  <larsi@gnus.org>
 
        * nnimap.el (nnimap-parse-copied-articles): Allow for "<foo> OK"
index 4cbdee5..42acb65 100644 (file)
 
 (defgroup gnus-meta nil
   "Meta variables controlling major portions of Gnus.
-In general, modifying these variables does not take affect until Gnus
+In general, modifying these variables does not take effect until Gnus
 is restarted, and sometimes reloaded."
   :group 'gnus)
 
index dd11ff7..c6b4c08 100644 (file)
@@ -1090,8 +1090,8 @@ This command does not work if you use short group names."
     (gnus-make-directory (file-name-directory (buffer-file-name)))
     (let ((coding-system-for-write
           (or nnfolder-file-coding-system-for-write
-              nnfolder-file-coding-system))
-         (copyright-update nil))
+              nnfolder-file-coding-system)))
+      (set (make-local-variable 'copyright-update) nil)
       (save-buffer)))
   (unless (or gnus-nov-is-evil nnfolder-nov-is-evil)
     (nnfolder-save-nov)))
index d610da0..8672fca 100644 (file)
@@ -2938,11 +2938,19 @@ on encoding."
 (defun read-char-by-name (prompt)
   "Read a character by its Unicode name or hex number string.
 Display PROMPT and read a string that represents a character by its
-Unicode property `name' or `old-name'.  You can type a few of first
-letters of the Unicode name and use completion.  This function also
-accepts a hexadecimal number of Unicode code point or a number in
-hash notation, e.g. #o21430 for octal, #x2318 for hex, or #10r8984
-for decimal.  Returns a character as a number."
+Unicode property `name' or `old-name'.
+
+This function returns the character as a number.
+
+You can type a few of the first letters of the Unicode name and
+use completion.  If you type a substring of the Unicode name
+preceded by an asterisk `*' and use completion, it will show all
+the characters whose names include that substring, not necessarily
+at the beginning of the name.
+
+This function also accepts a hexadecimal number of Unicode code
+point or a number in hash notation, e.g. #o21430 for octal,
+#x2318 for hex, or #10r8984 for decimal."
   (let* ((completion-ignore-case t)
         (input (completing-read prompt ucs-completions)))
     (cond
@@ -2957,6 +2965,13 @@ for decimal.  Returns a character as a number."
   "Insert COUNT copies of CHARACTER of the given Unicode code point.
 Interactively, prompts for a Unicode character name or a hex number
 using `read-char-by-name'.
+
+You can type a few of the first letters of the Unicode name and
+use completion.  If you type a substring of the Unicode name
+preceded by an asterisk `*' and use completion, it will show all
+the characters whose names include that substring, not necessarily
+at the beginning of the name.
+
 The optional third arg INHERIT (non-nil when called interactively),
 says to inherit text properties from adjoining text, if those
 properties are sticky."
index 07f6920..4c8c821 100644 (file)
@@ -4306,7 +4306,7 @@ With prefix argument N moves forward N messages with these labels.
 
 ;;;***
 \f
-;;;### (autoloads (rmail-mime) "rmailmm" "rmailmm.el" "3e235bdf4c2e54da06abcdd72e7f7649")
+;;;### (autoloads (rmail-mime) "rmailmm" "rmailmm.el" "9c0902449733cabd5c7e7d17092a7c69")
 ;;; Generated autoloads from rmailmm.el
 
 (autoload 'rmail-mime "rmailmm" "\
index 127fd8a..0bfeb12 100644 (file)
@@ -472,10 +472,11 @@ See `rmail-mime-entity' for the detail."
 HEADER is a header component of a MIME-entity object (see
 `rmail-mime-entity')."
   (with-temp-buffer
-    (let ((last-coding-system-used nil))
+    (let ((buf (current-buffer)))
       (with-current-buffer rmail-mime-mbox-buffer
-       (let ((rmail-buffer rmail-mime-mbox-buffer)
-             (rmail-view-buffer rmail-mime-view-buffer))
+       (let ((last-coding-system-used nil)
+             (rmail-buffer rmail-mime-mbox-buffer)
+             (rmail-view-buffer buf))
          (save-excursion
            (goto-char (aref header 0))
            (rmail-copy-headers (point) (aref header 1)))))
@@ -514,7 +515,9 @@ HEADER is a header component of a MIME-entity object (see
              ((string= transfer-encoding "quoted-printable")
               (quoted-printable-decode-region pos (point))))))
     (decode-coding-region pos (point) coding-system)
-    (if (or (not rmail-mime-coding-system) (consp rmail-mime-coding-system))
+    (if (and
+        (or (not rmail-mime-coding-system) (consp rmail-mime-coding-system))
+        (not (eq (coding-system-base coding-system) 'us-ascii)))
        (setq rmail-mime-coding-system coding-system))
     (or (bolp) (insert "\n"))))
 
@@ -1302,7 +1305,10 @@ attachments as specfied by `rmail-mime-attachment-dirs-alist'."
                      (rmail-mime-find-header-encoding
                       (rmail-mime-entity-header entity)))))
          (set-buffer-file-coding-system
-          (coding-system-base rmail-mime-coding-system) t t))
+          (if rmail-mime-coding-system
+              (coding-system-base rmail-mime-coding-system)
+            'undecided)
+          t t))
       ;; Decoding failed.  ENTITY is an error message.  Insert the
       ;; original message body as is, and show warning.
       (let ((region (with-current-buffer rmail-mime-mbox-buffer
index 531c921..a2dda5f 100644 (file)
@@ -5723,7 +5723,10 @@ appears to have customizations applying to the old default,
   :group 'mail)
 
 (defun rfc822-goto-eoh ()
-  ;; Go to header delimiter line in a mail message, following RFC822 rules
+  "If the buffer starts with a mail header, move point to the header's end.
+Otherwise, moves to `point-min'.
+The end of the header is the start of the next line, if there is one,
+else the end of the last line.  This function obeys RFC822."
   (goto-char (point-min))
   (when (re-search-forward
         "^\\([:\n]\\|[^: \t\n]+[ \t\n]\\)" nil 'move)
index 9ec3e97..192ab1f 100644 (file)
@@ -621,14 +621,18 @@ regardless of user name or time."
           (delete-region start end)
           (rfc822-goto-eoh)
           (insert "Fixes: " fixes "\n" (if (looking-at "\n") "" "\n")))))
-    (goto-char (point-min))
-    (when (and log-edit-strip-single-file-name (looking-at "\\*\\s-+"))
-      (forward-line 1)
-      (when (not (re-search-forward "^\\*\\s-+" nil t))
-        (goto-char (point-min))
-        (skip-chars-forward "^():")
-        (skip-chars-forward ": ")
-        (delete-region (point-min) (point))))))
+    (and log-edit-strip-single-file-name
+         (progn (rfc822-goto-eoh)
+                (if (looking-at "\n") (forward-char 1))
+                (looking-at "\\*\\s-+"))
+         (let ((start (point)))
+           (forward-line 1)
+           (when (not (re-search-forward "^\\*\\s-+" nil t))
+             (goto-char start)
+             (skip-chars-forward "^():")
+             (skip-chars-forward ": ")
+             (delete-region start (point)))))
+    (goto-char (point-min))))
 
 ;;;;
 ;;;; functions for getting commit message from ChangeLog a file...
index ed171c6..f1cdf51 100644 (file)
@@ -1,8 +1,10 @@
 2011-02-19  Eli Zaretskii  <eliz@gnu.org>
 
-       * sed1v2.inp: Delete gl-tmp after updating globals.h
+       * depfiles.bat: New file.
 
-       * sedlibmk.inp (gl_LIBOBJS): Add getloadavg.o.
+       * sedlibmk.inp: New file.
+
+       * sedlibcf.inp: New file.
 
        * sedleim.inp (RUN_EMACS): Rename from RUN-EMACS.
        (BUILT_EMACS): Rename from BUILT-EMACS.
        (ENVADD): Adjust to MAKEINFO_OPTS.
        (texinputdir): Don't edit.
 
-       * sed2v2.inp (my_strftime): Edit to nstrftime.
-
-       * sed1v2.inp (LIBOBJS): Edit to empty.
-       ($(libsrc)/make-docfile): Two new edits, one each for every
-       invocation of make-docfile.
-       (move-if-change): Fix edit.
-       Remove some unused switches from $(ALL_CFLAGS), to make the GCC
-       command line shorter.
-
        * sed3v2.inp (-DVERSION): Edit out.
        (LOADLIBES): Don't edit to empty.
 
-       * mainmake.v2 (lib, lib-src, src): Specify "all" as an explicit
-       target.
-
-       * sedlibmk.inp (CONFIG_CLEAN_VPATH_FILES): Fix editing of *-clean
-       rules.
-       (HAVE_GETOPT_H, PRAGMA_SYSTEM_HEADER, PRAGMA_COLUMNS): Fix
-       editing.
-       (DEFS): Edit to -DHAVE_CONFIG_H.
-       (Makefile, &&): Fix removal.
-
-       * depfiles.bat: New file.
-
-       * sedlibmk.inp: New file.
-
-       * sedlibcf.inp: New file.
+       * sed2v2.inp: Remove workaround for the "#if ! HAVE_MKTIME ||
+       BROKEN_MKTIME" stuff -- it's no longer in src/config.in.
+       (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
+       (HAVE__BOOL): Edit to 1.
+       (VERSION, inline, restrict): Edit for DJGPP.
+       (my_strftime): Edit to nstrftime.
 
        * sed1v2.inp (NS_OBJC_OBJ): Edit to empty.
        (@true): Edit to "@rem".
        (move-if-change): Edit to "update".
        (echo): Edit to "djecho".
        (cd $(lib) && ...): Edit to "$(MAKE) -C ...".
+       (LIBOBJS): Edit to empty.
+       ($(libsrc)/make-docfile): Two new edits, one each for every
+       invocation of make-docfile.
+       (move-if-change): Fix edit.
+       Remove some unused switches from $(ALL_CFLAGS), to make the GCC
+       command line shorter.
 
        * mainmake.v2 (version): Remove, no longer needed (config.in
        defines VERSION).
        (src): Depend on lib and lib-src.
        (clean, mostlyclean, distclean, maintainer-clean, extraclean)
        (bootstrap-clean): Recurse into lib.
-
-       * sed2v2.inp: Remove workaround for the "#if ! HAVE_MKTIME ||
-       BROKEN_MKTIME" stuff -- it's no longer in src/config.in.
-       (HAVE_ATTRIBUTE_ALIGNED, HAVE_C99_STRTOLD, HAVE_DECL_GETENV)
-       (HAVE__BOOL): Edit to 1.
-       (VERSION, inline, restrict): Edit for DJGPP.
+       (lib, lib-src, src): Specify "all" as an explicit target.
 
 2011-01-08  Glenn Morris  <rgm@gnu.org>