1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-23 18:47:57 +00:00
Commit Graph

116042 Commits

Author SHA1 Message Date
Fabián Ezequiel Gallina
656f99beeb Fix completion retrieval parsing.
* progmodes/python.el (python-mode):
(python-util-strip-string): New function.
(python-shell-completion-get-completions): Use it.

* automated/python-tests.el (python-util-strip-string-1): New test.

Fixes: debbugs:17209
2014-06-21 11:14:54 -03:00
Eli Zaretskii
edd112b7f8 lisp/skeleton.el (skeleton-insert): Fix last change. 2014-06-21 16:41:44 +03:00
Eli Zaretskii
4e104c7672 src/dispextern.h: Fix commentary to it's hpos member. 2014-06-21 15:34:02 +03:00
Eli Zaretskii
53b15fa6dc Fix bug #17823 with vertical-motion in lines with line-prefix.
src/indent.c (Fvertical_motion): Move to the goal column, if any,
 with a single call to move_it_in_display_line, not in two calls.
 Doing this with two calls causes move_it_in_display_line apply the
 line-prefix handling twice instead of just once.
2014-06-21 15:30:02 +03:00
Fabián Ezequiel Gallina
3114d9e702 Enhancements for outline integration.
* lisp/progmodes/python.el (python-mode): Properly set
outline-heading-end-regexp so that comments after colons for
defuns are supported.

Fixes: debbugs:17796
2014-06-21 08:26:43 -03:00
Eli Zaretskii
97a1ef484e Improve documentation of how vertical-motion interprets columns.
src/indent.c (Fvertical_motion): Doc fix.

 doc/lispref/positions.texi (Screen Lines): Clarify how columns are counted
 by vertical-motion.
2014-06-21 11:17:29 +03:00
Eli Zaretskii
637bce026b Improve documentation of \n in a skeleton.
doc/misc/autotype.texi (Skeleton Language): Document the feature of \n
 when at eol.
2014-06-21 11:05:39 +03:00
Eli Zaretskii
900f938409 lisp/skeleton.el (skeleton-insert): Doc fix. 2014-06-21 11:01:52 +03:00
Paul Eggert
d895e63e96 Port to OS X ACLs.
* fileio.c (Ffile_acl): Port to OS X, where acl_get_file (...,
ACL_TYPE_ACCESS) doesn't work.

Fixes: debbugs:17810
2014-06-21 00:03:41 -07:00
Stefan Monnier
55d4eba2d0 * lisp/emacs-lisp/smie.el (smie-config--guess): Fix typo.
(smie-config-guess): Use smie-config-local so the rules are obeyed.

Fixes: debbugs:17818
2014-06-20 17:10:40 -04:00
Paul Eggert
81e5c6fc89 * configure.ac: Warn about --enable-link-time-optimization's issues
in --help message.

