1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-15 09:47:20 +00:00
Commit Graph

112562 Commits

Author SHA1 Message Date
Xue Fuqiao
d311017740 * doc/emacs/text.texi (Sorting): Fix indentation. 2013-08-17 16:04:31 +08:00
Xue Fuqiao
c9b39934d6 * doc/emacs/text.texi (Filling): Add cross-reference for hard newlines. 2013-08-17 12:31:22 +08:00
Xue Fuqiao
f33650d8cc * doc/emacs/text.texi (Enriched Justification): Minor fixes. 2013-08-17 10:45:22 +08:00
Xue Fuqiao
278d6dd088 Mention interactive call of buffer-disable-undo.
* doc/lispref/text.texi (Maintaining Undo): Mention interactive call of
buffer-disable-undo.
2013-08-17 08:48:35 +08:00
Xue Fuqiao
70ff8240e4 Another doc fix for `buffer-undo-list'. 2013-08-17 06:32:24 +08:00
Lars Magne Ingebrigtsen
49ceb676b0 (imagemagick_load_image): Remove the ping_wand code
The apparently only saved time on invalid animated images, and slowed
down everything else.  Optimise for the common case.
2013-08-16 17:31:04 +02:00
Lars Magne Ingebrigtsen
4b5fe4ee09 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
Now that Emacs supports ImageMagick animations.
2013-08-16 17:17:21 +02:00
Lars Magne Ingebrigtsen
6146bf5d2f image.c: Fix debugging code accidentally checked in 2013-08-16 17:13:42 +02:00
Lars Magne Ingebrigtsen
8a6f875f7e (imagemagick_get_animation_cache): Fix a double-free error. 2013-08-16 17:10:13 +02:00
Lars Magne Ingebrigtsen
274ff63f7f * image.c: Implement an ImageMagick per-image cache. 2013-08-16 16:54:46 +02:00
Xue Fuqiao
e4043ba039 Doc fix for `buffer-undo-list'. 2013-08-16 22:16:45 +08:00
Michael Albinus
13c366c974 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
(tramp-append-tramp-buffers): Rewrite buffer local variables part.
2013-08-16 14:41:17 +02:00
Glenn Morris
32c8eae2ad Auto-commit of generated files. 2013-08-16 06:17:35 -04:00
Martin Rudalics
3dfc5cd613 In mouse-autoselect-window-select do autoselect when mouse pointer is on margin.
* window.el (mouse-autoselect-window-select): Do autoselect when
mouse pointer is on margin.
2013-08-16 11:44:32 +02:00
Xue Fuqiao
907699465f Reverse previous change, because kill-{new, append} don't have obvious advantage. 2013-08-16 16:27:49 +08:00
Xue Fuqiao
7bef426b5f Advertise using kill-new' and kill-append' in Lisp programs.
* lisp/simple.el (copy-region-as-kill, kill-ring-save): Advertise using
`kill-new' and `kill-append' in Lisp programs.
2013-08-16 16:11:44 +08:00
Glenn Morris
86837e815e * net/ange-ftp.el (ange-ftp-skip-msgs): Bump :version. 2013-08-16 00:18:17 -07:00
William Parsons
4bbb43819f * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV (tiny change)
Fixes: debbugs:1972
2013-08-16 00:17:33 -07:00
Glenn Morris
e8bedf5a88 * lisp/net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
Handle "Remote Directory" response of some clients.

Fixes: debbugs:15058
2013-08-16 00:13:48 -07:00
Glenn Morris
58c4682f76 * bytecomp.el (byte-compile-make-variable-buffer-local): Tweak warning.
Fixes: debbugs:14926
2013-08-15 23:53:41 -07:00
Glenn Morris
57953f498a Simplify news and mail menu items
* lisp/menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
(menu-bar-tools-menu): Simplify news and mail items.

Fixes: debbugs:15095
2013-08-15 23:50:58 -07:00
Glenn Morris
3a2ddc2d18 Add functions to change the speed of animated images
* lisp/image-mode.el (image-mode-map): Add menu items to reverse,
increase, decrease, reset animation speed.
(image--set-speed, image-increase-speed, image-decrease-speed)
(image-reverse-speed, image-reset-speed): New functions.
(image-mode-map): Add bindings for speed commands.

