1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 08:43:40 -07:00
Commit graph

104793 commits

Author SHA1 Message Date
Glenn Morris
effed0c27e * lisp/vc/vc-bzr.el (vc-bzr-status): Handle all errors, not just file-errors.
Ref: http://lists.gnu.org/archive/html/help-gnu-emacs/2012-04/msg00145.html
2012-04-10 22:06:59 -04:00
Glenn Morris
2f097256b9 Repurpose C_SWITCH_X_SYSTEM as GNUSTEP_CFLAGS
This is the only thing left that uses it.

* configure.in (GNUSTEP_CFLAGS): Rename from C_SWITCH_X_SYSTEM.

* src/Makefile.in (GNUSTEP_CFLAGS): Rename from C_SWITCH_X_SYSTEM.

* lwlib/Makefile.in (C_SWITCH_X_SYSTEM): Remove.
(ALL_CFLAGS): Remove C_SWITCH_X_SYSTEM.

* oldXMenu/Makefile.in (C_SWITCH_X_SYSTEM): Remove.
(ALL_CFLAGS): Remove C_SWITCH_X_SYSTEM.

* msdos/sedlibmk.inp, msdos/sed1v2.inp:
GNUSTEP_CFLAGS replaces C_SWITCH_X_SYSTEM.
2012-04-10 21:25:51 -04:00
Glenn Morris
a38c310cdd 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.
2012-04-10 21:16:48 -04:00
Stefan Monnier
453b951e7d * src/alloc.c (lisp_align_malloc): Remove unneeded prototype. 2012-04-10 20:51:44 -04:00
Stefan Monnier
0221e32392 * lisp/progmodes/flymake.el (flymake-mode): Beware read-only dirs.
Fixes: debbugs:8954
2012-04-10 20:21:00 -04:00
Sébastien Gross
43956923c0 (hs-hide-all): Don't infloop on comments that start in the middle of the line.
Fixes: debbugs:10496
2012-04-11 01:34:25 +02:00
Dan Nicolaescu
6a8c9eafb9 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
2012-04-11 01:24:31 +02:00
Stefan Monnier
2a718f6fbc * lisp/emacs-lisp/autoload.el (autoload-make-program): Remove, unused. 2012-04-10 16:15:08 -04:00
Stefan Monnier
599430d001 * 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.
2012-04-10 16:14:33 -04:00
Stefan Monnier
a2754b6c31 * 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.
2012-04-10 16:12:07 -04:00
Stefan Monnier
1930bf5dc3 * lisp/vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
Use derived-mode-p.  Run the diff asynchronously.
2012-04-10 16:08:43 -04:00
Jason S. Cornez
6bbef4e552 * src/keyboard.c: Override inhibit-quit after the third C-g.
(force_quit_count): New var.
(handle_interrupt): Use it.

