bpt/emacs.git
11 years agoDisable local eval: in some places
Glenn Morris [Fri, 10 Aug 2012 06:53:52 +0000 (23:53 -0700)]
Disable local eval: in some places

* tutorial.el (help-with-tutorial):
* emacs-lisp/copyright.el (copyright-update-directory):
* emacs-lisp/autoload.el (autoload-find-generated-file)
(autoload-find-file): Disable local eval: (for insurance).

11 years ago* test/automated/files.el: New file.
Glenn Morris [Wed, 8 Aug 2012 07:33:10 +0000 (00:33 -0700)]
* test/automated/files.el: New file.

11 years ago* unexmacosx.c (copy_data_segment): Copy initialized data in statically linked librar...
YAMAMOTO Mitsuharu [Wed, 8 Aug 2012 05:44:53 +0000 (14:44 +0900)]
* unexmacosx.c (copy_data_segment): Copy initialized data in statically linked libraries from input file rather than memory.

11 years ago* test/automated/Makefile.in (all): Fix typo.
Glenn Morris [Tue, 7 Aug 2012 19:11:18 +0000 (15:11 -0400)]
* test/automated/Makefile.in (all): Fix typo.

11 years agohack-local-variables-filter fix for bug#12155
Glenn Morris [Tue, 7 Aug 2012 18:41:39 +0000 (14:41 -0400)]
hack-local-variables-filter fix for bug#12155

* lisp/files.el (hack-local-variables-filter): If an eval: form is not
known to be safe, and enable-local-variables is :safe, then ignore
the form totally, as is done for non-eval forms.

11 years agoAdd new load commands for OS X 10.8.
YAMAMOTO Mitsuharu [Tue, 7 Aug 2012 03:47:26 +0000 (12:47 +0900)]
Add new load commands for OS X 10.8.

11 years agoBackport 2012-06-23T12:54:59Z!cyd@gnu.org from trunk
Chong Yidong [Tue, 7 Aug 2012 03:24:52 +0000 (11:24 +0800)]
Backport 2012-06-23T12:54:59Z!cyd@gnu.org from trunk

11 years agoBackport 2012-06-23T12:48:24Z!cyd@gnu.org from trunk
Chong Yidong [Tue, 7 Aug 2012 03:24:35 +0000 (11:24 +0800)]
Backport 2012-06-23T12:48:24Z!cyd@gnu.org from trunk

11 years ago* doc/misc/url.texi (Parsed URLs): Adjust to the code's use of defstruct.
Aurélien Aptel [Mon, 6 Aug 2012 21:50:25 +0000 (17:50 -0400)]
* doc/misc/url.texi (Parsed URLs): Adjust to the code's use of defstruct.

Fixes: debbugs:12096

11 years agoRevert typo in previous
Glenn Morris [Mon, 6 Aug 2012 21:33:21 +0000 (17:33 -0400)]
Revert typo in previous

11 years agoRemove non-standard comment from license section of commentary
Glenn Morris [Mon, 6 Aug 2012 20:53:28 +0000 (16:53 -0400)]
Remove non-standard comment from license section of commentary

11 years ago* lisp/progmodes/cperl-mode.el (cperl-mode): Yet another fix for
Stefan Monnier [Mon, 6 Aug 2012 17:41:32 +0000 (13:41 -0400)]
* lisp/progmodes/cperl-mode.el (cperl-mode): Yet another fix for
syntax-propertize-function.

Fixes: debbugs:10095

11 years agoFix bug #12138 with indexing "closures".
Eli Zaretskii [Mon, 6 Aug 2012 16:55:41 +0000 (19:55 +0300)]
Fix bug #12138 with indexing "closures".

 doc/lispref/functions.texi (Closures): Put the main index entry for
 "closures" here.
 doc/lispref/variables.texi (Lexical Binding): Disambiguate the index entry
 for "closures".

11 years agoNEWS clarification
Glenn Morris [Sun, 5 Aug 2012 04:56:28 +0000 (21:56 -0700)]
NEWS clarification

