1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-10 15:56:18 +00:00
Commit Graph

116246 Commits

Author SHA1 Message Date
Stefan Monnier
6ac5571c62 * lisp/vc/vc-dir.el (vc-dir-update): Don't burp in corner case. 2014-09-05 13:37:12 -04:00
Lars Ljung
bcbaf6b7be * lisp/isearch.el (isearch-yank-word-or-char): Obey superword-mode
as well.

Fixes: debbugs:18400
2014-09-04 12:14:26 -04:00
Stefan Monnier
3084e597f4 * doc/lispref/functions.texi (Core Advising Primitives): Add a note about the
confusing treatment of `interactive' for :filter-args.

Fixes: debbugs:18399
2014-09-04 11:43:06 -04:00
Eli Zaretskii
304661b97f Fix misleading doc string revealed in bug #18385.
lisp/subr.el (posn-actual-col-row): Doc fix.
2014-09-04 18:21:40 +03:00
Eli Zaretskii
e97a29cbec 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.
2014-09-04 18:09:49 +03:00
Eli Zaretskii
f8c4cd6e05 src/sysdep.c (emacs_full_write): Fix a typo in a comment. 2014-09-03 21:13:45 +03:00
Eli Zaretskii
c11b0a7885 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.
2014-09-03 19:03:34 +03:00
Stefan Monnier
af86b05fd4 test/indent/scheme.scm: New file. 2014-09-02 16:47:44 -04:00
Stefan Monnier
559b827d8a * 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
2014-09-02 15:51:25 -04:00
Stefan Monnier
9de3064db6 * lisp/progmodes/gud.el (gud-gdb-completion-at-point): Add hack.
(gud-gdb-completions): Remove obsolete workaround.

Fixes: debbugs:18282
2014-09-02 14:16:32 -04:00
Eli Zaretskii
5735a30d59 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.
2014-09-02 18:16:42 +03:00
Glenn Morris
5597a7d4e2 * lisp/tutorial.el: Restore comment lost 2006-12-21. 2014-09-01 23:48:20 -07:00
Paul Eggert
7a930c3c4c * eval.c (internal_lisp_condition_case): Don't overrun the stack
when configured --with-wide-int on typical 32-bit platforms.
2014-09-01 23:29:01 -07:00
Fabián Ezequiel Gallina
0e4c8f1856 * 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)
2014-09-01 19:51:46 -03:00
Glenn Morris
ad5c82a8cc * lisp/tutorial.el (tutorial--display-changes): Fix 2014-07-29 change.
Fixes: debbugs:18382
2014-09-01 09:44:06 -07:00
Eli Zaretskii
267a63b06d 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.
2014-08-31 18:53:27 +03:00
Ken Brown
9f1b859600 * src/conf_post.h (strnicmp) [CYGWIN && HAVE_NTGUI]: Define. (Bug#18366) 2014-08-30 15:47:56 -04:00
Eli Zaretskii
7814e6e7fe Minor ChangeLog fix. 2014-08-30 12:29:13 +03:00
Ken Brown
6141b80242 * lisp/startup.el (fancy-splash-frame): Extend the fix for Bug#16014 to the Cygwin-w32 build. (Bug#18347) 2014-08-29 18:13:43 -04:00
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