Fixes: debbugs:17806
2014-06-20 12:46:18 -07:00
Stefan Monnier
f49b49787c * lisp/mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
since it's already done inside the loop	(bug#17819).
2014-06-20 14:35:04 -04:00
Martin Rudalics
9754868705 In mouse-drag-line remove inadvertently reintroduced code (Bug#17819).
* mouse.el (mouse-drag-line): Re-remove code initially removed
on 2013-03-09 and inadvertently reintroduced on 2013-11-30
(Bug#17819).
2014-06-20 19:24:18 +02:00
Stefan Monnier
9e248ebdc7 * lisp/progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
align with the surrounding parent.

Fixes: debbugs:17721
2014-06-20 10:23:30 -04:00
Eli Zaretskii
58b9840b35 Fix bug #17801 with extraneous newlines after inserting markup in Texinfo mode.
lisp/textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
 locally to nil.
 (texinfo-insert-block, texinfo-insert-@end)
 (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
 local setting of skeleton-end-newline by adding an explicit \n to
 the skeletons where appropriate.
2014-06-20 11:47:10 +03:00
Paul Eggert
0b20117e96 Port to GCC 4.9.0 with link time optimization.
* configure.ac (CFLAGS): With link time optimization,
use -ffat-lto-objects if supported; otherwise Emacs won't
build with GCC 4.9.0.

Fixes: debbugs:17806
2014-06-19 23:07:47 -07:00
Stefan Monnier
500dce5f4d * lisp/emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
(smie-indent--hanging-p): Use it.
* lisp/progmodes/sh-script.el (sh-set-shell): Set it.

Fixes: debbugs:17621
2014-06-19 21:05:40 -04:00
Leo Liu
2c25d5e621 * simple.el (read-quoted-char): Don't let help chars pop up help
buffer.

Fixes: debbugs:16617
2014-06-20 08:14:43 +08:00
Stefan Monnier
e9638b49e5 * lisp/progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
for |.

Fixes: debbugs:17621
2014-06-19 18:52:12 -04:00
Stefan Monnier
1503d26aa0 * src/keyboard.c (read_key_sequence): Don't invoke Vprefix_help_command
before checking key-translation-map.

Fixes: debbugs:17659
2014-06-18 23:48:18 -04:00
Dmitry Antipov
52a6194ff6 * font.c (font_make_object): Avoid dangling pointer which may
crash GC (Bug#17771).
2014-06-19 07:21:07 +04:00
Stefan Monnier
bc2fb4fdad * lisp/xt-mouse.el (xterm-mouse-translate-1): Fix last change.
(xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
burping.

Fixes: debbugs:17776
2014-06-18 18:02:15 -04:00
Eli Zaretskii
e776a63014 src/image.c: Yet another fix for last commit.
Fixes: debbugs:17790
2014-06-18 19:57:26 +03:00
Eli Zaretskii
aeb9f6c165 src/image.c: Another fix for last commit.
Fixes: debbugs:17790
2014-06-18 19:39:14 +03:00
Eli Zaretskii
4335f42176 src/image.c: Fix last commit.
Fixes: debbugs:17790
2014-06-18 19:35:02 +03:00
Eli Zaretskii
b86b15b221 Fix bug #17790 with compilation against giflib 5.1.0 and later.
src/image.c [5 < GIFLIB_MAJOR + (1 <= GIFLIB_MINOR)]: Declare the
 prototype of DGifCloseFile as appropriate for older and newer
 versions of giflib.
 (gif_close): New function, encapsulates the differences in the
 calling sequence of DGifCloseFile before v5.1.0 and after it.
 (gif_load): Call gif_close instead of DGifCloseFile.  Divulge the
 error string where appropriate.

 lisp/term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
 and later.
2014-06-18 18:15:52 +03:00
Juri Linkov
d35b443a66 * lisp/dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated to `soft'.
Fixes: debbugs:17554
2014-06-18 10:57:27 +03:00
Stefan Monnier
c18add241d * lisp/delsel.el (electric-newline-and-maybe-indent): Mark it as well.
Fixes: debbugs:17737
2014-06-17 09:40:03 -04:00
Stephen Berman
c89f1288cb * notes/elpa: Use "git" instead of "bzr" in the name of machine to
clone the repository from.
2014-06-16 23:29:08 +02:00
Eli Zaretskii
4f9dc9b61d A better fix for bug #17777 with visual-order cursor movement.
src/xdisp.c (Fmove_point_visually): Instead of testing for keyboard
 macro execution, make sure point didn't move since last complete
 redisplay, as the condition for using the glyph matrix
 information.
2014-06-16 22:38:28 +03:00
Dmitry Gutov
6a7faa1664 Fix bug#17732
* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
`!' in `!~' with `font-lock-negation-char-face'.
2014-06-16 06:33:29 +03:00
Michael Albinus
dce5a71fdb * dbus.texi (Type Conversion): Formatting edits in example. 2014-06-15 14:19:38 +02:00
Michael Albinus
2c7bf3ce24 Fix a regression bug in D-Bus event handling.
* net/dbus.el (dbus-call-method): Push only non D-Bus events into
`unread-command-events'.
2014-06-15 14:15:25 +02:00
Paul Eggert
e4cff26075 Spelling fix. 2014-06-15 00:47:04 -07:00
Glenn Morris
27433ff85f NEWS copyedits 2014-06-14 16:57:24 -07:00
Glenn Morris
cd7d4e9b38 Stop cc-mode loading cl at runtime
* lisp/progmodes/cc-langs.el: Require cl-lib. 
Replace delete-duplicates and mapcan by cl- versions throughout.
And cl-macroexpand-all by macroexpand-all.
(delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.

Fixes: debbugs:17463
2014-06-14 16:54:39 -07:00
Paul Eggert
50bee07154 Port part of the AIX fix to Solaris.
* configure.ac (_REENTRANT): Define on Solaris if HAVE_PTHREAD.
This ports part of the recent AIX fix to Solaris.  It is needed
for the same reason that _THREAD_SAFE is needed on AIX, e.g., to
make sure that each thread has its own 'errno'.

Fixes: debbugs:17598
2014-06-14 13:24:08 -07:00
Eli Zaretskii
859488bf22 Fix documentation mentioned in bug #17768.
lisp/subr.el (posn-col-row): Doc fix.

 doc/lispref/commands.texi (Accessing Mouse): Improve the wording of the
 posn-col-row documentation.
2014-06-14 19:37:15 +03:00
Eli Zaretskii
59579a97d8 Fix bug #17777 with keyboard macros and visual-order cursor movement.
src/xdisp.c (Fmove_point_visually): Don't use the glyph matrix
 information if we are in the middle of executing a keyboard macro,
 since redisplay doesn't update the screen until the macro is
 finished.
2014-06-14 14:09:10 +03:00
Juri Linkov
5be5f2854a * lisp/bindings.el: Put `ascii-character' property on keypad keys mapped to characters.
Fixes: debbugs:17759
2014-06-14 12:50:13 +03:00
Eli Zaretskii
78275cd0ed src/xdisp.c: Enhance commentary. 2014-06-14 12:44:20 +03:00
Glenn Morris
340ced7ecb * etc/PROBLEMS: Whitespace fix. 2014-06-13 15:41:59 -04:00
Stefan Monnier
bf26b463ea * lisp/emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
bumping forward into a closing paren.

Fixes: debbugs:17761
2014-06-13 11:31:17 -04:00
Stefan Monnier
40be983bc6 * lisp/term/xterm.el (xterm--version-handler): Work around for OSX
Terminal.app.

Fixes: debbugs:17607
2014-06-13 11:06:29 -04:00
Eli Zaretskii
4346235f61 Attempt to fix bug #17771 with segfault if "C-h h" is interrupted.
src/alloc.c (cleanup_vector): Don't dereference a font driver
 pointer if it is NULL.
2014-06-13 16:53:24 +03:00
Paul Eggert
0071d45b61 Backport fcntl.h AIX fix from the trunk.
This fixes a bug with the shell freezing.  See:
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17598#185
Merge from gnulib, incorporating:
2014-05-31 dup2, fcntl, fcntl-h: port to AIX 7.1
* lib/fcntl.in.h, m4/dup2.m4, m4/fcntl.m4:
Update from gnulib.
2014-06-11 13:03:46 -07:00
Eli Zaretskii
df907af0dd Fix bug #17744 with cursor motion near overlay string with 'cursor' prop.
src/xdisp.c (set_cursor_from_row): Fix an off-by-one error when
 matching overlay strings with 'cursor' property against buffer
 positions traversed in the glyph row.
2014-06-11 19:11:32 +03:00
Glenn Morris
4abee665f6 * doc/misc/Makefile.in (INFO_INSTALL): Update for 2013-08-28 DOCMISC_W32 change 2014-06-10 17:07:22 -04:00
Glenn Morris
3eacddfe73 NEWS cleanup: Remove +++/--- markup, reorder, copyedits, etc 2014-06-08 17:59:28 -07:00
Glenn Morris
4181427f24 Doc fixes: markup (mainly nil -> @code{nil}) 2014-06-08 16:39:23 -07:00