Fixes: debbugs:12104

11 years ago* emacs.texi: Fix ISBN.
Chong Yidong [Tue, 31 Jul 2012 03:53:10 +0000 (11:53 +0800)]
* emacs.texi: Fix ISBN.

Fixes: debbugs:12080

11 years agoFix bogus code in gdb-place-breakpoints.
Chong Yidong [Sat, 28 Jul 2012 15:09:36 +0000 (23:09 +0800)]
Fix bogus code in gdb-place-breakpoints.
* progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
gdb-get-location.

11 years agoFix bug #12073 with outdated FAQ entry.
Eli Zaretskii [Sat, 28 Jul 2012 07:38:32 +0000 (10:38 +0300)]
Fix bug #12073 with outdated FAQ entry.

 doc/misc/faq.texi (Right-to-left alphabets): Update for Emacs 24.

11 years agoAvoid leaving nil in the alist in cc-imenu-objc-function
Leo Liu [Wed, 25 Jul 2012 16:11:23 +0000 (00:11 +0800)]
Avoid leaving nil in the alist in cc-imenu-objc-function

Fixes: debbugs:12029

11 years agoBackport fix for Bug#11989 from trunk.
Chong Yidong [Wed, 25 Jul 2012 06:14:30 +0000 (14:14 +0800)]
Backport fix for Bug#11989 from trunk.

* mouse.el (mouse-drag-track): Do not set the mark if the user
releases the mouse without selecting anything.

11 years agoFix bug #11958 with description of mouse-2 in the Emacs manual.
Eli Zaretskii [Sat, 21 Jul 2012 09:48:11 +0000 (12:48 +0300)]
Fix bug #11958 with description of mouse-2 in the Emacs manual.

 doc/emacs/frames.texi (Mouse Commands): Fix the description of mouse-2.

11 years agoUse match-string-no-properties instead in c-defun-name
Leo Liu [Sat, 21 Jul 2012 01:41:48 +0000 (09:41 +0800)]
Use match-string-no-properties instead in c-defun-name

for consistency.

11 years ago* lisp/progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
Leo Liu [Fri, 20 Jul 2012 21:18:52 +0000 (05:18 +0800)]
* lisp/progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.

Fixes: debbugs:7879

11 years agoBackport: Recognize Objective-C methods also in c-defun-name
Jan Djärv [Fri, 20 Jul 2012 19:59:49 +0000 (03:59 +0800)]
Backport: Recognize Objective-C methods also in c-defun-name

Fixes: debbugs:7879

11 years ago* progmodes/cc-langs.el (c-symbol-start): Include char _.
Leo Liu [Fri, 20 Jul 2012 11:36:41 +0000 (19:36 +0800)]
* progmodes/cc-langs.el (c-symbol-start): Include char _.

Fixes: debbugs:11986

11 years agoAvoid two crashes involving windows on dead frames.
Chong Yidong [Thu, 19 Jul 2012 03:33:08 +0000 (11:33 +0800)]
Avoid two crashes involving windows on dead frames.

* window.c (Fwindow_absolute_pixel_edges)
(Fdelete_other_windows_internal): Signal an error if the window is
on a dead frame.

Fixes: debbugs:11984

11 years ago* emacs.texi: Update ISBN.
Chong Yidong [Thu, 19 Jul 2012 01:15:06 +0000 (09:15 +0800)]
* emacs.texi: Update ISBN.

11 years ago* lisp/userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
Stefan Monnier [Wed, 18 Jul 2012 11:44:13 +0000 (07:44 -0400)]
* lisp/userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
* lisp/progmodes/bug-reference.el, lisp/misearch.el: Provide themselves.

Fixes: debbugs:11915

11 years ago* lisp/progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
Stefan Monnier [Wed, 18 Jul 2012 09:33:09 +0000 (05:33 -0400)]
* lisp/progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
of narrowed buffer.

Fixes: debbugs:11966

