1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 10:31:37 -08:00
Commit graph

111813 commits

Author SHA1 Message Date
Eli Zaretskii
0865d506b5 Fix bug #14755 which prevented autoloads from being computed.
lisp/international/mule-cmds.el (select-safe-coding-system): Handle
 the case of FROM being a string correctly.
2013-06-30 17:27:07 +03:00
Lars Magne Ingebrigtsen
2fae38e5f9 Fix shr table rendering infloop
* net/shr.el (shr-make-table-1): Add a sanity check that allows
progression on degenerate tables.
(shr-rescale-image): ImageMagick animated images currently doesn't
work.
2013-06-30 15:11:41 +02:00
Juanma Barranquero
a47cbd64fa Some fixes and improvements for desktop frame restoration.
It is still experimental and disabled by default.

* lisp/desktop.el (desktop--save-windows): Put the selected frame at
  the head of the list.
  (desktop--make-full-frame): New function.
  (desktop--restore-windows): Try to re-select the frame that was
  selected upon saving.  Do not abort if some frames fail to restore,
  just show an error message and contnue.  Set up maximized frames so
  they have default non-maximized dimensions.
2013-06-30 07:08:23 +02:00
Dmitry Gutov
6dbafa3000 * lisp/progmodes/ruby-mode.el (ruby-syntax-propertize-function): Don't
start heredoc inside a string or comment.
2013-06-30 06:23:10 +04:00
Juanma Barranquero
c1ea3abfde Fix typos in ChangeLogs. 2013-06-29 22:19:29 +02:00
Eli Zaretskii
671796d3e0 Fix typo in src/ChangeLog. 2013-06-29 23:10:30 +03:00
Paul Eggert
9c90cc06dd Fix minor problems found by static checking.
* coding.c (encode_inhibit_flag, inhibit_flag): New functions.
Redo the latter's body to sidestep GCC parenthesization warnings.
(setup_coding_system, detect_coding, detect_coding_system): Use them.
* coding.c (detect_coding, detect_coding_system):
* coding.h (struct undecided_spec):
Use bool for boolean.
* image.c (QCmax_width, QCmax_height): Now static.
* xdisp.c (Fmove_point_visually): Remove unused local.
2013-06-29 08:52:20 -07:00
Eli Zaretskii
7900732126 Minor fix in right-char and left-char, per Stefan's comments. 2013-06-29 18:20:46 +03:00
Eli Zaretskii
4c672a0fec Implement visual-order cursor motion.
src/xdisp.c (Fmove_point_visually): New function.

 lisp/bindings.el (visual-order-cursor-movement): New defcustom.
 (right-char, left-char): Provide visual-order cursor motion by
 calling move-point-visually.  Update the doc strings.

 doc/emacs/basic.texi (Moving Point): Document visual-order-cursor-movement
 and its effect on right-char and left-char.

 doc/lispref/display.texi (Bidirectional Display): Document move-point-visually.

 etc/NEWS: Document the new feature.
