]> code.delx.au - gnu-emacs/log
gnu-emacs
9 years agoMore INSTALL trivia
Glenn Morris [Tue, 14 Oct 2014 21:18:15 +0000 (17:18 -0400)]
More INSTALL trivia

9 years agoINSTALL trivia.
Glenn Morris [Tue, 14 Oct 2014 21:05:33 +0000 (17:05 -0400)]
INSTALL trivia.

9 years agoFix display of R2L entries in tabulated-list-mode.
Eli Zaretskii [Tue, 14 Oct 2014 19:29:47 +0000 (22:29 +0300)]
Fix display of R2L entries in tabulated-list-mode.

 lisp/emacs-lisp/tabulated-list.el (tabulated-list-mode): Force
 bidi-paragraph-direction to 'left-to-right'.  This fixes
 buffer-menu display when the first buffer happens to start with
 R2L letter.

9 years ago* etc/NXML-NEWS: Add standard copyright and license notice.
Glenn Morris [Tue, 14 Oct 2014 16:09:09 +0000 (09:09 -0700)]
* etc/NXML-NEWS: Add standard copyright and license notice.

9 years agoTweak previous authors.el change
Glenn Morris [Mon, 13 Oct 2014 19:52:43 +0000 (15:52 -0400)]
Tweak previous authors.el change

9 years agoSmall authors.el updates
Glenn Morris [Mon, 13 Oct 2014 19:32:14 +0000 (15:32 -0400)]
Small authors.el updates

* lisp/emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
(authors-obsolete-files-regexps): Additions.
(authors-no-scan-regexps): New constant.
(authors-no-scan-file-p): New function.
(authors): Respect authors-no-scan-file-p.

9 years agoChangeLog fix
Glenn Morris [Mon, 13 Oct 2014 19:17:46 +0000 (15:17 -0400)]
ChangeLog fix

Ref: http://lists.gnu.org/archive/html/emacs-orgmode/2014-01/msg00165.html
http://orgmode.org/w/?p=org-mode.git;a=commitdiff;h=65cf7047bf885959a5e03b5aa9346b55a600fcab

9 years agoFix org/ChangeLog wrt latest Org Sync.
Bastien Guerry [Mon, 13 Oct 2014 16:44:30 +0000 (18:44 +0200)]
Fix org/ChangeLog wrt latest Org Sync.

9 years agoUpdate doc/ make dist rules
Glenn Morris [Mon, 13 Oct 2014 01:40:56 +0000 (18:40 -0700)]
Update doc/ make dist rules

* emacs/Makefile.in (dist):
* lispintro/Makefile.in (dist):
* lispref/Makefile.in (dist):
* misc/Makefile.in (dist): Update for new output variables.

9 years agoSync Org 8.2.10
Bastien Guerry [Sun, 12 Oct 2014 22:25:24 +0000 (00:25 +0200)]
Sync Org 8.2.10

9 years ago* admin/make-tarball.txt: Small additions.
Glenn Morris [Sun, 12 Oct 2014 18:41:05 +0000 (11:41 -0700)]
* admin/make-tarball.txt: Small additions.

9 years agoFix import completion.
Fabián Ezequiel Gallina [Sun, 12 Oct 2014 15:12:04 +0000 (12:12 -0300)]
Fix import completion.

* lisp/progmodes/python.el (python-shell-completion-get-completions):
Fix import case regexp.

Fixes: debbugs:18582
9 years agoMerge Org 8.2.9
Bastien Guerry [Sun, 12 Oct 2014 05:18:57 +0000 (07:18 +0200)]
Merge Org 8.2.9

