]> git.eshelyaron.com Git - emacs.git/log
emacs.git
12 years agoUse internal sha1 in vc-bzr
Glenn Morris [Wed, 11 Apr 2012 01:16:48 +0000 (21:16 -0400)]
Use internal sha1 in vc-bzr

* lisp/vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
These were only added in 24.1 when sha1.el was removed in favor of an
internal sha1 implementation.  Frankly, I can't see why the internal
sha1 wasn't immediately used here.
(vc-bzr-sha1): Use internal sha1.
(Comments): Remove reference to abandoned upstream bug report that
contains no extra information.

12 years ago* src/alloc.c (lisp_align_malloc): Remove unneeded prototype.
Stefan Monnier [Wed, 11 Apr 2012 00:51:44 +0000 (20:51 -0400)]
* src/alloc.c (lisp_align_malloc): Remove unneeded prototype.

12 years ago* lisp/progmodes/flymake.el (flymake-mode): Beware read-only dirs.
Stefan Monnier [Wed, 11 Apr 2012 00:21:00 +0000 (20:21 -0400)]
* lisp/progmodes/flymake.el (flymake-mode): Beware read-only dirs.

Fixes: debbugs:8954
12 years ago(hs-hide-all): Don't infloop on comments that start in the middle of the line.
Sébastien Gross [Tue, 10 Apr 2012 23:34:25 +0000 (01:34 +0200)]
(hs-hide-all): Don't infloop on comments that start in the middle of the line.

Fixes: debbugs:10496
12 years agobattery.el not working when multiple batteries are present
Dan Nicolaescu [Tue, 10 Apr 2012 23:24:31 +0000 (01:24 +0200)]
battery.el not working when multiple batteries are present