2013-06-29 16:36:19 +03:00
Kenichi Handa
73b1b3ad61 merge trunk 2013-06-29 12:44:38 +09:00
Kenichi Handa
2ed909207e merge trunk 2013-06-29 12:31:15 +09:00
Xue Fuqiao
4366ddd498 * buffers.texi (Buffer File Name): Fix typo. 2013-06-29 11:24:22 +08:00
Glenn Morris
b9a54f5e1d * admin.el (manual-pdf, manual-ps): Work in the directory with the texi file,
so that TeX intermediate files go there rather than to PWD.
2013-06-28 19:54:37 -07:00
Glenn Morris
0cb70db774 * admin/admin.el (make-manuals): Don't bother with txt or dvi any more.
(manual-txt): Remove.
(manual-pdf): Doc fix.
(manual-ps): Rename from manual-dvi.
2013-06-28 18:51:32 -07:00
YAMAMOTO Mitsuharu
df03dc8a4c * image.c (image_unget_x_image): Fix formatting. 2013-06-29 08:36:14 +09:00
Glenn Morris
0c72d017b5 * doc/emacs/ack.texi (Acknowledgments): Small update. 2013-06-28 09:08:27 -07:00
Kenichi Handa
c3a7b3f45f coding.c (setup_coding_system): Handle CODING->spec.undecided.
(detect_coding): Likewise.
(detect_coding_system): Likewise.
(Fdefine_coding_system_internal): New coding system properties
:inhibit-null-byte-detection, :inhibit-iso-escape-detection, and
:prefer-utf-8.
(syms_of_coding): Adjusted for coding_arg_undecided_max.
2013-06-29 00:00:17 +09:00
Kenichi Handa
270afa77ee coding.h (define_coding_undecided_arg_index): New enum.
(coding_attr_index): New members
coding_attr_undecided_inhibit_null_byte_detection,
coding_attr_undecided_inhibit_iso_escape_detection,
coding_attr_undecided_prefer_utf_8.
(undecided_spec): New struct.
(struct coding_system): New member `undecied' of the member
`spec'.
2013-06-28 23:59:50 +09:00
Kenichi Handa
50960f36d1 mule.el (define-coding-system): New coding system
properties :inhibit-null-byte-detection,
:inhibit-iso-escape-detection, and :prefer-utf-8.
(set-buffer-file-coding-system): If :charset-list property of
CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
appropriate for setting.
2013-06-28 23:54:18 +09:00
Kenichi Handa
4d4ff4c6dd mule-cmds.el (select-safe-coding-system): If
DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
multibyte characters, return utf-8 (or one of it's siblings).
2013-06-28 23:42:55 +09:00
Kenichi Handa
aa453e89dc mule-conf.el (prefer-utf-8): New coding system.
(file-coding-system-alist): Use prefer-utf-8 as default for Elisp
files.
2013-06-28 23:41:14 +09:00
Kenichi Handa
3e3da66030 decoder-tests.el (decoder-tests-gen-file): New arg FILE.
(decoder-tests-ao-gen-file): Renamed from decoder-tests-filename.
Callers changed.
(decoder-tests-filename): New function.
(decoder-tests-prefer-utf-8-read)
(decoder-tests-prefer-utf-8-write): New function.
(ert-test-decoder-prefer-utf-8): New test.
2013-06-28 23:39:40 +09:00
Katsumi Yamaoka
dbca79f8ce gnus-art.el (gnus-article-extend-url-button): Make it work again with gnus-button-push revised at 2011-01-19 2013-06-28 08:03:21 +00:00
Ivan Kanis
eadb606887 * net/shr.el (shr-render-region): New function. 2013-06-28 09:57:49 +02:00
Ivan Kanis
75dbaf9d8b * net/eww.el: Autoload `eww-browse-url'. 2013-06-28 09:54:42 +02:00
Paul Eggert
ba3de9e6ab * image.c (x_from_xcolors): Remove unused local. 2013-06-27 22:48:53 -07:00
YAMAMOTO Mitsuharu
b8075603a4 Fix W32-specific part of last change. 2013-06-28 12:41:37 +09:00
YAMAMOTO Mitsuharu
04b66ce7c6 Fix typo in ChangeLog for last commit. 2013-06-28 11:44:19 +09:00
YAMAMOTO Mitsuharu
547c92696e Defer image data transfer between X client and server until actual display happens. 2013-06-28 11:37:23 +09:00
Glenn Morris
9c8d35d532 Add Copyright header, standardize license notice 2013-06-27 09:14:05 -07:00
Paul Eggert
dae2f5ef41 Do not tickle glib SIGCHLD handling if Cygwin.
This mostly consists of undoing recent changes.
* callproc.c (Fcall_process):
* process.c (create_process):
Do not worry about catching SIGCHLD here, undoing previous change.
* nsterm.m (ns_term_init): Re-catch SIGCHLD, undoing previous change.
* process.c, process.h (catch_child_signal):
No longer extern if !NS_IMPL_GNUSTEP, undoing 06-22 change.
* process.c (catch_child_handler): Don't worry about being called
lazily and do not assume caller has blocked SIGCHLD, undoing
previous change.  Move first-time stuff back to
init_process_emacs, undoing 06-22 change.  If CYGWIN, do not
tickle glib, as that causes Cygwin bootstrap to fail.  Do not
set lib_child_handler if it's already initialized, which may
help avoid problems on GNUStep.
2013-06-27 07:47:52 -07:00
Dmitry Gutov
79f38c4eee * test/automated/package-x-test.el: Change the commentary.
(package-x-test--single-archive-entry-1-3)
(package-x-test--single-archive-entry-1-4): Fix the tests, by
using the appropriate data structure.
2013-06-27 13:51:55 +04:00
Dmitry Gutov
10a2da6ea4 * test/automated/package-x-test.el: Change the commentary. 2013-06-27 13:30:37 +04:00
Dmitry Gutov
9ea5cf9fbd * automated/Makefile.in (setwins): Include the 'data' subdirectory.
* automated/package-x-test.el: New file.

* automated/package-test.el: New file.

* automated/data/package: New directory, with test examples.

* lisp/emacs-lisp/package-x.el (package-upload-buffer-internal): Adapt
to `package-desc-version' being a list.  Use
`package--ac-desc-version' to retrieve version from a package
archive element.
2013-06-27 13:26:54 +04:00
Stephen Berman
1e0726398d * info.el (Info-try-follow-nearest-node): Move search for footnote
above search for node name to prevent missing a footnote.

Fixes: debbugs:14717
2013-06-27 11:20:04 +02:00
Juanma Barranquero
39c0e36f24 New experimental feature to save&restore window and frame setup.
* etc/NEWS: Document new Desktop option `desktop-save-windows'.

* lisp/desktop.el (desktop-save-windows): New defcustom.
  (desktop--saved-states): New var.
  (desktop--excluded-frame-parameters): New defconst.
  (desktop--filter-frame-parms, desktop--find-frame-in-display)
  (desktop--restore-windows, desktop--save-windows): New functions.
  (desktop-save): Call `desktop--save-windows'.
  (desktop-read): Call `desktop--restore-windows'.
2013-06-27 11:08:14 +02:00
Lars Magne Ingebrigtsen
7f13406b7a * net/shr.el (add-face-text-property): Removed compat definition. 2013-06-27 11:01:08 +02:00
Stephen Berman
d29bf51cef * NEWS: Mention new version of todo-mode.el and obsoleting and
renaming of old version.
2013-06-27 10:44:19 +02:00
Stephen Berman
f3e2cbde29 * obsolete/otodo-mode.el: Add obsolescence info to file header. 2013-06-27 10:33:43 +02:00
Glenn Morris
df86ba7d4d * python-tests.el (python-tests-with-temp-file): Clean up after ourself 2013-06-26 22:46:51 -07:00
Leo Liu
99906aa0d9 * net/eww.el (eww-read-bookmarks): Check file size. 2013-06-27 12:27:53 +08:00
Glenn Morris
568a53f290 Fix ChangeLog typo 2013-06-26 19:16:53 -07:00
Glenn Morris
fc3ec98234 * automated/undo-tests.el (undo-test3): Remove test that seems to
nothing that the previous one doesn't, except leave a tempfile.

Fix copyright header.
2013-06-26 19:00:54 -07:00
Juanma Barranquero
ae7bfbf5a4 Do not create locallisppath directories.
* Makefile.in (install-arch-indep): Do not create directories passed
with --enable-locallisppath.

* etc/NEWS: Mention policy change with respect to locallisppath dirs.
2013-06-27 03:40:46 +02:00
Stefan Monnier
539f75f430 * lisp/emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
advice--pending if newdef is nil or an autoload.
(advice-mapc): New function.

Fixes: debbugs:13820
2013-06-26 18:31:19 -04:00
Lars Magne Ingebrigtsen
47fd571be7 (eww-bookmark-browse): Don't bug out if it's the only window. 2013-06-26 19:14:46 +02:00
Lars Magne Ingebrigtsen
a285ce999f (eww-add-bookmark): Remove newlines from the title. 2013-06-26 18:59:21 +02:00
Lars Magne Ingebrigtsen
2b4f050643 Add bookmark support to eww
* net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
probably.
(eww-mode-map): Add a menu bar.
(eww-add-bookmark): New command.
(eww-bookmark-mode): New mode and commands.
2013-06-26 18:54:48 +02:00
Christopher Schmidt
bace801385 * tips.texi (Coding Conventions): Improve wording. 2013-06-26 17:22:21 +02:00
Lars Magne Ingebrigtsen
23a75d7f59 (eww-mode-map): Add a menu bar. 2013-06-26 15:07:24 +02:00