9 years ago* configure.ac (LD_SWITCH_SYSTEM_TEMACS) [CYGWIN]: Set stack size to 8 MB. (Bug...
Ken Brown [Sat, 11 Oct 2014 17:16:12 +0000 (13:16 -0400)]
* configure.ac (LD_SWITCH_SYSTEM_TEMACS) [CYGWIN]: Set stack size to 8 MB.  (Bug#18438)

9 years agoFix mailaddress
Jan Djärv [Sat, 11 Oct 2014 08:24:56 +0000 (10:24 +0200)]
Fix mailaddress

9 years agoFix port to Debian GNU/kFreeBSD 7 (wheezy).
Paul Eggert [Fri, 10 Oct 2014 18:02:09 +0000 (11:02 -0700)]
Fix port to Debian GNU/kFreeBSD 7 (wheezy).

* process.c (accept4) [!HAVE_ACCEPT4]: New macro.

Fixes: debbugs:18666
9 years ago* lisp/progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo.
Stefan Monnier [Fri, 10 Oct 2014 04:03:27 +0000 (00:03 -0400)]
* lisp/progmodes/bat-mode.el (bat-font-lock-keywords): Fix \\<_ typo.
Reported by Arni Magnusson <arnima@hafro.is>.
* lisp/progmodes/prolog.el (prolog-electric--underscore): Same.

Fixes: debbugs:18622
9 years ago* doc/emacs/help.texi: Avoid overfull hbox.
Glenn Morris [Thu, 9 Oct 2014 17:39:07 +0000 (13:39 -0400)]
* doc/emacs/help.texi: Avoid overfull hbox.

9 years ago* doc/lispref/control.texi: Avoid overfull hbox.
Glenn Morris [Thu, 9 Oct 2014 17:36:02 +0000 (13:36 -0400)]
* doc/lispref/control.texi: Avoid overfull hbox.

9 years ago* doc/lispref/elisp.texi (DATE): Bump to October 2014.
Glenn Morris [Thu, 9 Oct 2014 16:07:40 +0000 (09:07 -0700)]
* doc/lispref/elisp.texi (DATE): Bump to October 2014.
I still have no idea what this is for, but newer is better!

9 years agoSpelling fixes.
Paul Eggert [Thu, 9 Oct 2014 15:59:41 +0000 (08:59 -0700)]
Spelling fixes.

9 years ago* src/frame.c (Fmouse_pixel_position): Call Vmouse_position_function.
Stefan Monnier [Thu, 9 Oct 2014 13:50:10 +0000 (09:50 -0400)]
* src/frame.c (Fmouse_pixel_position): Call Vmouse_position_function.

Fixes: debbugs:18638
9 years ago* doc/lispref/frames.texi: Tweak previous tweaks.
Glenn Morris [Thu, 9 Oct 2014 01:09:10 +0000 (21:09 -0400)]
* doc/lispref/frames.texi: Tweak previous tweaks.

9 years agoDoc tweaks
Glenn Morris [Thu, 9 Oct 2014 00:47:30 +0000 (20:47 -0400)]
Doc tweaks

* doc/lispref/frames.texi (Multiple Terminals): Copyedits.

* lisp/frame.el (display-monitor-attributes-list): Doc tweaks.

* nt/README.W32, src/ChangeLog.10, src/w32term.c:
Standardize on "taskbar" rather than "task bar", since that is what
most references seem to use; e.g.
http://en.wikipedia.org/wiki/Taskbar
http://windows.microsoft.com/en-us/windows7/products/features/windows-taskbar

9 years ago* lisp/frame.el: Fix doc typo in previous
Glenn Morris [Wed, 8 Oct 2014 19:37:37 +0000 (15:37 -0400)]
* lisp/frame.el: Fix doc typo in previous

9 years agodoc/lispref/frames.texi: (Multiple Terminals): Fix last commit.
Eli Zaretskii [Wed, 8 Oct 2014 11:17:13 +0000 (14:17 +0300)]
doc/lispref/frames.texi: (Multiple Terminals): Fix last commit.

9 years agoFix bug #18636 with documentation of multi-monitor displays.
Eli Zaretskii [Wed, 8 Oct 2014 10:16:45 +0000 (13:16 +0300)]
Fix bug #18636 with documentation of multi-monitor displays.

 doc/lispref/frames.texi (Multiple Terminals): Improve the description of X
 display names.  Add index entries.
 (Basic Parameters): Add a cross-reference to where X display names
 are described.
 (Position Parameters): Mention that positional parameters of the
 form (+ POS) can be negative if they are on a non-primary monitor
 of a multi-monitor display.
 (Creating Frames): Mention that on multi-monitor displays the
 frame might be positioned differently than specified by the frame
 parameters alist.

 lisp/faces.el (display-grayscale-p): Mention in the doc string that
 the argument can be either a display name or a frame.
 lisp/frame.el (display-pixel-height, display-pixel-width)
 (display-mm-height, display-mm-width, display-backing-store)
 (display-save-under, display-planes, display-color-cells)
 (display-visual-class, display-monitor-attributes-list)
 (display-screens): Mention in the doc string that the argument can
 be either a display name or a frame.  Improve the docs of the
 monitor attributes.

9 years agoFix bug #18610 with crashes when visiting files with ESC and 8-bit bytes.
Kenichi Handa [Wed, 8 Oct 2014 07:30:57 +0000 (10:30 +0300)]
Fix bug #18610 with crashes when visiting files with ESC and 8-bit bytes.

 src/coding.c (detect_coding_iso_2022): Set coding->rejected
 correctly when an invalid escape sequence is found.

 Backported from trunk.

9 years agoIn term-window-width subtract 1 from width when any fringe has zero width. (Bug#18601)
Martin Rudalics [Mon, 6 Oct 2014 06:45:10 +0000 (08:45 +0200)]
In term-window-width subtract 1 from width when any fringe has zero width. (Bug#18601)

* term.el (term-window-width): Subtract 1 from the width when
any fringe has zero width, not just the right fringe.  (Bug#18601)

9 years ago* package.texi (Package Menu): Package list was changed to not say "unsigned"
Glenn Morris [Mon, 6 Oct 2014 06:34:21 +0000 (23:34 -0700)]
* package.texi (Package Menu): Package list was changed to not say "unsigned"

9 years ago* imenu.el (imenu-default-goto-function): Fix typo.
Leo Liu [Sun, 5 Oct 2014 00:58:38 +0000 (08:58 +0800)]
* imenu.el (imenu-default-goto-function): Fix typo.

9 years agodoc/emacs small markup fixes
Glenn Morris [Sat, 4 Oct 2014 16:46:21 +0000 (09:46 -0700)]
doc/emacs small markup fixes

* doc/emacs/misc.texi (Sorting):
* doc/emacs/search.texi (Query Replace): Markup fixes.

9 years ago* doc/lispref/commands.texi (Generic Commands): Copyedits.
Glenn Morris [Sat, 4 Oct 2014 06:59:30 +0000 (23:59 -0700)]
* doc/lispref/commands.texi (Generic Commands): Copyedits.

9 years ago* doc/misc/vip.texi (Other Vi Commands): Markup fix.
Glenn Morris [Sat, 4 Oct 2014 06:55:37 +0000 (23:55 -0700)]
* doc/misc/vip.texi (Other Vi Commands): Markup fix.

9 years agoSmall copyedits for doc/lispref
Glenn Morris [Sat, 4 Oct 2014 06:45:19 +0000 (23:45 -0700)]
Small copyedits for doc/lispref

* doc/lispref/display.texi (Scroll Bars):
* doc/lispref/modes.texi (Header Lines): Copyedits.

9 years agoSmall doc/ fixes re @var usage.
Glenn Morris [Sat, 4 Oct 2014 06:35:55 +0000 (23:35 -0700)]
Small doc/ fixes re @var usage.

* doc/emacs/cmdargs.texi (Misc X):
* doc/emacs/display.texi (Optional Mode Line):
* doc/emacs/misc.texi (emacsclient Options):
* doc/emacs/vc1-xtra.texi (VC Delete/Rename):
* doc/lispref/buffers.texi (Buffer List):
* doc/lispref/display.texi (Image Descriptors, Defining Images):
* doc/lispref/functions.texi (Core Advising Primitives):
Small fixes re @var usage.

9 years ago* doc/lispref/windows.texi (Window Sizes, Resizing Windows): Copyedits.
Glenn Morris [Sat, 4 Oct 2014 06:33:00 +0000 (23:33 -0700)]
* doc/lispref/windows.texi (Window Sizes, Resizing Windows): Copyedits.

9 years agoDoc tweaks re multi-monitor
Glenn Morris [Sat, 4 Oct 2014 03:03:52 +0000 (20:03 -0700)]
Doc tweaks re multi-monitor

* doc/lispref/frames.texi (Multiple Terminals): Copyedits re multiple monitors.

* lisp/frame.el (frame-monitor-attributes, display-monitor-attributes-list):
Doc fixes.

9 years agodoc/emacs copyedits re rectangle-mark-mode
Glenn Morris [Sat, 4 Oct 2014 02:36:49 +0000 (19:36 -0700)]
doc/emacs copyedits re rectangle-mark-mode

* doc/emacs/killing.texi (Rectangles): Copyedits re rectangle-mark-mode.
(CUA Bindings): Mention rectangle-mark-mode.

9 years agoChangeLog fixes
Glenn Morris [Fri, 3 Oct 2014 16:06:02 +0000 (09:06 -0700)]
ChangeLog fixes

9 years agoChangeLog fix
Glenn Morris [Fri, 3 Oct 2014 15:46:27 +0000 (08:46 -0700)]
ChangeLog fix

9 years agoChangeLog fixes
Glenn Morris [Fri, 3 Oct 2014 15:33:37 +0000 (08:33 -0700)]
ChangeLog fixes

9 years agoA few tiny doc/ copyedits.
Glenn Morris [Fri, 3 Oct 2014 15:26:26 +0000 (08:26 -0700)]
A few tiny doc/ copyedits.

9 years agoFix vc-svn-ignore
Dmitry Gutov [Fri, 3 Oct 2014 13:15:05 +0000 (17:15 +0400)]
Fix vc-svn-ignore

* lisp/vc/vc-svn.el (vc-svn-ignore-completion-table): Implement.
(vc-svn-ignore): Use it.

Fixes: debbugs:18619
9 years agoMention `frame-resize-pixelwise' to make frames truly fullscreen or maximized.
Martin Rudalics [Fri, 3 Oct 2014 09:18:49 +0000 (11:18 +0200)]
Mention `frame-resize-pixelwise' to make frames truly fullscreen or maximized.

* frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
In doc-string mention need of setting `frame-resize-pixelwise'.

* frames.texi (Frame Commands):
* cmdargs.texi (Window Size X): Mention the use of
`frame-resize-pixelwise' to make frames truly fullscreen or
maximized.

* frames.texi (Size Parameters, Size and Position): Mention that
with some window managers you have to set
`frame-resize-pixelwise' in order make a frame truly fullscreen
or maximized.

9 years agoSync with Org 8.2.8.
Bastien Guerry [Fri, 3 Oct 2014 08:13:51 +0000 (10:13 +0200)]
Sync with Org 8.2.8.

9 years ago* font.c (font_list_entities): Do not add empty vector to font cache.
Dmitry Antipov [Fri, 3 Oct 2014 03:46:53 +0000 (07:46 +0400)]
* font.c (font_list_entities): Do not add empty vector to font cache.
(font_matching_entity): Likewise.  If matching entity is found, insert
1-item vector with this entity instead of an entity itself (Bug#17125).

9 years ago* lisp/vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
Stefan Monnier [Fri, 3 Oct 2014 00:42:28 +0000 (20:42 -0400)]
* lisp/vc/vc-svn.el (vc-svn-after-dir-status): Fix the non-remote regexp,
similarly to Roger's 2010-06-12 change for the remote change.

Fixes: debbugs:18605
9 years ago* configure.ac: Port to strict POSIX shells on non-MinGW.
Paul Eggert [Thu, 2 Oct 2014 22:29:39 +0000 (15:29 -0700)]
* configure.ac: Port to strict POSIX shells on non-MinGW.

Fixes: debbugs:18612
9 years agoFix bug #18584 with assertion violations while scrolling.
Eli Zaretskii [Thu, 2 Oct 2014 14:57:05 +0000 (17:57 +0300)]
Fix bug #18584 with assertion violations while scrolling.

 src/xdisp.c (move_it_by_lines): Call reseat_1 after moving the
 iterator backwards, to resync the bidi iterator.

9 years agoBump version to 24.3.94; regenerate ldefs-boot and AUTHORS emacs-24.3.94
Glenn Morris [Thu, 2 Oct 2014 00:49:14 +0000 (17:49 -0700)]
Bump version to 24.3.94; regenerate ldefs-boot and AUTHORS

9 years agoChangeLog whitespace trivia
Glenn Morris [Thu, 2 Oct 2014 00:26:16 +0000 (17:26 -0700)]
ChangeLog whitespace trivia

9 years ago* package.el (package-import-keyring): Create gnupg directory private.
Glenn Morris [Wed, 1 Oct 2014 23:39:50 +0000 (19:39 -0400)]
* package.el (package-import-keyring): Create gnupg directory private.
See bug#17625#155.

9 years ago* emacs/package.texi (Package Installation): Mention etc/package-keyring.gpg.
Glenn Morris [Wed, 1 Oct 2014 23:29:46 +0000 (19:29 -0400)]
* emacs/package.texi (Package Installation): Mention etc/package-keyring.gpg.

9 years agopackage-test tweaks for hydra
Glenn Morris [Wed, 1 Oct 2014 23:24:28 +0000 (19:24 -0400)]
package-test tweaks for hydra

* test/automated/package-test.el (with-package-test, package-test-signed):
Also set HOME to a temp value, in case the real one is absent (e.g.
hydra) or read-only.
(package-test-signed): Use skip-unless rather than expected-result.

Fixes: debbugs:18575
9 years ago* xfaces.c (Finternal_set_lisp_face_attribute): Added FIXME comment.
Jan Djärv [Wed, 1 Oct 2014 18:10:21 +0000 (20:10 +0200)]
* xfaces.c (Finternal_set_lisp_face_attribute): Added FIXME comment.

9 years ago* xfaces.c (Finternal_set_lisp_face_attribute): Don't try to
Jan Djärv [Wed, 1 Oct 2014 17:41:18 +0000 (19:41 +0200)]
* xfaces.c (Finternal_set_lisp_face_attribute): Don't try to
make a font_object from a tty frame.

Fixes: debbugs:18573
9 years agoAuto-commit of loaddefs files.
Glenn Morris [Wed, 1 Oct 2014 11:17:49 +0000 (07:17 -0400)]
Auto-commit of loaddefs files.

9 years agomml: Signal error on invalid <#secure> tag
Daiki Ueno [Wed, 1 Oct 2014 02:25:15 +0000 (11:25 +0900)]
mml: Signal error on invalid <#secure> tag

* mml.el (mml-parse-1): Error out if unknown mode is specified in
<#secure> tag (bug#18513).

9 years ago* lisp/progmodes/python.el (python-shell-completion-get-completions):
Stefan Monnier [Wed, 1 Oct 2014 00:41:51 +0000 (20:41 -0400)]
* lisp/progmodes/python.el (python-shell-completion-get-completions):
Use python-shell--prompt-calculated-input-regexp from the
process buffer.
Don't assume that `line' comes from the process buffer.

Fixes: debbugs:18582
9 years ago* lisp/progmodes/python.el (python-fill-paren): Don't inf-loop at EOB.
Leonardo Nobrega [Tue, 30 Sep 2014 23:00:57 +0000 (19:00 -0400)]
* lisp/progmodes/python.el (python-fill-paren): Don't inf-loop at EOB.

Fixes: debbugs:18462
9 years agoFix creation of frames on MS-Windows: don't cons Lisp objects in input thread.
Eli Zaretskii [Tue, 30 Sep 2014 13:53:24 +0000 (16:53 +0300)]
Fix creation of frames on MS-Windows: don't cons Lisp objects in input thread.

 src/w32fns.c (w32_createwindow): Accept an additional argument, an
 array of 2 values specifying the coordinates of the frame's
 top-left corner.  Use these values instead of calling x_get_arg,
 which can cons Lisp objects, and therefore cannot be called except
 from the main thread.  Remove redundant tests for the default
 values.
 (my_create_window): Move the calculation of the coordinates of the
 frame's top-left edge here.  Pass them to the input thread via the
 second parameter of the WM_EMACS_CREATEWINDOW message.  See
 http://lists.gnu.org/archive/html/emacs-devel/2014-09/msg00892.html
 for the details.

9 years agoSpelling fix.
Paul Eggert [Tue, 30 Sep 2014 05:02:13 +0000 (22:02 -0700)]
Spelling fix.

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