11 years agoDon't use FILE_SYSTEM_CASE in MS-DOS, or anywhere else.
Eli Zaretskii [Sat, 14 Jul 2012 10:46:56 +0000 (13:46 +0300)]
Don't use FILE_SYSTEM_CASE in MS-DOS, or anywhere else.

 src/s/msdos.h (FILE_SYSTEM_CASE): Don't define.
 src/fileio.c (FILE_SYSTEM_CASE): Don't define.
 (Ffile_name_directory, Fexpand_file_name): Don't use FILE_SYSTEM_CASE.
 Fixes problems on MS-DOS with Vtemp_file_name_pattern when
 call-process-region passes it through expand-file-name.
 src/dired.c (file_name_completion): Don't use FILE_SYSTEM_CASE.
 admin/CPP-DEFINES: Remove FILE_SYSTEM_CASE.

11 years agoFixes: debbugs:11917
Andreas Schwab [Thu, 12 Jul 2012 07:12:24 +0000 (09:12 +0200)]
Fixes: debbugs:11917

Fix crash when creating indirect buffer
* buffer.c (buffer_lisp_local_variables): Add argument CLONE.
Don't handle unbound variables specially if non-zero.
(Fbuffer_local_variables): Pass zero.
(clone_per_buffer_values): Pass non-zero.

11 years ago* shr.el (shr-expand-url): Handle URL starting with `//'.
Andreas Schwab [Tue, 10 Jul 2012 09:42:48 +0000 (11:42 +0200)]
* shr.el (shr-expand-url): Handle URL starting with `//'.

11 years ago* lisp/progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
Stefan Monnier [Mon, 9 Jul 2012 13:54:50 +0000 (09:54 -0400)]
* lisp/progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
change.

Fixes: debbugs:11826

11 years ago* lisp/simple.el (kill-whole-line): Doc tweak.
Glenn Morris [Mon, 2 Jul 2012 22:42:45 +0000 (18:42 -0400)]
* lisp/simple.el (kill-whole-line): Doc tweak.

11 years agoFix bug #11827 with file-relative-name on MS-Windows.
Eli Zaretskii [Sun, 1 Jul 2012 16:38:53 +0000 (19:38 +0300)]
Fix bug #11827 with file-relative-name on MS-Windows.

 lisp/files.el (file-relative-name): Compare file names
 case-insensitively if on MS-Windows or MS-DOS, or if
 read-file-name-completion-ignore-case is non-nil.  Don't use
 case-fold-search for this purpose.

11 years agoTexinfo markup fixes for Emacs manual.
Chong Yidong [Fri, 29 Jun 2012 14:54:02 +0000 (22:54 +0800)]
Texinfo markup fixes for Emacs manual.

* doc/emacs/maintaining.texi (Basic VC Editing, VC Pull, Merging):
* doc/emacs/basic.texi (Erasing, Basic Undo): Fix markup.

11 years ago* calendar/cal-dst.el (calendar-current-time-zone): Return
Andreas Schwab [Thu, 28 Jun 2012 12:13:38 +0000 (14:13 +0200)]
* calendar/cal-dst.el (calendar-current-time-zone): Return
calendar-current-time-zone-cache if non-nil.

11 years agoAdd a PROBLEMS note about the libotf name-clash annoyance
Glenn Morris [Thu, 28 Jun 2012 07:47:19 +0000 (00:47 -0700)]
Add a PROBLEMS note about the libotf name-clash annoyance

11 years ago* gnutls.c (emacs_gnutls_handshake): Revert last change. Add QUIT
Andreas Schwab [Thu, 28 Jun 2012 07:12:59 +0000 (09:12 +0200)]
* gnutls.c (emacs_gnutls_handshake): Revert last change.  Add QUIT
to make the loop interruptible.

11 years ago* gnutls.c (emacs_gnutls_handshake): Only retry if
Andreas Schwab [Tue, 26 Jun 2012 09:39:52 +0000 (11:39 +0200)]
* gnutls.c (emacs_gnutls_handshake): Only retry if
GNUTLS_E_INTERRUPTED.

