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
Glenn Morris
4fa4485689
Cleanup for etc/refcards/Makefile and related items
...
* .bzrignore: Unignore etc/refcards/Makefile.
* make-dist: Do not distribute etc/refcards TeX intermediate files.
* Makefile.in (install-arch-indep):
Do not install etc/refcards TeX intermediate files.
* etc/refcards/Makefile: Rewrite to use portable Makefile syntax.
Add language-specific targets.
(distclean, extraclean): New rules.
* etc/refcards/README: Add copyright and license. Add Makefile details.
Mention http and FSF store versions.
2013-08-14 23:31:14 -07:00
Xue Fuqiao
555d556547
* admin/notes/hydra: More information about Hydra.
2013-08-15 14:23:40 +08:00
Dmitry Antipov
9c25330708
* term.c (get_named_tty, create_tty_output, tty_free_frame_resources)
...
(tty_free_frame_resources, delete_tty): Prefer eassert to emacs_abort.
* image.c (make_image_cache): For struct image_cache, prefer xmalloc
to xzalloc and so avoid redundant call to memset.
* xterm.c (x_term_init): Avoid unnecessary initializations of dpyinfo
members because it is allocated with xzalloc and so already zeroed.
2013-08-15 09:23:40 +04:00
Ken Brown
05e64f9f63
* src/gmalloc.c [CYGWIN]: Rename memalign (Bug#15094).
2013-08-14 15:09:51 -04:00
Dmitry Antipov
5b71542de3
Utility function and macro to copy Lisp string to C string.
...
* lisp.h (xlispstrdupa): New macro.
(xlispstrdup): New prototype.
* alloc.c (xlispstrdup): New function.
* callint.c (Fcall_interactively):
* fileio.c (Ffile_name_directory, Fexpand_file_name)
(Fsubstitute_in_file_name):
* frame.c (Fmake_terminal_frame): Use xlispstrdupa.
* image.c (x_create_bitmap_from_file):
* w32term.c (w32_term_init):
* xterm.c (x_term_init): Use xlispstrdup.
2013-08-14 20:36:16 +04:00
Xue Fuqiao
d48d97ee4a
Refine previous change.
2013-08-14 22:02:46 +08:00
Xue Fuqiao
7510a061cb
* src/marker.c (set_marker): Reformat documentation.
2013-08-14 21:58:25 +08:00
Lars Magne Ingebrigtsen
4ce82fb8d9
* image.c (imagemagick_load_image): Make animated pictures work.
...
There's still some problems with background color settings, though.
Fixes: debbugs:14700
2013-08-14 15:50:03 +02:00
Juanma Barranquero
14d1e4634c
lisp/frameset.el: Allow orphaned minibufferless frames.
...
(frameset-filter-minibuffer): Deal with the case that the minibuffer
parameter was already set in FILTERED. Doc fix.
(frameset--record-minibuffer-relationships): Allow saving a
minibufferless frame without its corresponding minibuffer frame.
(frameset--reuse-frame): Accept a match from an orphaned minibufferless
frame, if the frame id matches.
(frameset--minibufferless-last-p): Sort non-orphaned minibufferless
frames before orphaned ones.
(frameset-restore): Warn about orphaned windows, instead of error out.
2013-08-14 15:41:02 +02:00
Juanma Barranquero
62f33baed9
lisp/frameset.el: Use gv-setter declaration.
...
(frameset--prop-setter): New function.
(frameset-prop): Add gv-setter declaration.
2013-08-14 15:30:13 +02:00
Lars Magne Ingebrigtsen
6c195442ea
* url-http.el (url-http-parse-headers): Always place point at the
...
start of the buffer instead of just 80% of the time.
2013-08-14 15:03:25 +02:00
Lars Magne Ingebrigtsen
71530c97bf
* decompress.c (unwind_decompress): Always restore point.
2013-08-14 14:47:05 +02:00