* battery.el (battery-linux-proc-acpi): Only one battery is
discharged at a time, but that seems to confuse battery.el when
computing `rate-type' for the battery not being discharged.

Fixes: debbugs:10332
12 years ago* lisp/emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
Stefan Monnier [Tue, 10 Apr 2012 20:15:08 +0000 (16:15 -0400)]
* lisp/emacs-lisp/autoload.el (autoload-make-program): Remove, unused.

12 years ago* lisp/international/quail.el: Use dolist and simplify.
Stefan Monnier [Tue, 10 Apr 2012 20:14:33 +0000 (16:14 -0400)]
* lisp/international/quail.el: Use dolist and simplify.
(quail-define-package, quail-update-keyboard-layout)
(quail-define-rules): Use dolist.
(quail-insert-kbd-layout, quail-get-translation): CSE.

12 years ago* lisp/tmm.el: Use dolist, remove left over hook.
Stefan Monnier [Tue, 10 Apr 2012 20:12:07 +0000 (16:12 -0400)]
* lisp/tmm.el: Use dolist, remove left over hook.
(tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind): Use dolist.
(calendar-load-hook): Don't mess with it.

12 years ago* lisp/vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
Stefan Monnier [Tue, 10 Apr 2012 20:08:43 +0000 (16:08 -0400)]
* lisp/vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
Use derived-mode-p.  Run the diff asynchronously.

12 years ago* src/keyboard.c: Override inhibit-quit after the third C-g.
Jason S. Cornez [Tue, 10 Apr 2012 19:36:17 +0000 (15:36 -0400)]
* src/keyboard.c: Override inhibit-quit after the third C-g.
(force_quit_count): New var.
(handle_interrupt): Use it.

Fixes: debbugs:6585
12 years agoBetter parallelism on MS-Windows for "make info".
Eli Zaretskii [Tue, 10 Apr 2012 19:03:32 +0000 (22:03 +0300)]
Better parallelism on MS-Windows for "make info".

 nt/makefile.w32-in (emacs, misc, lispref, lispintro): New targets,
 each runs makeinfo in its own subdirectory of 'doc'.
 (info-gmake): Depend on these new targets.

12 years ago* admin/bzrmerge.el (bzrmerge-skip-regexp): Add "from trunk".
Glenn Morris [Tue, 10 Apr 2012 17:27:01 +0000 (13:27 -0400)]
* admin/bzrmerge.el (bzrmerge-skip-regexp): Add "from trunk".
Add header keyword.

12 years ago* obsolete/mouse-sel.el: Add an Obsolete-since header.
Lars Magne Ingebrigtsen [Tue, 10 Apr 2012 17:09:34 +0000 (19:09 +0200)]
* obsolete/mouse-sel.el: Add an Obsolete-since header.

12 years agoMoved mouse-sel.el to the lisp/obsolete directory
Lars Magne Ingebrigtsen [Tue, 10 Apr 2012 17:08:36 +0000 (19:08 +0200)]
Moved mouse-sel.el to the lisp/obsolete directory

12 years agoTiny url-util.el code clean-up.
Lars Magne Ingebrigtsen [Tue, 10 Apr 2012 17:03:34 +0000 (19:03 +0200)]
Tiny url-util.el code clean-up.

12 years agoRevert previous url-util patch.
Lars Magne Ingebrigtsen [Tue, 10 Apr 2012 17:02:04 +0000 (19:02 +0200)]
Revert previous url-util patch.

The caller can as easily do the decoding themselves.

12 years agoRecord and display absolute path of DLLs loaded (bug#10424).
Juanma Barranquero [Tue, 10 Apr 2012 14:16:05 +0000 (16:16 +0200)]
Record and display absolute path of DLLs loaded (bug#10424).

* lisp/misc.el (list-dynamic-libraries--loaded): New function.
  (list-dynamic-libraries--refresh): Use it.

* src/w32.c (w32_delayed_load): Record the full path of the library
  being loaded.

12 years ago`python-fill-paragraph' filling fixup when font-lock is disabled
Nathan Weizenbaum [Tue, 10 Apr 2012 11:27:44 +0000 (13:27 +0200)]
`python-fill-paragraph' filling fixup when font-lock is disabled

* progmodes/python.el (python-fill-paragraph): Make
python-fill-region in a multiline string work when font-lock is
disabled.

Fixes: debbugs:7018
12 years ago(url-retrieve-internal): Hexify multibye URL string first when necessary.
William Xu [Tue, 10 Apr 2012 11:22:08 +0000 (13:22 +0200)]
(url-retrieve-internal): Hexify multibye URL string first when necessary.

Also mention this in the relevant doc strings.

Fixes: debbugs:7017
12 years agoAdded new charset cp775
Laimonas V bra [Tue, 10 Apr 2012 11:15:11 +0000 (13:15 +0200)]
Added new charset cp775

* language/european.el (cp775): Added oem/legacy (en)coding on
DOS/MS Windows for the Baltic languages. There are still plenty of
texts written in this encoding/codepage.

Fixes: debbugs:6519
12 years agoFix changes in 2012-04-09T18:12:40Z!schwab@linux-m68k.org.
Eli Zaretskii [Tue, 10 Apr 2012 10:54:17 +0000 (13:54 +0300)]
Fix changes in 2012-04-09T18:12:40Z!schwab@linux-m68k.org.

12 years agoAuto-commit of generated files.
Glenn Morris [Tue, 10 Apr 2012 10:17:26 +0000 (06:17 -0400)]
Auto-commit of generated files.

12 years agoRemove some more "rogue" defcustoms that show up in emacs -Q
Glenn Morris [Tue, 10 Apr 2012 07:19:38 +0000 (00:19 -0700)]
Remove some more "rogue" defcustoms that show up in emacs -Q

* lisp/cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
Add :standard values, reducing "rogue" customs in emacs -Q a bit more.

12 years agoGenerate admin/unidata/Makefile with configure
Glenn Morris [Tue, 10 Apr 2012 07:18:02 +0000 (00:18 -0700)]
Generate admin/unidata/Makefile with configure

* configure.in: Conditionally generate admin/unidata/Makefile.

* admin/unidata/Makefile.in: Add FSF copyright.
Make it use autoconf features, and work for out-of-tree builds.

12 years agoComment trivia.
Glenn Morris [Tue, 10 Apr 2012 07:15:09 +0000 (00:15 -0700)]
Comment trivia.

12 years agoMake erc use auth-source to look up channel keys
Lars Magne Ingebrigtsen [Tue, 10 Apr 2012 04:43:35 +0000 (06:43 +0200)]
Make erc use auth-source to look up channel keys

* lisp/erc/erc-join.el (erc-server-join-channel): New function to look up
the channel password via auth-source.
(erc-autojoin-channels): Use it.
(erc-autojoin-after-ident): Ditto.
(erc-autojoin-channels-alist): Mention auth-source.

12 years agoAdd `field' to `erc-display-prompt'
Deniz Dogan [Tue, 10 Apr 2012 02:51:39 +0000 (04:51 +0200)]
Add `field' to `erc-display-prompt'

* erc.el (erc-display-prompt): Adds the field text property to the
ERC prompt.  This allows users to use `kill-whole-line' to kill
all text back to the prompt given that it's on a single line.

Fixes: debbugs:10841
12 years agoTwo new recentf.el keybindings
Florian Adamsky [Tue, 10 Apr 2012 02:45:10 +0000 (04:45 +0200)]
Two new recentf.el keybindings

* recentf.el (recentf-dialog-mode-map): Added two keybindings for
next-line "n" and previous-line "p" in order to make recentf more
consistent with ibuffer, dired or org-mode.

Fixes: debbugs:9387
12 years agoMake `put-image' return the overlay created
Lars Magne Ingebrigtsen [Tue, 10 Apr 2012 02:34:57 +0000 (04:34 +0200)]
Make `put-image' return the overlay created

* image.el (put-image): Return the overlay created instead of the
optional input string.  Note that this may break code
that is (for some reason or other) depending on `put-image'
returning the string.

Fixes: debbugs:7834
12 years ago* mouse-sel.el (mouse-sel-mode): Mark as obsolete.
Lars Magne Ingebrigtsen [Tue, 10 Apr 2012 02:31:09 +0000 (04:31 +0200)]
* mouse-sel.el (mouse-sel-mode): Mark as obsolete.