Fixes: debbugs:6585
2012-04-10 15:36:17 -04:00
Eli Zaretskii
7dd02dc7c4 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.
2012-04-10 22:03:32 +03:00
Glenn Morris
c9279dad0b * admin/bzrmerge.el (bzrmerge-skip-regexp): Add "from trunk".
Add header keyword.
2012-04-10 13:27:01 -04:00
Lars Magne Ingebrigtsen
9f67961ce6 * obsolete/mouse-sel.el: Add an Obsolete-since header. 2012-04-10 19:09:34 +02:00
Lars Magne Ingebrigtsen
8c906ebab6 Moved mouse-sel.el to the lisp/obsolete directory 2012-04-10 19:08:36 +02:00
Lars Magne Ingebrigtsen
d3f7611b03 Tiny url-util.el code clean-up. 2012-04-10 19:03:34 +02:00
Lars Magne Ingebrigtsen
8d8d31f91e Revert previous url-util patch.
The caller can as easily do the decoding themselves.
2012-04-10 19:02:04 +02:00
Juanma Barranquero
2a8ce227d0 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.
2012-04-10 16:16:05 +02:00
Nathan Weizenbaum
8f33b5f873 `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
2012-04-10 13:27:44 +02:00
William Xu
a967e26b40 (url-retrieve-internal): Hexify multibye URL string first when necessary.
Also mention this in the relevant doc strings.

Fixes: debbugs:7017
2012-04-10 13:22:08 +02:00
Laimonas V bra
b12f0439bf 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
2012-04-10 13:15:11 +02:00
Eli Zaretskii
8faa68b767 Fix changes in 2012-04-09T18:12:40Z!schwab@linux-m68k.org. 2012-04-10 13:54:17 +03:00
Glenn Morris
40b65096a7 Auto-commit of generated files. 2012-04-10 06:17:26 -04:00
Glenn Morris
57c3bd0133 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.
2012-04-10 00:19:38 -07:00
Glenn Morris
a9f72fc14e 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.
2012-04-10 00:18:02 -07:00
Glenn Morris
78658677a2 Comment trivia. 2012-04-10 00:15:09 -07:00
Lars Magne Ingebrigtsen
b245988452 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.
2012-04-10 06:43:35 +02:00
Deniz Dogan
ec3e5f739a 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
2012-04-10 04:51:39 +02:00
Florian Adamsky
6c3eab3008 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
2012-04-10 04:45:10 +02:00
Lars Magne Ingebrigtsen
bc72b5d984 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
2012-04-10 04:34:57 +02:00
Lars Magne Ingebrigtsen
bd2dba5afe * mouse-sel.el (mouse-sel-mode): Mark as obsolete.
Fixes: debbugs:6174
2012-04-10 04:31:09 +02:00
Lars Magne Ingebrigtsen
74beb59f81 * simple.el (zap-to-char): Allow zapping using input methods.
Fixes: debbugs:1580
2012-04-10 04:23:21 +02:00
Lars Magne Ingebrigtsen
4bbc3323df (url-unhex-string): Add an optional CODING-SYSTEM parameter.
Fixes: debbugs:6252
2012-04-10 04:14:13 +02:00
Lars Magne Ingebrigtsen
24d78a88ad (fill-region): Leave point and mark where they were before filling
Fixes: debbugs:5399
2012-04-10 04:06:19 +02:00
Lars Magne Ingebrigtsen
9ea49b28ab 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
2012-04-10 03:57:45 +02:00
Glenn Morris
263f20cd0a emacs-bzr-get-version tweak
* lisp/version.el (emacs-bzr-get-version):
Handle lightweight checkouts of local branches.
2012-04-09 19:03:33 -04:00
Glenn Morris
05920a43fc doc.c fix for bug#11036
* src/doc.c (Fsnarf_documentation): Check variables, functions are bound,
not just in the obarray, before snarfing them.
2012-04-09 16:43:15 -04:00
Glenn Morris
935396c0f0 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.
2012-04-09 16:37:08 -04:00
Glenn Morris
e98e405ed5 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.
2012-04-09 16:34:05 -04:00
Glenn Morris
54b0762cb7 ChangeLog fix 2012-04-09 16:31:47 -04:00
Andreas Schwab
58d1f79757 Fixes: debbugs:11209
* international/characters.el: Recover lost case pairs.
2012-04-09 20:12:40 +02:00
Glenn Morris
250b840eec Changelog fix 2012-04-09 09:23:20 -07:00
Eli Zaretskii
e2560ea816 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.
2012-04-09 19:19:39 +03:00
Eli Zaretskii
a130c2afed Comment out debugging messages when compiling latin-ltx.el.
leim/quail/latin-ltx.el (latin-ltx--define-rules): Comment out
 debugging messages.
2012-04-09 19:12:23 +03:00
Ted Zlatanov
6b4f4a2d6b 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.
2012-04-09 09:10:22 -04:00
Chong Yidong
fb7ada5f94 Remove * characters from the front of variable docstrings. 2012-04-09 21:05:48 +08:00
Ted Zlatanov
a18ecafa99 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.
2012-04-09 08:46:16 -04:00
Chong Yidong
b4d3bc10dc 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.
2012-04-09 20:36:01 +08:00
Glenn Morris
9e40dda4c6 Auto-commit of generated files. 2012-04-09 06:17:30 -04:00