11 years ago* doc/emacs/fixit.texi (Undo): Grammar fixes. (Bug#11779)
Glenn Morris [Tue, 26 Jun 2012 02:00:32 +0000 (22:00 -0400)]
* doc/emacs/fixit.texi (Undo): Grammar fixes.  (Bug#11779)

11 years ago* lisp/progmodes/which-func.el (which-func-format): Bump :version.
Glenn Morris [Mon, 25 Jun 2012 07:11:53 +0000 (00:11 -0700)]
* lisp/progmodes/which-func.el (which-func-format): Bump :version.

11 years ago* lisp/progmodes/which-func.el (which-func-format): Add mouse-face.
Masatake YAMATO [Mon, 25 Jun 2012 07:11:03 +0000 (00:11 -0700)]
* lisp/progmodes/which-func.el (which-func-format): Add mouse-face.

Fixes: debbugs:11698

11 years ago* doc/emacs/fixit.texi (Undo): Fix typo. (tiny change)
Michael Witten [Sun, 24 Jun 2012 23:45:10 +0000 (16:45 -0700)]
* doc/emacs/fixit.texi (Undo): Fix typo.  (tiny change)

Fixes: debbugs:11775

11 years agoAuto-commit of loaddefs files.
Glenn Morris [Sun, 24 Jun 2012 11:22:20 +0000 (07:22 -0400)]
Auto-commit of loaddefs files.

11 years agoBackport: Avoid buffer read-only error in ibuffer-diff-buffer-with-file-1
Leo Liu [Sun, 24 Jun 2012 02:41:03 +0000 (10:41 +0800)]
Backport: Avoid buffer read-only error in ibuffer-diff-buffer-with-file-1

11 years agoBackport: Avoid error when process-contact returns t in rcirc
Leo Liu [Sun, 24 Jun 2012 02:34:52 +0000 (10:34 +0800)]
Backport: Avoid error when process-contact returns t in rcirc

11 years agoBackport: * Fix typo in diff-file-prev/next
Leo Liu [Sun, 24 Jun 2012 02:30:51 +0000 (10:30 +0800)]
Backport: * Fix typo in diff-file-prev/next

11 years agoBackport: Fix mal-formed defconst in url-http-codes
Leo Liu [Sat, 23 Jun 2012 13:53:52 +0000 (21:53 +0800)]
Backport: Fix mal-formed defconst in url-http-codes

11 years ago* textmodes/enriched.el (enriched-next-annotation):
Leo Liu [Sat, 23 Jun 2012 13:33:44 +0000 (21:33 +0800)]
* textmodes/enriched.el (enriched-next-annotation):
Use eq.

Fixes: debbugs:11528

11 years agoBackport: Really fix bug #11519, by fixing the last change in ralloc.c.
Eli Zaretskii [Sat, 23 Jun 2012 11:07:01 +0000 (14:07 +0300)]
Backport: Really fix bug #11519, by fixing the last change in ralloc.c.

 src/ralloc.c (r_alloc_inhibit_buffer_relocation): Fix stupid thinko
 in the logic of incrementing and decrementing the value of
 use_relocatable_buffers.

11 years ago* minibuffer.el (minibuffer-confirm-exit-commands): Add completion-at-point.
Stefan Monnier [Sat, 23 Jun 2012 04:48:55 +0000 (00:48 -0400)]
* minibuffer.el (minibuffer-confirm-exit-commands): Add completion-at-point.

Fixes: debbugs:11725

11 years agoAuto-commit of generated files.
Glenn Morris [Fri, 22 Jun 2012 11:17:28 +0000 (07:17 -0400)]
Auto-commit of generated files.

11 years agoComment
Glenn Morris [Thu, 21 Jun 2012 20:07:26 +0000 (16:07 -0400)]
Comment

11 years ago* src/charset.c (init_charset): Make lack of etc/charsets fatal.
Glenn Morris [Thu, 21 Jun 2012 20:06:07 +0000 (16:06 -0400)]
* src/charset.c (init_charset): Make lack of etc/charsets fatal.

11 years ago* configure.in: Use m/intel386.h for amd64 with x32 ABI.
Ulrich Mueller [Thu, 21 Jun 2012 19:42:32 +0000 (15:42 -0400)]
* configure.in: Use m/intel386.h for amd64 with x32 ABI.
(Do not merge to trunk.)

Fixes: debbugs:11669

11 years agoAdd some f90 preprocessor font-lock (bug#10499)
Glenn Morris [Thu, 21 Jun 2012 19:31:49 +0000 (15:31 -0400)]
Add some f90 preprocessor font-lock (bug#10499)

* lisp/progmodes/f90.el (f90-font-lock-keywords-2):
Add some preprocessor elements.

11 years ago* lisp/progmodes/cperl-mode.el (cperl-update-syntaxification):
Stefan Monnier [Thu, 21 Jun 2012 16:49:21 +0000 (12:49 -0400)]
* lisp/progmodes/cperl-mode.el (cperl-update-syntaxification):
Use syntax-propertize.

Fixes: debbugs:11739

11 years agoRename infodir to buildinfodir in doc/*/Makefile.in (bug#11737)
Glenn Morris [Tue, 19 Jun 2012 01:59:38 +0000 (21:59 -0400)]
Rename infodir to buildinfodir in doc/*/Makefile.in (bug#11737)

This also makes it clearer that it has no relation to the "infodir"
used by install.

11 years agoFurther mule-menu-keymap doc tweak
Glenn Morris [Wed, 13 Jun 2012 20:26:26 +0000 (16:26 -0400)]
Further mule-menu-keymap doc tweak

11 years agoNEWS tweak
Glenn Morris [Wed, 13 Jun 2012 20:09:42 +0000 (16:09 -0400)]
NEWS tweak

11 years agoDoc tweaks for mule-cmds .el
Glenn Morris [Wed, 13 Jun 2012 20:08:10 +0000 (16:08 -0400)]
Doc tweaks for mule-cmds .el

* lisp/international/mule-cmds.el (mule-menu-keymap)
(set-language-environment, set-locale-environment): Doc tweaks.

11 years ago* nsterm.m (x_free_frame_resources): Move xfree so freed memory isn't
Jan Djärv [Mon, 11 Jun 2012 16:53:12 +0000 (18:53 +0200)]
* nsterm.m (x_free_frame_resources): Move xfree so freed memory isn't
referenced.

Fixes: debbugs:11583

11 years agoMore minor manual copyedits to fix 7x9 manual underfull/overfull hboxes.
Chong Yidong [Mon, 11 Jun 2012 06:48:47 +0000 (14:48 +0800)]
More minor manual copyedits to fix 7x9 manual underfull/overfull hboxes.

* doc/emacs/emacs.texi: Remove urlcolor setting.

* doc/lispref/elisp.texi, vol1.texi, vol2.texi: Remove urlcolor setting.

* doc/lispref/vol2.texi: Include package.texi.

11 years agoMerge changes made in No Gnus
Gnus developers [Sun, 10 Jun 2012 22:16:03 +0000 (22:16 +0000)]
Merge changes made in No Gnus

2012-06-10  Toke Hoiland-Jorgensen <toke@toke.dk> (tiny change)
* nnmaildir.el (nnmaildir-request-expire-articles):
  Ensure that `time' is an integer to avoid later problems.
2012-06-10  Lars Magne Ingebrigtsen <larsi@gnus.org>
* shr.el: Add a iso-8859-1 cookie to make stuff work under other
 locales.

11 years agoEmacs manual tweaks to accomodate 7x9 pdf.
Chong Yidong [Sun, 10 Jun 2012 14:02:52 +0000 (22:02 +0800)]
Emacs manual tweaks to accomodate 7x9 pdf.

* emacs.texi: Update ISBN and edition number.

* anti.texi:
* building.texi:
* cmdargs.texi:
* custom.texi:
* display.texi:
* files.texi:
* frames.texi:
* glossary.texi:
* misc.texi:
* mule.texi:
* programs.texi:
* sending.texi:
* text.texi: Copyedits to avoid underfull/overfull in 7x9 manual.

11 years agoRegenerate ldefs-boot.el.
Chong Yidong [Sun, 10 Jun 2012 07:41:46 +0000 (15:41 +0800)]
Regenerate ldefs-boot.el.

11 years agoMinor fix to sc.texi to allow HTML compilation.
Chong Yidong [Sun, 10 Jun 2012 07:02:16 +0000 (15:02 +0800)]
Minor fix to sc.texi to allow HTML compilation.

12 years ago* mail/rmail.el (rmail-yank-current-message): Leave point at correct position.
Glenn Morris [Sun, 10 Jun 2012 04:37:41 +0000 (21:37 -0700)]
* mail/rmail.el (rmail-yank-current-message): Leave point at correct position.

Fixes: debbugs:11660

12 years ago* allout-widgets.el: Fix code header
Chong Yidong [Thu, 7 Jun 2012 14:30:54 +0000 (22:30 +0800)]
* allout-widgets.el: Fix code header

12 years agoAuto-commit of generated files.
Glenn Morris [Fri, 1 Jun 2012 11:18:14 +0000 (07:18 -0400)]
Auto-commit of generated files.

12 years agoBump version to 24.1.
Chong Yidong [Fri, 1 Jun 2012 09:51:00 +0000 (17:51 +0800)]
Bump version to 24.1.
Add release logs.
Regenerate AUTHORS and ldefs-boot.el.

12 years agoImprove commentary to 'struct it' in src/dispextern.h.
Eli Zaretskii [Fri, 1 Jun 2012 09:14:07 +0000 (12:14 +0300)]
Improve commentary to 'struct it' in src/dispextern.h.

12 years agoFix long filename handling of byte-compile-fix-header.
Stefan Monnier [Thu, 31 May 2012 05:56:57 +0000 (13:56 +0800)]
Fix long filename handling of byte-compile-fix-header.

* lisp/emacs-lisp/bytecomp.el (byte-compile-fix-header): Handle
arbitrary file name lengths (Bug#11585).

12 years agoFix bug #11587 with a crash in an Info buffer under linum-mode.
Eli Zaretskii [Wed, 30 May 2012 18:09:17 +0000 (21:09 +0300)]
Fix bug #11587 with a crash in an Info buffer under linum-mode.

 src/xdisp.c (handle_stop): Detect whether we have overlay strings
 loaded by testing it->current.overlay_string_index to be
 non-negative, instead of checking whether n_overlay_strings is
 positive.

12 years ago* keymap.c (describe_map_tree): Revert 2011-07-07 change.
Chong Yidong [Wed, 30 May 2012 14:08:58 +0000 (22:08 +0800)]
* keymap.c (describe_map_tree): Revert 2011-07-07 change.

* doc.c (Fsubstitute_command_keys): Doc fix.

Fixes: debbugs:1169

12 years agoFix bug #11405 with MSVC build of emacsclientw.
Eli Zaretskii [Tue, 29 May 2012 16:15:12 +0000 (19:15 +0300)]
Fix bug #11405 with MSVC build of emacsclientw.

 lib-src/makefile.w32-in ($(BLD)/emacsclientw.exe): Use $(MWINDOWS)
 instead of a literal -mwindows, which is not supported by MSVC.
 nt/nmake.defs (MWINDOWS): Define as "-subsystem:windows -entry:mainCRTStartup".
 Suggested by Fabrice Popineau <fabrice.popineau@supelec.fr>.
 nt/gmake.defs (MWINDOWS): Define as "-mwindows".

12 years agoDon't call r_alloc_inhibit_buffer_relocation from search.c.
Eli Zaretskii [Tue, 29 May 2012 16:01:05 +0000 (19:01 +0300)]
Don't call r_alloc_inhibit_buffer_relocation from search.c.

 src/search.c (search_buffer): Remove calls to
 r_alloc_inhibit_buffer_relocation, as it is now called by
 maybe_unify_char, which was the cause of relocation of buffer text
 in bug#11519.

12 years agoAvoid buffer text relocations in calls to STRING_CHAR_* macros.
Eli Zaretskii [Mon, 28 May 2012 16:50:10 +0000 (19:50 +0300)]
Avoid buffer text relocations in calls to STRING_CHAR_* macros.

 src/charset.c (maybe_unify_char): Inhibit relocation of buffer text
 for the duration of call to load_charset, to avoid problems with
 callers of maybe_unify_char that access buffer text through C
 pointers.
 src/ralloc.c (r_alloc_inhibit_buffer_relocation): Increment and
 decrement the inhibition flag, instead of just setting or
 resetting it.

Fixes: debbugs:11519

12 years agoFix subtle problem with redirection in nt/configure.bat.
Eli Zaretskii [Mon, 28 May 2012 16:17:35 +0000 (19:17 +0300)]
Fix subtle problem with redirection in nt/configure.bat.

 nt/configure.bat (genmakefiles): Move the redirection away from the
 end of the command, to avoid excess whitespace at the end of Make
 variables created at configure time, and also avoid things like
 "FOO1>>config.settings", where "1" gets interpreted as the file
 descriptor and eaten up.  This fixes breakage introduced by the
 last change, without reintroducing the bug fixed by that change.

12 years agoUgly fix for bug#11556.
Martin Rudalics [Mon, 28 May 2012 09:48:29 +0000 (11:48 +0200)]
Ugly fix for bug#11556.

* desktop.el (desktop-read): Clear previous and next buffers for all
windows and bury *Messages* buffer (bug#11556).

12 years agoAdd a forgotten lisp/org/ChangeLog entry.
Bastien Guerry [Fri, 25 May 2012 23:17:15 +0000 (01:17 +0200)]
Add a forgotten lisp/org/ChangeLog entry.

12 years agoFix typos in previous
Glenn Morris [Fri, 25 May 2012 21:28:05 +0000 (17:28 -0400)]
Fix typos in previous

12 years agoFix major bug in the Org>ODT exporter.
Bastien Guerry [Fri, 25 May 2012 21:09:08 +0000 (23:09 +0200)]
Fix major bug in the Org>ODT exporter.

12 years agoMerge Org 7.8.11 -- important bug fixes.
Bastien Guerry [Fri, 25 May 2012 07:39:32 +0000 (09:39 +0200)]
Merge Org 7.8.11 -- important bug fixes.

12 years ago* src/callproc.c (Fcall_process): Restore a line that was accidentally commented...
Ken Brown [Thu, 24 May 2012 11:21:34 +0000 (07:21 -0400)]
* src/callproc.c (Fcall_process): Restore a line that was accidentally commented out (bug#11547).

12 years agoFix bug #11519 with relocation of buffer text during regex search.
Eli Zaretskii [Wed, 23 May 2012 17:32:28 +0000 (20:32 +0300)]
Fix bug #11519 with relocation of buffer text during regex search.

 src/lisp.h [REL_ALLOC]: Add prototypes for external functions
 defined on ralloc.c.
 src/buffer.c [REL_ALLOC]: Remove prototypes of
 r_alloc_reset_variable, r_alloc, r_re_alloc, and r_alloc_free,
 they are now on lisp.h.
 src/ralloc.c (r_alloc_inhibit_buffer_relocation): New function.
 src/search.c (search_buffer): Use it to inhibit relocation of buffer
 text while re_search_2 is doing its job, because re_search_2 is
 passed C pointers to buffer text.

12 years agognus-msg.el (gnus-msg-mail): Ensure that gnus-newsgroup-name is a string so that...
Katsumi Yamaoka [Mon, 21 May 2012 23:29:03 +0000 (23:29 +0000)]
gnus-msg.el (gnus-msg-mail): Ensure that gnus-newsgroup-name is a string so that Gcc works (bug#11514)

12 years agoUpdate value of window-system-version for MS-DOS build.
Eli Zaretskii [Mon, 21 May 2012 19:56:36 +0000 (22:56 +0300)]
Update value of window-system-version for MS-DOS build.

 src/msdos.c (internal_terminal_init) <Vwindow_system_version>:
 Update value to 24.

12 years agoFix BUGS typo
Glenn Morris [Mon, 21 May 2012 19:29:35 +0000 (15:29 -0400)]
Fix BUGS typo

12 years agoA better fix for bug #11464 with pos-visible-in-window-p and R2L text.
Eli Zaretskii [Sat, 19 May 2012 12:14:11 +0000 (15:14 +0300)]
A better fix for bug #11464 with pos-visible-in-window-p and R2L text.

 src/xdisp.c (move_it_to): Under MOVE_TO_Y, when restoring iterator
 state after an additional call to move_it_in_display_line_to, keep
 the values of it->max_ascent and it->max_descent found for the
 entire line.
 (pos_visible_p): Revert the comparison against bottom_y to what it
 was in 2012-05-13T18:22:35Z!eliz@gnu.org.

12 years agoAuto-commit of loaddefs files.
Glenn Morris [Fri, 18 May 2012 11:17:30 +0000 (07:17 -0400)]
Auto-commit of loaddefs files.

12 years agoFix "C-c C-r" in mail-mode invoked from Rmail.
Eli Zaretskii [Fri, 18 May 2012 09:41:42 +0000 (12:41 +0300)]
Fix "C-c C-r" in mail-mode invoked from Rmail.

 lisp/mail/sendmail.el (mail-yank-region): Recognize
 rmail-yank-current-message in addition to insert-buffer.  Fixes
 mail-mode's "C-c C-r" that otherwise does nothing when invoked in
 a *mail* buffer created through rmail-start-mail with sendmail as
 mail-user-agent.

12 years agoFix redirection in nt/configure.bat.
Eli Zaretskii [Fri, 18 May 2012 08:21:19 +0000 (11:21 +0300)]
Fix redirection in nt/configure.bat.

 nt/configure.bat: Ensure a space between %var% expansion and
 redirection symbol '>', which breaks when %var% ends in a digit,
 such as 1.

12 years ago* lisp/emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
Stefan Monnier [Thu, 17 May 2012 15:17:53 +0000 (11:17 -0400)]
* lisp/emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
parens around the arg list.  Silly backport.

Fixes: debbugs:11499

12 years agoAuto-commit of generated files.
Glenn Morris [Thu, 17 May 2012 11:17:28 +0000 (07:17 -0400)]
Auto-commit of generated files.

12 years agoBump version to 24.0.97.
Chong Yidong [Thu, 17 May 2012 02:36:40 +0000 (10:36 +0800)]
Bump version to 24.0.97.
Regenerate ldefs-boot.el and AUTHORS.

12 years agoob.el: Fix bug.
Bastien Guerry [Wed, 16 May 2012 21:53:39 +0000 (23:53 +0200)]
ob.el: Fix bug.

12 years agoMerge Org 7.8.10 -- important bug fixes since Org 7.8.09.
Bastien Guerry [Wed, 16 May 2012 17:33:50 +0000 (19:33 +0200)]
Merge Org 7.8.10 -- important bug fixes since Org 7.8.09.

12 years ago* net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
Chong Yidong [Wed, 16 May 2012 02:49:19 +0000 (10:49 +0800)]
* net/gnutls.el (gnutls-min-prime-bits): Improve docstring.

12 years agoFix the changes in 2012-04-22T13:58:00Z!cyd@gnu.org for bug #11464.
Eli Zaretskii [Tue, 15 May 2012 16:17:42 +0000 (19:17 +0300)]
Fix the changes in 2012-04-22T13:58:00Z!cyd@gnu.org for bug #11464.

 src/xdisp.c (pos_visible_p): Fix last change.