]> git.eshelyaron.com Git - emacs.git/log
emacs.git
12 years agoAdapt browse-url.el to improvements in Cygwin's cygstart utility.
Ken Brown [Fri, 13 Apr 2012 15:15:42 +0000 (11:15 -0400)]
Adapt browse-url.el to improvements in Cygwin's cygstart utility.

* lisp/net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
this is no longer needed now that cygstart understands file://
URLs.
(browse-url-filename-alist): For the same reason, don't modify
file:// URLs on Cygwin.

12 years ago* src/s/cygwin.h (PTY_OPEN): Don't try to close a bogus file descriptor.
Ken Brown [Fri, 13 Apr 2012 14:50:25 +0000 (10:50 -0400)]
* src/s/cygwin.h (PTY_OPEN): Don't try to close a bogus file descriptor.

12 years ago* lisp/emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
Stefan Monnier [Fri, 13 Apr 2012 13:32:37 +0000 (09:32 -0400)]
* lisp/emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
the region on shift if the binding is already shifted.

Fixes: debbugs:11221
12 years agoAuto-commit of generated files.
Glenn Morris [Fri, 13 Apr 2012 10:17:25 +0000 (06:17 -0400)]
Auto-commit of generated files.

12 years agoFix typo in last commit.
Chong Yidong [Fri, 13 Apr 2012 06:22:01 +0000 (14:22 +0800)]
Fix typo in last commit.

12 years ago* src/indent.c (Fmove_to_column): Change interactive spec.
Reuben Thomas [Fri, 13 Apr 2012 06:20:39 +0000 (14:20 +0800)]
* src/indent.c (Fmove_to_column): Change interactive spec.

12 years ago* doc/emacs/ack.texi (Acknowledgments): Don't mention obsolete mailpost.el.
Glenn Morris [Thu, 12 Apr 2012 23:51:19 +0000 (19:51 -0400)]
* doc/emacs/ack.texi (Acknowledgments): Don't mention obsolete mailpost.el.

12 years agoObsolete lisp/mail/mailpost.el
Glenn Morris [Thu, 12 Apr 2012 23:47:13 +0000 (19:47 -0400)]
Obsolete lisp/mail/mailpost.el

12 years ago* imenu.el (imenu--generic-function): Ignore invisible definitions.
Drew Adams [Thu, 12 Apr 2012 20:00:24 +0000 (22:00 +0200)]
* imenu.el (imenu--generic-function): Ignore invisible definitions.

Fixes: debbugs:10123
12 years ago* processes.texi (Synchronous Processes): Mention `default-directory'.
Jari Aalto [Thu, 12 Apr 2012 19:14:43 +0000 (21:14 +0200)]
* processes.texi (Synchronous Processes): Mention `default-directory'.

Fixes: debbugs:7515
12 years agoNew defcustoms should get :version tags
Glenn Morris [Thu, 12 Apr 2012 16:33:13 +0000 (09:33 -0700)]
New defcustoms should get :version tags

12 years agoAllow the user to alter the bit grouping in hexl.el
Vivek Dasmohapatra [Thu, 12 Apr 2012 15:58:53 +0000 (17:58 +0200)]
Allow the user to alter the bit grouping in hexl.el