Fixes: debbugs:6174
12 years ago* simple.el (zap-to-char): Allow zapping using input methods.
Lars Magne Ingebrigtsen [Tue, 10 Apr 2012 02:23:21 +0000 (04:23 +0200)]
* simple.el (zap-to-char): Allow zapping using input methods.

Fixes: debbugs:1580
12 years ago(url-unhex-string): Add an optional CODING-SYSTEM parameter.
Lars Magne Ingebrigtsen [Tue, 10 Apr 2012 02:14:13 +0000 (04:14 +0200)]
(url-unhex-string): Add an optional CODING-SYSTEM parameter.

Fixes: debbugs:6252
12 years ago(fill-region): Leave point and mark where they were before filling
Lars Magne Ingebrigtsen [Tue, 10 Apr 2012 02:06:19 +0000 (04:06 +0200)]
(fill-region): Leave point and mark where they were before filling

Fixes: debbugs:5399
12 years agoAdd a policy list of domains that url.el can set cookies for
Lars Magne Ingebrigtsen [Tue, 10 Apr 2012 01:57:45 +0000 (03:57 +0200)]
Add a policy list of domains that url.el can set cookies for

* etc/publicsuffix.txt: New file.

* lisp/url/url-cookie.el (url-cookie-two-dot-domains): Remove.
(url-cookie-host-can-set-p): Use `url-domsuf-cookie-allowed-p'
instead of the variable above.

Fixes: debbugs:1401
12 years agoemacs-bzr-get-version tweak
Glenn Morris [Mon, 9 Apr 2012 23:03:33 +0000 (19:03 -0400)]
emacs-bzr-get-version tweak

* lisp/version.el (emacs-bzr-get-version):
Handle lightweight checkouts of local branches.

12 years agodoc.c fix for bug#11036
Glenn Morris [Mon, 9 Apr 2012 20:43:15 +0000 (16:43 -0400)]
doc.c fix for bug#11036

* src/doc.c (Fsnarf_documentation): Check variables, functions are bound,
not just in the obarray, before snarfing them.

12 years agoRename leim/Makefile's BUILT_EMACS to EMACS
Glenn Morris [Mon, 9 Apr 2012 20:37:08 +0000 (16:37 -0400)]
Rename leim/Makefile's BUILT_EMACS to EMACS

* leim/Makefile.in (EMACS): Rename from BUILT_EMACS.
(RUN_EMACS, compile-main): Update for this change.

* src/Makefile.in ($(leimdir)/leim-list.el):
Pass EMACS rather than BUILT_EMACS.

12 years agoSmall leim/Makefile.in simplification
Glenn Morris [Mon, 9 Apr 2012 20:34:05 +0000 (16:34 -0400)]
Small leim/Makefile.in simplification

* leim/Makefile.in (../src/emacs): Remove this rule, no longer relevant
since leim distributed with Emacs (eg lisp/ has no such rule).
(all): Remove $BUILT_EMACS dependence.

12 years agoChangeLog fix
Glenn Morris [Mon, 9 Apr 2012 20:31:47 +0000 (16:31 -0400)]
ChangeLog fix

12 years agoFixes: debbugs:11209
Andreas Schwab [Mon, 9 Apr 2012 18:12:40 +0000 (20:12 +0200)]
Fixes: debbugs:11209
* international/characters.el: Recover lost case pairs.

12 years agoChangelog fix
Glenn Morris [Mon, 9 Apr 2012 16:23:20 +0000 (09:23 -0700)]
Changelog fix

12 years agoSupport building emacs-gnutls Info manual on MS-Windows.
Eli Zaretskii [Mon, 9 Apr 2012 16:19:39 +0000 (19:19 +0300)]
Support building emacs-gnutls Info manual on MS-Windows.

 doc/misc/makefile.w32-in (INFO_TARGETS, DVI_TARGETS, clean): Add emacs-gnutls.
 ($(infodir)/emacs-gnutls, emacs-gnutls.dvi): New targets.

12 years agoComment out debugging messages when compiling latin-ltx.el.
Eli Zaretskii [Mon, 9 Apr 2012 16:12:23 +0000 (19:12 +0300)]
Comment out debugging messages when compiling latin-ltx.el.

 leim/quail/latin-ltx.el (latin-ltx--define-rules): Comment out
 debugging messages.

12 years agoAdd documentation for the Emacs GnuTLS integration.
Ted Zlatanov [Mon, 9 Apr 2012 13:10:22 +0000 (09:10 -0400)]
Add documentation for the Emacs GnuTLS integration.

* info/dir (File):
* Makefile.in: Add emacs-gnutls to the info directory and the
INFO_FILES target.

* doc/misc/emacs-gnutls.texi: Add documentation for the GnuTLS integration.

* doc/misc/gnutls.texi: New file to explain the GnuTLS integration.

* doc/misc/Makefile.in: Add gnutls.texi to build.

12 years agoRemove * characters from the front of variable docstrings.
Chong Yidong [Mon, 9 Apr 2012 13:05:48 +0000 (21:05 +0800)]
Remove * characters from the front of variable docstrings.

12 years agoLimit number of GnuTLS handshakes per connection.
Ted Zlatanov [Mon, 9 Apr 2012 12:46:16 +0000 (08:46 -0400)]
Limit number of GnuTLS handshakes per connection.

* gnutls.c (gnutls_log_function2i): Convenience log function.
(emacs_gnutls_read): Use new log functions,
`gnutls_handshakes_tried' process member, and
`GNUTLS_EMACS_HANDSHAKES_LIMIT' to limit the number of handshake
attempts per process (connection).

* gnutls.h: Add `GNUTLS_EMACS_HANDSHAKES_LIMIT' upper limit.  Add
convenience `GNUTLS_LOG2i' macro.

* process.c (make_process):
* process.h: Add integer `gnutls_handshakes_tried' member to
process struct.

