1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-21 10:24:55 +00:00
Commit Graph

116327 Commits

Author SHA1 Message Date
Glenn Morris
6539a7e2a2 * lisp/tar-mode.el (tar--extract, tar-extract): Avoid disabling undo
in extracted buffers.

Fixes: debbugs:18344
2014-08-28 15:18:24 -04:00
Eli Zaretskii
74910c5d07 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.
2014-08-28 19:26:39 +03:00
Glenn Morris
b62da77c1c * etc/emacs.appdata.xml: New file
Ref: http://people.freedesktop.org/~hughsient/appdata/

The description is adapted from the Emacs homepage.
2014-08-27 18:53:26 -07:00
Michael Albinus
9b6ab1afe4 * emacs-lisp/authors.el (authors-aliases): Addition. 2014-08-27 09:53:58 +02:00
Michael Albinus
dfdb730b10 * net/tramp-adb.el: Spell author name correctly. 2014-08-27 09:25:37 +02:00
Glenn Morris
bd3be308f7 shr.el: Comment. 2014-08-26 22:06:20 -07:00
João Távora
e7b37ae4df * net/shr.el (shr-expand-url): Plain expand-file-name is not enough;
use url-expand-file-name.

Fixes: debbugs:18310
2014-08-26 22:04:47 -07:00
Eli Zaretskii
825ca47f5a 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.
2014-08-25 20:44:27 +03:00
Glenn Morris
20a4f6a967 * emulation/cua-rect.el (cua--highlight-rectangle): Avoid error at point-min.
Fixes: debbugs:18309
2014-08-25 12:40:53 -04:00
Eli Zaretskii
934cde5459 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>.
2014-08-23 11:22:46 +03:00
Ken Brown
09f3715543 Backport: * configure.ac (HAVE_XPM): Explain the use of CPPFLAGS in the Cygwin-w32 build. (Bug#18302) 2014-08-22 09:03:05 -04:00
Eli Zaretskii
0fcb3479d5 Update Emacs's bidirectional conformance per Unicode 6.3.0.
doc/lispref/display.texi (Bidirectional Display): Update the Emacs's class
 of bidirectional conformance.
2014-08-19 21:56:29 +03:00
Glenn Morris
ca8a1945a6 * python-tests.el (python-shell-calculate-exec-path-2): Update test
for today's python.el changes.
2014-08-18 15:15:06 -04:00
Stefan Monnier
5d3c0a067f * lisp/progmodes/python.el (python-shell-prompt-detect): Remove redundant
executable-find.

Fixes: debbugs:18244
2014-08-18 12:11:43 -04:00
Eli Zaretskii
73b7592be7 src/xdisp.c (handle_stop): Improve commentary. 2014-08-18 18:38:56 +03:00
Eli Zaretskii
82193f227e 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.
2014-08-18 18:34:49 +03:00
Stefan Monnier
27bc6b1465 * lisp/simple.el (self-insert-uses-region-functions): Defvar. 2014-08-18 11:20:27 -04:00
Eli Zaretskii
93e8e44e6f 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.
2014-08-17 17:48:50 +03:00
Eli Zaretskii
f7abe0af30 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.
2014-08-17 17:34:05 +03:00
Glenn Morris
315865d31d Regenerate ldefs-boot.el 2014-08-14 21:05:36 -07:00
Glenn Morris
dc01bc857a Regenerate etc/AUTHORS 2014-08-14 16:02:30 -04:00
Glenn Morris
64a6f1f30e Bump version number to 24.3.93 2014-08-14 15:56:31 -04:00
Leo Liu
e131e4ffae * speedbar.el (speedbar-generic-list-tag-p): Allow special
elements from imenu.
2014-08-13 11:21:43 +08:00
Ken Brown
2b0cb8b177 * src/gmalloc.c (_malloc_mutex, _aligned_blocks_mutex) [CYGWIN]: Use ERRORCHECK mutexes. (Bug#18222) 2014-08-11 11:25:08 -04:00
Glenn Morris
727f37e6cc * lisp/subr.el (with-output-to-temp-buffer): Doc fix; from elisp manual. 2014-08-10 18:13:38 -07:00
Glenn Morris
f314e84fce 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.
2014-08-10 17:38:19 -07:00
Paul Eggert
db2f09ab1b Simplify previous patch.
Fixes: debbugs:18232
2014-08-10 14:06:07 -07:00
Paul Eggert
f22bc725a1 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
2014-08-10 13:40:57 -07:00
Martin Rudalics
d5f2feb581 Make doc-string of window-total-size more self-contained.
* window.el (window-total-size): Make doc-string more
self-contained.
2014-08-10 12:41:28 +02:00
Martin Rudalics
02e0530477 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).
2014-08-09 18:50:13 +02:00
Martin Rudalics
c70e7e185e 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
2014-08-09 13:12:45 +02:00
Stefan Monnier
5a88c153fc * lisp/mouse.el (mouse--down-1-maybe-follows-link): Don't convert the down
event.

Fixes: debbugs:18212
2014-08-08 12:56:50 -04:00
Eli Zaretskii
1f3e13c15f lisp/info.el (info): Doc fix. 2014-08-08 16:53:55 +03:00
Martin Rudalics
8faa5ee738 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).
2014-08-08 11:52:59 +02:00
Bastien Guerry
f8ddedff72 Fix typos in TUTORIAL.fr 2014-08-08 07:20:52 +02:00
Stefan Monnier
87eb576e30 * lisp/info.el (Info-mode-map): Override a global down-mouse-2 binding.
Fixes: debbugs:18212
2014-08-07 14:35:54 -04:00
Eli Zaretskii
8db811eff1 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.
2014-08-07 18:18:10 +03:00
Glenn Morris
6df16fba2a * test/automated/Makefile.in (check-tar): Remove, no longer needed.
No need to merge this to trunk.
2014-08-06 17:08:57 -07:00
Eli Zaretskii
518edaef88 src/coding.c: Fix typos in comments and doc strings. 2014-08-06 20:37:22 +03:00
Eli Zaretskii
5818408f50 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.
2014-08-05 16:34:06 +03:00
Dmitry Antipov
1d58ab89ca 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.
2014-08-05 10:04:38 +04:00
Dmitry Antipov
a270fa7cf8 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.
2014-08-03 11:19:43 +04:00
Glenn Morris
f91d04c6fe * test/automated/Makefile.in (check-tar): Add as alias for check.
Do not merge this to trunk.
2014-08-02 23:52:00 -04:00
Paul Eggert
a98a91ac46 Fix bug with clang + directory_files_internal + GC.
* src/dired.c (directory_files_internal): Use a volatile variable
to prevent the compiler from optimizing away all copies of a local.
I wonder how many other GC-related bugs like this lurk elsewhere?

