Alan Mackenzie
52bedd3438
Increment c-version to 5.32.2.
2011-10-28 16:16:02 +00:00
Alan Mackenzie
7e43cfa5ec
Add and entry to ChangeLog.
2011-10-28 15:24:05 +00:00
Alan Mackenzie
e376ea4f73
Merge.
2011-10-28 15:18:00 +00:00
Chong Yidong
d3d0842fe2
* src/xdisp.c (note_mouse_highlight): Fix use of uninitialized var.
...
See:
http://lists.gnu.org/archive/html/emacs-devel/2011-10/msg01202.html
2011-10-28 23:17:09 +08:00
Eli Zaretskii
8cedc5acf9
Document that UNICOWS.DLL is required to run Emacs on Windows 9X.
...
nt/README.W32: Mention UNICOWS.DLL as prerequisite for running
Emacs on Windows 9X.
admin/nt/README-ftp-server: Mention UNICOWS.DLL as prerequisite for
running Emacs on Windows 9X.
Fixes: debbugs:8562
2011-10-28 17:03:13 +02:00
Deniz Dogan
1a2ce9ee38
* net/rcirc.el (rcirc-mode): Use hard newlines.
2011-10-28 16:47:50 +02:00
Alan Mackenzie
1aecd7ec0e
Boring merge.
2011-10-28 14:37:05 +00:00
Alan Mackenzie
93b5b3bdc8
Boring merge from savannah.
2011-10-28 14:35:39 +00:00
Alan Mackenzie
020716e178
DTRT for c-beginning/end-of-defun in nested declaration scopes.
2011-10-28 14:34:39 +00:00
Dan Nicolaescu
31b39d1389
* src/window.c (make_window): Initialize phys_cursor_on_p.
2011-10-28 08:34:06 -06:00
Alan Mackenzie
bc97a826f8
Merge
2011-10-28 14:02:04 +00:00
Alan Mackenzie
c0f13227ab
Merge in random stuff from savannah.
2011-10-28 13:56:09 +00:00
Stefan Monnier
9aba60432c
* src/lisp.h (struct Lisp_Symbol): Update comments.
2011-10-28 09:48:19 -04:00
Juanma Barranquero
c20992f469
src/w32font.c (w32_load_unicows_or_gdi32): Add missing return.
2011-10-28 12:59:24 +02:00
Eli Zaretskii
db4f02f208
Fix bug #8562 with Emacs display on Windows 9X.
...
Thanks to oslsachem <oslsachem@gmail.com> for helping to debug this.
src/w32font.c (g_b_init_is_w9x, g_b_init_get_outline_metrics_w)
(g_b_init_get_text_metrics_w, g_b_init_get_glyph_outline_w)
(g_b_init_get_glyph_outline_w): New static variables.
(GetOutlineTextMetricsW_Proc, GetTextMetricsW_Proc)
(GetGlyphOutlineW_Proc): New typedefs.
(w32_load_unicows_or_gdi32, get_outline_metrics_w)
(get_text_metrics_w, get_glyph_outline_w, globals_of_w32font): New
functions.
(w32font_open_internal, compute_metrics): Call
get_outline_metrics_w, get_text_metrics_w, and get_glyph_outline_w
instead of calling the "wide" APIs directly.
src/emacs.c (main) [HAVE_NTGUI]: Call globals_of_w32font.
src/w32.h (syms_of_w32font): Add prototype.
2011-10-28 11:54:02 +02:00
Stefan Monnier
7a6c094174
* lisp/vc/log-edit.el: Fill empty field rather than adding new one.
...
(log-edit-add-field): New function.
(log-edit-insert-changelog): Use it.
2011-10-27 22:50:05 -04:00
Mark Lillibridge
b0c4cdcf10
* lisp/mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum.
...
Fixes: debbugs:9802
2011-10-27 22:47:43 -04:00
Stefan Monnier
ee1f1da967
* lisp/progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
...
(gdb--check-interpreter): New function.
(gdb): Use it.
2011-10-27 22:22:38 -04:00
Alan Mackenzie
536610a433
Amend to indent and fontify macros "which include their own semicolon"
...
correctly, using the "virtual semicolon" mechanism.
cc-defs.el: Update "virtual semicolon" comments.
cc-engine.el (c-crosses-statement-barrier-p): Recoded to scan one line at
at time rather than having \n and \r explicitly in c-stmt-delim-chars
(for some modes, e.g. AWK).
(c-forward-label): Amend for virtual semicolons.
(c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions
cc-fonts.el (c-font-lock-declarations): Take account of the new C macros.
cc-langs.el (c-at-vsemi-p-fn, c-vsemi-status-unknown-p-fn): move to
earlier in the file.
(c-opt-cpp-symbol, c-line-comment-start-regexp): New language variables.
(c-opt-cpp-macro-define): Make into a full language variable.
(c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
AWK Mode (including \n, \r) removed, no longer needed.
cc-mode.el (c-mode, c++-mode, objc-mode): Invoke
c-make-macro-with-semi-re.
cc-vars.el (c-macro-with-semi-re, c-macro-names-with-semicolon): New
variables.
(c-make-macro-with-semi-re): New function
cc-mode.texi (Indentation Commands): Mention "macros with semicolons".
(Other Special Indentations): Add an xref to "Macros with ;".
(Customizing Macros): Add stuff about syntax in macros. Add an xref to
"Macros with ;".
(Macros with ;): New page.
2011-10-27 20:34:23 +00:00
Glenn Morris
44b0122fbb
* lisp/emacs-lisp/cl.el (most-negative-float): Fix doc typo.
2011-10-27 15:38:35 -04:00
Juanma Barranquero
87e68db473
src/window.c: Fix typos in docstrings.
2011-10-27 16:35:51 +02:00
Glenn Morris
01db225d1c
Auto-commit of loaddefs files.
2011-10-27 06:22:00 -04:00
Chong Yidong
435c1d6793
More gnutls memory fixes.
...
* src/gnutls.c (emacs_gnutls_deinit): Deinit the gnutls_state if it is
non-NULL, regardless of GNUTLS_INITSTAGE.
(Fgnutls_boot): Cleanups. Call emacs_gnutls_deinit if we signal
an error. Set process slots as soon as we allocate them.
* src/gnutls.h (GNUTLS_LOG, GNUTLS_LOG2): Fix macros.
* src/process.c (make_process): Set gnutls_state to NULL.
2011-10-27 16:07:28 +08:00
Glenn Morris
416a2c45b3
Add doc-strings to some cl float parameters.
...
* lisp/emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
* lisp/emacs-lisp/cl.el (most-positive-float, most-negative-float)
(least-positive-float, least-negative-float)
(least-positive-normalized-float, least-negative-normalized-float)
(float-epsilon, float-negative-epsilon): Add doc-strings,
based on those in cl.texi.
* lisp/emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
(least-positive-float, least-negative-float)
(least-positive-normalized-float, least-negative-normalized-float)
(float-epsilon, float-negative-epsilon):
Remove unnecessary declarations.
2011-10-27 00:21:00 -07:00
Glenn Morris
51bc5f8b73
Make set-visited-file-name reload local variables if needed.
...
* lisp/files.el (set-visited-file-name):
If the major-mode changed, reload the local variables.
Fixes: debbugs:9796
2011-10-26 23:38:32 -07:00
Chong Yidong
9c6c6f495b
Fix a memory leak in the built-in GnuTLS support.
...
* src/gnutls.c (emacs_gnutls_deinit): New function. Deallocate
credentials structures as well as calling gnutls_deinit.
(Fgnutls_deinit, Fgnutls_boot): Use it.
* src/process.c (make_process): Initialize GnuTLS credentials to NULL.
(deactivate_process): Call emacs_gnutls_deinit.
2011-10-27 14:07:09 +08:00
Chong Yidong
15de15c66d
Replace fundamental-mode-hook with change-major-mode-after-body-hook.
...
* lisp/simple.el (fundamental-mode):
* lisp/emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
change introducing fundamental-mode-hook.
* lisp/subr.el (change-major-mode-after-body-hook): New hook.
(run-mode-hooks): Run it.
* lisp/emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Use
change-major-mode-before-body-hook.
2011-10-27 11:01:40 +08:00
Juanma Barranquero
657d08d30a
src/image.c, src/w32*.c, lib-src/emacsclient.c: Silence warnings under -Wall.
2011-10-27 02:59:21 +02:00
Stefan Monnier
6e724ca2c2
* lisp/gnus/message.el: Don't insert TAB in headers with completion.
...
(message-completion-function): Don't fallback on message-tab-body-function
when message-completion-alist fails to find a completion.
Fixes: debbugs:9158
2011-10-26 13:27:51 -04:00
Juanma Barranquero
a7ef684b46
Fix typos.
2011-10-26 16:07:31 +02:00
Juanma Barranquero
5430d39930
* lisp/term/w32-win.el (w32-default-color-map): Declare obsolete.
...
* src/w32fns.c (w32_default_color_map): New function, extracted from
Fw32_default_color_map.
(Fw32_default_color_map, Fx_open_connection): Use it.
2011-10-26 15:42:33 +02:00
Glenn Morris
3d0788a9a2
Auto-commit of generated files.
2011-10-26 06:19:17 -04:00
Daiki Ueno
49964155e2
mml.el: Support quoting <#secure> tag.
2011-10-26 09:25:34 +00:00
Michael Albinus
ad74a69e6b
* ido.el (ido-file-name-all-completions-1): Do not require
...
tramp.el explicitely. (Bug#7583)
2011-10-26 10:42:22 +02:00
Stefan Monnier
71d4c2a518
* lisp/progmodes/octave-*.el: Update maintainer.
2011-10-25 21:18:13 -04:00
Chong Yidong
60754666a5
* doc/emacs/modes.texi (Running Hooks): Document with-wrapper-hook.
2011-10-26 08:47:58 +08:00
Chong Yidong
b1f6fa2666
Document with-wrapper-hook.
...
* doc/emacs/modes.texi (Running Hooks): Document with-wrapper-hook.
* lisp/subr.el (with-wrapper-hook): Rewrite doc.
2011-10-26 08:44:06 +08:00
Paul Eggert
507ea2587e
* configure.in: Respect MAKE env-var. (Bug#9868, part 2)
2011-10-25 13:46:31 -07:00
Eli Zaretskii
df1c5f0561
Don't put INSTALL into w32 binary distributions. (Bug#9861)
...
nt/makefile.w32-in (dist): Don't put the top-level INSTALL into the
distribution.
2011-10-25 18:54:19 +02:00
Nali Toja
d2eaf3e40d
* configure.in (HAVE_GNU_MAKE): Respect MAKE env-var. (tiny change)
...
Fixes: debbugs:9868
2011-10-25 09:41:26 -07:00
Paul Eggert
fe0055fa74
* dispextern.h (Fcontrolling_tty_p): New decl (Bug#6649 part 2).
2011-10-25 09:36:20 -07:00
Stefan Monnier
e6346438e2
Make function-key-map apply when key is bound to `undefined'.
...
* src/keyboard.c (test_undefined): New function.
(read_key_sequence): Use it to detect when a key is bound to `undefined'.
Fixes: debbugs:9751
2011-10-25 08:54:04 -04:00
Michael Albinus
3f04efd64d
* net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
...
filenames "/method:foo:".
2011-10-25 14:50:03 +02:00
Stefan Monnier
81a0a2681d
* comint.el (comint-get-old-input-default): Fix thinko in last change.
...
Fixes: debbugs:9865
2011-10-25 08:33:31 -04:00
Glenn Morris
d53e174785
* abbrevs.texi (Saving Abbrevs): quietly-read-abbrev-file is not a command.
...
Fixes: debbugs:9866
2011-10-25 00:25:45 -07:00
Enami Tsugutomo
e112cc3727
* sysdep.c (init_sys_modes): Fix the check for the controlling terminal.
...
Fixes: debbugs:6649
2011-10-25 12:27:47 +08:00
Christoph Scholtes
df6d30f325
* INSTALL: Update URL for GTK download page.
2011-10-24 20:33:24 -06:00
Stefan Monnier
410488d3ae
* lisp/comint.el (comint-get-old-input-default): Fix use-prompt-regexp case.
...
Fixes: debbugs:9865
2011-10-24 22:19:17 -04:00
Juanma Barranquero
958ad48682
lisp/facemenu.el: Slightly expand a comment in `list-colors-duplicates'.
2011-10-24 21:29:19 +02:00
Glenn Morris
c1ebb47e3d
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
2011-10-24 13:37:03 -04:00