12 years agoRemove defining user variables via * in docstring.
Chong Yidong [Mon, 9 Apr 2012 12:36:01 +0000 (20:36 +0800)]
Remove defining user variables via * in docstring.

* lisp/apropos.el (apropos-variable):
* lisp/files-x.el (read-file-local-variable):
* lisp/simple.el (set-variable):
* lisp/woman.el (woman-mini-help):
* lisp/emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.

* lisp/custom.el (custom-variable-p): Return nil for non-symbol
arguments instead of signaling an error.
(user-variable-p): Obsolete alias for custom-variable-p.

* lisp/erc/erc.el (erc-cmd-SET): Call custom-variable-p instead of
user-variable-p.

* src/callint.c (Finteractive, Fcall_interactively):
* src/minibuf.c (Fread_variable): Callers changed.

* src/eval.c (Fuser_variable_p, user_variable_p_eh)
(lisp_indirect_variable): Functions deleted.
(Fdefvar): Caller changed.

* doc/lispref/commands.texi (Interactive Codes):
* doc/lispref/help.texi (Accessing Documentation):
* doc/lispref/minibuf.texi (High-Level Completion): Callers changed.

* doc/lispref/customize.texi (Variable Definitions): Remove user-variable-p.

12 years agoAuto-commit of generated files.
Glenn Morris [Mon, 9 Apr 2012 10:17:30 +0000 (06:17 -0400)]
Auto-commit of generated files.

12 years agoFix bug #11094 with cursor display on display string after invisible text.
Eli Zaretskii [Mon, 9 Apr 2012 08:00:08 +0000 (11:00 +0300)]
Fix bug #11094 with cursor display on display string after invisible text.

 src/xdisp.c (set_cursor_from_row): If the display string appears in
 the buffer at position that is closer to point than the position
 after the display string, display the cursor on the first glyph of
 the display string.  Fixes cursor display when a 'display' text
 property immediately follows invisible text.

12 years agoLook for leim-list.el files in fewer places at startup
Glenn Morris [Mon, 9 Apr 2012 06:58:41 +0000 (23:58 -0700)]
Look for leim-list.el files in fewer places at startup

* lisp/startup.el (normal-top-level):
Don't look for leim-list.el in places where it will not be found.

Fixes: debbugs:910
12 years agocomposite.c: use 'double' consistently
Paul Eggert [Mon, 9 Apr 2012 06:52:40 +0000 (23:52 -0700)]
composite.c: use 'double' consistently

* composite.c (get_composition_id): Use 'double' consistently
instead of converting 'float' to 'double' and vice versa; this is
easier to understand and avoids a GCC warning.

12 years agoGenerate leim-list with bootstrap-emacs, in prep for dumping it with emacs
Glenn Morris [Mon, 9 Apr 2012 06:47:33 +0000 (23:47 -0700)]
Generate leim-list with bootstrap-emacs, in prep for dumping it with emacs

* src/Makefile.in: (leimdir): New variable.
($(leimdir)/leim-list.el): New rule.
(emacs$(EXEEXT)): Depend on leim-list.el.

Fixes: debbugs:4789
12 years agoSmall changes for top-level Makefile
Glenn Morris [Mon, 9 Apr 2012 06:40:20 +0000 (23:40 -0700)]
Small changes for top-level Makefile

* Makefile.in (leim): Check cd return value.  Pass fewer variables.
(install-leim): Check cd return value.  Pass $MFLAGS.
(install-strip): Pass $MFLAGS.

12 years agoMake leim/Makefile compute the list of .el files like lisp/Makefile
Glenn Morris [Mon, 9 Apr 2012 06:34:21 +0000 (23:34 -0700)]
Make leim/Makefile compute the list of .el files like lisp/Makefile