* hexl.el (hexl-bits): New variable.
(hexl-options): Mention the variable in the doc string.
(hexl-rulerise): New function.
(hexl-line-displen): New function
(hexl-mode): Mention the new variable.
(hexl-mode, hexl-current-address, hexl-current-address): Use the
displen.
(hexl-ascii-start-column): New function.
(hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
(hexl-insert-char, hexl-mode-ruler): Use the displen.

Fixes: debbugs:4941
12 years agotextmodes/flyspell.el (flyspell-large-region): Specify encoding for hunspell with...
Agustín Martín [Thu, 12 Apr 2012 14:19:40 +0000 (16:19 +0200)]
textmodes/flyspell.el (flyspell-large-region): Specify encoding for hunspell with ("-i" ENCODING).

As done for ispell in in 2012-04-08T17:09:03Z!eliz@gnu.org, in flyspell-large-region we also need
to specify encoding for hunspell with ("-i" ENCODING), in 2 separate
command-line arguments, as expected by hunspell.

12 years ago* configure.in: Warn that Cygwin 1.5 is unsupported. (Bug#10398)
Ken Brown [Thu, 12 Apr 2012 12:17:20 +0000 (08:17 -0400)]
* configure.in: Warn that Cygwin 1.5 is unsupported.  (Bug#10398)

12 years agoMake generic sysfs support apply for yeeloong as well.
Stefan Monnier [Thu, 12 Apr 2012 02:04:29 +0000 (22:04 -0400)]
Make generic sysfs support apply for yeeloong as well.
* lisp/battery.el (battery--linux-sysfs-regexp): New const.
(battery-status-function): Use it.  Remove yeeloong special case.
(battery-yeeloong-sysfs): Remove.
(battery-echo-area-format): Remove yeeloong special case.

12 years ago* lisp/imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
Stefan Monnier [Wed, 11 Apr 2012 21:37:13 +0000 (17:37 -0400)]
* lisp/imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
Reported by Noah Friedman.

12 years ago* lisp/subr.el (read-passwd): Use read-string.
Stefan Monnier [Wed, 11 Apr 2012 18:13:20 +0000 (14:13 -0400)]
* lisp/subr.el (read-passwd): Use read-string.

12 years agoChangelog fix
Glenn Morris [Wed, 11 Apr 2012 16:09:39 +0000 (09:09 -0700)]
Changelog fix

12 years ago* vcursor.el (vcursor-move): Increase the priority of the overlay.
Lars Magne Ingebrigtsen [Wed, 11 Apr 2012 14:26:55 +0000 (16:26 +0200)]
* vcursor.el (vcursor-move): Increase the priority of the overlay.

Fixes: debbugs:9663
12 years agoKill channel buffers when killing rcirc server buffers
Deniz Dogan [Wed, 11 Apr 2012 14:22:36 +0000 (16:22 +0200)]
Kill channel buffers when killing rcirc server buffers

* net/rcirc.el (rcirc-kill-channel-buffers): New variable.
(rcirc-kill-buffer-hook): Use it to kill channel buffers.

Fixes: debbugs:5128
12 years ago(erc-nickserv-passwords): Don't display the password.
Vivek Dasmohapatra [Wed, 11 Apr 2012 13:43:03 +0000 (15:43 +0200)]
(erc-nickserv-passwords): Don't display the password.

Fixes: debbugs:4459
12 years ago(artist-mode): Convert artist-mode to use define-minor-mode.
William Stevenson [Wed, 11 Apr 2012 11:57:21 +0000 (13:57 +0200)]
(artist-mode): Convert artist-mode to use define-minor-mode.

Fixes: debbugs:10760
12 years agoUse the real vfork under Cygwin
Daniel Colascione [Wed, 11 Apr 2012 11:43:55 +0000 (13:43 +0200)]
Use the real vfork under Cygwin

* s/cygwin.h: The vfork the #define in cygwin.h was protecting
against is gone.  It's better to use vfork now so that when Cygwin
gains a new, working vfork, we use it automatically.

Fixes: debbugs:10398
12 years agorgrep ignored file tweak
Wolfgang Jenkner [Wed, 11 Apr 2012 11:39:35 +0000 (13:39 +0200)]
rgrep ignored file tweak

* lisp/progmodes/grep.el (rgrep): Tweak the find command line so
that directories matching `grep-find-ignored-files' won't be
pruned.

Fixes: debbugs:10351
12 years agoAuto-commit of generated files.
Glenn Morris [Wed, 11 Apr 2012 10:17:27 +0000 (06:17 -0400)]
Auto-commit of generated files.

12 years agoNote obsolescence of mouse-sel.el in NEWS.
Chong Yidong [Wed, 11 Apr 2012 07:06:42 +0000 (15:06 +0800)]
Note obsolescence of mouse-sel.el in NEWS.

12 years ago* startup.el (command-line): Remove support for font-lock-face-attributes.
Chong Yidong [Wed, 11 Apr 2012 05:43:47 +0000 (13:43 +0800)]
* startup.el (command-line): Remove support for font-lock-face-attributes.

12 years agoAdd another vc-bzr test
Glenn Morris [Wed, 11 Apr 2012 03:24:26 +0000 (20:24 -0700)]
Add another vc-bzr test

* lisp/vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.

* test/automated/vc-bzr.el (vc-bzr-test-faulty-bzr-autoloads): New test.

12 years ago* src/window.c (save_window_save): Obey window-point-insertion-type.
Stefan Monnier [Wed, 11 Apr 2012 02:36:04 +0000 (22:36 -0400)]
* src/window.c (save_window_save): Obey window-point-insertion-type.
* lisp/window.el (window--state-get-1): Idem.

12 years ago`narrow-to-defun' fixup
Lennart Borgman [Wed, 11 Apr 2012 02:12:20 +0000 (04:12 +0200)]
`narrow-to-defun' fixup

* emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
to previous function when point is on the first character of a
function. Take care of that in `narrow-to-defun'.

Fixes: debbugs:6157
12 years ago* lisp/vc/vc-bzr.el (vc-bzr-status): Handle all errors, not just file-errors.
Glenn Morris [Wed, 11 Apr 2012 02:06:59 +0000 (22:06 -0400)]
* 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

12 years agoRepurpose C_SWITCH_X_SYSTEM as GNUSTEP_CFLAGS
Glenn Morris [Wed, 11 Apr 2012 01:25:51 +0000 (21:25 -0400)]
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.

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