Stefan Monnier [Mon, 30 May 2011 17:21:59 +0000 (14:21 -0300)]
* lisp/gnus/mml1991.el (mml1991-mailcrypt-encrypt): Remove use of ill-designed
mm-with-unibyte-current-buffer. The buffer should not contain any
multibyte chars anyway at this stage.
Stefan Monnier [Mon, 30 May 2011 17:14:19 +0000 (14:14 -0300)]
* bytecomp.el (byte-compile-defvar): Add note about quoted lambda.
Oliver Scholz [Mon, 30 May 2011 16:25:33 +0000 (13:25 -0300)]
* leim/quail/ipa-praat.el: New input method.
Paul Eggert [Mon, 30 May 2011 16:09:29 +0000 (09:09 -0700)]
* alloc.c (lisp_align_malloc): Omit unnecessary val==NULL tests.
Leo Liu [Mon, 30 May 2011 12:23:56 +0000 (20:23 +0800)]
Decode all incoming messages in rcirc.el
Also allow automatic coding system detection if
rcirc-decode-coding-system is nil.
See discussion in http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8744
Leo Liu [Mon, 30 May 2011 12:04:44 +0000 (20:04 +0800)]
Use a visible buffer name for rcirc-debug-buffer
Glenn Morris [Mon, 30 May 2011 10:18:40 +0000 (06:18 -0400)]
Auto-commit of generated files.
Paul Eggert [Mon, 30 May 2011 05:39:59 +0000 (22:39 -0700)]
* eval.c (Qdebug): Now static.
* lisp.h (Qdebug): Remove decl. This reverts a part of the
2011-04-26T11:26:05Z!dan.colascione@gmail.com that inadvertently undid part of
2011-04-14T06:48:41Z!eggert@cs.ucla.edu.
Gnus developers [Sun, 29 May 2011 23:28:45 +0000 (23:28 +0000)]
shr.el (shr-urlify): Use shr-add-font to make underlines be less ugly at the end of lines.
smiley.el (gnus-smiley-file-types): Add gif as supported file type.
Glenn Morris [Sun, 29 May 2011 22:41:06 +0000 (15:41 -0700)]
Merge from emacs-23; up to 2010-06-12T11:17:12Z!eliz@gnu.org.
Paul Eggert [Sun, 29 May 2011 21:52:18 +0000 (14:52 -0700)]
Adjust to recent gnulib change for @GUARD_PREFIX@.
Chong Yidong [Sun, 29 May 2011 21:35:35 +0000 (17:35 -0400)]
Fix animated gifs (Bug#6981).
* lisp/image-mode.el (image-toggle-display-image): Ensure that the
image spec passed to the animate timer is the same object as in
the the buffer's display property.
(image-transform-properties): Doc fix.
* lisp/image.el (image-animate-max-time): Default to nil.
* lisp/image.el (image-animate-max-time): Allow nil and t values.
Default to nil.
(create-animated-image): Doc fix.
(image-animate-start): Remove second arg; just use
image-animate-max-time.
(image-animate-timeout): Doc fix. Args changed.
Eli Zaretskii [Sun, 29 May 2011 21:09:52 +0000 (00:09 +0300)]
src/coding.c: Fix a typo in a comment.
Martin Rudalics [Sun, 29 May 2011 19:11:23 +0000 (15:11 -0400)]
* menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over entire buffer list (Bug#8184).
Eli Zaretskii [Sun, 29 May 2011 19:04:01 +0000 (22:04 +0300)]
src/font.[ch]: Fix typos in comments and strings.
Chong Yidong [Sun, 29 May 2011 19:00:00 +0000 (15:00 -0400)]
Clarify Remapping Commands node in Lisp manual (Bug#8350).
* keymaps.texi (Remapping Commands): Emphasize that the keymap
needs to be active.
Chong Yidong [Sun, 29 May 2011 18:17:28 +0000 (14:17 -0400)]
Doc fixes for imagemagick support code.
* lisp/image.el (imagemagick-types-inhibit)
(imagemagick-register-types): Doc fix.
* src/image.c: Various fixes to ImageMagick code comments.
(Fimagemagick_types): Doc fix.
Chong Yidong [Sun, 29 May 2011 17:18:46 +0000 (13:18 -0400)]
Tweaks to lisp manual to remove over/underflows in printed version.
* help.texi (Accessing Documentation):
* display.texi (Pixel Specification):
* processes.texi (Serial Ports, Serial Ports):
* nonascii.texi (Character Properties, Default Coding Systems):
* text.texi (Changing Properties, Special Properties):
* windows.texi (Window Start and End):
* modes.texi (SMIE Indentation Example, SMIE Tricks):
* keymaps.texi (Searching Keymaps, Tool Bar):
* minibuf.texi (Basic Completion):
* compile.texi (Eval During Compile):
* strings.texi (Formatting Strings): Tweaks to avoid overflowing
7x9 paper in printed manual.
* lists.texi (Sets And Lists): Fix misplaced text.
Deniz Dogan [Sun, 29 May 2011 05:42:00 +0000 (07:42 +0200)]
* net/rcirc.el (rcirc): Use the user's stored encryption method by default.
Paul Eggert [Sun, 29 May 2011 05:23:24 +0000 (22:23 -0700)]
Minor fixes prompted by GCC 4.6.0 warnings.
* xselect.c (converted_selections, conversion_fail_tag): Now static.
Paul Eggert [Sun, 29 May 2011 04:08:28 +0000 (21:08 -0700)]
* emacs.c [HAVE_X_WINDOWS]: Include "xterm.h".
(x_clipboard_manager_save_all): Move extern decl to ...
* xterm.h: ... here, so that it can be checked for consistency.
Leo Liu [Sun, 29 May 2011 02:45:03 +0000 (10:45 +0800)]
Add option :named to defstruct in url-cookie.el
or url-cookie-p won't be defined.
See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8747 for details.
Chong Yidong [Sun, 29 May 2011 00:45:00 +0000 (20:45 -0400)]
Move clipboard-manager functionality out of hooks.
* lisp/select.el: Don't perform clipboard-manager saving in hooks;
leave the hooks empty.
* src/emacs.c (Fkill_emacs): Call x_clipboard_manager_save_all.
* src/frame.c (delete_frame): Call x_clipboard_manager_save_frame.
* src/xselect.c (x_clipboard_manager_save_frame)
(x_clipboard_manager_save_all): New functions.
(Fx_clipboard_manager_save): Lisp function deleted.
* src/xterm.h: Update prototype.
Chong Yidong [Sat, 28 May 2011 23:43:11 +0000 (19:43 -0400)]
Make first mode-line dash an empty space on graphical terminals (Bug#7295).
* lisp/bindings.el (help-echo): Make the initial non-indicator dash
empty on graphical terminals.
Chong Yidong [Sat, 28 May 2011 23:30:17 +0000 (19:30 -0400)]
* startup.el (normal-splash-screen): Remove gratuitous mode-line setting (Bug#8740).
Chong Yidong [Sat, 28 May 2011 23:07:43 +0000 (19:07 -0400)]
* lisp/newcomment.el (comment-end-skip): Doc fix (Bug#8659).
Leo Liu [Sat, 28 May 2011 22:56:14 +0000 (18:56 -0400)]
New major mode: Occur Edit mode.
* lisp/replace.el (occur-menu-map, occur-edit-mode-map): New vars.
(occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
(occur-edit-mode): New major mode (Bug#8463).
(occur-after-change-function): New function.
(occur-engine): Give Occur tags a read-only property.
Alp Aker [Sat, 28 May 2011 20:08:05 +0000 (16:08 -0400)]
Additional minor fix to (Bug#8539).
* lisp/buff-menu.el (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column.
Chong Yidong [Sat, 28 May 2011 19:58:43 +0000 (15:58 -0400)]
* doc/lispref/minibuf.texi (Reading File Names): Clarify (Bug#8480).
Kevin Ryde [Sat, 28 May 2011 19:36:02 +0000 (15:36 -0400)]
* lisp/subr.el (def-edebug-spec): Doc fix (Bug#8430).
Chong Yidong [Sat, 28 May 2011 19:26:25 +0000 (15:26 -0400)]
Tweak auto-mode-alist to handle config.h.in (Bug#8547).
* lisp/files.el (auto-mode-alist): Move config rule after the
in-stripping one.
Alp Aker [Sat, 28 May 2011 19:13:00 +0000 (15:13 -0400)]
Use Buffer-menu-buffer-column to replace hard-coded values (Bug#8539).
* lisp/buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort):
Use Buffer-menu-buffer-column.
Chong Yidong [Sat, 28 May 2011 19:05:36 +0000 (15:05 -0400)]
Remove antediluvian filename limit recommendation from tips.texi (Bug#8538).
* doc/lispref/tips.texi (Coding Conventions): Remove antediluvian filename limit recommendation.
Chong Yidong [Sat, 28 May 2011 18:48:41 +0000 (14:48 -0400)]
* emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
Dima Kogan [Sat, 28 May 2011 18:35:29 +0000 (14:35 -0400)]
More fixes to prevent hide-show from being confused by commented-out braces (Bug#8279).
* progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
(hs-hide-block-at-point, hs-find-block-beginning)
(hs-already-hidden-p, hs-hide-block, hs-show-block): Use it.
Chong Yidong [Sat, 28 May 2011 18:22:08 +0000 (14:22 -0400)]
Document prog-mode-hook in Emacs manual.
* custom.texi (Hooks): Reorganize. Mention Prog mode.
* fixit.texi (Spelling): Mention using prog-mode-hook for flypsell
prog mode (Bug#8240).
Glenn Morris [Sat, 28 May 2011 17:47:45 +0000 (10:47 -0700)]
* lisp/startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
Glenn Morris [Sat, 28 May 2011 17:46:02 +0000 (10:46 -0700)]
* admin/notes/bzr: Your very own Loggerhead server.
Chong Yidong [Sat, 28 May 2011 17:40:37 +0000 (13:40 -0400)]
In describe-function, print the parent of a derived mode.
* lisp/help-fns.el (describe-function-1): If the function is a derived
major mode, print the parent mode.
Chong Yidong [Sat, 28 May 2011 17:16:54 +0000 (13:16 -0400)]
Make CC modes inherit from prog-mode.
* lisp/progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
(idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
William Xu [Sat, 28 May 2011 16:56:53 +0000 (12:56 -0400)]
* src/nsterm.m (ns_term_shutdown): Synchronize user defaults before exiting (Bug#8239).
Eli Zaretskii [Sat, 28 May 2011 12:54:28 +0000 (15:54 +0300)]
src/ChangeLog: Fix last entry.
Jim Meyering [Sat, 28 May 2011 12:19:08 +0000 (14:19 +0200)]
avoid a sign-extension bug in crypto_hash_function
* fns.c (to_uchar): Define.
(crypto_hash_function): Use it to convert some newly-signed
variables to unsigned, to avoid sign-extension bugs. For example,
without this change, (md5 "truc") would evaluate to
45723a2aff78ff4fff7fff1114760e62 rather than the expected
45723a2af3788c4ff17f8d1114760e62. Reported by Antoine Levitt in
http://thread.gmane.org/gmane.emacs.devel/139824
Eli Zaretskii [Sat, 28 May 2011 10:00:09 +0000 (13:00 +0300)]
Adapt the MSDOS build to introduction of sha1 and other latest changes.
msdos/sed1v2.inp: Edit "make-docfile -d FOO" commands to chdir back to
src/. Make editing of RUN_TEMACS commands less sensitive to
leading whitespace.
msdos/sedlibmk.inp (gl_LIBOBJS): Add sha1.o.
Stefan Monnier [Sat, 28 May 2011 02:10:32 +0000 (23:10 -0300)]
* lisp/minibuffer.el (completion--capf-wrapper): Check applicability before
retuning non-nil for non-exclusive completion data.
* lisp/progmodes/etags.el (tags-completion-at-point-function):
* lisp/info-look.el (info-lookup-completions-at-point): Mark as non-exclusive.
(info-complete): Adjust accordingly.
* lisp/erc/erc-pcomplete.el (erc-pcompletions-at-point): Mark the completion
data as non-exclusive if it's using the default-completion-function.
(pcomplete-erc-parse-arguments): Rename pcomplete-parse-erc-arguments.
(pcomplete-erc-setup): Use new name.
Stefan Monnier [Sat, 28 May 2011 01:33:10 +0000 (22:33 -0300)]
* lisp/info-look.el: Convert to lexical-binding and completion-at-point.
(info-lookup-completions-at-point): New function.
(info-complete): Use it and completion-in-region.
Drew Adams [Sat, 28 May 2011 01:26:53 +0000 (22:26 -0300)]
* lisp/isearch.el: Let M-e start with point at the first mismatched char.
(isearch-fail-pos): New function.
(isearch-edit-string): Use it.
Dmitry Kurochkin [Sat, 28 May 2011 01:14:38 +0000 (22:14 -0300)]
* lisp/isearch.el (isearch-range-invisible): Use invisible-p.
Fixes: debbugs:8721
Toby Cubitt [Fri, 27 May 2011 23:03:26 +0000 (20:03 -0300)]
* lisp/emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
traversal functions for avl-trees. Consolidate rebalancing code.
Toby Cubitt [Fri, 27 May 2011 22:58:29 +0000 (19:58 -0300)]
* lisp/emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
traversal functions for avl-trees.
(avl-tree--stack): New struct.
(avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
(avl-tree-enter): Add optional `updatefun' arg.
(avl-tree--do-enter): Add optional `updatefun' arg. Change return value.
(avl-tree-delete): Add optional `test' and `nilflag' args.
(avl-tree--do-delete): Add `test' and `nilflag' args. Change return value.
(avl-tree-member): Add optional `nilflag'
(avl-tree-member-p): New function.
(avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
(avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
(avl-tree-stack-empty-p): New functions.
Eli Zaretskii [Fri, 27 May 2011 21:24:11 +0000 (00:24 +0300)]
src/ccl.c: Fix last commit.
Paul Eggert [Fri, 27 May 2011 19:58:54 +0000 (12:58 -0700)]
Fix order of ChangeLog entries after merge.
Toby Cubitt [Fri, 27 May 2011 19:58:19 +0000 (16:58 -0300)]
* lisp/emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
avl-tree--del-balance1 and make it work both ways.
(avl-tree--del-balance2): Remove.
(avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
make it work both ways.
(avl-tree--enter-balance2): Remove.
(avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
New macros.
(avl-tree--mapc, avl-tree-map): Add direction argument.
Paul Eggert [Fri, 27 May 2011 19:56:58 +0000 (12:56 -0700)]
Merge from trunk.
Paul Eggert [Fri, 27 May 2011 19:48:22 +0000 (12:48 -0700)]
* data.c (arith_driver): Omit unnecessary mask and test.
Stefan Monnier [Fri, 27 May 2011 19:39:18 +0000 (16:39 -0300)]
* src/xselect.c (x_convert_selection): Yet another int/Lisp_Object mixup.
Paul Eggert [Fri, 27 May 2011 19:37:32 +0000 (12:37 -0700)]
Merge: Integer overflow fixes.
David Michael [Fri, 27 May 2011 19:33:48 +0000 (16:33 -0300)]
* lisp/files.el (interpreter-mode-alist): Add rbash.
Fixes: debbugs:8745
Paul Eggert [Fri, 27 May 2011 19:32:01 +0000 (12:32 -0700)]
* xselect.c: Fix minor problems prompted by GCC 4.6.0 warnings.
(x_handle_selection_request, frame_for_x_selection): Remove unused vars.
(x_clipboard_manager_save): Now static.
(Fx_clipboard_manager_save): Rename local to avoid shadowing.
Paul Eggert [Fri, 27 May 2011 19:30:12 +0000 (12:30 -0700)]
* fns.c: Fix minor problems prompted by GCC 4.6.0 warnings.
(crypto_hash_function): Now static.
Fix pointer signedness problems. Avoid unnecessary initializations.
Paul Eggert [Fri, 27 May 2011 16:58:43 +0000 (09:58 -0700)]
* doc/misc/texinfo.tex, lib/getopt.c, lib/intprops.h: Merge from gnulib.
Chong Yidong [Fri, 27 May 2011 16:17:59 +0000 (12:17 -0400)]
Support X clipboard managers.
* lisp/select.el (xselect-convert-to-targets): Add MULTIPLE target to list.
(xselect-convert-to-save-targets): New function.
* src/xselect.c: Support for clipboard managers.
(Vselection_alist): Move to termhooks.h as terminal-local var.
(LOCAL_SELECTION): New macro.
(x_atom_to_symbol): Handle x_display_info_for_display fail case.
(symbol_to_x_atom): Remove gratuitous arg.
(x_handle_selection_request, lisp_data_to_selection_data)
(x_get_foreign_selection, Fx_register_dnd_atom): Callers changed.
(x_own_selection, x_get_local_selection, x_convert_selection): New
arg, specifying work frame. Use terminal-local Vselection_alist.
(some_frame_on_display): Delete unused function.
(Fx_own_selection_internal, Fx_get_selection_internal)
(Fx_disown_selection_internal, Fx_selection_owner_p)
(Fx_selection_exists_p): New optional frame arg.
(frame_for_x_selection, Fx_clipboard_manager_save): New functions.
(x_handle_selection_clear): Don't treat other terminals with the
same keyboard specially. Use the terminal-local Vselection_alist.
(x_clear_frame_selections): Use Frun_hook_with_args.
* src/termhooks.h (Vselection_alist): Make it terminal-local.
* src/terminal.c (create_terminal): Initialize it.
* src/xterm.c (x_term_init): Intern ATOM and CLIPBOARD_MANAGER atoms.
* src/xterm.h: Add support for those atoms.
Glenn Morris [Fri, 27 May 2011 07:18:15 +0000 (00:18 -0700)]
Merge from emacs-23; up to 2010-06-12T10:58:54Z!romain@orebokech.com.
Kenichi Handa [Fri, 27 May 2011 04:54:39 +0000 (13:54 +0900)]
mail/sendmail.el (mail-encode-header): Avoid double encoding by let-binding rfc2047-encode-encoded-words to nil.
Glenn Morris [Fri, 27 May 2011 01:58:50 +0000 (21:58 -0400)]
* lisp/mail/emacsbug.el: Don't require url-util.
Glenn Morris [Fri, 27 May 2011 01:54:56 +0000 (21:54 -0400)]
* lisp/shell.el (shell-directory-tracker): Case matters. (Bug#8735)
Glenn Morris [Fri, 27 May 2011 01:43:15 +0000 (21:43 -0400)]
Tweak previous modes.texi change.
Glenn Morris [Fri, 27 May 2011 01:00:53 +0000 (21:00 -0400)]
Make set-auto-mode respect mode: entries at the end of the file (bug#8586)
* lisp/files.el (set-auto-mode):
Also respect mode: entries at the end of the file.
* doc/lispref/modes.texi (Auto Major Mode):
Update for set-auto-mode changes.
* doc/emacs/custom.texi (Specifying File Variables):
Major modes no longer need come first.
* etc/NEWS: Mention this.
Glenn Morris [Fri, 27 May 2011 00:55:07 +0000 (20:55 -0400)]
Repeat previous gnus-group.el change for bugs.debian.org.
* lisp/gnus/gnus-group.el (gnus-bug-group-download-format-alist):
Use the "maintainer" version of debian reports as well.
Chong Yidong [Thu, 26 May 2011 19:20:59 +0000 (15:20 -0400)]
src/xselect.c (x_handle_selection_request): Fix typo in last change.
Chong Yidong [Thu, 26 May 2011 17:42:32 +0000 (13:42 -0400)]
* src/xselect.c: ICCCM-compliant handling of MULTIPLE targets.
(converted_selections, conversion_fail_tag): New global variables.
(x_selection_request_lisp_error): Free the above.
(x_get_local_selection): Remove unnecessary code.
(x_reply_selection_request): Args changed; handle arbitrary array
of converted selections stored in converted_selections. Separate
the XChangeProperty and SelectionNotify steps.
(x_handle_selection_request): Rewrite to handle MULTIPLE target.
(x_convert_selection): New function.
(x_handle_selection_event): Simplify.
(x_get_foreign_selection): Don't ignore incoming requests while
waiting for an answer; this will fail when we implement
SAVE_TARGETS, and seems unnecessary anyway.
(selection_data_to_lisp_data): Recognize ATOM_PAIR type.
(Vx_sent_selection_functions): Doc fix.
Glenn Morris [Thu, 26 May 2011 16:20:21 +0000 (09:20 -0700)]
* variables.texi (File Local Variables): More hack-local-variables details.
Glenn Morris [Thu, 26 May 2011 16:14:53 +0000 (09:14 -0700)]
Restrict regexp match in previous emacsbug.el change.
Glenn Morris [Thu, 26 May 2011 07:35:47 +0000 (00:35 -0700)]
* lisp/files.el (hack-local-variables, hack-local-variables-apply): Doc fixes.
Glenn Morris [Thu, 26 May 2011 07:23:11 +0000 (00:23 -0700)]
Downcase mode names in recent files.el changes.
* lisp/files.el (hack-local-variables-prop-line, hack-local-variables):
Downcase mode names, as seems to be traditional.
Leo Liu [Thu, 26 May 2011 05:36:55 +0000 (13:36 +0800)]
Allow empty regions in transpose-regions
See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8699.
Glenn Morris [Thu, 26 May 2011 02:57:08 +0000 (19:57 -0700)]
Adjust prompt in previous emacsbug.el change.
Glenn Morris [Thu, 26 May 2011 00:55:14 +0000 (20:55 -0400)]
* configure.in: Comment fix.
Glenn Morris [Thu, 26 May 2011 00:54:27 +0000 (20:54 -0400)]
Tiny doc/lispref/variables.texi update.
* doc/lispref/variables.texi (File Local Variables):
Update hack-local-variables `mode-only' return value.
Glenn Morris [Thu, 26 May 2011 00:52:33 +0000 (20:52 -0400)]
Try to check From address in bug reports (bug#8038)
* lisp/mail/emacsbug.el (report-emacs-bug): Mention checking From address.
(report-emacs-bug-hook): Try to validate the From address.
Glenn Morris [Thu, 26 May 2011 00:49:54 +0000 (20:49 -0400)]
Minor gnus-group.el change.
* lisp/gnus/gnus-group.el (gnus-bug-group-download-format-alist):
Use the "maintainer" version of debbugs.gnu.org reports.
Glenn Morris [Wed, 25 May 2011 10:19:20 +0000 (06:19 -0400)]
Auto-commit of generated files.
Julien Danjou [Wed, 25 May 2011 09:03:59 +0000 (11:03 +0200)]
* textmodes/rst.el (rst-define-level-faces): Do not define face
symbol if it is already defined.
Glenn Morris [Wed, 25 May 2011 07:13:57 +0000 (00:13 -0700)]
* lib-src/Makefile.in (all, clean): Use $EXE_FILES.
Glenn Morris [Wed, 25 May 2011 03:45:04 +0000 (20:45 -0700)]
Merge from emacs-23; up to 2010-06-12T08:59:37Z!albinus@detlef.
YAMAMOTO Mitsuharu [Wed, 25 May 2011 03:06:05 +0000 (12:06 +0900)]
Take account of periodic fringe bitmap's dependency on y-position in redrawing.
* dispextern.h (struct glyph_row): New member fringe_bitmap_periodic_p.
* dispnew.c (shift_glyph_matrix, scrolling_window): Mark scrolled row
for fringe update if it has periodic bitmap.
(row_equal_p): Also compare left_fringe_offset, right_fringe_offset,
and fringe_bitmap_periodic_p.
* fringe.c (get_fringe_bitmap_data): New function.
(draw_fringe_bitmap_1, update_window_fringes): Use it.
(update_window_fringes): Record periodicity of fringe bitmap in glyph
row. Mark glyph row for fringe update if periodicity changed.
* xdisp.c (try_window_reusing_current_matrix): Don't mark scrolled row
for fringe update unless it has periodic bitmap.
Kenichi Handa [Wed, 25 May 2011 02:45:30 +0000 (11:45 +0900)]
merge emacs-23
Glenn Morris [Wed, 25 May 2011 02:33:35 +0000 (19:33 -0700)]
Small further clean-up in lib-src/Makefile.in
* lib-src/Makefile.in (.c.o): Remove (every .o file has an explicit rule).
(insrcdir): New.
(stamp-rcs2log, stamp-rcs-checkin, stamp-grep-changelog, stamp-vcdiff):
Use $insrcdir to suppress unaesthetic ignored errors.
(clean): Simplify list of things to delete.
Glenn Morris [Wed, 25 May 2011 01:32:34 +0000 (21:32 -0400)]
* lib-src/Makefile.in (movemail${EXEEXT}): Build in one step, not via .o file.
Kenichi Handa [Wed, 25 May 2011 01:26:35 +0000 (10:26 +0900)]
xdisp.c (get_next_display_element): Set correct it->face_id for a static composition.
Glenn Morris [Wed, 25 May 2011 01:23:14 +0000 (21:23 -0400)]
Tiny simplifications in lib-src/Makfile.in
* lib-src/Makfile.in (REGEXPOBJ, REGEXPDEPS): Remove. Replace by expansion.
(etags${EXEEXT}): Just depend on regex.o, not regex.h as well.
Glenn Morris [Tue, 24 May 2011 20:09:08 +0000 (16:09 -0400)]
* Makefile.in (check): Just give a message if no test/ directory.
Glenn Morris [Tue, 24 May 2011 19:12:58 +0000 (15:12 -0400)]
* configure.in: Avoid using variables inside AC_CONFIG_FILES.
Vincent Belaïche [Tue, 24 May 2011 18:22:09 +0000 (15:22 -0300)]
* lisp/play/5x5.el (5x5-new-game, 5x5-randomize):
Reset 5x5-solver-output to nil when a new grid is cast.
(5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
these debugging traces, as defmacro breaks the compiled code.
Dmitry Kurochkin [Tue, 24 May 2011 18:15:07 +0000 (15:15 -0300)]
* lisp/isearch.el (isearch-range-invisible): Use invisible-p.
Fixes: debbugs:8721
Glenn Morris [Tue, 24 May 2011 17:24:15 +0000 (13:24 -0400)]
Auto-commit of generated files.
Glenn Morris [Tue, 24 May 2011 17:23:15 +0000 (13:23 -0400)]
Reimplement trunk 2011-05-24T08:02:58Z!rgm@gnu.org in a way visible to automake.
* configure.in (OPT_MAKEFILES_IN): Remove.
(SUBDIR_MAKEFILES): New variable, passed to AC_CONFIG_FILES.
(SUBDIR_MAKEFILES_IN): New output variable.
* Makefile.in (OPT_MAKEFILES_IN): Remove.
(SUBDIR_MAKEFILES_IN): Let configure set it.
Glenn Morris [Tue, 24 May 2011 16:31:25 +0000 (12:31 -0400)]
Auto-commit of generated files.
Glenn Morris [Tue, 24 May 2011 16:30:13 +0000 (12:30 -0400)]
Revert 2011-05-24T08:02:58Z!rgm@gnu.org, for now at least.
Some automakes don't seem to like it (?).
Leo Liu [Tue, 24 May 2011 14:22:44 +0000 (22:22 +0800)]
Mention function `sha1' and the removal of sha1.el in NEWS