* leim/Makefile.in: (TIT_GB, TIT_BIG5, CHINESE_TIT, MISC, TIT_MISC):
Make them store the .el files rather than the .elc files.
(NON_TIT_GB, NON_TIT_BIG5, CHINESE_NON_TIT, CHINESE_GB)
(CHINESE_GB, CHINESE_BIG5, JAPANESE, KOREAN, THAI, VIETNAMESE)
(LAO, INDIAN, TIBETAN, LATIN, UNICODE, SLAVIC, GREEK, RUSSIAN)
(OTHERS, CHINESE, EASTASIA, ASIA, EUROPEAN, WORLD, NON_TIT_MISC):
Remove variables listing the non-generated .el files.
(.el.elc): Add explicit load-path for quail.
(all): Depend on compile-main rule rather than $WORLD.
(changed.tit, changed.misc): Also depend on $SUBDIRS.
(leim-list.el): Don't depend on changed.tit or changed.misc.
Remove unnecessary compilation check.
(setwins, compile-targets, compile-main): New.
(clean, mostlyclean): Update for change in TIT_MISC contents.
(bootstrap-clean): Use a glob match to delete .elc, not a fixed list.

12 years ago* leim/quail/latin-ltx.el: Auto-generate some of the entries.
Stefan Monnier [Mon, 9 Apr 2012 02:53:51 +0000 (22:53 -0400)]
* leim/quail/latin-ltx.el: Auto-generate some of the entries.
(latin-ltx--ascii-p): New function.
(latin-ltx--define-rules): New macro.
(define-rules): Use it.

12 years agoRemove ucs-set-table-for-input dead code
Glenn Morris [Mon, 9 Apr 2012 00:58:00 +0000 (17:58 -0700)]
Remove ucs-set-table-for-input dead code
This function was removed with ucs-tables.el in 2008.

* lisp/international/mule-cmds.el (set-default-coding-systems):
* lisp/files.el (normal-mode):
Remove guarded calls to ucs-set-table-for-input.

* src/buffer.c (Qucs_set_table_for_input): Remove.
(Fget_buffer_create): Don't call Qucs_set_table_for_input.
(init_buffer_once, syms_of_buffer): Remove Qucs_set_table_for_input.

Fixes: debbugs:9821
12 years ago* configure.in: Require makeinfo >= 4.7.
Glenn Morris [Mon, 9 Apr 2012 00:50:17 +0000 (17:50 -0700)]
* configure.in: Require makeinfo >= 4.7.
Eg org.texi has been using 4.7 functions for some time.

Fixes: debbugs:10910
12 years ago* lisp.h (struct Lisp_Symbol): Add explicit padding to ensure
Andreas Schwab [Sun, 8 Apr 2012 21:14:30 +0000 (23:14 +0200)]
* lisp.h (struct Lisp_Symbol): Add explicit padding to ensure
proper alignment.

12 years agoFix invocation of Hunspell by ispell.el.
Eli Zaretskii [Sun, 8 Apr 2012 17:09:03 +0000 (20:09 +0300)]
Fix invocation of Hunspell by ispell.el.

 lisp/textmodes/ispell.el (ispell-check-version): For hunspell, set
 ispell-encoding8-command to "-i", without a trailing space.
 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
 separate command-line arguments, to specify the encoding, since
 that's how hunspell expects it.

12 years agoAuto-commit of generated files.
Glenn Morris [Sun, 8 Apr 2012 10:18:45 +0000 (06:18 -0400)]
Auto-commit of generated files.

12 years ago* lisp/loadup.el: Load bindings before cus-start.
Glenn Morris [Sun, 8 Apr 2012 01:54:52 +0000 (18:54 -0700)]
* lisp/loadup.el: Load bindings before cus-start.
This reduces somewhat the number of "rogue" settings in emacs -Q.

Ref: http://lists.gnu.org/archive/html/emacs-devel/2008-06/msg00083.html

12 years agosrc/makefile.w32-in ($(BLD)/xml.$(O)): Reorder entry.
Juanma Barranquero [Sat, 7 Apr 2012 21:32:59 +0000 (23:32 +0200)]
src/makefile.w32-in ($(BLD)/xml.$(O)): Reorder entry.

12 years agosrc/xml.c (init_libxml2_functions) [WINDOWSNT]: Remove unused local variable.
Juanma Barranquero [Sat, 7 Apr 2012 20:54:50 +0000 (22:54 +0200)]
src/xml.c (init_libxml2_functions) [WINDOWSNT]: Remove unused local variable.

