1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-30 09:00:31 -08:00
Commit graph

116079 commits

Author SHA1 Message Date
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
Karl Berry
8f356841d0 Simplify info.info for the stand-alone reader
doc/misc/info.texi (Help-^L): "mode line", "screenful",
 stand-alone and Emacs Info both use the mode line.
 Use x instead of weird C-x 0 to get rid of help msg
 in standalone Info.
2014-06-08 22:30:13 +03:00
Glenn Morris
6d069b1b3a Small doc updates re initial-buffer-choice
* doc/emacs/entering.texi (Entering Emacs): Small fix re initial-buffer-choice.

* doc/emacs/misc.texi (emacsclient Options): Copyedit.

* doc/lispref/os.texi (Startup Summary): Small fix for initial-buffer-choice.

* lisp/startup.el (initial-buffer-choice): Doc fix.
Reset :version (adding an option does not merit a :version bump).
2014-06-08 10:46:51 -07:00
Glenn Morris
99d8aedf0d Doc edits re uniquify
* doc/emacs/buffers.texi (Uniquify): Copyedits.

* doc/emacs/files.texi (Visiting): Update for uniquify changes.

* doc/lispref/files.texi (Subroutines of Visiting): Mention uniquify.

* doc/misc/vip.texi (Files): Defer to Emacs manual for uniquify details.

* lisp/bookmark.el (bookmark-load): Doc fix.

* lisp/uniquify.el (uniquify-buffer-name-style): Doc fix.

* lisp/files.el: Comment.

* etc/NEWS: Related edit.
2014-06-08 00:41:27 -07:00
Glenn Morris
b6542afeae info.texi tweaks re S-SPC
* doc/misc/info.texi (Help-Small-Screen): Clarify details of S-SPC.
(Help-Small-Screen, Help-]): Do not mention S-SPC.
(Emacs Info Variables): Markup fix.
2014-06-08 00:00:20 -07:00
Glenn Morris
52e9721b39 Doc markup fixes re SPC, RET
* doc/emacs/dired.texi (Marks vs Flags):
* doc/emacs/rmail.texi (Rmail Scrolling):
* doc/misc/ebrowse.texi (Source Display, Finding/Viewing):
* doc/misc/erc.texi (Sample Session):
* doc/misc/ses.texi (The Basics):
* doc/misc/todo-mode.texi (Moving and Deleting Items):
* doc/misc/woman.texi (Navigation):
Markup fixes re SPC, RET.
2014-06-07 23:57:15 -07:00
Leo Liu
9f8a63bd84 * etc/themes/deeper-blue-theme.el: Use another fix.
Fixes: debbugs:17695
2014-06-08 11:25:22 +08:00
Glenn Morris
f25df0d703 * doc/emacs/help.texi (Help, Misc Help): Copyedits. 2014-06-07 18:37:23 -07:00
Glenn Morris
8cc3d19715 Doc tweaks re text-mode menus
* doc/emacs/screen.texi (Menu Bar): Copyedits.

* doc/emacs/msdog.texi (Windows Keyboard): F10 menus are now a general feature.
2014-06-07 18:20:35 -07:00
Glenn Morris
881aae5653 Doc tweak re fullscreen/maximize
* doc/emacs/frames.texi (Frame Commands): Copyedits re M-F10, F11.

* doc/emacs/cmdargs.texi (Window Size X): Copyedits.
2014-06-07 18:14:58 -07:00
Glenn Morris
6cbdfa0115 * src/fileio.c (write-region-inhibit-fsync): Doc tweak. 2014-06-07 17:59:05 -07:00
Glenn Morris
7b385b0201 Doc tweaks re < etc
* doc/lispref/numbers.texi (Comparison of Numbers): Copyedits.

* src/data.c (Flss, Fgtr, Fleq, Fgeq): Doc tweaks.
2014-06-07 17:51:10 -07:00
Glenn Morris
da8de2908c Some Acknowledgments updates for the manual
* doc/emacs/ack.texi (Acknowledgments): Updates.

* doc/emacs/emacs.texi (Acknowledgments): Updates.
2014-06-07 17:19:17 -07:00
Glenn Morris
bc257cae1c Doc tweaks re prettify-symbols-mode
* doc/emacs/programs.texi (Prettifying Symbols): Remove node.
(Misc for Programs): Mention more briefly here.

* doc/emacs emacs.texi (Top): Update menu.
2014-06-07 16:39:40 -07:00