bpt/emacs.git
13 years agoPrevent hideshow from parsing braces inside comments (Bug#8036).
Dmitry Bolshakov [Sat, 19 Feb 2011 22:20:35 +0000 (17:20 -0500)]
Prevent hideshow from parsing braces inside comments (Bug#8036).

* progmodes/hideshow.el (hs-find-block-beginning)
(hs-hide-level-recursive): Ignore comments when parsing braces.

13 years agoImprovements to vc-bzr conffile handling and pull/merge support.
Chong Yidong [Sat, 19 Feb 2011 21:23:51 +0000 (16:23 -0500)]
Improvements to vc-bzr conffile handling and pull/merge support.

* vc/vc-bzr.el (vc-bzr--branch-conf): Function deleted.
(vc-bzr-branch-conf): New function, similar to vc-bzr--branch-conf
but returning an alist.  Ignore comments in bzr conffile.
(vc-bzr-pull, vc-bzr-merge-branch): Use vc-bzr-branch-conf.
(vc-bzr-error-regex-alist): New var.
(vc-bzr-merge-branch): Use it to highlight the pull/merge buffer.

* progmodes/compile.el (compilation--flush-directory-cache):
Handle the case where cdr of compilation--flush-directory-cache
points to no buffer, which can occur if we previously switched to
compilation-mode in a pregenerated buffer.

* vc/vc-dispatcher.el (vc-do-async-command): Bind
inhibit-read-only to t.

13 years agodired-x no longer requires dired-aux.
Glenn Morris [Sat, 19 Feb 2011 20:44:34 +0000 (12:44 -0800)]
dired-x no longer requires dired-aux.

* lisp/dired-x.el: Don't require dired-aux.
(dired-do-create-files, dired-mark-read-regexp)
(dired-do-create-files-regexp): Autoload from dired-aux.

13 years agoMerge dired-x's dired-find-buffer-nocreate into dired.el.
Glenn Morris [Sat, 19 Feb 2011 20:36:54 +0000 (12:36 -0800)]
Merge dired-x's dired-find-buffer-nocreate into dired.el.

* lisp/dired-x.el (dired-find-buffer-nocreate): Merge into dired.el.

* lisp/dired.el (dired-find-buffer-nocreate): Merge dired-x version.

* doc/misc/dired-x.texi (Technical Details):
No longer redefines dired-find-buffer-nocreate.

13 years agoAdapt and fix the MS-DOS port due to gnulib imports.
Eli Zaretskii [Sat, 19 Feb 2011 19:56:29 +0000 (21:56 +0200)]
Adapt and fix the MS-DOS port due to gnulib imports.

 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.

13 years agoFix MS-DOS build in src/: delete gl-tmp.
Eli Zaretskii [Sat, 19 Feb 2011 19:49:10 +0000 (21:49 +0200)]
Fix MS-DOS build in src/: delete gl-tmp.

 msdos/sed1v2.inp: Delete gl-tmp after updating globals.h

13 years agoFinish fixing the MS-DOS build. Everything builds and works.
Eli Zaretskii [Sat, 19 Feb 2011 19:41:00 +0000 (21:41 +0200)]
Finish fixing the MS-DOS build.  Everything builds and works.

 src/termcap.c (tputs): Don't declare baud_rate.
 msdos/sedlibmk.inp (gl_LIBOBJS): Add getloadavg.o.
 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/sed2v2.inp (my_strftime): Edit to nstrftime.
 msdos/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.

13 years agoMerge from emacs-23; up to 2010-06-01T01:49:15Z!monnier@iro.umontreal.ca
Glenn Morris [Sat, 19 Feb 2011 19:40:59 +0000 (11:40 -0800)]
Merge from emacs-23; up to 2010-06-01T01:49:15Z!monnier@iro.umontreal.ca

13 years agoFix typo in auth.texi (Bug#8068).
Chong Yidong [Sat, 19 Feb 2011 19:26:37 +0000 (14:26 -0500)]
Fix typo in auth.texi (Bug#8068).

13 years agoMerge dired-x's dired-read-shell-command into dired-aux's version.
Glenn Morris [Sat, 19 Feb 2011 19:20:38 +0000 (11:20 -0800)]
Merge dired-x's dired-read-shell-command into dired-aux's version.

* lisp/dired-x.el (dired-read-shell-command): Merge into dired-aux's version.

* lisp/dired-aux.el (dired-read-shell-command): Merge dired-x's version.

* doc/misc/dired-x.texi (Technical Details):
No longer redefines dired-read-shell-command.

13 years agoMerge dired-x's dired-clean-up-after-deletion into dired's version.
Glenn Morris [Sat, 19 Feb 2011 18:55:15 +0000 (10:55 -0800)]
Merge dired-x's dired-clean-up-after-deletion into dired's version.

* lisp/dired-x.el (dired-clean-up-after-deletion): Merge into dired.el.

* lisp/dired.el (dired-clean-up-after-deletion): Merge dired-x's version.
(dired-clean-up-buffers-too): Declare.

* doc/misc/dired-x.texi (Technical Details):
No longer redefine dired-clean-up-after-deletion.

13 years agoFix msdos/sed3v2.inp. lib-src/ now builds.
Eli Zaretskii [Sat, 19 Feb 2011 17:54:18 +0000 (19:54 +0200)]
Fix msdos/sed3v2.inp.  lib-src/ now builds.

 sed3v2.inp (-DVERSION): Edit out.
 (LOADLIBES): Don't edit to empty.
 mainmake.v2 (lib, lib-src, src): Specify "all" as an explicit target.

13 years agoFix msdos/sedlibmk.inp. lib/ builds now.
Eli Zaretskii [Sat, 19 Feb 2011 17:35:11 +0000 (19:35 +0200)]
Fix msdos/sedlibmk.inp.  lib/ builds now.

 sedlibmk.inp (HAVE_GETOPT_H, PRAGMA_SYSTEM_HEADER, PRAGMA_COLUMNS): Fix
 editing.
 (DEFS): Edit to -DHAVE_CONFIG_H.
 (Makefile, &&): Fix removal.

13 years ago* Makefile.in (prefix-args${EXEEXT}): Compile with ALL_CFLAGS.
Chong Yidong [Sat, 19 Feb 2011 17:34:50 +0000 (12:34 -0500)]
* Makefile.in (prefix-args${EXEEXT}): Compile with ALL_CFLAGS.

See http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg00715.html

13 years agoFix generation of auto-dependency files in lib/.
Eli Zaretskii [Sat, 19 Feb 2011 16:53:10 +0000 (18:53 +0200)]
Fix generation of auto-dependency files in lib/.

 .bzrignore: Add lib/deps/.
 config.bat: Generate *.Po files in lib/deps.
 msdos/sedlibmk.inp (CONFIG_CLEAN_VPATH_FILES): Fix editing of *-clean
 rules.
 msdos/depfiles.bat: New file.

13 years agoUpdate .bzrignore for files produced by the MS-DOS build.
Eli Zaretskii [Sat, 19 Feb 2011 16:12:18 +0000 (18:12 +0200)]
Update .bzrignore for files produced by the MS-DOS build.

 .bzrignore: Ignore cxxdefs.h and lib/*.in-h files.

13 years agoCommit new Sed scripts in msdos/.
Eli Zaretskii [Sat, 19 Feb 2011 16:05:27 +0000 (18:05 +0200)]
Commit new Sed scripts in msdos/.

13 years agoInitial version of fix for the MS-DOS build, not yet tested.
Eli Zaretskii [Sat, 19 Feb 2011 15:57:35 +0000 (17:57 +0200)]
Initial version of fix for the MS-DOS build, not yet tested.

 config.bat: Configure in `lib'.
 msdos/sedlibmk.inp: New file.
 msdos/sedlibcf.inp: New file.
 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 ...".
 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.
 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.
 src/s/msdos.h (strtold): Define to _strtold.
 admin/admin.el (set-version): Add msdos/sed2v2.inp.

13 years agomerge emacs-23
Kenichi Handa [Sat, 19 Feb 2011 10:46:49 +0000 (19:46 +0900)]
merge emacs-23

13 years agonnimap.el (nnimap-parse-copied-articles): Allow for "<foo> OK" outputs from the server.
Gnus developers [Sat, 19 Feb 2011 09:45:07 +0000 (09:45 +0000)]
nnimap.el (nnimap-parse-copied-articles): Allow for "<foo> OK" outputs from the server.
gnus-art.el (gnus-article-prepare): Run gnus-article-prepare-hook later so that bbdb can hook in easier.

13 years agodired.el: Update autoloads.
Eli Zaretskii [Sat, 19 Feb 2011 09:35:15 +0000 (04:35 -0500)]
dired.el: Update autoloads.

13 years agoFix setting of buffer-file-coding-system for MIME message.
Kenichi Handa [Sat, 19 Feb 2011 09:22:24 +0000 (18:22 +0900)]
Fix setting of buffer-file-coding-system for MIME message.

13 years agoMerge dired-x's redefinition of dired-initial-position into the main version.
Glenn Morris [Sat, 19 Feb 2011 04:12:23 +0000 (20:12 -0800)]
Merge dired-x's redefinition of dired-initial-position into the main version.

* lisp/dired-x.el (dired-initial-position): Merge into dired.el's version.

* lisp/dired.el (dired-initial-position): Merge dired-x's version here.
(dired-find-subdir): Declare.

* doc/misc/dired-x.texi (Technical Details):
No longer redefines dired-initial-position.

13 years ago* doc/emacs/dired.texi (Dired): Dired-X version number was dropped.
Glenn Morris [Sat, 19 Feb 2011 04:06:40 +0000 (20:06 -0800)]
* doc/emacs/dired.texi (Dired): Dired-X version number was dropped.

13 years agoMerge dired-x's dired-add-entry modifications into the main definition.
Glenn Morris [Sat, 19 Feb 2011 03:53:35 +0000 (19:53 -0800)]
Merge dired-x's dired-add-entry modifications into the main definition.

* lisp/dired-aux.el (dired-add-entry): Give it a doc-string.
Merge dired-x's dired-omit handling here.
(dired-omit-mode, dired-omit-regexp, dired-omit-localp): Declare.

* lisp/dired-x.el (dired-omit-new-add-entry): Merge into dired-add-entry.

* doc/misc/dired-x.texi (Technical Details): No longer redefines
dired-add-entry.

13 years agomule-diag.el fix for bug#8066.
Glenn Morris [Sat, 19 Feb 2011 03:38:45 +0000 (19:38 -0800)]
mule-diag.el fix for bug#8066.

* lisp/international/mule-diag.el (list-input-methods-1):
Indent all lines of multi-line doc-strings.

13 years agoauth-source.el (auth-source-search): If we don't find a match, don't bug out on non...
Lars Ingebrigtsen [Fri, 18 Feb 2011 23:15:24 +0000 (23:15 +0000)]
auth-source.el (auth-source-search): If we don't find a match, don't bug out on non-bound variables.
 (auth-source-search): Only ask a single backend to create the credentials.

13 years agoFix incorrect changes introduced in 2011-02-02T17:59:44Z!sds@gnu.org.
Chong Yidong [Fri, 18 Feb 2011 22:52:58 +0000 (17:52 -0500)]
Fix incorrect changes introduced in 2011-02-02T17:59:44Z!sds@gnu.org.

* lisp/apropos.el (apropos-print): Call apropos-mode before setting up
buffer variables.  Use inhibit-read-only.

* lisp/emacs-lisp/package.el (package--list-packages): Call
package-menu-mode before setting up buffer variables.

* lisp/play/solitaire.el (solitaire): Call solitaire-mode before
setting up buffer variables.  Use inhibit-read-only.

13 years ago* lib-src/emacsclient.c (main): Loop while `recv' return EINTR.
Karl Chen [Fri, 18 Feb 2011 22:28:09 +0000 (17:28 -0500)]
* lib-src/emacsclient.c (main): Loop while `recv' return EINTR.

13 years ago* lisp/progmodes/sh-script.el (sh-syntax-propertize-here-doc):
Lawrence Mitchell [Fri, 18 Feb 2011 21:46:08 +0000 (16:46 -0500)]
* lisp/progmodes/sh-script.el (sh-syntax-propertize-here-doc):
Bind case-fold-search to nil when looking for end of here-doc.

Fixes: debbugs:8053

13 years agoStill more followup for bug #7942.
Eli Zaretskii [Fri, 18 Feb 2011 19:11:04 +0000 (21:11 +0200)]
Still more followup for bug #7942.

13 years agodoc/misc/eieio.texi: More followup for bug #7942.
Eli Zaretskii [Fri, 18 Feb 2011 19:07:44 +0000 (21:07 +0200)]
doc/misc/eieio.texi: More followup for bug #7942.

13 years agoFollowup for fixing bug #7942.
Eli Zaretskii [Fri, 18 Feb 2011 19:03:59 +0000 (21:03 +0200)]
Followup for fixing bug #7942.

 doc/lispref/elisp.texi: Sync @dircategory with ../../info/dir.
 doc/lispintro/emacs-lisp-intro.texi: Sync @dircategory with ../../info/dir.
 doc/misc/ede.texi: Sync letter-case with ../../info/dir.

13 years agoFix bug #8047 with require-final-newline in binary image buffers.
Eli Zaretskii [Fri, 18 Feb 2011 17:59:06 +0000 (19:59 +0200)]
Fix bug #8047 with require-final-newline in binary image buffers.

 image-mode.el (image-toggle-display-image): Set
 find-file-literally non-nil in buffers visiting binary image
 files.

13 years agoFix bug #8047 with require-final-newline and image file display.
Eli Zaretskii [Fri, 18 Feb 2011 17:51:15 +0000 (19:51 +0200)]
Fix bug #8047 with require-final-newline and image file display.

 image-mode.el (image-toggle-display-image): Disable
 require-final-newline in buffers visiting binary image files.

13 years ago* alloc.c (make_unibyte_string): Don't SET_UNIBYTE redundantly.
Stefan Monnier [Fri, 18 Feb 2011 17:37:30 +0000 (12:37 -0500)]
* alloc.c (make_unibyte_string): Don't SET_UNIBYTE redundantly.
* process.c (Fstart_process, Fmake_serial_process)
(Fmake_network_process, server_accept_connection):
Use empty_unibyte_string.

13 years ago* lisp/files.el (cd): Make completion obey cd-path.
Stefan Monnier [Fri, 18 Feb 2011 17:18:16 +0000 (12:18 -0500)]
* lisp/files.el (cd): Make completion obey cd-path.
* lread.c (Qdir_ok): New constant.
(syms_of_lread): Initialize it.
(openp): Don't ignore directories if the predicate returns dir-ok.

Fixes: debbugs:7924

13 years agoDocument *SUBSTRING completion for Unicode character names.
Eli Zaretskii [Fri, 18 Feb 2011 15:43:22 +0000 (17:43 +0200)]
Document *SUBSTRING completion for Unicode character names.

 international/mule-cmds.el (read-char-by-name, ucs-insert):
 Document completion with asterisk and a substring.

13 years agoxdisp.c (display_line): Fix the change made for bug#7939.
Eli Zaretskii [Fri, 18 Feb 2011 15:11:10 +0000 (17:11 +0200)]
xdisp.c (display_line): Fix the change made for bug#7939.

13 years agoFix bug #7840 with default terminal and keyboard encodings.
Eli Zaretskii [Fri, 18 Feb 2011 14:48:28 +0000 (16:48 +0200)]
Fix bug #7840 with default terminal and keyboard encodings.

 terminal.c (create_terminal): Use default-keyboard-coding-system
 and default-terminal-coding-system to initialize coding systems of
 the new terminal.

13 years agoSynchronize @dircategory directives in doc/misc with info/dir.
Eli Zaretskii [Fri, 18 Feb 2011 13:57:53 +0000 (15:57 +0200)]
Synchronize @dircategory directives in doc/misc with info/dir.

 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.

13 years agoDocument find-file-literally in the ELisp manual.
Eli Zaretskii [Fri, 18 Feb 2011 10:23:51 +0000 (12:23 +0200)]
Document find-file-literally in the ELisp manual.

 files.texi (Visiting Functions): Document find-file-literally,
 both the command and the variable.

13 years agoImprove documentation of permanent local variables.
Eli Zaretskii [Fri, 18 Feb 2011 10:04:48 +0000 (12:04 +0200)]
Improve documentation of permanent local variables.

 variables.texi (Creating Buffer-Local): Explain the meaning of
 permanent local variables.

13 years agoSilence prolog.el compilation.
Glenn Morris [Fri, 18 Feb 2011 08:42:21 +0000 (00:42 -0800)]
Silence prolog.el compilation.

* lisp/progmodes/prolog.el: Don't require compile when compiling.
  -- not using any macros from it, it's just a cheap way to silence the
  compiler that actually produces one warning.
(compilation-shell-minor-mode, compilation-error-regexp-alist)
(compilation-forget-errors, compilation-fake-loc)
(compilation-parse-errors-function, compilation-error-list): Declare.
(prolog-inferior-mode): Require 'compile.

13 years ago* lisp/emulation/cua-base.el (pc-selection-mode): Declare.
Glenn Morris [Fri, 18 Feb 2011 08:17:20 +0000 (00:17 -0800)]
* lisp/emulation/cua-base.el (pc-selection-mode): Declare.

13 years agoUse generated-autoload-file for internal eieio autoloads.
Glenn Morris [Fri, 18 Feb 2011 08:00:08 +0000 (00:00 -0800)]
Use generated-autoload-file for internal eieio autoloads.

* lisp/emacs-lisp/eieio-custom.el: Set generated-autoload-file.
(customize-object): Add autoload cookie.

* lisp/emacs-lisp/eieio-opt.el: Set generated-autoload-file.
(eieio-browse, describe-class, eieio-describe-class)
(eieio-describe-constructor, describe-generic, eieio-describe-generic)
(eieio-help-mode-augmentation-maybee): Add autoload cookies.

* lisp/emacs-lisp/eieio.el: Regenerate with automatic autoloads.

* lisp/Makefile.in (autoloads): Make eieio.el writable.

13 years ago* doc/misc/dired-x.texi (Optional Installation File At Point): Simplify.
Glenn Morris [Fri, 18 Feb 2011 07:54:28 +0000 (23:54 -0800)]
* doc/misc/dired-x.texi (Optional Installation File At Point): Simplify.

13 years agodired-x largely cosmetic changes.
Glenn Morris [Fri, 18 Feb 2011 07:48:40 +0000 (23:48 -0800)]
dired-x largely cosmetic changes.

* lisp/dired-x.el (dired-clean-up-after-deletion, dired-do-relsymlink)
(dired-do-relsymlink-regexp, dired-find-buffer-nocreate): Use #'.
(dired-hack-local-variables): Use inhibit-read-only.
(dired-guess-default): Simplify.
(dired-make-relative-symlink): Use dotimes.
(dired-simultaneous-find-file): Use dolist.
(dired-mark-sexp): Remove unneeded `if'.  Use line-end-position.
(dired-x-hands-off-my-keys): Doc fix.
(dired-x-bind-find-file): Doc fix.  Use remapping.
(after-init-hook): No need to add dired-x-bind-find-file.
(dired-x-find-file, dired-x-find-file-other-window): Doc fixes.
No need to call expand-file-name.
(dired-filename-at-point): Remove unused locals `end', `filename'.

13 years agoImport IRIX 6.5 getloadavg fixes from gnulib.
Paul Eggert [Fri, 18 Feb 2011 07:41:43 +0000 (23:41 -0800)]
Import IRIX 6.5 getloadavg fixes from gnulib.

* configure, lib/getloadavg.c, m4/getloadavg.m4: Regenerate.

13 years ago* lisp/.gitignore: Remove arch-tag.
Glenn Morris [Fri, 18 Feb 2011 05:21:57 +0000 (21:21 -0800)]
* lisp/.gitignore: Remove arch-tag.

13 years ago* lisp/gnus.el (gnus-meta): Doc fix.
Glenn Morris [Fri, 18 Feb 2011 05:17:10 +0000 (21:17 -0800)]
* lisp/gnus.el (gnus-meta): Doc fix.

13 years ago* lisp/files.el (find-file-literally): Doc fix.
Glenn Morris [Fri, 18 Feb 2011 05:15:22 +0000 (21:15 -0800)]
* lisp/files.el (find-file-literally): Doc fix.

13 years ago* doc/lispref/keymaps.texi (Remapping Commands): Mention how to undo it.
Glenn Morris [Fri, 18 Feb 2011 05:11:26 +0000 (21:11 -0800)]
* doc/lispref/keymaps.texi (Remapping Commands): Mention how to undo it.

13 years ago* lisp/emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.
Stefan Monnier [Fri, 18 Feb 2011 04:58:21 +0000 (23:58 -0500)]
* lisp/emacs-lisp/pcase.el (pcase--u1): Understand non-linear patterns.

13 years agoFix ERT.
Christian Ohler [Fri, 18 Feb 2011 04:20:36 +0000 (15:20 +1100)]
Fix ERT.

* lisp/emacs-lisp/ert.el (ert--setup-results-buffer)
(ert-results-pop-to-backtrace-for-test-at-point)
(ert-results-pop-to-messages-for-test-at-point)
(ert-results-pop-to-should-forms-for-test-at-point)
(ert-results-pop-to-timings): Revert parts of 2011-02-02T17:59:44Z!sds@gnu.org that
were incorrect and unnecessary.  This should make `make check'
pass again.

13 years agoDon't GC-scan stack data redundantly.
Stefan Monnier [Fri, 18 Feb 2011 02:07:36 +0000 (21:07 -0500)]
Don't GC-scan stack data redundantly.
* src/alloc.c (Fgarbage_collect): When using stack scanning, don't
redundantly scan byte-code stacks, catchlist, and handlerlist.
* src/bytecode.c (BYTE_MAINTAIN_TOP): New macros.
(struct byte_stack): Only define `top' and `bottom' if used.
(mark_byte_stack): Only define if used.
(BEFORE_POTENTIAL_GC, AFTER_POTENTIAL_GC): Nullify if BYTE_MAINTAIN_TOP
is not set.
(Fbyte_code): Don't set `bottom' unless BYTE_MAINTAIN_TOP is set.
* src/lisp.h (BYTE_MARK_STACK): New macro.
(mark_byte_stack): Only declare if BYTE_MARK_STACK is set.
* src/term.c (OUTPUT_IF): Use OUTPUT.

13 years agoauth-source.el (auth-source-search): Don't try to create credentials if the caller...
Lars Ingebrigtsen [Fri, 18 Feb 2011 01:48:21 +0000 (01:48 +0000)]
auth-source.el (auth-source-search): Don't try to create credentials if the caller doesn't want that.

13 years agonnimap.el (nnimap-log-command): Add a newline to the inhibited logging.
Lars Ingebrigtsen [Fri, 18 Feb 2011 00:41:50 +0000 (00:41 +0000)]
nnimap.el (nnimap-log-command): Add a newline to the inhibited logging.
 (nnimap-credentials): Protect against auth-source-search returning nil.
 (nnimap-request-list): Protect against not being able to open the server.

13 years agoauth-source.el (auth-source-search): Do a two-phase search, one with no :create to...
Lars Ingebrigtsen [Thu, 17 Feb 2011 23:48:59 +0000 (23:48 +0000)]
auth-source.el (auth-source-search): Do a two-phase search, one with no :create to get the responses from all backends.

13 years agoMerge chagnes made in Gnus trunk.
Gnus developers [Thu, 17 Feb 2011 23:46:18 +0000 (23:46 +0000)]
Merge chagnes made in Gnus trunk.

auth.texi (GnuPG and EasyPG Assistant Configuration): Mention the default now is to have two files in `auth-sources'.
nnimap.el (nnimap-open-connection-1): Delete duplicate server names when getting credentials.
gnus-util.el (gnus-delete-duplicates): New function.
nnimap.el (nnimap-credentials): Instead of picking the first port as a creation default, pass the whole port list down.  It will be completed.
auth-source.el (auth-source-search): Updated docs to talk about multiple creation choices.
 (auth-source-netrc-create): Accept a list as a value (from the search parameters) and do completion on that list.  Keep a separate netrc line with the password obscured for showing the user.
nnimap.el (nnimap-open-connection-1): Make the `nnimap-address' the first choice to `auth-source-search' so it will be used for entry creation instead of the server's Gnus-specific name.
 (nnimap-credentials): Rely on the auth-source library to select which port is actually wanted in the new netrc entry, so don't override `auth-source-creation-defaults'.

13 years ago(allout-encrypt-string): Recognize epg failure to decrypt gpg2 armored text
Ken Manheimer [Thu, 17 Feb 2011 22:57:38 +0000 (17:57 -0500)]
(allout-encrypt-string): Recognize epg failure to decrypt gpg2 armored text
using gpg1, and add indication the gpg version *might* be the problem in
the error message.

13 years ago* lisp/allout-widgets.el: (allout-widgets-icons-light-subdir)
Ken Manheimer [Thu, 17 Feb 2011 21:47:18 +0000 (16:47 -0500)]
* lisp/allout-widgets.el: (allout-widgets-icons-light-subdir)
(allout-widgets-icons-dark-subdir): Track relocations of icons
* lisp/allout.el: Remove commentary about remove encryption passphrase
mnemonic support and verification.
* etc/images/icons/allout-widgets/dark-bg,
etc/images/icons/allout-widgets/light-bg,
encrypted-locked.{xpm,png}, unlocked-encrypted.{xpm,png}: Reorganize icon
directories and files to reconcile against windows short-filename clashes.

13 years agoauth-source.el (auth-source-debug): Default to off.
Teodor Zlatanov [Thu, 17 Feb 2011 12:50:01 +0000 (12:50 +0000)]
auth-source.el (auth-source-debug): Default to off.

13 years agoauth.texi (Help for users): Use :port instead of :protocol for all auth-source docs.
Teodor Zlatanov [Thu, 17 Feb 2011 12:08:48 +0000 (12:08 +0000)]
auth.texi (Help for users): Use :port instead of :protocol for all auth-source docs.
auth-source.el (auth-source-netrc-parse): Use :port instead of :protocol and accept a missing user, host, or port as a wildcard match.
 (auth-source-netrc-search, auth-source-netrc-create)
 (auth-source-secrets-search, auth-source-secrets-create)
 (auth-source-user-or-password, auth-source-backend, auth-sources)
 (auth-source-backend-parse-parameters, auth-source-search): Use :port instead of :protocol.
nnimap.el (nnimap-credentials): Pass a port default to `auth-source-search' in case an entry needs to be created.
 (nnimap-open-connection-1): Use :port instead of :protocol.

13 years ago* lisp/net/rcirc.el (rcirc-float-time): New function.
Deniz Dogan [Thu, 17 Feb 2011 11:41:49 +0000 (12:41 +0100)]
* lisp/net/rcirc.el (rcirc-float-time): New function.
(rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE)
(rcirc-ctcp-sender-PING): Use it.

13 years agoFix KVAR/BVAR,
Jan Djärv [Thu, 17 Feb 2011 10:19:29 +0000 (11:19 +0100)]
Fix KVAR/BVAR,

* nsfns.m (Fx_create_frame, ns_set_name_as_filename)
(Fns_read_file_name): Replace B_ with BVAR.

* nsterm.m (ns_term_init): Use KVAR.

13 years ago* lisp/simple.el (rfc822-goto-eoh): Give it a doc-string.
Glenn Morris [Thu, 17 Feb 2011 07:43:53 +0000 (23:43 -0800)]
* lisp/simple.el (rfc822-goto-eoh): Give it a doc-string.

13 years agolog-edit.el fix for bug#8057.
Glenn Morris [Thu, 17 Feb 2011 07:27:37 +0000 (23:27 -0800)]
log-edit.el fix for bug#8057.

* lisp/log-edit.el (log-edit-insert-changelog):
Fix `log-edit-strip-single-file-name' functionality.

13 years ago* lisp/progmodes/prolog.el: Header comment fix.
Glenn Morris [Thu, 17 Feb 2011 05:16:12 +0000 (21:16 -0800)]
* lisp/progmodes/prolog.el: Header comment fix.

13 years agoConvert some defvars to defcustoms.
Glenn Morris [Thu, 17 Feb 2011 05:13:17 +0000 (21:13 -0800)]
Convert some defvars to defcustoms.

* lisp/speedbar.el (speedbar-ignored-modes, speedbar-file-unshown-regexp)
(speedbar-update-flag, speedbar-fetch-etags-command)
(speedbar-fetch-etags-arguments):
* lisp/term.el (term-buffer-maximum-size, term-input-chunk-size)
(term-completion-autolist, term-completion-addsuffix)
(term-completion-recexact, term-completion-fignore):
* lisp/term/sup-mouse.el (sup-mouse-fast-select-window):
* lisp/term/x-win.el (x-select-request-type):
Convert some defvars with "*" to defcustoms.

13 years agoauth-source.el (auth-source-secrets-search): Use mm-delete-duplicates instead of...
Katsumi Yamaoka [Thu, 17 Feb 2011 05:09:02 +0000 (05:09 +0000)]
auth-source.el (auth-source-secrets-search): Use mm-delete-duplicates instead of delete-dups that is not available in XEmacs 21.4.

13 years agoshell.el fix for bug#8027 and friends.
Glenn Morris [Thu, 17 Feb 2011 05:02:02 +0000 (21:02 -0800)]
shell.el fix for bug#8027 and friends.

* lisp/shell.el (shell-delimiter-argument-list): Set it to nil.

This is a test, to see if causes any issues.

13 years agovc.el fix for bug#4496.
Glenn Morris [Thu, 17 Feb 2011 04:57:22 +0000 (20:57 -0800)]
vc.el fix for bug#4496.

* lisp/vc/vc.el (vc-default-previous-version):
Remove broken alias that points nowhere.

13 years agoMore dired-x cleanup.
Glenn Morris [Thu, 17 Feb 2011 04:50:47 +0000 (20:50 -0800)]
More dired-x cleanup.

* lisp/dired-x.el (dired-clean-up-after-deletion):
kill-buffer does not need save-excursion.
(dired-do-run-mail): Doc fix.
(dired-filename-at-point): Doc fix.
Use looking-at, and skip-chars rather than re search.
(skip-chars were used prior to 2003-01-27T11:36:08Z!fx@gnu.org, and are ok to use again
since Emacs 22.1, because char-classes are supported.)

13 years agoFix copyright, standardize header and licence.
Glenn Morris [Thu, 17 Feb 2011 04:41:29 +0000 (20:41 -0800)]
Fix copyright, standardize header and licence.

13 years ago* lisp/dired-x.el (dired-filename-at-point): Fix 8-year old typo.
Glenn Morris [Thu, 17 Feb 2011 04:38:23 +0000 (20:38 -0800)]
* lisp/dired-x.el (dired-filename-at-point): Fix 8-year old typo.
Introduced in 2003-01-27T11:36:08Z!fx@gnu.org, 2003/01/27.

13 years agoDon't let-bind copyright-update in nnfolder-save-buffer.
Chong Yidong [Thu, 17 Feb 2011 01:46:55 +0000 (20:46 -0500)]
Don't let-bind copyright-update in nnfolder-save-buffer.

See:
http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg00284.html
http://lists.gnu.org/archive/html/emacs-devel/2011-02/msg00651.html

* nnfolder.el (nnfolder-save-buffer): Don't let-bind copyright-update,
in case it's not yet loaded.

13 years agoMerge changes made in Gnus trunk.
Gnus developers [Wed, 16 Feb 2011 23:12:47 +0000 (23:12 +0000)]
Merge changes made in Gnus trunk.

gnus-sum.el (gnus-propagate-marks): Change default to t again, since nil means that nnimap doesn't get updated.
auth-source.el (auth-source-netrc-create): Return a synthetic search result when the user doesn't want to write to the file.
 (auth-source-netrc-search): Expect a synthetic result and proceed accordingly.
 (auth-source-cache-expiry): New variable to override `password-cache-expiry'.
 (auth-source-remember): Use it.
nnimap.el (nnimap-credentials): Remove the `inhibit-create' parameter.  Create entry if necessary by using :create t.
 (nnimap-open-connection-1): Don't pass `inhibit-create'.

13 years ago* lisp/allout-widgets.el: New allout extension that shows allout outline
Ken Manheimer [Wed, 16 Feb 2011 22:10:43 +0000 (17:10 -0500)]
* lisp/allout-widgets.el: New allout extension that shows allout outline
structure with graphical widgets.  'allout-widgets' customize group is an
'allout' subgroup, for easy discovery.
* etc/images/icons/allout-widgets-dark-bg,
etc/images/icons/allout-widgets-light-bg: Icons for new allout-widgets.el.
* etc/images/icons/README: Include coypright and GPL 3 license for new
icons.

13 years agoInclude PGP and GnuPG in Keywords, and other commentary refinements.
Ken Manheimer [Wed, 16 Feb 2011 21:29:32 +0000 (16:29 -0500)]
Include PGP and GnuPG in Keywords, and other commentary refinements.
(allout-abbreviate-flattened-numbering): Rename to
allout-flattened-numbering-abbreviation, and define-obsolete-variable-alias
the old name.
(allout-flattened-numbering-abbreviation): Rename from
allout-abbreviate-flattened-numbering.
(allout-mode-p): Include among autoloads, for use by other modes with impunity.
(allout-listify-exposed): Use allout-flattened-numbering-abbreviation.
(allout-encrypt-string): Use set-buffer-multibyte directly.
(allout-set-buffer-multibyte): Remove.

13 years ago* lisp/simple.el (just-one-space): Remove useless `or' call.
Deniz Dogan [Wed, 16 Feb 2011 21:06:23 +0000 (22:06 +0100)]
* lisp/simple.el (just-one-space): Remove useless `or' call.

13 years ago* soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
Michael Albinus [Wed, 16 Feb 2011 19:56:31 +0000 (20:56 +0100)]
* soap-client.el (soap-well-known-xmlns, soap-local-xmlns)
(soap-default-xmlns, soap-target-xmlns, soap-multi-refs)
(soap-decoded-multi-refs, soap-current-wsdl)
(soap-encoded-namespaces): Rename CL-style *...* variables.

13 years ago* NEWS: Add soap-client.el and soap-inspect.el.
Michael Albinus [Wed, 16 Feb 2011 19:41:31 +0000 (20:41 +0100)]
* NEWS: Add soap-client.el and soap-inspect.el.

13 years ago* net/soap-client.el: Add "comm" and "hypermedia" to the
Michael Albinus [Wed, 16 Feb 2011 19:33:35 +0000 (20:33 +0100)]
* net/soap-client.el: Add "comm" and "hypermedia" to the
keywords.  Reflow too long lines.

* net/soap-inspect.el: Ditto.  Require 'cl.

13 years agoUse KVAR in the MS-DOS build.
Eli Zaretskii [Wed, 16 Feb 2011 19:09:20 +0000 (21:09 +0200)]
Use KVAR in the MS-DOS build.

 msdos.c (internal_terminal_init): Use KVAR.

13 years agoFix formatting of src/ChangeLog entries.
Eli Zaretskii [Wed, 16 Feb 2011 18:49:57 +0000 (20:49 +0200)]
Fix formatting of src/ChangeLog entries.

13 years agosrc/s/ms-w32.h (getloadavg): Declare prototype which was removed from lisp.h.
Eli Zaretskii [Wed, 16 Feb 2011 18:47:21 +0000 (20:47 +0200)]
src/s/ms-w32.h (getloadavg): Declare prototype which was removed from lisp.h.

13 years agoUse KVAR in MS-Windows build, remove buffer-file-type.
Eli Zaretskii [Wed, 16 Feb 2011 18:39:46 +0000 (20:39 +0200)]
Use KVAR in MS-Windows build, remove buffer-file-type.

 w32fns.c (Fx_create_frame): Use KVAR.
 w32term.c (w32_create_terminal): Use KVAR.
 s/ms-w32.h (MODE_LINE_BINARY_TEXT): Remove.
 xdisp.c (decode_mode_spec): Don't use MODE_LINE_BINARY_TEXT.
 fileio.c (Finsert_file_contents, Fwrite_region): Remove
 references to buffer_file_type.
 (syms_of_fileio): Don't intern and staticpro
 find-buffer-file-type.
 callproc.c (syms_of_callproc): Remove references to
 buffer_file_type.
 buffer.c (reset_buffer_local_variables): Don't set
 buffer_file_type.
 (init_buffer_once): Likewise.
 (syms_of_buffer): Don't define buffer-file-type.
 buffer.h (struct buffer): Remove buffer_file_type.

13 years agoplay/doctor.el: bugfix for `doctor-mode'.
Bastien Guerry [Wed, 16 Feb 2011 16:55:21 +0000 (17:55 +0100)]
play/doctor.el: bugfix for `doctor-mode'.

* play/doctor.el (doctor-mode): Bugfix: escape the "," character
in a `doctor-type' argument.

13 years agoHide implementation of `struct kboard'
Tom Tromey [Wed, 16 Feb 2011 16:35:16 +0000 (09:35 -0700)]
Hide implementation of `struct kboard'
* callint.c (Fcall_interactively): Update.
* doc.c (Fsubstitute_command_keys): Update.
* cmds.c (Fself_insert_command): Update.
* keymap.c (Fcurrent_active_maps, Fkey_binding)
(Fdescribe_buffer_bindings): Update.
* macros.c (Fstart_kbd_macro, end_kbd_macro, Fend_kbd_macro)
(store_kbd_macro_char, Fcall_last_kbd_macro, Fexecute_kbd_macro):
Update.
* keyboard.c (echo_char, echo_dash, echo_now, cancel_echoing)
(echo_length, echo_truncate, cmd_error, command_loop_1)
(read_char, kbd_buffer_store_event_hold, make_lispy_event)
(menu_bar_items, tool_bar_items, read_char_minibuf_menu_prompt)
(read_key_sequence, Fcommand_execute, Fexecute_extended_command)
(Fdiscard_input, init_kboard, init_keyboard, mark_kboards):
Update.
* xfns.c (Fx_create_frame): Update.
* xterm.c (x_connection_closed, x_term_init): Update.
* term.c (term_get_fkeys_1, CONDITIONAL_REASSIGN, init_tty):
Update.
* window.c (window_scroll_pixel_based, window_scroll_line_based):
Update.
* frame.c (make_frame_without_minibuffer, Fhandle_switch_frame)
(delete_frame): Update.
* lisp.h (DEFVAR_KBOARD): Update for change to field names.
* keyboard.h (struct kboard): Rename all Lisp_Object fields.
(KBOARD_INTERNAL_FIELD, KVAR): New macros.

13 years ago* lisp.h (DEFVAR_BUFFER_DEFAULTS): Use BVAR.
Tom Tromey [Wed, 16 Feb 2011 15:20:08 +0000 (08:20 -0700)]
* lisp.h (DEFVAR_BUFFER_DEFAULTS): Use BVAR.

13 years agoChange B_ to BVAR
Tom Tromey [Wed, 16 Feb 2011 15:02:50 +0000 (08:02 -0700)]
Change B_ to BVAR
* xfns.c (x_create_tip_frame, Fx_show_tip): Replace B_ with BVAR.
* xfaces.c (compute_char_face): Replace B_ with BVAR.
* xdisp.c (pos_visible_p, init_iterator, reseat_1)
(message_dolog, update_echo_area, ensure_echo_area_buffers)
(with_echo_area_buffer, setup_echo_area_for_printing)
(set_message_1, update_menu_bar, update_tool_bar)
(text_outside_line_unchanged_p, redisplay_internal)
(try_scrolling, try_cursor_movement, redisplay_window)
(try_window_reusing_current_matrix, row_containing_pos)
(try_window_id, get_overlay_arrow_glyph_row, display_line)
(Fcurrent_bidi_paragraph_direction, display_mode_lines)
(decode_mode_spec_coding, decode_mode_spec, display_count_lines)
(get_window_cursor_type, note_mouse_highlight): Replace B_ with
BVAR.
* window.c (window_display_table, unshow_buffer, window_loop)
(window_min_size_2, set_window_buffer, Fset_window_buffer)
(select_window, Fforce_window_update, temp_output_buffer_show)
(Fset_window_configuration, save_window_save): Replace B_ with
BVAR.
* w32fns.c (x_create_tip_frame, Fx_show_tip, Fw32_shell_execute):
Replace B_ with BVAR.
* undo.c (record_point, record_insert, record_delete)
(record_marker_adjustment, record_first_change)
(record_property_change, Fundo_boundary, truncate_undo_list)
(Fprimitive_undo): Replace B_ with BVAR.
* syntax.h (Vstandard_syntax_table, CURRENT_SYNTAX_TABLE)
(SETUP_BUFFER_SYNTAX_TABLE): Replace B_ with BVAR.
* syntax.c (update_syntax_table, dec_bytepos, Fsyntax_table)
(Fset_syntax_table, Fmodify_syntax_entry, skip_chars)
(skip_syntaxes, scan_lists): Replace B_ with BVAR.
* search.c (compile_pattern_1, compile_pattern, looking_at_1)
(string_match_1, fast_looking_at, newline_cache_on_off)
(search_command, search_buffer, simple_search, boyer_moore)
(Freplace_match): Replace B_ with BVAR.
* process.c (get_process, list_processes_1, Fstart_process)
(Fmake_serial_process, Fmake_network_process)
(read_process_output, send_process, exec_sentinel)
(status_notify, setup_process_coding_systems): Replace B_ with
BVAR.
* print.c (PRINTDECLARE, PRINTPREPARE, PRINTFINISH, printchar)
(strout, print_string, temp_output_buffer_setup, print_object):
Replace B_ with BVAR.
* msdos.c (IT_frame_up_to_date): Replace B_ with BVAR.
* minibuf.c (read_minibuf, get_minibuffer, Fread_buffer): Replace
B_ with BVAR.
* marker.c (Fmarker_buffer, Fset_marker, set_marker_restricted)
(set_marker_both, set_marker_restricted_both, unchain_marker):
Replace B_ with BVAR.
* lread.c (readchar, unreadchar, openp, readevalloop)
(Feval_buffer, Feval_region): Replace B_ with BVAR.
* lisp.h (DOWNCASE_TABLE, UPCASE_TABLE): Replace B_ with BVAR.
* keymap.c (Flocal_key_binding, Fuse_local_map)
(Fcurrent_local_map, push_key_description)
(Fdescribe_buffer_bindings): Replace B_ with BVAR.
* keyboard.c (command_loop_1, read_char_minibuf_menu_prompt)
(read_key_sequence): Replace B_ with BVAR.
* intervals.h (TEXT_PROP_MEANS_INVISIBLE): Replace B_ with BVAR.
* intervals.c (set_point_both, get_local_map): Replace B_ with
BVAR.
* insdel.c (check_markers, insert_char, insert_1_both)
(insert_from_string_1, insert_from_gap, insert_from_buffer_1)
(adjust_after_replace, replace_range, del_range_2)
(modify_region, prepare_to_modify_buffer)
(Fcombine_after_change_execute): Replace B_ with BVAR.
* indent.c (buffer_display_table, recompute_width_table)
(width_run_cache_on_off, current_column, scan_for_column)
(Findent_to, position_indentation, compute_motion, vmotion):
Replace B_ with BVAR.
* fringe.c (get_logical_cursor_bitmap)
(get_logical_fringe_bitmap, update_window_fringes): Replace B_
with BVAR.
* frame.c (make_frame_visible_1): Replace B_ with BVAR.
* font.c (font_at): Replace B_ with BVAR.
* fns.c (Fbase64_encode_region, Fbase64_decode_region, Fmd5):
Replace B_ with BVAR.
* filelock.c (unlock_all_files, Flock_buffer, Funlock_buffer)
(unlock_buffer): Replace B_ with BVAR.
* fileio.c (Fexpand_file_name, Ffile_directory_p)
(Ffile_regular_p, Ffile_selinux_context)
(Fset_file_selinux_context, Ffile_modes, Fset_file_modes)
(Fset_file_times, Ffile_newer_than_file_p, decide_coding_unwind)
(Finsert_file_contents, choose_write_coding_system)
(Fwrite_region, build_annotations, Fverify_visited_file_modtime)
(Fset_visited_file_modtime, auto_save_error, auto_save_1)
(Fdo_auto_save, Fset_buffer_auto_saved): Replace B_ with BVAR.
* editfns.c (region_limit, Fmark_marker, save_excursion_save)
(save_excursion_restore, Fprevious_char, Fchar_before)
(general_insert_function, Finsert_char, Finsert_byte)
(make_buffer_string_both, Finsert_buffer_substring)
(Fcompare_buffer_substrings, subst_char_in_region_unwind)
(subst_char_in_region_unwind_1, Fsubst_char_in_region)
(Ftranslate_region_internal, save_restriction_restore)
(Fchar_equal): Replace B_ with BVAR.
* dispnew.c (Fframe_or_buffer_changed_p): Replace B_ with BVAR.
* dispextern.h (WINDOW_WANTS_MODELINE_P)
(WINDOW_WANTS_HEADER_LINE_P): Replace B_ with BVAR.
* dired.c (directory_files_internal): Replace B_ with BVAR.
* data.c (swap_in_symval_forwarding, set_internal)
(Fmake_local_variable, Fkill_local_variable, Flocal_variable_p):
Replace B_ with BVAR.
* composite.c (fill_gstring_header)
(composition_compute_stop_pos, composition_adjust_point)
(Ffind_composition_internal): Replace B_ with BVAR.
* coding.c (decode_coding, encode_coding)
(make_conversion_work_buffer, decode_coding_gap)
(decode_coding_object, encode_coding_object)
(Fdetect_coding_region, Ffind_coding_systems_region_internal)
(Funencodable_char_position, Fcheck_coding_systems_region):
Replace B_ with BVAR.
* cmds.c (Fself_insert_command, internal_self_insert): Replace B_
with BVAR.
* charset.c (Ffind_charset_region): Replace B_ with BVAR.
* character.h (FETCH_CHAR_ADVANCE, INC_BOTH, DEC_BOTH)
(ASCII_CHAR_WIDTH): Replace B_ with BVAR.
* character.c (chars_in_text, Fget_byte): Replace B_ with BVAR.
* category.h (Vstandard_category_table): Replace B_ with BVAR.
* category.c (check_category_table, Fcategory_table)
(Fset_category_table, char_category_set): Replace B_ with BVAR.
* casetab.c (Fcurrent_case_table, set_case_table): Replace B_ with
BVAR.
* casefiddle.c (casify_object, casify_region): Replace B_ with
BVAR.
* callproc.c (Fcall_process, Fcall_process_region): Replace B_
with BVAR.
* callint.c (check_mark, Fcall_interactively): Replace B_ with
BVAR.
* bytecode.c (Fbyte_code): Replace B_ with BVAR.
* buffer.h (FETCH_CHAR, FETCH_CHAR_AS_MULTIBYTE, BVAR): Replace B_
with BVAR.
* buffer.c (Fbuffer_live_p, Fget_file_buffer)
(get_truename_buffer, Fget_buffer_create)
(clone_per_buffer_values, Fmake_indirect_buffer, reset_buffer)
(reset_buffer_local_variables, Fbuffer_name, Fbuffer_file_name)
(Fbuffer_local_value, buffer_lisp_local_variables)
(Fset_buffer_modified_p, Frestore_buffer_modified_p)
(Frename_buffer, Fother_buffer, Fbuffer_enable_undo)
(Fkill_buffer, Fset_buffer_major_mode, set_buffer_internal_1)
(set_buffer_temp, Fset_buffer, set_buffer_if_live)
(Fbarf_if_buffer_read_only, Fbury_buffer, Ferase_buffer)
(Fbuffer_swap_text, swapfield_, Fbuffer_swap_text)
(Fset_buffer_multibyte, swap_out_buffer_local_variables)
(record_overlay_string, overlay_strings, init_buffer_once)
(init_buffer, syms_of_buffer): Replace B_ with BVAR.

13 years ago* net/soap-client.el:
Michael Albinus [Wed, 16 Feb 2011 09:25:37 +0000 (10:25 +0100)]
* net/soap-client.el:
* net/soap-inspect.el: New files.

13 years agoMore dired-x cleanup.
Leo Liu [Wed, 16 Feb 2011 08:51:39 +0000 (00:51 -0800)]
More dired-x cleanup.

* lisp/dired-x.el (dired-mode-map, dired-extra-startup):
Remove dired-copy-filename-as-kill since it's already in dired.el.

13 years agoUse emacsver.texi in dired-x.texi.
Glenn Morris [Wed, 16 Feb 2011 08:46:13 +0000 (00:46 -0800)]
Use emacsver.texi in dired-x.texi.

* doc/misc/dired-x.texi: Use emacsver.texi to get Emacs version.
* doc/misc/Makefile.in ($(infodir)/dired-x, dired-x.dvi, dired-x.pdf):
Depend on emacsver.texi.

13 years agoMerge from emacs-23; up to 2010-05-28T19:18:47Z!juri@jurta.org.
Glenn Morris [Wed, 16 Feb 2011 08:39:19 +0000 (00:39 -0800)]
Merge from emacs-23; up to 2010-05-28T19:18:47Z!juri@jurta.org.

13 years agoMore dired-x cleanup.
Glenn Morris [Wed, 16 Feb 2011 08:32:30 +0000 (00:32 -0800)]
More dired-x cleanup.

* lisp/dired-x.el (dired-bind-jump, dired-bind-man, dired-bind-info):
Doc fixes.  Add :set property, replacing top-level calls.
(dired-vm-read-only-folders, dired-vm): Doc fix (drop v. old VM 4).
(dired-guess-shell-gnutar): Test tar version rather than system-type.
(dired-extra-startup, dired-man, dired-info): Doc fixes.
(dired-clean-up-after-deletion): Use when and dolist.
(dired-jump): Use unless and when.
(dired-virtual): Use line-end-position.
(dired-default-directory-alist): Rename from default-directory-alist.
(dired-default-directory): Update for above name change.
(dired-vm): Drop VM < 5 and simplify.
(dired-buffer-more-recently-used-p): Rewrite.
(dired-filename-at-point): Use when and or.
(dired-x-read-filename-at-point): Rename from read-filename-at-point.
Update callers.

* doc/misc/dired-x.texi (Multiple Dired Directories): Update for rename of
default-directory-alist.
(Miscellaneous Commands): No longer mention very old VM version 4.

13 years agoImport getloadavg module from gnulib.
Paul Eggert [Wed, 16 Feb 2011 00:33:44 +0000 (16:33 -0800)]
Import getloadavg module from gnulib.

13 years ago* install-sh: Update to scriptversion 2011-01-19.21.
Paul Eggert [Wed, 16 Feb 2011 00:19:57 +0000 (16:19 -0800)]
* install-sh: Update to scriptversion 2011-01-19.21.

13 years agoauth-source.el (auth-source-debug): Enable by default and don't mention the obsolete...
Teodor Zlatanov [Wed, 16 Feb 2011 00:00:21 +0000 (00:00 +0000)]
auth-source.el (auth-source-debug): Enable by default and don't mention the obsolete `auth-source-hide-passwords'.
 (auth-source-do-warn): New function to debug unconditionally.
 (auth-source-do-debug): Use it.
 (auth-source-backend-parse): Use it for invalid `auth-sources' entries and for Secrets API entries when the secrets.el library is not available.