12 years agoCheck pkg-config exit status when configuring (Bug#10626).
Paul Eggert [Sat, 7 Apr 2012 20:45:36 +0000 (13:45 -0700)]
Check pkg-config exit status when configuring (Bug#10626).

* configure.in (PKG_CHECK_MODULES): Do not assume that pkg-config
works; check its exit status.  Problem reported by Jordi Gutiérrez
Hermoso in
<http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00787.html>.

12 years agoChangeLog fix
Glenn Morris [Sat, 7 Apr 2012 20:26:01 +0000 (13:26 -0700)]
ChangeLog fix

12 years agoAuto-commit of generated files.
Glenn Morris [Sat, 7 Apr 2012 20:02:14 +0000 (16:02 -0400)]
Auto-commit of generated files.

12 years agoBump trunk version to 24.1.50.
Glenn Morris [Sat, 7 Apr 2012 20:00:16 +0000 (13:00 -0700)]
Bump trunk version to 24.1.50.

* README, configure.in (AC_INIT): Bump version to 24.1.50.

* doc/emacs/emacsver.texi (EMACSVER): Bump version to 24.1.50.

* doc/man/emacs.1: Bump version to 24.1.50.

* msdos/sed2v2.inp: Bump version to 24.1.50.

* nextstep/Cocoa/Emacs.base/Contents/Info.plist:
* nextstep/Cocoa/Emacs.base/Contents/Resources/English.lproj/InfoPlist.strings:
* nextstep/GNUstep/Emacs.base/Resources/Info-gnustep.plist:
* nextstep/GNUstep/Emacs.base/Resources/Emacs.desktop:
Bump version to 24.1.50.

* nt/config.nt, nt/makefile.w32-in, nt/emacs.rc, nt/emacsclient.rc:
Bump version to 24.1.50.

12 years agoAdd emacs-bzr-version
Glenn Morris [Sat, 7 Apr 2012 19:51:51 +0000 (12:51 -0700)]
Add emacs-bzr-version

* lisp/version.el (emacs-bzr-get-version): New function.
* lisp/loadup.el (emacs-bzr-version): Set it.
* lisp/mail/emacsbug.el (report-emacs-bug): Include bzr version.

* etc/NEWS: Mention this, though it is not really relevant to releases.
Insert template for 24.2 release.

Fixes: debbugs:8054
12 years agoAvoid unnecessary pointer scanning in garbage collection (Bug#10780).
Paul Eggert [Sat, 7 Apr 2012 19:18:52 +0000 (12:18 -0700)]
Avoid unnecessary pointer scanning in garbage collection (Bug#10780).

* alloc.c (POINTERS_MIGHT_HIDE_IN_OBJECTS): New macro.
(mark_memory): Mark Lisp_Objects only if pointers might hide in
objects, as mark_maybe_pointer will catch them otherwise.
(GC_LISP_OBJECT_ALIGNMENT): Remove; no longer needed.
* s/gnu-linux.h (GC_LISP_OBJECT_ALIGNMENT) [__mc68000__]: Likewise.

12 years agoFix typo that broke non-Windows builds.
Paul Eggert [Sat, 7 Apr 2012 15:15:22 +0000 (08:15 -0700)]
Fix typo that broke non-Windows builds.

* xml.c (libxml2_loaded_p) [!!WINDOWSNT]: 'inine' -> 'inline'.

12 years agoUpdate the Unicode database and derived files for Unicode 6.1.
Eli Zaretskii [Sat, 7 Apr 2012 14:26:14 +0000 (17:26 +0300)]
Update the Unicode database and derived files for Unicode 6.1.

 admin/unidata/README:
 admin/unidata/copyright.html:
 admin/unidata/BidiMirroring.txt:
 admin/unidata/UnicodeData.txt: Update for the latest version 6.1 of
 the Unicode Standard.

 lisp/international/uni-bidi.el:
 lisp/international/uni-category.el:
 lisp/international/uni-combining.el:
 lisp/international/uni-decimal.el:
 lisp/international/uni-decomposition.el:
 lisp/international/uni-digit.el:
 lisp/international/uni-lowercase.el:
 lisp/international/uni-mirrored.el:
 lisp/international/uni-name.el:
 lisp/international/uni-numeric.el:
 lisp/international/uni-titlecase.el:
 lisp/international/uni-uppercase.el: Update for Unicode 6.1.

12 years agoSupport building on MS-Windows with libxml2.
Eli Zaretskii [Sat, 7 Apr 2012 13:57:36 +0000 (16:57 +0300)]
Support building on MS-Windows with libxml2.

 src/makefile.w32-in (OBJ2): Add xml.$(O).
 (GLOBAL_SOURCES): Add xml.c.
 ($(BLD)/xml.$(O)): New dependency list.
 src/xml.c (DEF_XML2_FN, LOAD_XML2_FN) [WINDOWSNT]: New macros.
 (fn_htmlReadMemory, fn_xmlReadMemory, fn_xmlDocGetRootElement)
 (fn_xmlFreeDoc, fn_xmlCleanupParser, fn_xmlCheckVersion)
 [!WINDOWSNT]: New macros.
 (init_libxml2_functions, libxml2_loaded_p): New functions.
 (parse_region): Call fn_xmlCheckVersion instead of using the macro
 LIBXML_TEST_VERSION.  Call libxml2 functions via the fn_* macros.
 (xml_cleanup_parser): New function, export for fn_xmlCleanupParser.
 Calls xmlCleanupParser only if libxml2 was loaded (or statically
 linked in).
 (Flibxml_parse_html_region, Flibxml_parse_xml_region): Call
 init_libxml2_functions before calling libxml2 functions.
 (syms_of_xml) <Qlibxml2_dll>: DEFSYM it.
 src/emacs.c: Don't include libxml/parser.h.
 (shut_down_emacs): Call xml_cleanup_parser, instead of calling
 xmlCleanupParser directly.
 src/ lisp.h [HAVE_LIBXML2]: Add prototype for xml_cleanup_parser.

 nt/configure.bat: Support building with libxml2.
 nt/INSTALL:
 nt/README.W32: Add information about libxml2.

 lisp/term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.

 lib-src/makefile.w32-in (obj): Add xml.o.

12 years agoBuild test-distrib on MS-Windows and run it during the build.
Eli Zaretskii [Sat, 7 Apr 2012 10:36:54 +0000 (13:36 +0300)]
Build test-distrib on MS-Windows and run it during the build.

 lib-src/makefile.w32-in (ALL): Add $(BLD)/test-distrib.exe.

12 years agoFix parallel build and bootstrap on MS-Windows.
Eli Zaretskii [Sat, 7 Apr 2012 10:19:22 +0000 (13:19 +0300)]
Fix parallel build and bootstrap on MS-Windows.

 nt/makefile.w32-in: (all): Don't depend on stamp_BLD and on maybe-bootstrap.
 (all-other-dirs-$(MAKETYPE)): Depend on maybe-bootstrap.
 (bootstrap-gmake): Invoke the "clean" and build targets in 2
 separate commands, so they run in that order even under "make -j".
 lib/makefile.w32-in (gnulib, all): Don't depend on stamp_BLD.
 lib-src/makefile.w32-in (ALL): Now the list of executables, not of phony
 targets.
 (.PHONY): Only make-docfile is its prerequisite now.
 (make-docfile): Don't depend on stamp_BLD.  Add a comment about
 the need in this target.
 (ctags, etags, ebrowse, hexl, movemail, emacsclient)
 (test-distrib): Phony targets removed.
 ($(BLD)/test-distrib.exe): Run test-distrib as part of the recipe.
 (all): Don't depend on stamp_BLD.

12 years agoConvert nt/makefile.w32-in to Unix EOL format.
Eli Zaretskii [Sat, 7 Apr 2012 08:26:32 +0000 (11:26 +0300)]
Convert nt/makefile.w32-in to Unix EOL format.

12 years agoFix bug #11133 with vertical-motion across a long display string.
Eli Zaretskii [Sat, 7 Apr 2012 07:54:56 +0000 (10:54 +0300)]
Fix bug #11133 with vertical-motion across a long display string.

 src/indent.c (Fvertical_motion): If there is a display string at
 point, use it.vpos to compute how many lines to backtrack after
 move_it_to point.

12 years agoWarning comments about subtleties of fetching characters from buffers/strings.
Eli Zaretskii [Fri, 6 Apr 2012 13:10:30 +0000 (16:10 +0300)]
Warning comments about subtleties of fetching characters from buffers/strings.

 src/buffer.h (FETCH_CHAR, FETCH_MULTIBYTE_CHAR):
 src/character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Add comments
 about subtle differences between FETCH_CHAR* and STRING_CHAR*
 macros related to unification of CJK characters.  For the details,
 see the discussion following the message here:
 http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11073#14.

12 years ago* doc/lispref/minibuf.texi (Programmed Completion): Document metadata method.
Chong Yidong [Fri, 6 Apr 2012 06:39:35 +0000 (14:39 +0800)]
* doc/lispref/minibuf.texi (Programmed Completion): Document metadata method.
(Completion Variables): Document completion-category-overrides.

12 years agoauth.texi (Secret Service API): Adjust @samp to @code for collection names
Teodor Zlatanov [Fri, 6 Apr 2012 01:56:38 +0000 (01:56 +0000)]
auth.texi (Secret Service API): Adjust @samp to @code for collection names

12 years ago`shrink-window' doc fix
Lars Magne Ingebrigtsen [Thu, 5 Apr 2012 22:26:20 +0000 (00:26 +0200)]
`shrink-window' doc fix

* window.el (shrink-window): Mention the `window-min-height'
variable in the doc string.

12 years agoUpdate lispref antinews menu descriptions per comment in anti.texi
Glenn Morris [Thu, 5 Apr 2012 18:32:38 +0000 (14:32 -0400)]
Update lispref antinews menu descriptions per comment in anti.texi

12 years agoFix a typo in doc/lispref/anti.texi.
Eli Zaretskii [Thu, 5 Apr 2012 16:52:56 +0000 (19:52 +0300)]
Fix a typo in doc/lispref/anti.texi.

12 years ago* doc/lispref/anti.texi (Antinews): Rewrite for Emacs 23.
Chong Yidong [Thu, 5 Apr 2012 14:47:41 +0000 (22:47 +0800)]
* doc/lispref/anti.texi (Antinews): Rewrite for Emacs 23.

* etc/NEWS: Some minor rearrangement.

12 years agoauth.texi (Secret Service API): Edit further and give examples.
Teodor Zlatanov [Thu, 5 Apr 2012 13:55:55 +0000 (13:55 +0000)]
auth.texi (Secret Service API): Edit further and give examples.

12 years agoFix typo in color.el.
Bastien Guerry [Thu, 5 Apr 2012 07:29:19 +0000 (09:29 +0200)]
Fix typo in color.el.

Thanks to Brad Town for spotting this.

12 years agoNEWS typo fix and punctuation tweaks
Glenn Morris [Thu, 5 Apr 2012 06:54:40 +0000 (23:54 -0700)]
NEWS typo fix and punctuation tweaks

12 years agoNEWS copyedits. Remove +++/--- lines.
Chong Yidong [Thu, 5 Apr 2012 04:29:22 +0000 (12:29 +0800)]
NEWS copyedits.  Remove +++/--- lines.

12 years agoMore anchors for internal Glossary links.
Glenn Morris [Thu, 5 Apr 2012 00:28:06 +0000 (20:28 -0400)]
More anchors for internal Glossary links.

12 years ago* doc/emacs/glossary.texi (Glossary): Use anchors for internal cross-refs
Glenn Morris [Thu, 5 Apr 2012 00:14:04 +0000 (20:14 -0400)]
* doc/emacs/glossary.texi (Glossary): Use anchors for internal cross-refs

12 years agoMarkup fixes for auth.texi
Glenn Morris [Wed, 4 Apr 2012 20:44:56 +0000 (16:44 -0400)]
Markup fixes for auth.texi

* doc/misc/auth.texi (Help for users, Help for developers)
(GnuPG and EasyPG Assistant Configuration): Markup fixes.

12 years agoauth.texi small edits
Glenn Morris [Wed, 4 Apr 2012 20:36:33 +0000 (16:36 -0400)]
auth.texi small edits

* doc/misc/auth.texi (Secret Service API): Copyedits.
(Help for developers): Fill in some missing function doc-strings.

12 years ago* lisp/server.el (server--on-display-p): New function.
Stefan Monnier [Wed, 4 Apr 2012 17:13:00 +0000 (13:13 -0400)]
* lisp/server.el (server--on-display-p): New function.
(server--on-display-p): Use it.

12 years ago* lisp/ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p.
Gabor Vida [Wed, 4 Apr 2012 16:22:09 +0000 (12:22 -0400)]
* lisp/ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p.

Fixes: debbugs:11145
12 years ago* lisp/comint.el (comint--common-quoted-suffix): Check string boundary
Stefan Monnier [Wed, 4 Apr 2012 16:06:59 +0000 (12:06 -0400)]
* lisp/comint.el (comint--common-quoted-suffix): Check string boundary
before comparing.
* lisp/pcomplete.el (pcomplete--common-quoted-suffix): Idem.

Fixes: debbugs:11158
12 years agoChange doc flag for secrets.el
Michael Albinus [Wed, 4 Apr 2012 15:32:59 +0000 (17:32 +0200)]
Change doc flag for secrets.el

12 years ago* auth.texi (Secret Service API): Add the missing text.
Michael Albinus [Wed, 4 Apr 2012 15:28:57 +0000 (17:28 +0200)]
* auth.texi (Secret Service API): Add the missing text.

12 years agoSome more completion updates for Lisp manual.
Chong Yidong [Wed, 4 Apr 2012 10:32:35 +0000 (18:32 +0800)]
Some more completion updates for Lisp manual.

* doc/lispref/minibuf.texi (Reading File Names): minibuffer-local-filename-must-match-map is
not used anymore.
(Minibuffer Completion): Document completing-read-function.
(Completion in Buffers): completion-at-point-functions can return
properties recognized in completion-extra-properties.

12 years agoDocument completion-extra-properties in Lisp manual.
Chong Yidong [Wed, 4 Apr 2012 09:19:32 +0000 (17:19 +0800)]
Document completion-extra-properties in Lisp manual.

* doc/lispref/minibuf.texi (Programmed Completion): Remove obsolete variable
completion-annotate-function.
(Completion Variables): Rename from Completion Styles.  Document
completion-extra-properties.  Document completion-styles-alist
change.

* lisp/minibuffer.el (completion-extra-properties): Doc fix.

12 years ago* doc/lispref/os.texi (Notifications): Copyedits.
Chong Yidong [Wed, 4 Apr 2012 08:11:01 +0000 (16:11 +0800)]
* doc/lispref/os.texi (Notifications): Copyedits.

12 years agoSeveral miscellaneous doc changes.
Chong Yidong [Wed, 4 Apr 2012 07:54:02 +0000 (15:54 +0800)]
Several miscellaneous doc changes.

* doc/lispref/display.texi (Delayed Warnings): New node.

* doc/misc/gnus-faq.texi (FAQ 8-2): Mention EasyPG.

* doc/misc/gnus.texi: Reduce references to obsolete pgg library.
(Security): Note that epg is now the default.

* doc/misc/message.texi (Using PGP/MIME): Note that epg is now the default.

* doc/misc/nxml-mode.texi (Completion): C-RET is no longer bound to
nxml-complete.

* lisp/subr.el (delayed-warnings-hook): Doc fix.

* src/keyboard.c (Vdelayed_warnings_list): Doc fix.