Fixes: debbugs:16986
2014-08-02 15:58:09 -07:00
Paul Eggert
7f0ff25b7a Avoid 100% CPU utilization on ssh session exit.
* src/xterm.h (struct x_display_info): New member 'connection'.
* src/xterm.c (x_term_init, x_delete_terminal): Set and use it,
so that x_delete_terminal has a file descriptor to pass to
delete_keyboard_wait_descriptor.

Fixes: debbugs:17691
2014-08-02 14:31:18 -07:00
Paul Eggert
69402c0269 Spelling+grammar fix. 2014-08-01 08:44:42 -07:00
Glenn Morris
eef5843c34 Auto-commit of loaddefs files. 2014-08-01 07:18:48 -04:00
Eli Zaretskii
a1767506c0 Fix display of R2L lines when the last character fits only partially.
See http://lists.gnu.org/archive/html/emacs-devel/2014-07/msg00476.html
 for the details.
 src/xdisp.c (extend_face_to_end_of_line): If the last glyph of an
 R2L row is visible only partially, give the row a negative x
 offset.
 (display_line): Fix the calculation of the glyph whose pixel width
 is used to decide whether the last produced glyph fits on the
 line.  When the last glyph fits only partially, give the row a
 negative x offset.
2014-08-01 12:39:04 +03:00
Eli Zaretskii
f0f377774b Fix bug #18146 with bogus key rebindings in TUTORIAL.he.
lisp/tutorial.el (tutorial--display-changes): Accept punctuation
 characters before the key binding.  (Bug#18146)
2014-07-29 16:41:50 +03:00
Eli Zaretskii
64ae6e0100 Fix hscroll of R2L lines that begin with a TAB or another wide glyph.
src/xdisp.c (append_stretch_glyph): In a R2L glyph row, decrease the
 pixel width of the first glyph that is hscrolled from display.
 (display_line): In R2L glyph rows, don't give a negative offset to
 row->x when the first glyph begins before first_visible_x.
2014-07-29 11:19:29 +03:00