]> code.delx.au - gnu-emacs/log
gnu-emacs
9 years agoRelease MH-E version 8.6. mh-e-8.6
Bill Wohler [Tue, 30 Sep 2014 04:52:10 +0000 (21:52 -0700)]
Release MH-E version 8.6.

* NEWS, MH-E-NEWS: Update for MH-E release 8.6.

* mh-e.el (Version, mh-version): Update for release 8.6.

* mh-comp.el (mh-insert-x-face): Ensure that mh-x-face-file is a
string before trying to use it (closes SF #474).
(mh-bare-components): New function to create a temporary initial
components file; replaces mh-find-components. Improve the temp folder
and file names as per a suggestion from Bill Wohler. Also address
XEmacs compatibility issues: use mm-make-temp-file instead of
make-temp-file, and only pass one argument to delete-directory.
(mh-edit-again, mh-send-sub): Use mh-bare-components instead of
mh-find-components (partially closes SF #468).

9 years agoFix bug #18545 with lack of scrolling a window when point goes out of view.
Eli Zaretskii [Mon, 29 Sep 2014 19:10:28 +0000 (22:10 +0300)]
Fix bug #18545 with lack of scrolling a window when point goes out of view.

 src/xdisp.c (cursor_row_fully_visible_p): Update commentary.
 (redisplay_window): Treat the frame's frozen_window_starts flag
 the same way as the optional_new_start flag for the window: only
 obey it if the glyph row showing point will be fully visible.
 Likewise when the window start is in a continuation line.  If,
 after trying everything under the 'force_start' label, point is
 still not fully visible, give up and scroll the window.  Add
 debugging traces.
 src/window.c (Frecenter): Set the window's redisplay flag.

9 years agoCheck in accumulated leuven-theme updates before it's too late
Fabrice Niessen [Mon, 29 Sep 2014 12:30:16 +0000 (16:30 +0400)]
Check in accumulated leuven-theme updates before it's too late

* themes/leuven-theme.el: Updates.

9 years ago* lisp/emacs-lisp/package.el (package-check-signature): Default to nil if
Stefan Monnier [Sat, 27 Sep 2014 16:25:53 +0000 (12:25 -0400)]
* lisp/emacs-lisp/package.el (package-check-signature): Default to nil if
GPG is not available.
(package-refresh-contents): Don't mess with the keyring if we won't
check the signatures anyway.

9 years agoetc/charsets/README: Delete a stray quote character.
Eli Zaretskii [Sat, 27 Sep 2014 09:36:08 +0000 (12:36 +0300)]
etc/charsets/README: Delete a stray quote character.

9 years ago* lisp/erc/erc-track.el (erc-modified-channels-display): Update all mode lines
Stefan Monnier [Wed, 24 Sep 2014 17:31:59 +0000 (13:31 -0400)]
* lisp/erc/erc-track.el (erc-modified-channels-display): Update all mode lines
if needed.  Remove call to erc-modified-channels-object
where we ignored the return value.
(erc-modified-channels-update): Don't force-mode-line-update here any more.

Fixes: debbugs:18510
9 years ago* etc/package-keyring.gpg: New file.
Stefan Monnier [Wed, 24 Sep 2014 14:28:27 +0000 (10:28 -0400)]
* etc/package-keyring.gpg: New file.

9 years agoFix bug #18528 with crashes at startup during frameset restoration.
Eli Zaretskii [Wed, 24 Sep 2014 07:31:11 +0000 (10:31 +0300)]
Fix bug #18528 with crashes at startup during frameset restoration.

 src/w32term.c (w32_read_socket): Don't use frame dimensions for
 resizing if GetClientRect returned an empty (0, 0, 0, 0)
 rectangle.  Check the return value of GetClientRect, and don't use
 the results if it didn't succeed.
 src/dispnew.c (change_frame_size_1): Recompute the frame dimensions
 in columns and lines after correcting the pixel dimensions in
 check_frame_size.
 (adjust_decode_mode_spec_buffer): Add assertion to avoid passing
 negative values to xrealloc.

9 years agoOn OSX, do not free font-specific data more than once (Bug#18501).
Dmitry Antipov [Mon, 22 Sep 2014 05:34:05 +0000 (09:34 +0400)]
On OSX, do not free font-specific data more than once (Bug#18501).
* macfont.m (macfont_close): Release and free font-specific data
only if it wasn't previously freed.

9 years ago* configure.ac: Increase headerpad_extra to 1000, update the comment
David Caldwell [Sun, 21 Sep 2014 20:35:22 +0000 (22:35 +0200)]
* configure.ac: Increase headerpad_extra to 1000, update the comment
about load commands.

* src/unexmacosx.c (dump_it): Improve error message.

Fixes: debbugs:18505
9 years agoAdd the missing last name to ChangeLog
Dmitry Gutov [Fri, 19 Sep 2014 02:29:25 +0000 (06:29 +0400)]
Add the missing last name to ChangeLog

9 years agoClarify url-http and url-retrieve-internal docstrings
Dmitry Gutov [Fri, 19 Sep 2014 01:55:43 +0000 (05:55 +0400)]
Clarify url-http and url-retrieve-internal docstrings

* lisp/url/url-http.el (url-http): Same.

* lisp/url/url.el (url-retrieve-internal): Clarify the docstring.

Fixes: debbugs:18116
9 years ago* src/image.c (imagemagick_load_image): Add delay to imagemagick metadata.
Juri Linkov [Thu, 18 Sep 2014 20:59:55 +0000 (23:59 +0300)]
* src/image.c (imagemagick_load_image): Add delay to imagemagick metadata.
(Bug#10747, bug#18334)

9 years agoDo not call egrep to determine emacs version in EDE.
David Engster [Thu, 18 Sep 2014 20:37:19 +0000 (22:37 +0200)]
Do not call egrep to determine emacs version in EDE.

* ede/emacs.el (ede-emacs-version): Do not call 'egrep' to
determine Emacs version (it was dead code anyway).  Make sure that
configure.ac or configure.in exist.  (Bug#18476)

9 years agoClarify the doc strings of mouse-position and set-mouse-position.
Eli Zaretskii [Thu, 18 Sep 2014 17:20:57 +0000 (20:20 +0300)]
Clarify the doc strings of mouse-position and set-mouse-position.

 src/frame.c (Fmouse_position, Fset_mouse_position): Clarify the
 units in which the position is measured.  (Bug#18493)

9 years agoFix bug #18490 with redisplay of other windows showing a narrowed buffer.
Eli Zaretskii [Thu, 18 Sep 2014 15:10:33 +0000 (18:10 +0300)]
Fix bug #18490 with redisplay of other windows showing a narrowed buffer.

 src/xdisp.c (redisplay_internal): Force redisplay of all windows
 that show a buffer whose narrowing has changed.

9 years agoFix `fit-window-to-buffer' (Bug#18498).
Kan-Ru Chen [Thu, 18 Sep 2014 12:06:17 +0000 (14:06 +0200)]
Fix `fit-window-to-buffer' (Bug#18498).

* window.el (fit-window-to-buffer): When counting buffer width,
count the whole visible buffer.  Correctly convert the body-height
to pixel size for window-text-pixel-size (Bug#18498).

9 years agoFix display of hollow-box and hbar cursors on r2L lines.
Eli Zaretskii [Tue, 16 Sep 2014 15:53:36 +0000 (18:53 +0300)]
Fix display of hollow-box and hbar cursors on r2L lines.

 src/xterm.c (x_draw_hollow_cursor, x_draw_bar_cursor):
 src/w32term.c (x_draw_hollow_cursor, x_draw_bar_cursor): In R2L
 lines, draw the hollow-box and hbar cursors on the right side of
 cursor-glyph.  Thanks to Martin Rudalics <rudalics@gmx.at> for
 testing on X.

9 years agoFix block cursor display in R2L lines.
Eli Zaretskii [Tue, 16 Sep 2014 15:44:51 +0000 (18:44 +0300)]
Fix block cursor display in R2L lines.

 src/xterm.c (x_draw_stretch_glyph_string):
 src/w32term.c (x_draw_stretch_glyph_string): Fix a thinko that
 caused the block cursor to disappear on a TAB in R2L lines in
 every window except the leftmost one.  Reported by Martin Rudalics
 <rudalics@gmx.at>.

9 years agoPrefer ptrdiff_t to int and avoid integer overflows.
Dmitry Antipov [Tue, 16 Sep 2014 04:07:51 +0000 (08:07 +0400)]
Prefer ptrdiff_t to int and avoid integer overflows.
* fileio.c (make_temp_name):
* font.c (font_parse_family_registry): Avoid integer
overflow on string size calculation.
* data.c (Faset): Likewise for byte index.

9 years agoAlways use matched specpdl entry to record call arguments (Bug#18473).
Dmitry Antipov [Tue, 16 Sep 2014 04:04:56 +0000 (08:04 +0400)]
Always use matched specpdl entry to record call arguments (Bug#18473).
* lisp.h (record_in_backtrace): Adjust prototype.
* eval.c (record_in_backtrace): Return current specpdl level.
(set_backtrace_args, set_backtrace_nargs): Merge.  Adjust all users.
(eval_sub, Ffuncall): Record call arguments in matched specpdl
entry and use that entry in call to backtrace_debug_on_exit.
(apply_lambda): Likewise.  Get current specpdl level as 3rd arg.
(do_debug_on_call): Get current specpdl level as 2nd arg.

9 years agosrc/dispextern.h: Commentary fix.
Eli Zaretskii [Mon, 15 Sep 2014 15:29:40 +0000 (18:29 +0300)]
src/dispextern.h: Commentary fix.

9 years agoFix display of R2L lines in partial-width windows.
Eli Zaretskii [Mon, 15 Sep 2014 15:25:54 +0000 (18:25 +0300)]
Fix display of R2L lines in partial-width windows.

 src/xdisp.c (init_iterator): Don't use it->bidi_p before it is
 assigned the correct value.
 (extend_face_to_end_of_line): Account for truncation and
 continuation glyphs in R2L rows when one of the fringes is not
 displayed.
 (display_line): Don't assign negative X offset to a row if we are
 going to produce a truncation glyph for it.  When handling
 truncated R2L rows, consider the width of the left fringe instead
 of the right one.
 (produce_special_glyphs): Fix bogus assignments.

9 years ago* lisp/image.el (image-multi-frame-p): Fix thinko
Glenn Morris [Sun, 14 Sep 2014 23:59:57 +0000 (16:59 -0700)]
* lisp/image.el (image-multi-frame-p): Fix thinko
do not force a delay if none was specified.

Fixes: debbugs:18334
9 years agoFix bug #18420 with deadlocks communicating with subprocess on MS-Windows.
Eli Zaretskii [Sun, 14 Sep 2014 15:18:39 +0000 (18:18 +0300)]
Fix bug #18420 with deadlocks communicating with subprocess on MS-Windows.

 src/w32.c (fcntl): Support O_NONBLOCK fcntl on the write side of
 pipes.
 (sys_write): When a write to a non-blocking pipe returns ENOSPC,
 set errno to EAGAIN instead, to allow the caller to retry the
 write after some waiting.  Fixes deadlocks when Emacs exchanges a
 lot of data through the pipe.

9 years agoFix expansion and encoding of sound file names on MS-Windows.
Eli Zaretskii [Sat, 13 Sep 2014 08:26:44 +0000 (11:26 +0300)]
Fix expansion and encoding of sound file names on MS-Windows.

 src/sound.c (Fplay_sound_internal): Encode the sound file name in
 the ANSI codepage.  Expand it against data-directory, as per docs,
 not against the current directory.  No need to make a local copy
 of the file name; pass the encoded file name directly to
 do_play_sound.  (Bug#18463)
 src/w32.c (ansi_encode_filename): If w32_get_short_filename returns
 NULL, and the file name is not encodable in ANSI codepage, return
 the string with "?" replacement characters, which will fail the
 caller.  This avoids returning a random value in that case.

9 years agoResurrect sound support on MS-Windows that was lost in transition.
Eli Zaretskii [Sat, 13 Sep 2014 07:10:40 +0000 (10:10 +0300)]
Resurrect sound support on MS-Windows that was lost in transition.

 configure.ac (HAVE_SOUND): Check for mmsystem.h header that
 defines the sound stuff on MS-Windows.  (Bug#18463)

9 years agoFix fit-window-to-buffer doc-string.
Kan-Ru Chen [Fri, 12 Sep 2014 06:26:46 +0000 (08:26 +0200)]
Fix fit-window-to-buffer doc-string.

9 years ago* etc/NEWS: Mention timer error reporting.
Glenn Morris [Thu, 11 Sep 2014 17:35:44 +0000 (13:35 -0400)]
* etc/NEWS: Mention timer error reporting.
Ref: http://debbugs.gnu.org/18444#8

9 years agoIn Fresize_mini_window_internal set w->total_lines from w->pixel_height (Bug#18422).
Martin Rudalics [Thu, 11 Sep 2014 08:47:34 +0000 (10:47 +0200)]
In Fresize_mini_window_internal set w->total_lines from w->pixel_height (Bug#18422).

* window.c (Fresize_mini_window_internal): Set w->total_lines
from w->pixel_height (Bug#18422).

9 years ago* lisp/desktop.el (desktop-create-buffer): Check that buffers are still live
Ivan Shmakov [Wed, 10 Sep 2014 00:47:20 +0000 (20:47 -0400)]
* lisp/desktop.el (desktop-create-buffer): Check that buffers are still live
before burying them.

Fixes: debbugs:18373
9 years agosrc/xdisp.c (pos_visible_p): Don't assign a boolean value to an int var.
Eli Zaretskii [Tue, 9 Sep 2014 18:23:26 +0000 (21:23 +0300)]
src/xdisp.c (pos_visible_p): Don't assign a boolean value to an int var.

9 years ago* calendar/diary-lib.el (diary-list-entries): Restore 24.3 display behavior.
Glenn Morris [Tue, 9 Sep 2014 18:09:54 +0000 (14:09 -0400)]
* calendar/diary-lib.el (diary-list-entries): Restore 24.3 display behavior.

Fixes: debbugs:18381
9 years ago* nsterm.m (updateFrameSize:, initFrameFromEmacs:)
Jan Djärv [Tue, 9 Sep 2014 17:46:28 +0000 (19:46 +0200)]
* nsterm.m (updateFrameSize:, initFrameFromEmacs:)
(toggleFullScreen:): Take frame_resize_pixelwise into account when
setting resize increments.

Fixes: debbugs:18435
9 years agoFix the row number mistakenly reported by pos_visible_p in rare cases.
Eli Zaretskii [Tue, 9 Sep 2014 15:04:35 +0000 (18:04 +0300)]
Fix the row number mistakenly reported by pos_visible_p in rare cases.

 src/xdisp.c (pos_visible_p): Properly save and restore the iterator
 state around the call to line_bottom, since it can move the
 iterator to another screen line.  This fixes off-by-one errors in
 the reported row in some rare cases.

9 years agoFix mouse-dragging mode lines on text-mode terminals.
Eli Zaretskii [Tue, 9 Sep 2014 15:00:51 +0000 (18:00 +0300)]
Fix mouse-dragging mode lines on text-mode terminals.

 lisp/mouse.el (mouse-drag-line): On text-mode frames, count the mode
 line and header line as 1 pixel.  This fixes the 1-"pixel" (row)
 discrepancy between window-pixel-edges and mouse events, and
 avoids moving mode line up when the mouse click is on the modeline
 and no drag is attempted.

9 years agoNEWS fix
Glenn Morris [Tue, 9 Sep 2014 01:20:01 +0000 (21:20 -0400)]
NEWS fix
display-buffer-in-previous-window existed before 24.4, but was not
in display-buffer-fallback-action

9 years ago* calendar.el (calendar-basic-setup): Avoid clobbering calendar with diary.
Glenn Morris [Mon, 8 Sep 2014 05:57:24 +0000 (22:57 -0700)]
* calendar.el (calendar-basic-setup): Avoid clobbering calendar with diary.

Fixes: debbugs:18381
9 years agoFix bug #18419 with disappearing line numbers when minibuffer is resized.
Eli Zaretskii [Sun, 7 Sep 2014 17:16:36 +0000 (20:16 +0300)]
Fix bug #18419 with disappearing line numbers when minibuffer is resized.

 src/dispnew.c (prepare_desired_row): When MODE_LINE_P is zero,
 always make sure the marginal areas of the row are in sync with
 what the window wants.

9 years ago* lisp/vc/vc-dir.el (vc-dir-update): Don't burp in corner case.
Stefan Monnier [Fri, 5 Sep 2014 17:37:12 +0000 (13:37 -0400)]
* lisp/vc/vc-dir.el (vc-dir-update): Don't burp in corner case.

9 years ago* lisp/isearch.el (isearch-yank-word-or-char): Obey superword-mode
Lars Ljung [Thu, 4 Sep 2014 16:14:26 +0000 (12:14 -0400)]
* lisp/isearch.el (isearch-yank-word-or-char): Obey superword-mode
as well.

Fixes: debbugs:18400
9 years ago* doc/lispref/functions.texi (Core Advising Primitives): Add a note about the
Stefan Monnier [Thu, 4 Sep 2014 15:43:06 +0000 (11:43 -0400)]
* doc/lispref/functions.texi (Core Advising Primitives): Add a note about the
confusing treatment of `interactive' for :filter-args.

Fixes: debbugs:18399
9 years agoFix misleading doc string revealed in bug #18385.
Eli Zaretskii [Thu, 4 Sep 2014 15:21:40 +0000 (18:21 +0300)]
Fix misleading doc string revealed in bug #18385.

 lisp/subr.el (posn-actual-col-row): Doc fix.

9 years agoFix bug #18331 with "C-h k C-g" not showing documentation on Windows.
Eli Zaretskii [Thu, 4 Sep 2014 15:09:49 +0000 (18:09 +0300)]
Fix bug #18331 with "C-h k C-g" not showing documentation on Windows.

 src/data.c (set_internal): Use assq_no_quit, not Fassq, to find an
 existing binding of a variable, to avoid silently aborting
 commands that use specbind.

9 years agosrc/sysdep.c (emacs_full_write): Fix a typo in a comment.
Eli Zaretskii [Wed, 3 Sep 2014 18:13:45 +0000 (21:13 +0300)]
src/sysdep.c (emacs_full_write): Fix a typo in a comment.

9 years agoMinor updates in unidata-gen.el.
Eli Zaretskii [Wed, 3 Sep 2014 16:03:34 +0000 (19:03 +0300)]
Minor updates in unidata-gen.el.

 admin/unidata/unidata-gen.el (unidata-check): Bring this function up
 to date with the currently supported methods of generating Unicode
 property tables.  Add a comment with a description how to invoke
 the check.  Update the copyright years in the reference to the
 Unicode data files we use.

9 years agotest/indent/scheme.scm: New file.
Stefan Monnier [Tue, 2 Sep 2014 20:47:44 +0000 (16:47 -0400)]
test/indent/scheme.scm: New file.

9 years ago* lisp/emacs-lisp/package.el (package-generate-description-file):
Stefan Monnier [Tue, 2 Sep 2014 19:51:25 +0000 (15:51 -0400)]
* lisp/emacs-lisp/package.el (package-generate-description-file):
Properly quote the arguments.  Change second arg.
(package--alist-to-plist-args): Rename from package--alist-to-plist and
quote the elements.
(package--make-autoloads-and-stuff): Fix the test for pre-existence of
the *-pkg.el file.  Adjust to new calling convention of
package-generate-description-file.

Fixes: debbugs:18332
9 years ago* lisp/progmodes/gud.el (gud-gdb-completion-at-point): Add hack.
Stefan Monnier [Tue, 2 Sep 2014 18:16:32 +0000 (14:16 -0400)]
* lisp/progmodes/gud.el (gud-gdb-completion-at-point): Add hack.
(gud-gdb-completions): Remove obsolete workaround.

Fixes: debbugs:18282
9 years agoFix bug #18384 with incorrect reporting of row number by posn-col-row.
Eli Zaretskii [Tue, 2 Sep 2014 15:16:42 +0000 (18:16 +0300)]
Fix bug #18384 with incorrect reporting of row number by posn-col-row.

 lisp/subr.el (posn-col-row): Revert the change from commit
 2010-11-13T21:07:58Z!eliz@gnu.org, which
 was inadvertently merged from emacs-23 release branch in
2010-11-18T03:54:14Z!monnier@iro.umontreal.ca, and
 introduced an off-by-one error in the reported row when there is a
 header line.

 src/dispnew.c (buffer_posn_from_coords): Fix an off-by-one error in
 the reported row in the case of a window with a header line, by
 improving on the fix committed in 2011-10-08T10:58:50Z!eliz@gnu.org
 eliz@gnu.org-20111008105850-ht4tvsayohvr1kjc.

9 years ago* lisp/tutorial.el: Restore comment lost 2006-12-21.
Glenn Morris [Tue, 2 Sep 2014 06:48:20 +0000 (23:48 -0700)]
* lisp/tutorial.el: Restore comment lost 2006-12-21.

9 years ago* eval.c (internal_lisp_condition_case): Don't overrun the stack
Paul Eggert [Tue, 2 Sep 2014 06:29:01 +0000 (23:29 -0700)]
* eval.c (internal_lisp_condition_case): Don't overrun the stack

when configured --with-wide-int on typical 32-bit platforms.

9 years ago* lisp/progmodes/python.el (python-indent-post-self-insert-function):
Fabián Ezequiel Gallina [Mon, 1 Sep 2014 22:51:46 +0000 (19:51 -0300)]
* lisp/progmodes/python.el (python-indent-post-self-insert-function):
Avoid electric colon at beginning-of-defun.

* test/automated/python-tests.el:
(python-indent-electric-colon-1): New test.  (Bug#18228)

9 years ago* lisp/tutorial.el (tutorial--display-changes): Fix 2014-07-29 change.
Glenn Morris [Mon, 1 Sep 2014 16:44:06 +0000 (09:44 -0700)]
* lisp/tutorial.el (tutorial--display-changes): Fix 2014-07-29 change.

Fixes: debbugs:18382
9 years agoFix cursor display on the fringe of R2L screen lines.
Eli Zaretskii [Sun, 31 Aug 2014 15:53:27 +0000 (18:53 +0300)]
Fix cursor display on the fringe of R2L screen lines.

 src/xdisp.c (display_and_set_cursor): Call erase_phys_cursor also
 when HPOS is negative, for the benefit of R2L glyph rows whose
 newline overflows into the fringe.

9 years ago* src/conf_post.h (strnicmp) [CYGWIN && HAVE_NTGUI]: Define. (Bug#18366)
Ken Brown [Sat, 30 Aug 2014 19:47:56 +0000 (15:47 -0400)]
* src/conf_post.h (strnicmp) [CYGWIN && HAVE_NTGUI]: Define.  (Bug#18366)

9 years agoMinor ChangeLog fix.
Eli Zaretskii [Sat, 30 Aug 2014 09:29:13 +0000 (12:29 +0300)]
Minor ChangeLog fix.

9 years ago* lisp/startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to the Cygwin...
Ken Brown [Fri, 29 Aug 2014 22:13:43 +0000 (18:13 -0400)]
* lisp/startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to the Cygwin-w32 build.  (Bug#18347)

9 years ago* lisp/tar-mode.el (tar--extract, tar-extract): Avoid disabling undo
Glenn Morris [Thu, 28 Aug 2014 19:18:24 +0000 (15:18 -0400)]
* lisp/tar-mode.el (tar--extract, tar-extract): Avoid disabling undo
in extracted buffers.

Fixes: debbugs:18344
9 years agoFix bug #18339 with segfault when $ is typed into empty LaTeX buffer.
Eli Zaretskii [Thu, 28 Aug 2014 16:26:39 +0000 (19:26 +0300)]
Fix bug #18339 with segfault when $ is typed into empty LaTeX buffer.
Back-ported from trunk revision-id: 2014-08-27T19:40:54Z!eliz@gnu.org

 src/syntax.c (scan_lists): Don't examine positions before BEGV.

9 years ago* etc/emacs.appdata.xml: New file
Glenn Morris [Thu, 28 Aug 2014 01:53:26 +0000 (18:53 -0700)]
* etc/emacs.appdata.xml: New file

Ref: http://people.freedesktop.org/~hughsient/appdata/

The description is adapted from the Emacs homepage.

9 years ago* emacs-lisp/authors.el (authors-aliases): Addition.
Michael Albinus [Wed, 27 Aug 2014 07:53:58 +0000 (09:53 +0200)]
* emacs-lisp/authors.el (authors-aliases): Addition.

9 years ago* net/tramp-adb.el: Spell author name correctly.
Michael Albinus [Wed, 27 Aug 2014 07:25:37 +0000 (09:25 +0200)]
* net/tramp-adb.el: Spell author name correctly.

9 years agoshr.el: Comment.
Glenn Morris [Wed, 27 Aug 2014 05:06:20 +0000 (22:06 -0700)]
shr.el: Comment.

9 years ago* net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
João Távora [Wed, 27 Aug 2014 05:04:47 +0000 (22:04 -0700)]
* net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
use url-expand-file-name.

Fixes: debbugs:18310
9 years agoFix unoptimized build on MSDOS.
Eli Zaretskii [Mon, 25 Aug 2014 17:44:27 +0000 (20:44 +0300)]
Fix unoptimized build on MSDOS.

 msdos/sedlibmk.inp (gl_LIBOBJS): Add execinfo.o.  Reported by Juan
 Manuel Guerrero <juan.guerrero@gmx.de>.

 src/conf_post.h (_GL_EXECINFO_INLINE) [MSDOS]: Don't define.

9 years ago* emulation/cua-rect.el (cua--highlight-rectangle): Avoid error at point-min.
Glenn Morris [Mon, 25 Aug 2014 16:40:53 +0000 (12:40 -0400)]
* emulation/cua-rect.el (cua--highlight-rectangle): Avoid error at point-min.

Fixes: debbugs:18309
9 years agoFix compilation warnings about snprintf in the MSDOS build.
Eli Zaretskii [Sat, 23 Aug 2014 08:22:46 +0000 (11:22 +0300)]
Fix compilation warnings about snprintf in the MSDOS build.

 msdos/sed2v2.inp [DJGPP <= 2.03]: Add a prototype for snprintf, to
 avoid compilation warning from newer GCC versions that have
 snprintf as a built-in.  Reported by Juan Manuel Guerrero
 <juan.guerrero@gmx.de>.

9 years agoBackport: * configure.ac (HAVE_XPM): Explain the use of CPPFLAGS in the Cygwin-w32...
Ken Brown [Fri, 22 Aug 2014 13:03:05 +0000 (09:03 -0400)]
Backport: * configure.ac (HAVE_XPM): Explain the use of CPPFLAGS in the Cygwin-w32 build.  (Bug#18302)

9 years agoUpdate Emacs's bidirectional conformance per Unicode 6.3.0.
Eli Zaretskii [Tue, 19 Aug 2014 18:56:29 +0000 (21:56 +0300)]
Update Emacs's bidirectional conformance per Unicode 6.3.0.

 doc/lispref/display.texi (Bidirectional Display): Update the Emacs's class
 of bidirectional conformance.

9 years ago* python-tests.el (python-shell-calculate-exec-path-2): Update test
Glenn Morris [Mon, 18 Aug 2014 19:15:06 +0000 (15:15 -0400)]
* python-tests.el (python-shell-calculate-exec-path-2): Update test
for today's python.el changes.

9 years ago* lisp/progmodes/python.el (python-shell-prompt-detect): Remove redundant
Stefan Monnier [Mon, 18 Aug 2014 16:11:43 +0000 (12:11 -0400)]
* lisp/progmodes/python.el (python-shell-prompt-detect): Remove redundant
executable-find.

Fixes: debbugs:18244
9 years agosrc/xdisp.c (handle_stop): Improve commentary.
Eli Zaretskii [Mon, 18 Aug 2014 15:38:56 +0000 (18:38 +0300)]
src/xdisp.c (handle_stop): Improve commentary.

9 years agoFix bug #18276 with vertical motion through a display property.
Eli Zaretskii [Mon, 18 Aug 2014 15:34:49 +0000 (18:34 +0300)]
Fix bug #18276 with vertical motion through a display property.

 src/indent.c (Fvertical_motion): Fix vertical motion up through a
 display property after a newline.

9 years ago* lisp/simple.el (self-insert-uses-region-functions): Defvar.
Stefan Monnier [Mon, 18 Aug 2014 15:20:27 +0000 (11:20 -0400)]
* lisp/simple.el (self-insert-uses-region-functions): Defvar.

9 years agoAvoid inflooping in redisplay caused by hscrolled R2L lines.
Eli Zaretskii [Sun, 17 Aug 2014 14:48:50 +0000 (17:48 +0300)]
Avoid inflooping in redisplay caused by hscrolled R2L lines.

 src/xdisp.c (display_line): Don't assume that the call to
 reseat_at_next_visible_line_start ends up at a character
 immediately following the newline on the previous line.  Avoids
 setting the ends_at_zv_p flag on screen lines that are not at or
 beyond ZV, which causes infloop in redisplay.  For the details, see
 http://lists.gnu.org/archive/html/emacs-devel/2014-08/msg00368.html.

9 years agoFix bug #18277 with mouse clicks on R2L lines.
Eli Zaretskii [Sun, 17 Aug 2014 14:34:05 +0000 (17:34 +0300)]
Fix bug #18277 with mouse clicks on R2L lines.

 src/dispnew.c (buffer_posn_from_coords): Fix mirroring of X
 coordinate for hscrolled R2L screen lines.

9 years agoRegenerate ldefs-boot.el emacs-24.3.93
Glenn Morris [Fri, 15 Aug 2014 04:05:36 +0000 (21:05 -0700)]
Regenerate ldefs-boot.el

9 years agoRegenerate etc/AUTHORS
Glenn Morris [Thu, 14 Aug 2014 20:02:30 +0000 (16:02 -0400)]
Regenerate etc/AUTHORS

9 years agoBump version number to 24.3.93
Glenn Morris [Thu, 14 Aug 2014 19:56:31 +0000 (15:56 -0400)]
Bump version number to 24.3.93

9 years ago* speedbar.el (speedbar-generic-list-tag-p): Allow special
Leo Liu [Wed, 13 Aug 2014 03:21:43 +0000 (11:21 +0800)]
* speedbar.el (speedbar-generic-list-tag-p): Allow special
elements from imenu.

9 years ago* src/gmalloc.c (_malloc_mutex, _aligned_blocks_mutex) [CYGWIN]: Use ERRORCHECK mutex...
Ken Brown [Mon, 11 Aug 2014 15:25:08 +0000 (11:25 -0400)]
* src/gmalloc.c (_malloc_mutex, _aligned_blocks_mutex) [CYGWIN]: Use ERRORCHECK mutexes.  (Bug#18222)

9 years ago* lisp/subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.
Glenn Morris [Mon, 11 Aug 2014 01:13:38 +0000 (18:13 -0700)]
* lisp/subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual.

9 years agoRevert 2013-01-31 change that decides coding system before backing up
Glenn Morris [Mon, 11 Aug 2014 00:38:19 +0000 (17:38 -0700)]
Revert 2013-01-31 change that decides coding system before backing up

It causes a more serious problem than the one it solves.
This closes bug#18141, and reopens bug#13522.

* lisp/files.el (basic-save-buffer-2): Revert 2013-01-31 change.

* src/fileio.c: Revert 2013-01-31 change.
(choose_write_coding_system): No longer callable from Lisp.
Move last piece back here from Fwrite_region.
(Fwrite_region, syms_of_fileio): Update for above changes.

* test/automated/data/files-bug18141.el.gz: New file.
* test/automated/files.el (files-test-bug-18141-file):
New variable and test.

9 years agoSimplify previous patch.
Paul Eggert [Sun, 10 Aug 2014 21:06:07 +0000 (14:06 -0700)]
Simplify previous patch.

Fixes: debbugs:18232
9 years agoDon't prevent random file systems from being unmounted.
Paul Eggert [Sun, 10 Aug 2014 20:40:57 +0000 (13:40 -0700)]
Don't prevent random file systems from being unmounted.

This fix relies on having the 'fchdir' function, and on having
"." be searchable (or at least readable, on platforms lacking O_SEARCH),
but that's good enough to handle the vast majority of cases and the
remaining folks can just live with the annoyance of file systems
that occasionally can't be unmounted.
* configure.ac (fchdir): New function to check for.
* lib/save-cwd.c: Copy from gnulib, except omit the part that
allocates memory, since that can cause problems in Emacs.
* lib/save-cwd.h: Copy from gnulib.

Fixes: debbugs:18232
9 years agoMake doc-string of window-total-size more self-contained.
Martin Rudalics [Sun, 10 Aug 2014 10:41:28 +0000 (12:41 +0200)]
Make doc-string of window-total-size more self-contained.

* window.el (window-total-size): Make doc-string more
self-contained.

9 years agoIn display-buffer-below-selected reuse window below selected if it shows buffer alrea...
Martin Rudalics [Sat, 9 Aug 2014 16:50:13 +0000 (18:50 +0200)]
In display-buffer-below-selected reuse window below selected if it shows buffer already (Bug#18181).

* window.el (display-buffer-below-selected): Restore original
behavior if buffer is already displayed in the window below the
selected one (Bug#18181).

9 years agoSecond attempt to fix some doc-strings in window.c.
Martin Rudalics [Sat, 9 Aug 2014 11:12:45 +0000 (13:12 +0200)]
Second attempt to fix some doc-strings in window.c.

* window.c (Fwindow_new_total, Fwindow_new_normal)
(Fwindow_new_pixel, Fset_window_new_pixel)
(Fset_window_new_total, Fset_window_new_normal): Second attempt
to fix the doc-strings of these functions.  See:
http://lists.gnu.org/archive/html/bug-gnu-emacs/2014-08/msg00287.html

9 years ago* lisp/mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
Stefan Monnier [Fri, 8 Aug 2014 16:56:50 +0000 (12:56 -0400)]
* lisp/mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
event.

Fixes: debbugs:18212
9 years agolisp/info.el (info): Doc fix.
Eli Zaretskii [Fri, 8 Aug 2014 13:53:55 +0000 (16:53 +0300)]
lisp/info.el (info): Doc fix.

9 years agoFix some doc-strings in window.c (Bug#18112) (Bug#18194).
Martin Rudalics [Fri, 8 Aug 2014 09:52:59 +0000 (11:52 +0200)]
Fix some doc-strings in window.c (Bug#18112) (Bug#18194).

* window.c (Fwindow_valid_p): Fix doc-string (Bug#18194).
(Fwindow_new_total, Fwindow_normal_size, Fwindow_new_normal)
(Fwindow_new_pixel, Fset_window_new_pixel)
(Fset_window_new_total, Fset_window_new_normal)
(Fwindow_resize_apply): Fix doc-strings (see Bug#18112).

9 years agoFix typos in TUTORIAL.fr
Bastien Guerry [Fri, 8 Aug 2014 05:20:52 +0000 (07:20 +0200)]
Fix typos in TUTORIAL.fr

9 years ago* lisp/info.el (Info-mode-map): Override a global down-mouse-2 binding.
Stefan Monnier [Thu, 7 Aug 2014 18:35:54 +0000 (14:35 -0400)]
* lisp/info.el (Info-mode-map): Override a global down-mouse-2 binding.

Fixes: debbugs:18212
9 years agoFix bug #18162 with assertion violations due to empty face cache.
Eli Zaretskii [Thu, 7 Aug 2014 15:18:10 +0000 (18:18 +0300)]
Fix bug #18162 with assertion violations due to empty face cache.

 src/fontset.c (Finternal_char_font): Recompute basic faces if the
 frame's face cache was cleared.

9 years ago* test/automated/Makefile.in (check-tar): Remove, no longer needed.
Glenn Morris [Thu, 7 Aug 2014 00:08:57 +0000 (17:08 -0700)]
* test/automated/Makefile.in (check-tar): Remove, no longer needed.

No need to merge this to trunk.

9 years agosrc/coding.c: Fix typos in comments and doc strings.
Eli Zaretskii [Wed, 6 Aug 2014 17:37:22 +0000 (20:37 +0300)]
src/coding.c: Fix typos in comments and doc strings.

9 years agoFix bug #18195 with inaccurate results from window-screen-lines.
Eli Zaretskii [Tue, 5 Aug 2014 13:34:06 +0000 (16:34 +0300)]
Fix bug #18195 with inaccurate results from window-screen-lines.

 lisp/simple.el (default-line-height): A floating-point value of
 line-spacing means a fraction of the default frame font's height,
 not of the font currently used by the 'default' face.  Truncate
 the pixel value, like the display engine does.
 (window-screen-lines): Use window-inside-pixel-edges for
 determining the window height in pixels.

9 years agoFix bug with uninitialized undo list of an indirect buffer (Bug#18180).
Dmitry Antipov [Tue, 5 Aug 2014 06:04:38 +0000 (10:04 +0400)]
Fix bug with uninitialized undo list of an indirect buffer (Bug#18180).
* buffer.c (Fmake_indirect_buffer): Initialize undo list with the
base buffer's undo list.

9 years agoFix bug with an attempt to select uninitialized frame (Bug#18161).
Dmitry Antipov [Sun, 3 Aug 2014 07:19:43 +0000 (11:19 +0400)]
Fix bug with an attempt to select uninitialized frame (Bug#18161).
* xfns.c (Fx_create_frame): Move call to change_frame_size to
a section where Lisp evaluation is disabled.  This way a pointer
to uninitialized frame is not accessible from Lisp, which becomes
critical if following call to x_figure_window_size throws an error.