* lisp/image.el (image-animate-get-speed, image-animate-set-speed):
New functions.
(image-animate-timeout): Respect image :speed property.

* etc/NEWS: Mention this.
2013-08-15 23:33:08 -07:00
Xue Fuqiao
bd805d5bae doc/lispref/text.texi(Margins): Add an index. 2013-08-16 14:03:18 +08:00
Paul Eggert
526e5233cc Spelling fixes. 2013-08-15 22:15:51 -07:00
Xue Fuqiao
c8068af567 Refine the documentation of `insert-buffer-substring'. 2013-08-16 11:16:03 +08:00
Xue Fuqiao
de179a3e1e * src/editfns.c (insert_before_markers): Mention overlay in the doc string. 2013-08-16 10:09:08 +08:00
Xue Fuqiao
8b8bf4a3ce * doc/lispref/text.texi (Insertion): Add cross-references. 2013-08-16 09:57:58 +08:00
Xue Fuqiao
2bede2ed96 Remove documentation of undefined behavior.
* doc/lispref/positions.texi (Character Motion):
* doc/lispref/markers.texi (Moving Markers):
(Creating Markers): Comment out undefined behavior.

* src/marker.c (set_marker): Remove documentation of undefined behavior.
2013-08-16 08:20:56 +08:00
Lars Magne Ingebrigtsen
0f8a692622 Add comment. 2013-08-15 22:17:35 +02:00
Lars Magne Ingebrigtsen
1eade94342 Whitespace fixup. 2013-08-15 22:10:47 +02:00
Lars Magne Ingebrigtsen
7967001450 (imagemagick_compute_animated_image): Allow certain degenerate images
(imagemagick_compute_animated_image): Allow images that say they
have sub-images that are bigger than the main image, but just crop
them.
2013-08-15 21:46:02 +02:00
Lars Magne Ingebrigtsen
1d18b1e6ab (imagemagick_compute_animated_image): Fix animated segafault
(imagemagick_compute_animated_image): Setting the iterator row to
zero is apparently not allowed.
2013-08-15 20:47:28 +02:00
Lars Magne Ingebrigtsen
703dbebab0 image.c animation touchups
* image.c (imagemagick_compute_animated_image): Animate correctly
when sub-images are smaller than the main image.
2013-08-15 20:34:23 +02:00
Jan Djärv
63216c5ee1 * nsmenu.m (menuWillOpen:): Fix preprocessor test.
Fixes: debbugs:15001
2013-08-15 19:36:45 +02:00
Lars Magne Ingebrigtsen
6f94cbbcb5 (imagemagick_compute_animated_image): Clean up code slightly 2013-08-15 19:26:34 +02:00
Stefan Monnier
10fa0ed328 * lisp/emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
previous line.
(debugger-eval-expression, debugger-record-expression):
Use read--expression (bug#15102).

Fixes: debbugs:15101
2013-08-15 13:21:19 -04:00
Lars Magne Ingebrigtsen
a5b5f73f32 (imagemagick_compute_animated_image): Respect the GIF disposal methods. 2013-08-15 19:20:06 +02:00
Michael Albinus
b74f0d960f Declare external variables. 2013-08-15 19:02:09 +02:00
Ken Brown
0fe73012cd Revert last change to gmalloc.c; update some comments. 2013-08-15 12:37:15 -04:00
Paul Eggert
691a357f3a Fix minor problems found by static checking.
* frame.c (delete_frame):
* xdisp.c (next_element_from_display_vector):
Avoid uninitialized local.
* image.c (imagemagick_compute_animated_image): Port to C89.
Prefer usual GNU indentation style for loops.
Be more careful about bizarrely large sizes, by using ptrdiff_t
instead of int.
2013-08-15 09:28:42 -07:00
Lars Magne Ingebrigtsen
f196836bc0 Further image.c compilation warning fixes 2013-08-15 18:03:56 +02:00
Lars Magne Ingebrigtsen
995be755ab (imagemagick_compute_animated_image): Implement a simple cache
(imagemagick_compute_animated_image): Fix some compilation
warnings.  Implement a very simple cache to make the animation
usable at all, but it should be replaced with a per-image cache.
2013-08-15 18:01:13 +02:00
Dmitry Antipov
42fe2e88d6 Fix infinite frame selection loop (Bug#15025).
* frame.c (delete_frame): Prefer fast ad-hoc loop to next_frame.
2013-08-15 19:37:03 +04:00
Eli Zaretskii
0542623943 Fix bug #15099 with 'box' face attribute in display tables.
src/xdisp.c (next_element_from_display_vector): Support 'box' face attribute
 in the face definitions of a display vector.
2013-08-15 18:28:53 +03:00
Eli Zaretskii
d39a3da6f3 Fix bug #15090 with redisplay under linum-mode and visual-line-mode.
src/xdisp.c (compute_window_start_on_continuation_line): When
 WORD_WRAP is in effect, use move_it_to instead of move_it_by_lines
 to make sure we end up setting the window start at the leftmost
 visible character of the display line.  This avoids funky
 horizontal shifting because the window start is not kept on the
 same position.
2013-08-15 18:20:03 +03:00
Lars Magne Ingebrigtsen
6e856b69ff * image.c (imagemagick_compute_animated_image): Implement animated images.
Fixes: debbugs:14700
2013-08-15 17:10:12 +02:00
Dmitry Antipov
d5a1acfaa5 * lisp.h (FOR_EACH_ALIST_VALUE): New macro
to do `for' loops over alist values.
* buffer.h (FOR_EACH_BUFFER):
* process.c (FOR_EACH_PROCESS): Use it.
(handle_child_signal, status_notify, Fget_buffer_process)
(kill_buffer_processes): Use FOR_EACH_PROCESS.
2013-08-15 18:52:53 +04:00
Michael Albinus
5d89d9d256 Remove byte compiler warnings, visible when compiling with
`byte-compile-force-lexical-warnings' set to t.

* net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
(tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
(tramp-handle-unhandled-file-name-directory)
(tramp-handle-file-notify-add-watch, tramp-action-login)
(tramp-action-succeed, tramp-action-permission-denied)
(tramp-action-terminal, tramp-action-process-alive): Prefix unused
arguments with "_".

* net/tramp-adb.el (tramp-adb-parse-device-names)
(tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
(tramp-adb-handle-copy-file): Prefix unused arguments with "_".
(tramp-adb-handle-file-truename): Remove unused arguments.

* net/tramp-cache.el (tramp-flush-directory-property)
(tramp-flush-connection-property, tramp-list-connections)
(tramp-parse-connection-properties): Prefix unused arguments with "_".

* net/tramp-compat.el (tramp-compat-make-temp-file): Rename
FILENAME to F.

* net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
(tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
(tramp-zeroconf-parse-workstation-device-names)
(tramp-zeroconf-parse-webdav-device-names)
(tramp-synce-parse-device-names): Prefix unused arguments with "_".

* net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
(tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".

* net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
arguments.
(tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
(tramp-sh-handle-insert-file-contents-literally)
(tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
with "_".
(tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
Remove unused variables.

* net/tramp-smb.el (tramp-smb-handle-copy-directory)
(tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
(tramp-smb-read-file-entry): Prefix unused arguments with "_".

* net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
Make them a defconst.
(tramp-uuencode-region): Remove unused variable.
2013-08-15 16:29:08 +02:00
Xue Fuqiao
7cbbcaa0dd * doc/lispref/markers.texi (The Region): Add/move indexes. 2013-08-15 16:27:22 +08:00
Glenn Morris
8e5c7e6f4e Stop keeping etc/refcards generated PDFs in the repository
They are on the gnu.org website and will be in the release tarfiles.

* admin/make-tarball.txt: Mention generating pdfs in etc/refcards.

* etc/refcards/calccard.pdf, etc/refcards/cs-dired-ref.pdf:
* etc/refcards/cs-refcard.pdf, etc/refcards/de-refcard.pdf:
* etc/refcards/dired-ref.pdf, etc/refcards/fr-dired-ref.pdf:
* etc/refcards/fr-refcard.pdf, etc/refcards/gnus-booklet.pdf:
* etc/refcards/gnus-refcard.pdf, etc/refcards/orgcard.pdf:
* etc/refcards/pl-refcard.pdf, etc/refcards/pt-br-refcard.pdf:
* etc/refcards/refcard.pdf, etc/refcards/ru-refcard.pdf:
* etc/refcards/sk-dired-ref.pdf, etc/refcards/sk-refcard.pdf:
Remove generated files from repository.
2013-08-14 23:38:44 -07:00